]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
adding missing typedefs for 10.4
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2826
2827
2828 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2829 wxRect r;
2830 self->GetFieldRect(i, r);
2831 return r;
2832 }
2833 static const wxString wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2836
2837 #include <wx/popupwin.h>
2838
2839
2840 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2841 {
2842 public:
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2845 : wxPopupTransientWindow(parent, style) {}
2846
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2848 DEC_PYCALLBACK__(OnDismiss);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss);
2850 PYPRIVATE;
2851 };
2852
2853
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2857
2858
2859 #include <wx/tipwin.h>
2860
2861 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2862 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2863 }
2864
2865 #include <wx/tipwin.h>
2866
2867
2868 #include <wx/vscroll.h>
2869
2870
2871 class wxPyVScrolledWindow : public wxVScrolledWindow
2872 {
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2874 public:
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876
2877 wxPyVScrolledWindow(wxWindow *parent,
2878 wxWindowID id = wxID_ANY,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0,
2882 const wxString& name = wxPyPanelNameStr)
2883 : wxVScrolledWindow(parent, id, pos, size, style, name)
2884 {}
2885
2886 // Overridable virtuals
2887
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2891
2892
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2896 // once
2897 //
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2903 //
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 // usual
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2907
2908
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2913 // its own logic
2914 //
2915 // this function should return the best guess for the total height it may
2916 // make
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2918
2919
2920 // Also expose some other interesting protected methods
2921
2922
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2927
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2932
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2938
2939 PYPRIVATE;
2940 };
2941
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2943
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2947
2948
2949 SWIGINTERN int
2950 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2951 {
2952 long v = 0;
2953 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2954 return SWIG_TypeError;
2955 }
2956 else if (val)
2957 *val = (unsigned long)v;
2958 return SWIG_OK;
2959 }
2960
2961
2962 SWIGINTERNINLINE int
2963 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2964 {
2965 unsigned long v;
2966 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2967 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2968 return res;
2969 }
2970
2971
2972 SWIGINTERNINLINE PyObject*
2973 SWIG_From_unsigned_SS_long (unsigned long value)
2974 {
2975 return (value > LONG_MAX) ?
2976 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2977 }
2978
2979
2980 SWIGINTERNINLINE PyObject *
2981 SWIG_From_size_t (size_t value)
2982 {
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2984 }
2985
2986
2987 #include <wx/vlbox.h>
2988
2989 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2990
2991 class wxPyVListBox : public wxVListBox
2992 {
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2994 public:
2995 wxPyVListBox() : wxVListBox() {}
2996
2997 wxPyVListBox(wxWindow *parent,
2998 wxWindowID id = wxID_ANY,
2999 const wxPoint& pos = wxDefaultPosition,
3000 const wxSize& size = wxDefaultSize,
3001 long style = 0,
3002 const wxString& name = wxPyVListBoxNameStr)
3003 : wxVListBox(parent, id, pos, size, style, name)
3004 {}
3005
3006 // Overridable virtuals
3007
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3012
3013
3014 // the derived class must implement this method to return the height of the
3015 // specified item
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3018
3019
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3023 //
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3027
3028
3029 // this method is used to draw the items background and, maybe, a border
3030 // around it
3031 //
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3035 // current
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3038
3039
3040 PYPRIVATE;
3041 };
3042
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3044
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3049
3050
3051 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3052 unsigned long cookie = 0;
3053 int selected = self->GetFirstSelected(cookie);
3054 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3055 PyObject* tup = PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3057 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3058 wxPyEndBlockThreads(blocked);
3059 return tup;
3060 }
3061 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3062 int selected = self->GetNextSelected(cookie);
3063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3064 PyObject* tup = PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3066 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3067 wxPyEndBlockThreads(blocked);
3068 return tup;
3069 }
3070
3071 #include <wx/htmllbox.h>
3072
3073
3074 class wxPyHtmlListBox : public wxHtmlListBox
3075 {
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3077 public:
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3079
3080 wxPyHtmlListBox(wxWindow *parent,
3081 wxWindowID id = wxID_ANY,
3082 const wxPoint& pos = wxDefaultPosition,
3083 const wxSize& size = wxDefaultSize,
3084 long style = 0,
3085 const wxString& name = wxPyVListBoxNameStr)
3086 : wxHtmlListBox(parent, id, pos, size, style, name)
3087 {}
3088
3089 // Overridable virtuals
3090
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3094
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3097
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3101
3102 // TODO:
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3106 // //
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115
3116
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n,
3120 const wxHtmlLinkInfo& link);
3121
3122 PYPRIVATE;
3123 };
3124
3125
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3127
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3132
3133
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link) {
3136 bool found;
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3139 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3141 Py_DECREF(obj);
3142 }
3143 wxPyEndBlockThreads(blocked);
3144 if (! found)
3145 wxPyHtmlListBox::OnLinkClicked(n, link);
3146 }
3147
3148
3149
3150
3151
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3154
3155 class wxTaskBarIcon : public wxEvtHandler
3156 {
3157 public:
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159 };
3160
3161
3162 class wxTaskBarIconEvent : public wxEvent
3163 {
3164 public:
3165 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent* Clone() const { return NULL; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu *menu) { return false; }
3173 };
3174
3175 enum {
3176 wxEVT_TASKBAR_MOVE = 0,
3177 wxEVT_TASKBAR_LEFT_DOWN = 0,
3178 wxEVT_TASKBAR_LEFT_UP = 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3180 wxEVT_TASKBAR_RIGHT_UP = 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3183 };
3184
3185
3186 #else
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon : public wxTaskBarIcon
3189 {
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3191 public:
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 {}
3194
3195 wxMenu* CreatePopupMenu() {
3196 wxMenu *rval = NULL;
3197 bool found;
3198 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3199 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3200 PyObject* ro;
3201 wxMenu* ptr;
3202 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3203 if (ro) {
3204 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3205 rval = ptr;
3206 Py_DECREF(ro);
3207 }
3208 }
3209 wxPyEndBlockThreads(blocked);
3210 if (! found)
3211 rval = wxTaskBarIcon::CreatePopupMenu();
3212 return rval;
3213 }
3214
3215 PYPRIVATE;
3216 };
3217
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3219
3220 #endif
3221
3222 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3223 self->RemoveIcon();
3224 delete self;
3225 }
3226 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3227 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3228 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3229 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3230 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3231 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3232
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3235
3236 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3237 wxArrayString arr;
3238 self->GetFilenames(arr);
3239 return wxArrayString2PyList_helper(arr);
3240 }
3241 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3242 wxArrayString arr;
3243 self->GetPaths(arr);
3244 return wxArrayString2PyList_helper(arr);
3245 }
3246 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3247 return wxArrayInt2PyList_helper(self->GetSelections());
3248 }
3249 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){
3250 return new wxSingleChoiceDialog(parent, message, caption,
3251 choices, choices_array, NULL, style, pos);
3252 }
3253 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3254
3255 SWIGINTERNINLINE PyObject*
3256 SWIG_From_bool (bool value)
3257 {
3258 return PyBool_FromLong(value ? 1 : 0);
3259 }
3260
3261
3262 #include <wx/mdi.h>
3263
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow : public wxWindow
3266 {
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3268 public:
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow* parent, const wxWindowID id,
3271 const wxPoint& pos = wxDefaultPosition,
3272 const wxSize& size = wxDefaultSize,
3273 long style = 0,
3274 const wxString& name = wxPyPanelNameStr)
3275 : wxWindow(parent, id, pos, size, style, name) {}
3276
3277 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3278
3279 bool DoEraseBackground(wxDC* dc) {
3280 #ifdef __WXMSW__
3281 return wxWindow::DoEraseBackground(dc->GetHDC());
3282 #else
3283 dc->SetBackground(wxBrush(GetBackgroundColour()));
3284 dc->Clear();
3285 return true;
3286 #endif
3287 }
3288
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3293
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3297
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3300
3301 DEC_PYCALLBACK__(InitDialog);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3304 DEC_PYCALLBACK_BOOL_(Validate);
3305
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3309
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3312
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3315
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3317
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3319
3320 PYPRIVATE;
3321 };
3322
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3324
3325 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3329
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3333
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3336
3337 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3341
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3345
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3348
3349 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3351
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3353
3354 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3355
3356 // C++ version of Python aware wxPanel
3357 class wxPyPanel : public wxPanel
3358 {
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3360 public:
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow* parent, const wxWindowID id,
3363 const wxPoint& pos = wxDefaultPosition,
3364 const wxSize& size = wxDefaultSize,
3365 long style = 0,
3366 const wxString& name = wxPyPanelNameStr)
3367 : wxPanel(parent, id, pos, size, style, name) {}
3368
3369 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3370 bool DoEraseBackground(wxDC* dc) {
3371 #ifdef __WXMSW__
3372 return wxWindow::DoEraseBackground(dc->GetHDC());
3373 #else
3374 dc->SetBackground(wxBrush(GetBackgroundColour()));
3375 dc->Clear();
3376 return true;
3377 #endif
3378 }
3379
3380
3381 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3382 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3385
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3389
3390 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3391 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3392
3393 DEC_PYCALLBACK__(InitDialog);
3394 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3395 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3396 DEC_PYCALLBACK_BOOL_(Validate);
3397
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3400 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3401
3402 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3404
3405 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3406 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3407
3408 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3409
3410 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3411
3412 PYPRIVATE;
3413 };
3414
3415 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3416
3417 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3418 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3421
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3425
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3428
3429 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3433
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3437
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3440
3441 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3442 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3443
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3445
3446 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3447
3448 // C++ version of Python aware wxScrolledWindow
3449 class wxPyScrolledWindow : public wxScrolledWindow
3450 {
3451 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3452 public:
3453 wxPyScrolledWindow() : wxScrolledWindow() {}
3454 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3455 const wxPoint& pos = wxDefaultPosition,
3456 const wxSize& size = wxDefaultSize,
3457 long style = 0,
3458 const wxString& name = wxPyPanelNameStr)
3459 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3460
3461 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3462 bool DoEraseBackground(wxDC* dc) {
3463 #ifdef __WXMSW__
3464 return wxWindow::DoEraseBackground(dc->GetHDC());
3465 #else
3466 dc->SetBackground(wxBrush(GetBackgroundColour()));
3467 dc->Clear();
3468 return true;
3469 #endif
3470 }
3471
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3476
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3480
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3483
3484 DEC_PYCALLBACK__(InitDialog);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3487 DEC_PYCALLBACK_BOOL_(Validate);
3488
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3492
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3495
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3498
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3500
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3502
3503 PYPRIVATE;
3504 };
3505
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3507
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3512
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3516
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3519
3520 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3524
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3528
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3531
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3534
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3536
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3538
3539
3540 #include "wx/wxPython/printfw.h"
3541
3542
3543 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3546 PyObject* data;
3547 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3548 data = PyString_FromStringAndSize(self->GetPrivData(),
3549 self->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked);
3551 return data;
3552 }
3553 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3554 if (! PyString_Check(data)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3556 "Expected string object"));
3557 return /* NULL */ ;
3558 }
3559
3560 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3561 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3562 wxPyEndBlockThreads(blocked);
3563 }
3564
3565
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3567
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3570 bool hadErr = false;
3571 bool found;
3572
3573 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3574 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3575 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3576 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3577 PyObject* val;
3578
3579 val = PyTuple_GetItem(result, 0);
3580 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3581 else hadErr = true;
3582
3583 val = PyTuple_GetItem(result, 1);
3584 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3585 else hadErr = true;
3586
3587 val = PyTuple_GetItem(result, 2);
3588 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 3);
3592 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3593 else hadErr = true;
3594 }
3595 else
3596 hadErr = true;
3597
3598 if (hadErr) {
3599 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3600 PyErr_Print();
3601 }
3602 Py_DECREF(result);
3603 }
3604 wxPyEndBlockThreads(blocked);
3605 if (! found)
3606 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3607 }
3608
3609
3610
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3618
3619
3620
3621
3622
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625
3626
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 bool rval=false; \
3630 bool found; \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 Py_DECREF(win); \
3637 Py_DECREF(dc); \
3638 } \
3639 wxPyEndBlockThreads(blocked); \
3640 if (! found) \
3641 rval = PCLASS::CBNAME(a, b); \
3642 return rval; \
3643 }
3644
3645
3646
3647
3648 class wxPyPrintPreview : public wxPrintPreview
3649 {
3650 DECLARE_CLASS(wxPyPrintPreview)
3651 public:
3652 wxPyPrintPreview(wxPyPrintout* printout,
3653 wxPyPrintout* printoutForPrinting,
3654 wxPrintDialogData* data=NULL)
3655 : wxPrintPreview(printout, printoutForPrinting, data)
3656 {}
3657 wxPyPrintPreview(wxPyPrintout* printout,
3658 wxPyPrintout* printoutForPrinting,
3659 wxPrintData* data)
3660 : wxPrintPreview(printout, printoutForPrinting, data)
3661 {}
3662
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling);
3670
3671 PYPRIVATE;
3672 };
3673
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3679 #else
3680 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3681 #endif
3682
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3690
3691
3692 class wxPyPreviewFrame : public wxPreviewFrame
3693 {
3694 DECLARE_CLASS(wxPyPreviewFrame)
3695 public:
3696 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3697 const wxString& title,
3698 const wxPoint& pos = wxDefaultPosition,
3699 const wxSize& size = wxDefaultSize,
3700 long style = wxDEFAULT_FRAME_STYLE,
3701 const wxString& name = wxPyFrameNameStr)
3702 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3703 {}
3704
3705 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3706 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3707
3708 DEC_PYCALLBACK_VOID_(Initialize);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar);
3711
3712 PYPRIVATE;
3713 };
3714
3715 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3716
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3720
3721
3722 class wxPyPreviewControlBar : public wxPreviewControlBar
3723 {
3724 DECLARE_CLASS(wxPyPreviewControlBar)
3725 public:
3726 wxPyPreviewControlBar(wxPrintPreview *preview,
3727 long buttons,
3728 wxWindow *parent,
3729 const wxPoint& pos = wxDefaultPosition,
3730 const wxSize& size = wxDefaultSize,
3731 long style = 0,
3732 const wxString& name = wxPyPanelNameStr)
3733 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3734 {}
3735
3736 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3737
3738 DEC_PYCALLBACK_VOID_(CreateButtons);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3740
3741 PYPRIVATE;
3742 };
3743
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3747
3748 #ifdef __cplusplus
3749 extern "C" {
3750 #endif
3751 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 = (int) (int)-1 ;
3755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3757 wxSize const &arg4_defvalue = wxDefaultSize ;
3758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3759 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3761 wxString *arg6 = (wxString *) &arg6_defvalue ;
3762 wxPanel *result = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 int val2 ;
3766 int ecode2 = 0 ;
3767 wxPoint temp3 ;
3768 wxSize temp4 ;
3769 long val5 ;
3770 int ecode5 = 0 ;
3771 bool temp6 = false ;
3772 PyObject * obj0 = 0 ;
3773 PyObject * obj1 = 0 ;
3774 PyObject * obj2 = 0 ;
3775 PyObject * obj3 = 0 ;
3776 PyObject * obj4 = 0 ;
3777 PyObject * obj5 = 0 ;
3778 char * kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 };
3781
3782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 }
3787 arg1 = reinterpret_cast< wxWindow * >(argp1);
3788 if (obj1) {
3789 ecode2 = SWIG_AsVal_int(obj1, &val2);
3790 if (!SWIG_IsOK(ecode2)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 }
3793 arg2 = static_cast< int >(val2);
3794 }
3795 if (obj2) {
3796 {
3797 arg3 = &temp3;
3798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3799 }
3800 }
3801 if (obj3) {
3802 {
3803 arg4 = &temp4;
3804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3805 }
3806 }
3807 if (obj4) {
3808 ecode5 = SWIG_AsVal_long(obj4, &val5);
3809 if (!SWIG_IsOK(ecode5)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 }
3812 arg5 = static_cast< long >(val5);
3813 }
3814 if (obj5) {
3815 {
3816 arg6 = wxString_in_helper(obj5);
3817 if (arg6 == NULL) SWIG_fail;
3818 temp6 = true;
3819 }
3820 }
3821 {
3822 if (!wxPyCheckForApp()) SWIG_fail;
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3829 {
3830 if (temp6)
3831 delete arg6;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp6)
3837 delete arg6;
3838 }
3839 return NULL;
3840 }
3841
3842
3843 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxPanel *result = 0 ;
3846
3847 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3848 {
3849 if (!wxPyCheckForApp()) SWIG_fail;
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxPanel *)new wxPanel();
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxPanel *arg1 = (wxPanel *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 = (int) (int)-1 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 void *argp2 = 0 ;
3878 int res2 = 0 ;
3879 int val3 ;
3880 int ecode3 = 0 ;
3881 wxPoint temp4 ;
3882 wxSize temp5 ;
3883 long val6 ;
3884 int ecode6 = 0 ;
3885 bool temp7 = false ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj2 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj6 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 }
3902 arg1 = reinterpret_cast< wxPanel * >(argp1);
3903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3904 if (!SWIG_IsOK(res2)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 }
3907 arg2 = reinterpret_cast< wxWindow * >(argp2);
3908 if (obj2) {
3909 ecode3 = SWIG_AsVal_int(obj2, &val3);
3910 if (!SWIG_IsOK(ecode3)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 }
3913 arg3 = static_cast< int >(val3);
3914 }
3915 if (obj3) {
3916 {
3917 arg4 = &temp4;
3918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3919 }
3920 }
3921 if (obj4) {
3922 {
3923 arg5 = &temp5;
3924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3925 }
3926 }
3927 if (obj5) {
3928 ecode6 = SWIG_AsVal_long(obj5, &val6);
3929 if (!SWIG_IsOK(ecode6)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 }
3932 arg6 = static_cast< long >(val6);
3933 }
3934 if (obj6) {
3935 {
3936 arg7 = wxString_in_helper(obj6);
3937 if (arg7 == NULL) SWIG_fail;
3938 temp7 = true;
3939 }
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3949 }
3950 {
3951 if (temp7)
3952 delete arg7;
3953 }
3954 return resultobj;
3955 fail:
3956 {
3957 if (temp7)
3958 delete arg7;
3959 }
3960 return NULL;
3961 }
3962
3963
3964 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3965 PyObject *resultobj = 0;
3966 wxPanel *arg1 = (wxPanel *) 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 }
3977 arg1 = reinterpret_cast< wxPanel * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj = 0;
3993 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3994 SwigValueWrapper<wxVisualAttributes > result;
3995 int val1 ;
3996 int ecode1 = 0 ;
3997 PyObject * obj0 = 0 ;
3998 char * kwnames[] = {
3999 (char *) "variant", NULL
4000 };
4001
4002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4003 if (obj0) {
4004 ecode1 = SWIG_AsVal_int(obj0, &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 }
4008 arg1 = static_cast< wxWindowVariant >(val1);
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxPanel::GetClassDefaultAttributes(arg1);
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4018 return resultobj;
4019 fail:
4020 return NULL;
4021 }
4022
4023
4024 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 PyObject *obj;
4026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4028 return SWIG_Py_Void();
4029 }
4030
4031 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 return SWIG_Python_InitShadowInstance(args);
4033 }
4034
4035 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = 0;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 int arg2 = (int) (int)-1 ;
4039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4041 wxSize const &arg4_defvalue = wxDefaultSize ;
4042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4043 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4044 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4045 wxString *arg6 = (wxString *) &arg6_defvalue ;
4046 wxScrolledWindow *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 bool temp6 = false ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 PyObject * obj5 = 0 ;
4062 char * kwnames[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 }
4071 arg1 = reinterpret_cast< wxWindow * >(argp1);
4072 if (obj1) {
4073 ecode2 = SWIG_AsVal_int(obj1, &val2);
4074 if (!SWIG_IsOK(ecode2)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 }
4077 arg2 = static_cast< int >(val2);
4078 }
4079 if (obj2) {
4080 {
4081 arg3 = &temp3;
4082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4083 }
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = &temp4;
4088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4089 }
4090 }
4091 if (obj4) {
4092 ecode5 = SWIG_AsVal_long(obj4, &val5);
4093 if (!SWIG_IsOK(ecode5)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 }
4096 arg5 = static_cast< long >(val5);
4097 }
4098 if (obj5) {
4099 {
4100 arg6 = wxString_in_helper(obj5);
4101 if (arg6 == NULL) SWIG_fail;
4102 temp6 = true;
4103 }
4104 }
4105 {
4106 if (!wxPyCheckForApp()) SWIG_fail;
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4113 {
4114 if (temp6)
4115 delete arg6;
4116 }
4117 return resultobj;
4118 fail:
4119 {
4120 if (temp6)
4121 delete arg6;
4122 }
4123 return NULL;
4124 }
4125
4126
4127 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxScrolledWindow *result = 0 ;
4130
4131 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxScrolledWindow *)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj = 0;
4148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4149 wxWindow *arg2 = (wxWindow *) 0 ;
4150 int arg3 = (int) (int)-1 ;
4151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4153 wxSize const &arg5_defvalue = wxDefaultSize ;
4154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4155 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4157 wxString *arg7 = (wxString *) &arg7_defvalue ;
4158 bool result;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 void *argp2 = 0 ;
4162 int res2 = 0 ;
4163 int val3 ;
4164 int ecode3 = 0 ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 long val6 ;
4168 int ecode6 = 0 ;
4169 bool temp7 = false ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 PyObject * obj3 = 0 ;
4174 PyObject * obj4 = 0 ;
4175 PyObject * obj5 = 0 ;
4176 PyObject * obj6 = 0 ;
4177 char * kwnames[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 };
4180
4181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4183 if (!SWIG_IsOK(res1)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 }
4186 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4188 if (!SWIG_IsOK(res2)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 }
4191 arg2 = reinterpret_cast< wxWindow * >(argp2);
4192 if (obj2) {
4193 ecode3 = SWIG_AsVal_int(obj2, &val3);
4194 if (!SWIG_IsOK(ecode3)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 }
4197 arg3 = static_cast< int >(val3);
4198 }
4199 if (obj3) {
4200 {
4201 arg4 = &temp4;
4202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4203 }
4204 }
4205 if (obj4) {
4206 {
4207 arg5 = &temp5;
4208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4209 }
4210 }
4211 if (obj5) {
4212 ecode6 = SWIG_AsVal_long(obj5, &val6);
4213 if (!SWIG_IsOK(ecode6)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 }
4216 arg6 = static_cast< long >(val6);
4217 }
4218 if (obj6) {
4219 {
4220 arg7 = wxString_in_helper(obj6);
4221 if (arg7 == NULL) SWIG_fail;
4222 temp7 = true;
4223 }
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp7)
4242 delete arg7;
4243 }
4244 return NULL;
4245 }
4246
4247
4248 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj = 0;
4250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4251 int arg2 ;
4252 int arg3 ;
4253 int arg4 ;
4254 int arg5 ;
4255 int arg6 = (int) 0 ;
4256 int arg7 = (int) 0 ;
4257 bool arg8 = (bool) false ;
4258 void *argp1 = 0 ;
4259 int res1 = 0 ;
4260 int val2 ;
4261 int ecode2 = 0 ;
4262 int val3 ;
4263 int ecode3 = 0 ;
4264 int val4 ;
4265 int ecode4 = 0 ;
4266 int val5 ;
4267 int ecode5 = 0 ;
4268 int val6 ;
4269 int ecode6 = 0 ;
4270 int val7 ;
4271 int ecode7 = 0 ;
4272 bool val8 ;
4273 int ecode8 = 0 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 PyObject * obj6 = 0 ;
4281 PyObject * obj7 = 0 ;
4282 char * kwnames[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 };
4285
4286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 }
4291 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4292 ecode2 = SWIG_AsVal_int(obj1, &val2);
4293 if (!SWIG_IsOK(ecode2)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 }
4296 arg2 = static_cast< int >(val2);
4297 ecode3 = SWIG_AsVal_int(obj2, &val3);
4298 if (!SWIG_IsOK(ecode3)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 }
4301 arg3 = static_cast< int >(val3);
4302 ecode4 = SWIG_AsVal_int(obj3, &val4);
4303 if (!SWIG_IsOK(ecode4)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 }
4306 arg4 = static_cast< int >(val4);
4307 ecode5 = SWIG_AsVal_int(obj4, &val5);
4308 if (!SWIG_IsOK(ecode5)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 }
4311 arg5 = static_cast< int >(val5);
4312 if (obj5) {
4313 ecode6 = SWIG_AsVal_int(obj5, &val6);
4314 if (!SWIG_IsOK(ecode6)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 }
4317 arg6 = static_cast< int >(val6);
4318 }
4319 if (obj6) {
4320 ecode7 = SWIG_AsVal_int(obj6, &val7);
4321 if (!SWIG_IsOK(ecode7)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 }
4324 arg7 = static_cast< int >(val7);
4325 }
4326 if (obj7) {
4327 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4328 if (!SWIG_IsOK(ecode8)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 }
4331 arg8 = static_cast< bool >(val8);
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_Py_Void();
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = 0;
4348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4349 int arg2 ;
4350 int arg3 ;
4351 void *argp1 = 0 ;
4352 int res1 = 0 ;
4353 int val2 ;
4354 int ecode2 = 0 ;
4355 int val3 ;
4356 int ecode3 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 char * kwnames[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4362 };
4363
4364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 }
4369 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4370 ecode2 = SWIG_AsVal_int(obj1, &val2);
4371 if (!SWIG_IsOK(ecode2)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 }
4374 arg2 = static_cast< int >(val2);
4375 ecode3 = SWIG_AsVal_int(obj2, &val3);
4376 if (!SWIG_IsOK(ecode3)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 }
4379 arg3 = static_cast< int >(val3);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->Scroll(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4396 int arg2 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "orient", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 }
4413 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_From_int(static_cast< int >(result));
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetScrollPageSize(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int arg3 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 int val3 ;
4489 int ecode3 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 ecode3 = SWIG_AsVal_int(obj2, &val3);
4509 if (!SWIG_IsOK(ecode3)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 }
4512 arg3 = static_cast< int >(val3);
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 (arg1)->SetScrollRate(arg2,arg3);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_Py_Void();
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *resultobj = 0;
4528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4529 int *arg2 = (int *) 0 ;
4530 int *arg3 = (int *) 0 ;
4531 void *argp1 = 0 ;
4532 int res1 = 0 ;
4533 int temp2 ;
4534 int res2 = SWIG_TMPOBJ ;
4535 int temp3 ;
4536 int res3 = SWIG_TMPOBJ ;
4537 PyObject *swig_obj[1] ;
4538
4539 arg2 = &temp2;
4540 arg3 = &temp3;
4541 if (!args) SWIG_fail;
4542 swig_obj[0] = args;
4543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4544 if (!SWIG_IsOK(res1)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 }
4547 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2)) {
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4557 } else {
4558 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4560 }
4561 if (SWIG_IsTmpObj(res3)) {
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4563 } else {
4564 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4576 bool arg2 ;
4577 bool arg3 ;
4578 void *argp1 = 0 ;
4579 int res1 = 0 ;
4580 bool val2 ;
4581 int ecode2 = 0 ;
4582 bool val3 ;
4583 int ecode3 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 char * kwnames[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 };
4590
4591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4598 if (!SWIG_IsOK(ecode2)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 }
4601 arg2 = static_cast< bool >(val2);
4602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4603 if (!SWIG_IsOK(ecode3)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 }
4606 arg3 = static_cast< bool >(val3);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->EnableScrolling(arg2,arg3);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 PyObject *resultobj = 0;
4622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4623 int *arg2 = (int *) 0 ;
4624 int *arg3 = (int *) 0 ;
4625 void *argp1 = 0 ;
4626 int res1 = 0 ;
4627 int temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 int temp3 ;
4630 int res3 = SWIG_TMPOBJ ;
4631 PyObject *swig_obj[1] ;
4632
4633 arg2 = &temp2;
4634 arg3 = &temp3;
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 }
4641 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2)) {
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4651 } else {
4652 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4654 }
4655 if (SWIG_IsTmpObj(res3)) {
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4657 } else {
4658 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4670 double arg2 ;
4671 double arg3 ;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 double val2 ;
4675 int ecode2 = 0 ;
4676 double val3 ;
4677 int ecode3 = 0 ;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 PyObject * obj2 = 0 ;
4681 char * kwnames[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 };
4684
4685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4687 if (!SWIG_IsOK(res1)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 }
4690 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4691 ecode2 = SWIG_AsVal_double(obj1, &val2);
4692 if (!SWIG_IsOK(ecode2)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 }
4695 arg2 = static_cast< double >(val2);
4696 ecode3 = SWIG_AsVal_double(obj2, &val3);
4697 if (!SWIG_IsOK(ecode3)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 }
4700 arg3 = static_cast< double >(val3);
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetScale(arg2,arg3);
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_Py_Void();
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4715 PyObject *resultobj = 0;
4716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4717 double result;
4718 void *argp1 = 0 ;
4719 int res1 = 0 ;
4720 PyObject *swig_obj[1] ;
4721
4722 if (!args) SWIG_fail;
4723 swig_obj[0] = args;
4724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4725 if (!SWIG_IsOK(res1)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 }
4728 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_From_double(static_cast< double >(result));
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743 PyObject *resultobj = 0;
4744 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4745 double result;
4746 void *argp1 = 0 ;
4747 int res1 = 0 ;
4748 PyObject *swig_obj[1] ;
4749
4750 if (!args) SWIG_fail;
4751 swig_obj[0] = args;
4752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4753 if (!SWIG_IsOK(res1)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 }
4756 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_double(static_cast< double >(result));
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4771 PyObject *resultobj = 0;
4772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4773 wxPoint *arg2 = 0 ;
4774 wxPoint result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 wxPoint temp2 ;
4778
4779 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4781 if (!SWIG_IsOK(res1)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 }
4784 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4785 {
4786 arg2 = &temp2;
4787 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4803 PyObject *resultobj = 0;
4804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4805 int arg2 ;
4806 int arg3 ;
4807 int *arg4 = (int *) 0 ;
4808 int *arg5 = (int *) 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 int val2 ;
4812 int ecode2 = 0 ;
4813 int val3 ;
4814 int ecode3 = 0 ;
4815 int temp4 ;
4816 int res4 = SWIG_TMPOBJ ;
4817 int temp5 ;
4818 int res5 = SWIG_TMPOBJ ;
4819
4820 arg4 = &temp4;
4821 arg5 = &temp5;
4822 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4828 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 }
4832 arg2 = static_cast< int >(val2);
4833 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4834 if (!SWIG_IsOK(ecode3)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 }
4837 arg3 = static_cast< int >(val3);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4)) {
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4847 } else {
4848 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4850 }
4851 if (SWIG_IsTmpObj(res5)) {
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4853 } else {
4854 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4856 }
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4864 int argc;
4865 PyObject *argv[4];
4866
4867 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4868 --argc;
4869 if (argc == 2) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4871 }
4872 if (argc == 3) {
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4874 }
4875
4876 fail:
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4878 return NULL;
4879 }
4880
4881
4882 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4883 PyObject *resultobj = 0;
4884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4885 wxPoint *arg2 = 0 ;
4886 wxPoint result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 wxPoint temp2 ;
4890
4891 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 }
4896 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4897 {
4898 arg2 = &temp2;
4899 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4915 PyObject *resultobj = 0;
4916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 int *arg4 = (int *) 0 ;
4920 int *arg5 = (int *) 0 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 int temp4 ;
4928 int res4 = SWIG_TMPOBJ ;
4929 int temp5 ;
4930 int res5 = SWIG_TMPOBJ ;
4931
4932 arg4 = &temp4;
4933 arg5 = &temp5;
4934 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 }
4939 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4)) {
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4959 } else {
4960 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4962 }
4963 if (SWIG_IsTmpObj(res5)) {
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4965 } else {
4966 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4968 }
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4976 int argc;
4977 PyObject *argv[4];
4978
4979 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4980 --argc;
4981 if (argc == 2) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4983 }
4984 if (argc == 3) {
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4986 }
4987
4988 fail:
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4990 return NULL;
4991 }
4992
4993
4994 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 PyObject *swig_obj[1] ;
5000
5001 if (!args) SWIG_fail;
5002 swig_obj[0] = args;
5003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5004 if (!SWIG_IsOK(res1)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 }
5007 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj = 0;
5023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5024 wxScrollWinEvent *arg2 = 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 void *argp2 = 0 ;
5029 int res2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "self",(char *) "event", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res1)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 }
5041 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5043 if (!SWIG_IsOK(res2)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 if (!argp2) {
5047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 }
5049 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (int)(arg1)->CalcScrollInc(*arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_From_int(static_cast< int >(result));
5057 return resultobj;
5058 fail:
5059 return NULL;
5060 }
5061
5062
5063 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = 0;
5065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5066 wxWindow *arg2 = (wxWindow *) 0 ;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 void *argp2 = 0 ;
5070 int res2 = 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char * kwnames[] = {
5074 (char *) "self",(char *) "target", NULL
5075 };
5076
5077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5079 if (!SWIG_IsOK(res1)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 }
5082 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5084 if (!SWIG_IsOK(res2)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 }
5087 arg2 = reinterpret_cast< wxWindow * >(argp2);
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetTargetWindow(arg2);
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = SWIG_Py_Void();
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 PyObject *resultobj = 0;
5103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5104 wxWindow *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 PyObject *swig_obj[1] ;
5108
5109 if (!args) SWIG_fail;
5110 swig_obj[0] = args;
5111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5112 if (!SWIG_IsOK(res1)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 }
5115 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 resultobj = wxPyMake_wxObject(result, 0);
5124 }
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = 0;
5133 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5134 wxDC *arg2 = 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 void *argp2 = 0 ;
5138 int res2 = 0 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "dc", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5152 if (!SWIG_IsOK(res2)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 }
5155 if (!argp2) {
5156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5157 }
5158 arg2 = reinterpret_cast< wxDC * >(argp2);
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 (arg1)->DoPrepareDC(*arg2);
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = SWIG_Py_Void();
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj = 0;
5174 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5175 SwigValueWrapper<wxVisualAttributes > result;
5176 int val1 ;
5177 int ecode1 = 0 ;
5178 PyObject * obj0 = 0 ;
5179 char * kwnames[] = {
5180 (char *) "variant", NULL
5181 };
5182
5183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5184 if (obj0) {
5185 ecode1 = SWIG_AsVal_int(obj0, &val1);
5186 if (!SWIG_IsOK(ecode1)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5188 }
5189 arg1 = static_cast< wxWindowVariant >(val1);
5190 }
5191 {
5192 if (!wxPyCheckForApp()) SWIG_fail;
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5199 return resultobj;
5200 fail:
5201 return NULL;
5202 }
5203
5204
5205 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5206 PyObject *obj;
5207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5209 return SWIG_Py_Void();
5210 }
5211
5212 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5213 return SWIG_Python_InitShadowInstance(args);
5214 }
5215
5216 SWIGINTERN int FrameNameStr_set(PyObject *) {
5217 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5218 return 1;
5219 }
5220
5221
5222 SWIGINTERN PyObject *FrameNameStr_get(void) {
5223 PyObject *pyobj = 0;
5224
5225 {
5226 #if wxUSE_UNICODE
5227 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5228 #else
5229 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5230 #endif
5231 }
5232 return pyobj;
5233 }
5234
5235
5236 SWIGINTERN int DialogNameStr_set(PyObject *) {
5237 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5238 return 1;
5239 }
5240
5241
5242 SWIGINTERN PyObject *DialogNameStr_get(void) {
5243 PyObject *pyobj = 0;
5244
5245 {
5246 #if wxUSE_UNICODE
5247 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5248 #else
5249 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5250 #endif
5251 }
5252 return pyobj;
5253 }
5254
5255
5256 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5257 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5258 return 1;
5259 }
5260
5261
5262 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5263 PyObject *pyobj = 0;
5264
5265 {
5266 #if wxUSE_UNICODE
5267 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5268 #else
5269 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5270 #endif
5271 }
5272 return pyobj;
5273 }
5274
5275
5276 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5277 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5278 return 1;
5279 }
5280
5281
5282 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5283 PyObject *pyobj = 0;
5284
5285 {
5286 #if wxUSE_UNICODE
5287 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5288 #else
5289 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5290 #endif
5291 }
5292 return pyobj;
5293 }
5294
5295
5296 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj = 0;
5298 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5299 bool arg2 = (bool) true ;
5300 void *argp1 = 0 ;
5301 int res1 = 0 ;
5302 bool val2 ;
5303 int ecode2 = 0 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char * kwnames[] = {
5307 (char *) "self",(char *) "maximize", NULL
5308 };
5309
5310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5312 if (!SWIG_IsOK(res1)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5314 }
5315 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5316 if (obj1) {
5317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5318 if (!SWIG_IsOK(ecode2)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5320 }
5321 arg2 = static_cast< bool >(val2);
5322 }
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 (arg1)->Maximize(arg2);
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = SWIG_Py_Void();
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337 PyObject *resultobj = 0;
5338 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5339 void *argp1 = 0 ;
5340 int res1 = 0 ;
5341 PyObject *swig_obj[1] ;
5342
5343 if (!args) SWIG_fail;
5344 swig_obj[0] = args;
5345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5346 if (!SWIG_IsOK(res1)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5348 }
5349 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 (arg1)->Restore();
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 resultobj = SWIG_Py_Void();
5357 return resultobj;
5358 fail:
5359 return NULL;
5360 }
5361
5362
5363 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj = 0;
5365 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5366 bool arg2 = (bool) true ;
5367 void *argp1 = 0 ;
5368 int res1 = 0 ;
5369 bool val2 ;
5370 int ecode2 = 0 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char * kwnames[] = {
5374 (char *) "self",(char *) "iconize", NULL
5375 };
5376
5377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5379 if (!SWIG_IsOK(res1)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5381 }
5382 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5383 if (obj1) {
5384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5385 if (!SWIG_IsOK(ecode2)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5387 }
5388 arg2 = static_cast< bool >(val2);
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 (arg1)->Iconize(arg2);
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = SWIG_Py_Void();
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5404 PyObject *resultobj = 0;
5405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5406 bool result;
5407 void *argp1 = 0 ;
5408 int res1 = 0 ;
5409 PyObject *swig_obj[1] ;
5410
5411 if (!args) SWIG_fail;
5412 swig_obj[0] = args;
5413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5414 if (!SWIG_IsOK(res1)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5416 }
5417 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426 }
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5434 PyObject *resultobj = 0;
5435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5436 bool result;
5437 void *argp1 = 0 ;
5438 int res1 = 0 ;
5439 PyObject *swig_obj[1] ;
5440
5441 if (!args) SWIG_fail;
5442 swig_obj[0] = args;
5443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5456 }
5457 return resultobj;
5458 fail:
5459 return NULL;
5460 }
5461
5462
5463 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5464 PyObject *resultobj = 0;
5465 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5466 bool result;
5467 void *argp1 = 0 ;
5468 int res1 = 0 ;
5469 PyObject *swig_obj[1] ;
5470
5471 if (!args) SWIG_fail;
5472 swig_obj[0] = args;
5473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5474 if (!SWIG_IsOK(res1)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5476 }
5477 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 {
5485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5486 }
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5494 PyObject *resultobj = 0;
5495 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5496 wxIcon result;
5497 void *argp1 = 0 ;
5498 int res1 = 0 ;
5499 PyObject *swig_obj[1] ;
5500
5501 if (!args) SWIG_fail;
5502 swig_obj[0] = args;
5503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5504 if (!SWIG_IsOK(res1)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5506 }
5507 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5515 return resultobj;
5516 fail:
5517 return NULL;
5518 }
5519
5520
5521 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj = 0;
5523 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5524 wxIcon *arg2 = 0 ;
5525 void *argp1 = 0 ;
5526 int res1 = 0 ;
5527 void *argp2 = 0 ;
5528 int res2 = 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 char * kwnames[] = {
5532 (char *) "self",(char *) "icon", NULL
5533 };
5534
5535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5542 if (!SWIG_IsOK(res2)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 }
5545 if (!argp2) {
5546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5547 }
5548 arg2 = reinterpret_cast< wxIcon * >(argp2);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 (arg1)->SetIcon((wxIcon const &)*arg2);
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 resultobj = SWIG_Py_Void();
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj = 0;
5564 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5565 wxIconBundle *arg2 = 0 ;
5566 void *argp1 = 0 ;
5567 int res1 = 0 ;
5568 void *argp2 = 0 ;
5569 int res2 = 0 ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 char * kwnames[] = {
5573 (char *) "self",(char *) "icons", NULL
5574 };
5575
5576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5578 if (!SWIG_IsOK(res1)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5580 }
5581 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5583 if (!SWIG_IsOK(res2)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 }
5586 if (!argp2) {
5587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5588 }
5589 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 resultobj = SWIG_Py_Void();
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj = 0;
5605 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5606 bool arg2 ;
5607 long arg3 = (long) wxFULLSCREEN_ALL ;
5608 bool result;
5609 void *argp1 = 0 ;
5610 int res1 = 0 ;
5611 bool val2 ;
5612 int ecode2 = 0 ;
5613 long val3 ;
5614 int ecode3 = 0 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 char * kwnames[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5620 };
5621
5622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5629 if (!SWIG_IsOK(ecode2)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5631 }
5632 arg2 = static_cast< bool >(val2);
5633 if (obj2) {
5634 ecode3 = SWIG_AsVal_long(obj2, &val3);
5635 if (!SWIG_IsOK(ecode3)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5637 }
5638 arg3 = static_cast< long >(val3);
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5648 }
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5656 PyObject *resultobj = 0;
5657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5658 bool result;
5659 void *argp1 = 0 ;
5660 int res1 = 0 ;
5661 PyObject *swig_obj[1] ;
5662
5663 if (!args) SWIG_fail;
5664 swig_obj[0] = args;
5665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5666 if (!SWIG_IsOK(res1)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5668 }
5669 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 }
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = 0;
5687 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5688 wxString *arg2 = 0 ;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool temp2 = false ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char * kwnames[] = {
5695 (char *) "self",(char *) "title", NULL
5696 };
5697
5698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5700 if (!SWIG_IsOK(res1)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5702 }
5703 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5704 {
5705 arg2 = wxString_in_helper(obj1);
5706 if (arg2 == NULL) SWIG_fail;
5707 temp2 = true;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetTitle((wxString const &)*arg2);
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = SWIG_Py_Void();
5716 {
5717 if (temp2)
5718 delete arg2;
5719 }
5720 return resultobj;
5721 fail:
5722 {
5723 if (temp2)
5724 delete arg2;
5725 }
5726 return NULL;
5727 }
5728
5729
5730 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5731 PyObject *resultobj = 0;
5732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5733 wxString result;
5734 void *argp1 = 0 ;
5735 int res1 = 0 ;
5736 PyObject *swig_obj[1] ;
5737
5738 if (!args) SWIG_fail;
5739 swig_obj[0] = args;
5740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5741 if (!SWIG_IsOK(res1)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5743 }
5744 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 #if wxUSE_UNICODE
5753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5754 #else
5755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5756 #endif
5757 }
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj = 0;
5766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5767 wxRegion *arg2 = 0 ;
5768 bool result;
5769 void *argp1 = 0 ;
5770 int res1 = 0 ;
5771 void *argp2 = 0 ;
5772 int res2 = 0 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char * kwnames[] = {
5776 (char *) "self",(char *) "region", NULL
5777 };
5778
5779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 }
5784 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5785 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5786 if (!SWIG_IsOK(res2)) {
5787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5788 }
5789 if (!argp2) {
5790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5791 }
5792 arg2 = reinterpret_cast< wxRegion * >(argp2);
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 {
5800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5801 }
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj = 0;
5810 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5811 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5812 void *argp1 = 0 ;
5813 int res1 = 0 ;
5814 int val2 ;
5815 int ecode2 = 0 ;
5816 PyObject * obj0 = 0 ;
5817 PyObject * obj1 = 0 ;
5818 char * kwnames[] = {
5819 (char *) "self",(char *) "flags", NULL
5820 };
5821
5822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5824 if (!SWIG_IsOK(res1)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5826 }
5827 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5828 if (obj1) {
5829 ecode2 = SWIG_AsVal_int(obj1, &val2);
5830 if (!SWIG_IsOK(ecode2)) {
5831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5832 }
5833 arg2 = static_cast< int >(val2);
5834 }
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 (arg1)->RequestUserAttention(arg2);
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 resultobj = SWIG_Py_Void();
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5849 PyObject *resultobj = 0;
5850 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5851 bool result;
5852 void *argp1 = 0 ;
5853 int res1 = 0 ;
5854 PyObject *swig_obj[1] ;
5855
5856 if (!args) SWIG_fail;
5857 swig_obj[0] = args;
5858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5859 if (!SWIG_IsOK(res1)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5861 }
5862 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)(arg1)->IsActive();
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 {
5870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5871 }
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj = 0;
5880 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5881 bool arg2 ;
5882 void *argp1 = 0 ;
5883 int res1 = 0 ;
5884 bool val2 ;
5885 int ecode2 = 0 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char * kwnames[] = {
5889 (char *) "self",(char *) "on", NULL
5890 };
5891
5892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5894 if (!SWIG_IsOK(res1)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 }
5897 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5898 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5899 if (!SWIG_IsOK(ecode2)) {
5900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5901 }
5902 arg2 = static_cast< bool >(val2);
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 resultobj = SWIG_Py_Void();
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5917 PyObject *resultobj = 0;
5918 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5919 bool result;
5920 void *argp1 = 0 ;
5921 int res1 = 0 ;
5922 PyObject *swig_obj[1] ;
5923
5924 if (!args) SWIG_fail;
5925 swig_obj[0] = args;
5926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5927 if (!SWIG_IsOK(res1)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5929 }
5930 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 {
5938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5939 }
5940 return resultobj;
5941 fail:
5942 return NULL;
5943 }
5944
5945
5946 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj = 0;
5948 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5949 int arg2 = (int) wxBOTH ;
5950 void *argp1 = 0 ;
5951 int res1 = 0 ;
5952 int val2 ;
5953 int ecode2 = 0 ;
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 char * kwnames[] = {
5957 (char *) "self",(char *) "dir", NULL
5958 };
5959
5960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5962 if (!SWIG_IsOK(res1)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5964 }
5965 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5966 if (obj1) {
5967 ecode2 = SWIG_AsVal_int(obj1, &val2);
5968 if (!SWIG_IsOK(ecode2)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5970 }
5971 arg2 = static_cast< int >(val2);
5972 }
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 (arg1)->CenterOnScreen(arg2);
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 resultobj = SWIG_Py_Void();
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj = 0;
5988 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5989 bool arg2 = (bool) true ;
5990 bool result;
5991 void *argp1 = 0 ;
5992 int res1 = 0 ;
5993 bool val2 ;
5994 int ecode2 = 0 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char * kwnames[] = {
5998 (char *) "self",(char *) "enable", NULL
5999 };
6000
6001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6003 if (!SWIG_IsOK(res1)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6005 }
6006 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6007 if (obj1) {
6008 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6011 }
6012 arg2 = static_cast< bool >(val2);
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 {
6021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6022 }
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6032 wxWindow *result = 0 ;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 resultobj = wxPyMake_wxObject(result, 0);
6052 }
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj = 0;
6061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6062 wxWindow *arg2 = (wxWindow *) 0 ;
6063 wxWindow *result = 0 ;
6064 void *argp1 = 0 ;
6065 int res1 = 0 ;
6066 void *argp2 = 0 ;
6067 int res2 = 0 ;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 char * kwnames[] = {
6071 (char *) "self",(char *) "child", NULL
6072 };
6073
6074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6076 if (!SWIG_IsOK(res1)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6078 }
6079 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6081 if (!SWIG_IsOK(res2)) {
6082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6083 }
6084 arg2 = reinterpret_cast< wxWindow * >(argp2);
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 {
6092 resultobj = wxPyMake_wxObject(result, 0);
6093 }
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj = 0;
6102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6103 wxWindow *arg2 = (wxWindow *) 0 ;
6104 void *argp1 = 0 ;
6105 int res1 = 0 ;
6106 void *argp2 = 0 ;
6107 int res2 = 0 ;
6108 PyObject * obj0 = 0 ;
6109 PyObject * obj1 = 0 ;
6110 char * kwnames[] = {
6111 (char *) "self",(char *) "win", NULL
6112 };
6113
6114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6116 if (!SWIG_IsOK(res1)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6118 }
6119 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6120 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6121 if (!SWIG_IsOK(res2)) {
6122 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6123 }
6124 arg2 = reinterpret_cast< wxWindow * >(argp2);
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 (arg1)->SetTmpDefaultItem(arg2);
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 resultobj = SWIG_Py_Void();
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6139 PyObject *resultobj = 0;
6140 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6141 wxWindow *result = 0 ;
6142 void *argp1 = 0 ;
6143 int res1 = 0 ;
6144 PyObject *swig_obj[1] ;
6145
6146 if (!args) SWIG_fail;
6147 swig_obj[0] = args;
6148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6149 if (!SWIG_IsOK(res1)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6151 }
6152 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) SWIG_fail;
6158 }
6159 {
6160 resultobj = wxPyMake_wxObject(result, 0);
6161 }
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6169 PyObject *obj;
6170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6171 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6172 return SWIG_Py_Void();
6173 }
6174
6175 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj = 0;
6177 wxWindow *arg1 = (wxWindow *) 0 ;
6178 int arg2 = (int) (int)-1 ;
6179 wxString const &arg3_defvalue = wxPyEmptyString ;
6180 wxString *arg3 = (wxString *) &arg3_defvalue ;
6181 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6182 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6183 wxSize const &arg5_defvalue = wxDefaultSize ;
6184 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6185 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6186 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6187 wxString *arg7 = (wxString *) &arg7_defvalue ;
6188 wxFrame *result = 0 ;
6189 void *argp1 = 0 ;
6190 int res1 = 0 ;
6191 int val2 ;
6192 int ecode2 = 0 ;
6193 bool temp3 = false ;
6194 wxPoint temp4 ;
6195 wxSize temp5 ;
6196 long val6 ;
6197 int ecode6 = 0 ;
6198 bool temp7 = false ;
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 PyObject * obj2 = 0 ;
6202 PyObject * obj3 = 0 ;
6203 PyObject * obj4 = 0 ;
6204 PyObject * obj5 = 0 ;
6205 PyObject * obj6 = 0 ;
6206 char * kwnames[] = {
6207 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 };
6209
6210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6212 if (!SWIG_IsOK(res1)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6214 }
6215 arg1 = reinterpret_cast< wxWindow * >(argp1);
6216 if (obj1) {
6217 ecode2 = SWIG_AsVal_int(obj1, &val2);
6218 if (!SWIG_IsOK(ecode2)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6220 }
6221 arg2 = static_cast< int >(val2);
6222 }
6223 if (obj2) {
6224 {
6225 arg3 = wxString_in_helper(obj2);
6226 if (arg3 == NULL) SWIG_fail;
6227 temp3 = true;
6228 }
6229 }
6230 if (obj3) {
6231 {
6232 arg4 = &temp4;
6233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6234 }
6235 }
6236 if (obj4) {
6237 {
6238 arg5 = &temp5;
6239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6240 }
6241 }
6242 if (obj5) {
6243 ecode6 = SWIG_AsVal_long(obj5, &val6);
6244 if (!SWIG_IsOK(ecode6)) {
6245 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6246 }
6247 arg6 = static_cast< long >(val6);
6248 }
6249 if (obj6) {
6250 {
6251 arg7 = wxString_in_helper(obj6);
6252 if (arg7 == NULL) SWIG_fail;
6253 temp7 = true;
6254 }
6255 }
6256 {
6257 if (!wxPyCheckForApp()) SWIG_fail;
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6264 {
6265 if (temp3)
6266 delete arg3;
6267 }
6268 {
6269 if (temp7)
6270 delete arg7;
6271 }
6272 return resultobj;
6273 fail:
6274 {
6275 if (temp3)
6276 delete arg3;
6277 }
6278 {
6279 if (temp7)
6280 delete arg7;
6281 }
6282 return NULL;
6283 }
6284
6285
6286 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6287 PyObject *resultobj = 0;
6288 wxFrame *result = 0 ;
6289
6290 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6291 {
6292 if (!wxPyCheckForApp()) SWIG_fail;
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 result = (wxFrame *)new wxFrame();
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj = 0;
6307 wxFrame *arg1 = (wxFrame *) 0 ;
6308 wxWindow *arg2 = (wxWindow *) 0 ;
6309 int arg3 = (int) (int)-1 ;
6310 wxString const &arg4_defvalue = wxPyEmptyString ;
6311 wxString *arg4 = (wxString *) &arg4_defvalue ;
6312 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6313 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6314 wxSize const &arg6_defvalue = wxDefaultSize ;
6315 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6316 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6317 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6318 wxString *arg8 = (wxString *) &arg8_defvalue ;
6319 bool result;
6320 void *argp1 = 0 ;
6321 int res1 = 0 ;
6322 void *argp2 = 0 ;
6323 int res2 = 0 ;
6324 int val3 ;
6325 int ecode3 = 0 ;
6326 bool temp4 = false ;
6327 wxPoint temp5 ;
6328 wxSize temp6 ;
6329 long val7 ;
6330 int ecode7 = 0 ;
6331 bool temp8 = false ;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj2 = 0 ;
6335 PyObject * obj3 = 0 ;
6336 PyObject * obj4 = 0 ;
6337 PyObject * obj5 = 0 ;
6338 PyObject * obj6 = 0 ;
6339 PyObject * obj7 = 0 ;
6340 char * kwnames[] = {
6341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6342 };
6343
6344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6346 if (!SWIG_IsOK(res1)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6348 }
6349 arg1 = reinterpret_cast< wxFrame * >(argp1);
6350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6351 if (!SWIG_IsOK(res2)) {
6352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6353 }
6354 arg2 = reinterpret_cast< wxWindow * >(argp2);
6355 if (obj2) {
6356 ecode3 = SWIG_AsVal_int(obj2, &val3);
6357 if (!SWIG_IsOK(ecode3)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6359 }
6360 arg3 = static_cast< int >(val3);
6361 }
6362 if (obj3) {
6363 {
6364 arg4 = wxString_in_helper(obj3);
6365 if (arg4 == NULL) SWIG_fail;
6366 temp4 = true;
6367 }
6368 }
6369 if (obj4) {
6370 {
6371 arg5 = &temp5;
6372 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6373 }
6374 }
6375 if (obj5) {
6376 {
6377 arg6 = &temp6;
6378 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6379 }
6380 }
6381 if (obj6) {
6382 ecode7 = SWIG_AsVal_long(obj6, &val7);
6383 if (!SWIG_IsOK(ecode7)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6385 }
6386 arg7 = static_cast< long >(val7);
6387 }
6388 if (obj7) {
6389 {
6390 arg8 = wxString_in_helper(obj7);
6391 if (arg8 == NULL) SWIG_fail;
6392 temp8 = true;
6393 }
6394 }
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6403 }
6404 {
6405 if (temp4)
6406 delete arg4;
6407 }
6408 {
6409 if (temp8)
6410 delete arg8;
6411 }
6412 return resultobj;
6413 fail:
6414 {
6415 if (temp4)
6416 delete arg4;
6417 }
6418 {
6419 if (temp8)
6420 delete arg8;
6421 }
6422 return NULL;
6423 }
6424
6425
6426 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6427 PyObject *resultobj = 0;
6428 wxFrame *arg1 = (wxFrame *) 0 ;
6429 void *argp1 = 0 ;
6430 int res1 = 0 ;
6431 PyObject *swig_obj[1] ;
6432
6433 if (!args) SWIG_fail;
6434 swig_obj[0] = args;
6435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6436 if (!SWIG_IsOK(res1)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6438 }
6439 arg1 = reinterpret_cast< wxFrame * >(argp1);
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 (arg1)->SendSizeEvent();
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = SWIG_Py_Void();
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj = 0;
6455 wxFrame *arg1 = (wxFrame *) 0 ;
6456 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6457 void *argp1 = 0 ;
6458 int res1 = 0 ;
6459 void *argp2 = 0 ;
6460 int res2 = 0 ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char * kwnames[] = {
6464 (char *) "self",(char *) "menubar", NULL
6465 };
6466
6467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6469 if (!SWIG_IsOK(res1)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6471 }
6472 arg1 = reinterpret_cast< wxFrame * >(argp1);
6473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6474 if (!SWIG_IsOK(res2)) {
6475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6476 }
6477 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 (arg1)->SetMenuBar(arg2);
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 resultobj = SWIG_Py_Void();
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6492 PyObject *resultobj = 0;
6493 wxFrame *arg1 = (wxFrame *) 0 ;
6494 wxMenuBar *result = 0 ;
6495 void *argp1 = 0 ;
6496 int res1 = 0 ;
6497 PyObject *swig_obj[1] ;
6498
6499 if (!args) SWIG_fail;
6500 swig_obj[0] = args;
6501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6502 if (!SWIG_IsOK(res1)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6504 }
6505 arg1 = reinterpret_cast< wxFrame * >(argp1);
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513 resultobj = wxPyMake_wxObject(result, 0);
6514 }
6515 return resultobj;
6516 fail:
6517 return NULL;
6518 }
6519
6520
6521 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6522 PyObject *resultobj = 0;
6523 wxFrame *arg1 = (wxFrame *) 0 ;
6524 int arg2 ;
6525 bool result;
6526 void *argp1 = 0 ;
6527 int res1 = 0 ;
6528 int val2 ;
6529 int ecode2 = 0 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char * kwnames[] = {
6533 (char *) "self",(char *) "winid", NULL
6534 };
6535
6536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6538 if (!SWIG_IsOK(res1)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6540 }
6541 arg1 = reinterpret_cast< wxFrame * >(argp1);
6542 ecode2 = SWIG_AsVal_int(obj1, &val2);
6543 if (!SWIG_IsOK(ecode2)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6545 }
6546 arg2 = static_cast< int >(val2);
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)(arg1)->ProcessCommand(arg2);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 {
6554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6555 }
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj = 0;
6564 wxFrame *arg1 = (wxFrame *) 0 ;
6565 int arg2 = (int) 1 ;
6566 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6567 int arg4 = (int) 0 ;
6568 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6569 wxString *arg5 = (wxString *) &arg5_defvalue ;
6570 wxStatusBar *result = 0 ;
6571 void *argp1 = 0 ;
6572 int res1 = 0 ;
6573 int val2 ;
6574 int ecode2 = 0 ;
6575 long val3 ;
6576 int ecode3 = 0 ;
6577 int val4 ;
6578 int ecode4 = 0 ;
6579 bool temp5 = false ;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 PyObject * obj2 = 0 ;
6583 PyObject * obj3 = 0 ;
6584 PyObject * obj4 = 0 ;
6585 char * kwnames[] = {
6586 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6587 };
6588
6589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6591 if (!SWIG_IsOK(res1)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6593 }
6594 arg1 = reinterpret_cast< wxFrame * >(argp1);
6595 if (obj1) {
6596 ecode2 = SWIG_AsVal_int(obj1, &val2);
6597 if (!SWIG_IsOK(ecode2)) {
6598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6599 }
6600 arg2 = static_cast< int >(val2);
6601 }
6602 if (obj2) {
6603 ecode3 = SWIG_AsVal_long(obj2, &val3);
6604 if (!SWIG_IsOK(ecode3)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6606 }
6607 arg3 = static_cast< long >(val3);
6608 }
6609 if (obj3) {
6610 ecode4 = SWIG_AsVal_int(obj3, &val4);
6611 if (!SWIG_IsOK(ecode4)) {
6612 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6613 }
6614 arg4 = static_cast< int >(val4);
6615 }
6616 if (obj4) {
6617 {
6618 arg5 = wxString_in_helper(obj4);
6619 if (arg5 == NULL) SWIG_fail;
6620 temp5 = true;
6621 }
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 {
6630 resultobj = wxPyMake_wxObject(result, (bool)0);
6631 }
6632 {
6633 if (temp5)
6634 delete arg5;
6635 }
6636 return resultobj;
6637 fail:
6638 {
6639 if (temp5)
6640 delete arg5;
6641 }
6642 return NULL;
6643 }
6644
6645
6646 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6647 PyObject *resultobj = 0;
6648 wxFrame *arg1 = (wxFrame *) 0 ;
6649 wxStatusBar *result = 0 ;
6650 void *argp1 = 0 ;
6651 int res1 = 0 ;
6652 PyObject *swig_obj[1] ;
6653
6654 if (!args) SWIG_fail;
6655 swig_obj[0] = args;
6656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6657 if (!SWIG_IsOK(res1)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6659 }
6660 arg1 = reinterpret_cast< wxFrame * >(argp1);
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 {
6668 resultobj = wxPyMake_wxObject(result, (bool)0);
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj = 0;
6678 wxFrame *arg1 = (wxFrame *) 0 ;
6679 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6680 void *argp1 = 0 ;
6681 int res1 = 0 ;
6682 void *argp2 = 0 ;
6683 int res2 = 0 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 char * kwnames[] = {
6687 (char *) "self",(char *) "statBar", NULL
6688 };
6689
6690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6692 if (!SWIG_IsOK(res1)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6694 }
6695 arg1 = reinterpret_cast< wxFrame * >(argp1);
6696 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6697 if (!SWIG_IsOK(res2)) {
6698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6699 }
6700 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 (arg1)->SetStatusBar(arg2);
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 resultobj = SWIG_Py_Void();
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj = 0;
6716 wxFrame *arg1 = (wxFrame *) 0 ;
6717 wxString *arg2 = 0 ;
6718 int arg3 = (int) 0 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 bool temp2 = false ;
6722 int val3 ;
6723 int ecode3 = 0 ;
6724 PyObject * obj0 = 0 ;
6725 PyObject * obj1 = 0 ;
6726 PyObject * obj2 = 0 ;
6727 char * kwnames[] = {
6728 (char *) "self",(char *) "text",(char *) "number", NULL
6729 };
6730
6731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6733 if (!SWIG_IsOK(res1)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6735 }
6736 arg1 = reinterpret_cast< wxFrame * >(argp1);
6737 {
6738 arg2 = wxString_in_helper(obj1);
6739 if (arg2 == NULL) SWIG_fail;
6740 temp2 = true;
6741 }
6742 if (obj2) {
6743 ecode3 = SWIG_AsVal_int(obj2, &val3);
6744 if (!SWIG_IsOK(ecode3)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6746 }
6747 arg3 = static_cast< int >(val3);
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = SWIG_Py_Void();
6756 {
6757 if (temp2)
6758 delete arg2;
6759 }
6760 return resultobj;
6761 fail:
6762 {
6763 if (temp2)
6764 delete arg2;
6765 }
6766 return NULL;
6767 }
6768
6769
6770 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj = 0;
6772 wxFrame *arg1 = (wxFrame *) 0 ;
6773 int arg2 ;
6774 int *arg3 = (int *) 0 ;
6775 void *argp1 = 0 ;
6776 int res1 = 0 ;
6777 PyObject * obj0 = 0 ;
6778 PyObject * obj1 = 0 ;
6779 char * kwnames[] = {
6780 (char *) "self",(char *) "widths", NULL
6781 };
6782
6783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6785 if (!SWIG_IsOK(res1)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6787 }
6788 arg1 = reinterpret_cast< wxFrame * >(argp1);
6789 {
6790 arg2 = PyList_Size(obj1);
6791 arg3 = int_LIST_helper(obj1);
6792 if (arg3 == NULL) SWIG_fail;
6793 }
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 resultobj = SWIG_Py_Void();
6801 {
6802 if (arg3) delete [] arg3;
6803 }
6804 return resultobj;
6805 fail:
6806 {
6807 if (arg3) delete [] arg3;
6808 }
6809 return NULL;
6810 }
6811
6812
6813 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj = 0;
6815 wxFrame *arg1 = (wxFrame *) 0 ;
6816 wxString *arg2 = 0 ;
6817 int arg3 = (int) 0 ;
6818 void *argp1 = 0 ;
6819 int res1 = 0 ;
6820 bool temp2 = false ;
6821 int val3 ;
6822 int ecode3 = 0 ;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 PyObject * obj2 = 0 ;
6826 char * kwnames[] = {
6827 (char *) "self",(char *) "text",(char *) "number", NULL
6828 };
6829
6830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6832 if (!SWIG_IsOK(res1)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6834 }
6835 arg1 = reinterpret_cast< wxFrame * >(argp1);
6836 {
6837 arg2 = wxString_in_helper(obj1);
6838 if (arg2 == NULL) SWIG_fail;
6839 temp2 = true;
6840 }
6841 if (obj2) {
6842 ecode3 = SWIG_AsVal_int(obj2, &val3);
6843 if (!SWIG_IsOK(ecode3)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6845 }
6846 arg3 = static_cast< int >(val3);
6847 }
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_Py_Void();
6855 {
6856 if (temp2)
6857 delete arg2;
6858 }
6859 return resultobj;
6860 fail:
6861 {
6862 if (temp2)
6863 delete arg2;
6864 }
6865 return NULL;
6866 }
6867
6868
6869 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj = 0;
6871 wxFrame *arg1 = (wxFrame *) 0 ;
6872 int arg2 = (int) 0 ;
6873 void *argp1 = 0 ;
6874 int res1 = 0 ;
6875 int val2 ;
6876 int ecode2 = 0 ;
6877 PyObject * obj0 = 0 ;
6878 PyObject * obj1 = 0 ;
6879 char * kwnames[] = {
6880 (char *) "self",(char *) "number", NULL
6881 };
6882
6883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6885 if (!SWIG_IsOK(res1)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6887 }
6888 arg1 = reinterpret_cast< wxFrame * >(argp1);
6889 if (obj1) {
6890 ecode2 = SWIG_AsVal_int(obj1, &val2);
6891 if (!SWIG_IsOK(ecode2)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6893 }
6894 arg2 = static_cast< int >(val2);
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->PopStatusText(arg2);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_Py_Void();
6903 return resultobj;
6904 fail:
6905 return NULL;
6906 }
6907
6908
6909 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj = 0;
6911 wxFrame *arg1 = (wxFrame *) 0 ;
6912 int arg2 ;
6913 void *argp1 = 0 ;
6914 int res1 = 0 ;
6915 int val2 ;
6916 int ecode2 = 0 ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 char * kwnames[] = {
6920 (char *) "self",(char *) "n", NULL
6921 };
6922
6923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6925 if (!SWIG_IsOK(res1)) {
6926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6927 }
6928 arg1 = reinterpret_cast< wxFrame * >(argp1);
6929 ecode2 = SWIG_AsVal_int(obj1, &val2);
6930 if (!SWIG_IsOK(ecode2)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6932 }
6933 arg2 = static_cast< int >(val2);
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 (arg1)->SetStatusBarPane(arg2);
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 resultobj = SWIG_Py_Void();
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6948 PyObject *resultobj = 0;
6949 wxFrame *arg1 = (wxFrame *) 0 ;
6950 int result;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 PyObject *swig_obj[1] ;
6954
6955 if (!args) SWIG_fail;
6956 swig_obj[0] = args;
6957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6958 if (!SWIG_IsOK(res1)) {
6959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6960 }
6961 arg1 = reinterpret_cast< wxFrame * >(argp1);
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 resultobj = SWIG_From_int(static_cast< int >(result));
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj = 0;
6977 wxFrame *arg1 = (wxFrame *) 0 ;
6978 long arg2 = (long) -1 ;
6979 int arg3 = (int) -1 ;
6980 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6981 wxString *arg4 = (wxString *) &arg4_defvalue ;
6982 wxToolBar *result = 0 ;
6983 void *argp1 = 0 ;
6984 int res1 = 0 ;
6985 long val2 ;
6986 int ecode2 = 0 ;
6987 int val3 ;
6988 int ecode3 = 0 ;
6989 bool temp4 = false ;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 PyObject * obj2 = 0 ;
6993 PyObject * obj3 = 0 ;
6994 char * kwnames[] = {
6995 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6996 };
6997
6998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7000 if (!SWIG_IsOK(res1)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7002 }
7003 arg1 = reinterpret_cast< wxFrame * >(argp1);
7004 if (obj1) {
7005 ecode2 = SWIG_AsVal_long(obj1, &val2);
7006 if (!SWIG_IsOK(ecode2)) {
7007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7008 }
7009 arg2 = static_cast< long >(val2);
7010 }
7011 if (obj2) {
7012 ecode3 = SWIG_AsVal_int(obj2, &val3);
7013 if (!SWIG_IsOK(ecode3)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7015 }
7016 arg3 = static_cast< int >(val3);
7017 }
7018 if (obj3) {
7019 {
7020 arg4 = wxString_in_helper(obj3);
7021 if (arg4 == NULL) SWIG_fail;
7022 temp4 = true;
7023 }
7024 }
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 {
7032 resultobj = wxPyMake_wxObject(result, (bool)0);
7033 }
7034 {
7035 if (temp4)
7036 delete arg4;
7037 }
7038 return resultobj;
7039 fail:
7040 {
7041 if (temp4)
7042 delete arg4;
7043 }
7044 return NULL;
7045 }
7046
7047
7048 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7049 PyObject *resultobj = 0;
7050 wxFrame *arg1 = (wxFrame *) 0 ;
7051 wxToolBar *result = 0 ;
7052 void *argp1 = 0 ;
7053 int res1 = 0 ;
7054 PyObject *swig_obj[1] ;
7055
7056 if (!args) SWIG_fail;
7057 swig_obj[0] = args;
7058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7059 if (!SWIG_IsOK(res1)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7061 }
7062 arg1 = reinterpret_cast< wxFrame * >(argp1);
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 resultobj = wxPyMake_wxObject(result, (bool)0);
7071 }
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj = 0;
7080 wxFrame *arg1 = (wxFrame *) 0 ;
7081 wxToolBar *arg2 = (wxToolBar *) 0 ;
7082 void *argp1 = 0 ;
7083 int res1 = 0 ;
7084 void *argp2 = 0 ;
7085 int res2 = 0 ;
7086 PyObject * obj0 = 0 ;
7087 PyObject * obj1 = 0 ;
7088 char * kwnames[] = {
7089 (char *) "self",(char *) "toolbar", NULL
7090 };
7091
7092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7094 if (!SWIG_IsOK(res1)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7096 }
7097 arg1 = reinterpret_cast< wxFrame * >(argp1);
7098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7099 if (!SWIG_IsOK(res2)) {
7100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7101 }
7102 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetToolBar(arg2);
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 resultobj = SWIG_Py_Void();
7110 return resultobj;
7111 fail:
7112 return NULL;
7113 }
7114
7115
7116 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj = 0;
7118 wxFrame *arg1 = (wxFrame *) 0 ;
7119 wxString *arg2 = 0 ;
7120 bool arg3 ;
7121 void *argp1 = 0 ;
7122 int res1 = 0 ;
7123 bool temp2 = false ;
7124 bool val3 ;
7125 int ecode3 = 0 ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj2 = 0 ;
7129 char * kwnames[] = {
7130 (char *) "self",(char *) "text",(char *) "show", NULL
7131 };
7132
7133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7135 if (!SWIG_IsOK(res1)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7137 }
7138 arg1 = reinterpret_cast< wxFrame * >(argp1);
7139 {
7140 arg2 = wxString_in_helper(obj1);
7141 if (arg2 == NULL) SWIG_fail;
7142 temp2 = true;
7143 }
7144 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7145 if (!SWIG_IsOK(ecode3)) {
7146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7147 }
7148 arg3 = static_cast< bool >(val3);
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_Py_Void();
7156 {
7157 if (temp2)
7158 delete arg2;
7159 }
7160 return resultobj;
7161 fail:
7162 {
7163 if (temp2)
7164 delete arg2;
7165 }
7166 return NULL;
7167 }
7168
7169
7170 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj = 0;
7172 wxFrame *arg1 = (wxFrame *) 0 ;
7173 wxMenu *arg2 = (wxMenu *) NULL ;
7174 void *argp1 = 0 ;
7175 int res1 = 0 ;
7176 void *argp2 = 0 ;
7177 int res2 = 0 ;
7178 PyObject * obj0 = 0 ;
7179 PyObject * obj1 = 0 ;
7180 char * kwnames[] = {
7181 (char *) "self",(char *) "menu", NULL
7182 };
7183
7184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7186 if (!SWIG_IsOK(res1)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7188 }
7189 arg1 = reinterpret_cast< wxFrame * >(argp1);
7190 if (obj1) {
7191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7192 if (!SWIG_IsOK(res2)) {
7193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7194 }
7195 arg2 = reinterpret_cast< wxMenu * >(argp2);
7196 }
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 (arg1)->DoMenuUpdates(arg2);
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = SWIG_Py_Void();
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj = 0;
7212 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7213 SwigValueWrapper<wxVisualAttributes > result;
7214 int val1 ;
7215 int ecode1 = 0 ;
7216 PyObject * obj0 = 0 ;
7217 char * kwnames[] = {
7218 (char *) "variant", NULL
7219 };
7220
7221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7222 if (obj0) {
7223 ecode1 = SWIG_AsVal_int(obj0, &val1);
7224 if (!SWIG_IsOK(ecode1)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7226 }
7227 arg1 = static_cast< wxWindowVariant >(val1);
7228 }
7229 {
7230 if (!wxPyCheckForApp()) SWIG_fail;
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = wxFrame::GetClassDefaultAttributes(arg1);
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7237 return resultobj;
7238 fail:
7239 return NULL;
7240 }
7241
7242
7243 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7244 PyObject *obj;
7245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7246 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7247 return SWIG_Py_Void();
7248 }
7249
7250 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7251 return SWIG_Python_InitShadowInstance(args);
7252 }
7253
7254 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj = 0;
7256 wxWindow *arg1 = (wxWindow *) 0 ;
7257 int arg2 = (int) (int)-1 ;
7258 wxString const &arg3_defvalue = wxPyEmptyString ;
7259 wxString *arg3 = (wxString *) &arg3_defvalue ;
7260 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7261 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7262 wxSize const &arg5_defvalue = wxDefaultSize ;
7263 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7264 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7265 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7266 wxString *arg7 = (wxString *) &arg7_defvalue ;
7267 wxDialog *result = 0 ;
7268 void *argp1 = 0 ;
7269 int res1 = 0 ;
7270 int val2 ;
7271 int ecode2 = 0 ;
7272 bool temp3 = false ;
7273 wxPoint temp4 ;
7274 wxSize temp5 ;
7275 long val6 ;
7276 int ecode6 = 0 ;
7277 bool temp7 = false ;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 PyObject * obj2 = 0 ;
7281 PyObject * obj3 = 0 ;
7282 PyObject * obj4 = 0 ;
7283 PyObject * obj5 = 0 ;
7284 PyObject * obj6 = 0 ;
7285 char * kwnames[] = {
7286 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7287 };
7288
7289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7291 if (!SWIG_IsOK(res1)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7293 }
7294 arg1 = reinterpret_cast< wxWindow * >(argp1);
7295 if (obj1) {
7296 ecode2 = SWIG_AsVal_int(obj1, &val2);
7297 if (!SWIG_IsOK(ecode2)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7299 }
7300 arg2 = static_cast< int >(val2);
7301 }
7302 if (obj2) {
7303 {
7304 arg3 = wxString_in_helper(obj2);
7305 if (arg3 == NULL) SWIG_fail;
7306 temp3 = true;
7307 }
7308 }
7309 if (obj3) {
7310 {
7311 arg4 = &temp4;
7312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7313 }
7314 }
7315 if (obj4) {
7316 {
7317 arg5 = &temp5;
7318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7319 }
7320 }
7321 if (obj5) {
7322 ecode6 = SWIG_AsVal_long(obj5, &val6);
7323 if (!SWIG_IsOK(ecode6)) {
7324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7325 }
7326 arg6 = static_cast< long >(val6);
7327 }
7328 if (obj6) {
7329 {
7330 arg7 = wxString_in_helper(obj6);
7331 if (arg7 == NULL) SWIG_fail;
7332 temp7 = true;
7333 }
7334 }
7335 {
7336 if (!wxPyCheckForApp()) SWIG_fail;
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7343 {
7344 if (temp3)
7345 delete arg3;
7346 }
7347 {
7348 if (temp7)
7349 delete arg7;
7350 }
7351 return resultobj;
7352 fail:
7353 {
7354 if (temp3)
7355 delete arg3;
7356 }
7357 {
7358 if (temp7)
7359 delete arg7;
7360 }
7361 return NULL;
7362 }
7363
7364
7365 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7366 PyObject *resultobj = 0;
7367 wxDialog *result = 0 ;
7368
7369 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7370 {
7371 if (!wxPyCheckForApp()) SWIG_fail;
7372 PyThreadState* __tstate = wxPyBeginAllowThreads();
7373 result = (wxDialog *)new wxDialog();
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj = 0;
7386 wxDialog *arg1 = (wxDialog *) 0 ;
7387 wxWindow *arg2 = (wxWindow *) 0 ;
7388 int arg3 = (int) (int)-1 ;
7389 wxString const &arg4_defvalue = wxPyEmptyString ;
7390 wxString *arg4 = (wxString *) &arg4_defvalue ;
7391 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7392 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7393 wxSize const &arg6_defvalue = wxDefaultSize ;
7394 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7395 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7396 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7397 wxString *arg8 = (wxString *) &arg8_defvalue ;
7398 bool result;
7399 void *argp1 = 0 ;
7400 int res1 = 0 ;
7401 void *argp2 = 0 ;
7402 int res2 = 0 ;
7403 int val3 ;
7404 int ecode3 = 0 ;
7405 bool temp4 = false ;
7406 wxPoint temp5 ;
7407 wxSize temp6 ;
7408 long val7 ;
7409 int ecode7 = 0 ;
7410 bool temp8 = false ;
7411 PyObject * obj0 = 0 ;
7412 PyObject * obj1 = 0 ;
7413 PyObject * obj2 = 0 ;
7414 PyObject * obj3 = 0 ;
7415 PyObject * obj4 = 0 ;
7416 PyObject * obj5 = 0 ;
7417 PyObject * obj6 = 0 ;
7418 PyObject * obj7 = 0 ;
7419 char * kwnames[] = {
7420 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7421 };
7422
7423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7425 if (!SWIG_IsOK(res1)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7427 }
7428 arg1 = reinterpret_cast< wxDialog * >(argp1);
7429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7430 if (!SWIG_IsOK(res2)) {
7431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7432 }
7433 arg2 = reinterpret_cast< wxWindow * >(argp2);
7434 if (obj2) {
7435 ecode3 = SWIG_AsVal_int(obj2, &val3);
7436 if (!SWIG_IsOK(ecode3)) {
7437 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7438 }
7439 arg3 = static_cast< int >(val3);
7440 }
7441 if (obj3) {
7442 {
7443 arg4 = wxString_in_helper(obj3);
7444 if (arg4 == NULL) SWIG_fail;
7445 temp4 = true;
7446 }
7447 }
7448 if (obj4) {
7449 {
7450 arg5 = &temp5;
7451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7452 }
7453 }
7454 if (obj5) {
7455 {
7456 arg6 = &temp6;
7457 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7458 }
7459 }
7460 if (obj6) {
7461 ecode7 = SWIG_AsVal_long(obj6, &val7);
7462 if (!SWIG_IsOK(ecode7)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7464 }
7465 arg7 = static_cast< long >(val7);
7466 }
7467 if (obj7) {
7468 {
7469 arg8 = wxString_in_helper(obj7);
7470 if (arg8 == NULL) SWIG_fail;
7471 temp8 = true;
7472 }
7473 }
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 {
7481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7482 }
7483 {
7484 if (temp4)
7485 delete arg4;
7486 }
7487 {
7488 if (temp8)
7489 delete arg8;
7490 }
7491 return resultobj;
7492 fail:
7493 {
7494 if (temp4)
7495 delete arg4;
7496 }
7497 {
7498 if (temp8)
7499 delete arg8;
7500 }
7501 return NULL;
7502 }
7503
7504
7505 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj = 0;
7507 wxDialog *arg1 = (wxDialog *) 0 ;
7508 int arg2 ;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 int val2 ;
7512 int ecode2 = 0 ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 char * kwnames[] = {
7516 (char *) "self",(char *) "returnCode", NULL
7517 };
7518
7519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7521 if (!SWIG_IsOK(res1)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7523 }
7524 arg1 = reinterpret_cast< wxDialog * >(argp1);
7525 ecode2 = SWIG_AsVal_int(obj1, &val2);
7526 if (!SWIG_IsOK(ecode2)) {
7527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7528 }
7529 arg2 = static_cast< int >(val2);
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 (arg1)->SetReturnCode(arg2);
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 resultobj = SWIG_Py_Void();
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7544 PyObject *resultobj = 0;
7545 wxDialog *arg1 = (wxDialog *) 0 ;
7546 int result;
7547 void *argp1 = 0 ;
7548 int res1 = 0 ;
7549 PyObject *swig_obj[1] ;
7550
7551 if (!args) SWIG_fail;
7552 swig_obj[0] = args;
7553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7554 if (!SWIG_IsOK(res1)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7556 }
7557 arg1 = reinterpret_cast< wxDialog * >(argp1);
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = SWIG_From_int(static_cast< int >(result));
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj = 0;
7573 wxDialog *arg1 = (wxDialog *) 0 ;
7574 int arg2 ;
7575 void *argp1 = 0 ;
7576 int res1 = 0 ;
7577 int val2 ;
7578 int ecode2 = 0 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char * kwnames[] = {
7582 (char *) "self",(char *) "affirmativeId", NULL
7583 };
7584
7585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7587 if (!SWIG_IsOK(res1)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7589 }
7590 arg1 = reinterpret_cast< wxDialog * >(argp1);
7591 ecode2 = SWIG_AsVal_int(obj1, &val2);
7592 if (!SWIG_IsOK(ecode2)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7594 }
7595 arg2 = static_cast< int >(val2);
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->SetAffirmativeId(arg2);
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 resultobj = SWIG_Py_Void();
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7610 PyObject *resultobj = 0;
7611 wxDialog *arg1 = (wxDialog *) 0 ;
7612 int result;
7613 void *argp1 = 0 ;
7614 int res1 = 0 ;
7615 PyObject *swig_obj[1] ;
7616
7617 if (!args) SWIG_fail;
7618 swig_obj[0] = args;
7619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7620 if (!SWIG_IsOK(res1)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7622 }
7623 arg1 = reinterpret_cast< wxDialog * >(argp1);
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 resultobj = SWIG_From_int(static_cast< int >(result));
7631 return resultobj;
7632 fail:
7633 return NULL;
7634 }
7635
7636
7637 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj = 0;
7639 wxDialog *arg1 = (wxDialog *) 0 ;
7640 int arg2 ;
7641 void *argp1 = 0 ;
7642 int res1 = 0 ;
7643 int val2 ;
7644 int ecode2 = 0 ;
7645 PyObject * obj0 = 0 ;
7646 PyObject * obj1 = 0 ;
7647 char * kwnames[] = {
7648 (char *) "self",(char *) "escapeId", NULL
7649 };
7650
7651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7653 if (!SWIG_IsOK(res1)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7655 }
7656 arg1 = reinterpret_cast< wxDialog * >(argp1);
7657 ecode2 = SWIG_AsVal_int(obj1, &val2);
7658 if (!SWIG_IsOK(ecode2)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7660 }
7661 arg2 = static_cast< int >(val2);
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->SetEscapeId(arg2);
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 resultobj = SWIG_Py_Void();
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7676 PyObject *resultobj = 0;
7677 wxDialog *arg1 = (wxDialog *) 0 ;
7678 int result;
7679 void *argp1 = 0 ;
7680 int res1 = 0 ;
7681 PyObject *swig_obj[1] ;
7682
7683 if (!args) SWIG_fail;
7684 swig_obj[0] = args;
7685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7686 if (!SWIG_IsOK(res1)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7688 }
7689 arg1 = reinterpret_cast< wxDialog * >(argp1);
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 resultobj = SWIG_From_int(static_cast< int >(result));
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj = 0;
7705 wxDialog *arg1 = (wxDialog *) 0 ;
7706 wxString *arg2 = 0 ;
7707 wxSizer *result = 0 ;
7708 void *argp1 = 0 ;
7709 int res1 = 0 ;
7710 bool temp2 = false ;
7711 PyObject * obj0 = 0 ;
7712 PyObject * obj1 = 0 ;
7713 char * kwnames[] = {
7714 (char *) "self",(char *) "message", NULL
7715 };
7716
7717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7719 if (!SWIG_IsOK(res1)) {
7720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7721 }
7722 arg1 = reinterpret_cast< wxDialog * >(argp1);
7723 {
7724 arg2 = wxString_in_helper(obj1);
7725 if (arg2 == NULL) SWIG_fail;
7726 temp2 = true;
7727 }
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 {
7735 resultobj = wxPyMake_wxObject(result, (bool)0);
7736 }
7737 {
7738 if (temp2)
7739 delete arg2;
7740 }
7741 return resultobj;
7742 fail:
7743 {
7744 if (temp2)
7745 delete arg2;
7746 }
7747 return NULL;
7748 }
7749
7750
7751 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj = 0;
7753 wxDialog *arg1 = (wxDialog *) 0 ;
7754 long arg2 ;
7755 wxSizer *result = 0 ;
7756 void *argp1 = 0 ;
7757 int res1 = 0 ;
7758 long val2 ;
7759 int ecode2 = 0 ;
7760 PyObject * obj0 = 0 ;
7761 PyObject * obj1 = 0 ;
7762 char * kwnames[] = {
7763 (char *) "self",(char *) "flags", NULL
7764 };
7765
7766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7768 if (!SWIG_IsOK(res1)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7770 }
7771 arg1 = reinterpret_cast< wxDialog * >(argp1);
7772 ecode2 = SWIG_AsVal_long(obj1, &val2);
7773 if (!SWIG_IsOK(ecode2)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7775 }
7776 arg2 = static_cast< long >(val2);
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 {
7784 resultobj = wxPyMake_wxObject(result, (bool)0);
7785 }
7786 return resultobj;
7787 fail:
7788 return NULL;
7789 }
7790
7791
7792 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7793 PyObject *resultobj = 0;
7794 wxDialog *arg1 = (wxDialog *) 0 ;
7795 long arg2 ;
7796 wxSizer *result = 0 ;
7797 void *argp1 = 0 ;
7798 int res1 = 0 ;
7799 long val2 ;
7800 int ecode2 = 0 ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char * kwnames[] = {
7804 (char *) "self",(char *) "flags", NULL
7805 };
7806
7807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7809 if (!SWIG_IsOK(res1)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7811 }
7812 arg1 = reinterpret_cast< wxDialog * >(argp1);
7813 ecode2 = SWIG_AsVal_long(obj1, &val2);
7814 if (!SWIG_IsOK(ecode2)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7816 }
7817 arg2 = static_cast< long >(val2);
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = wxPyMake_wxObject(result, (bool)0);
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj = 0;
7835 wxDialog *arg1 = (wxDialog *) 0 ;
7836 long arg2 ;
7837 wxStdDialogButtonSizer *result = 0 ;
7838 void *argp1 = 0 ;
7839 int res1 = 0 ;
7840 long val2 ;
7841 int ecode2 = 0 ;
7842 PyObject * obj0 = 0 ;
7843 PyObject * obj1 = 0 ;
7844 char * kwnames[] = {
7845 (char *) "self",(char *) "flags", NULL
7846 };
7847
7848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7850 if (!SWIG_IsOK(res1)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7852 }
7853 arg1 = reinterpret_cast< wxDialog * >(argp1);
7854 ecode2 = SWIG_AsVal_long(obj1, &val2);
7855 if (!SWIG_IsOK(ecode2)) {
7856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7857 }
7858 arg2 = static_cast< long >(val2);
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7873 PyObject *resultobj = 0;
7874 wxDialog *arg1 = (wxDialog *) 0 ;
7875 bool result;
7876 void *argp1 = 0 ;
7877 int res1 = 0 ;
7878 PyObject *swig_obj[1] ;
7879
7880 if (!args) SWIG_fail;
7881 swig_obj[0] = args;
7882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7883 if (!SWIG_IsOK(res1)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7885 }
7886 arg1 = reinterpret_cast< wxDialog * >(argp1);
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (bool)((wxDialog const *)arg1)->IsModal();
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 {
7894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7895 }
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7903 PyObject *resultobj = 0;
7904 wxDialog *arg1 = (wxDialog *) 0 ;
7905 int result;
7906 void *argp1 = 0 ;
7907 int res1 = 0 ;
7908 PyObject *swig_obj[1] ;
7909
7910 if (!args) SWIG_fail;
7911 swig_obj[0] = args;
7912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7913 if (!SWIG_IsOK(res1)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7915 }
7916 arg1 = reinterpret_cast< wxDialog * >(argp1);
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (int)(arg1)->ShowModal();
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 resultobj = SWIG_From_int(static_cast< int >(result));
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj = 0;
7932 wxDialog *arg1 = (wxDialog *) 0 ;
7933 int arg2 ;
7934 void *argp1 = 0 ;
7935 int res1 = 0 ;
7936 int val2 ;
7937 int ecode2 = 0 ;
7938 PyObject * obj0 = 0 ;
7939 PyObject * obj1 = 0 ;
7940 char * kwnames[] = {
7941 (char *) "self",(char *) "retCode", NULL
7942 };
7943
7944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7946 if (!SWIG_IsOK(res1)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7948 }
7949 arg1 = reinterpret_cast< wxDialog * >(argp1);
7950 ecode2 = SWIG_AsVal_int(obj1, &val2);
7951 if (!SWIG_IsOK(ecode2)) {
7952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7953 }
7954 arg2 = static_cast< int >(val2);
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 (arg1)->EndModal(arg2);
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 resultobj = SWIG_Py_Void();
7962 return resultobj;
7963 fail:
7964 return NULL;
7965 }
7966
7967
7968 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7969 PyObject *resultobj = 0;
7970 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7971 SwigValueWrapper<wxVisualAttributes > result;
7972 int val1 ;
7973 int ecode1 = 0 ;
7974 PyObject * obj0 = 0 ;
7975 char * kwnames[] = {
7976 (char *) "variant", NULL
7977 };
7978
7979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7980 if (obj0) {
7981 ecode1 = SWIG_AsVal_int(obj0, &val1);
7982 if (!SWIG_IsOK(ecode1)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7984 }
7985 arg1 = static_cast< wxWindowVariant >(val1);
7986 }
7987 {
7988 if (!wxPyCheckForApp()) SWIG_fail;
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = wxDialog::GetClassDefaultAttributes(arg1);
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8002 PyObject *obj;
8003 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8004 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8005 return SWIG_Py_Void();
8006 }
8007
8008 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8009 return SWIG_Python_InitShadowInstance(args);
8010 }
8011
8012 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj = 0;
8014 wxWindow *arg1 = (wxWindow *) 0 ;
8015 int arg2 = (int) (int)-1 ;
8016 wxString const &arg3_defvalue = wxPyEmptyString ;
8017 wxString *arg3 = (wxString *) &arg3_defvalue ;
8018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8020 wxSize const &arg5_defvalue = wxDefaultSize ;
8021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8022 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8023 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8024 wxString *arg7 = (wxString *) &arg7_defvalue ;
8025 wxMiniFrame *result = 0 ;
8026 void *argp1 = 0 ;
8027 int res1 = 0 ;
8028 int val2 ;
8029 int ecode2 = 0 ;
8030 bool temp3 = false ;
8031 wxPoint temp4 ;
8032 wxSize temp5 ;
8033 long val6 ;
8034 int ecode6 = 0 ;
8035 bool temp7 = false ;
8036 PyObject * obj0 = 0 ;
8037 PyObject * obj1 = 0 ;
8038 PyObject * obj2 = 0 ;
8039 PyObject * obj3 = 0 ;
8040 PyObject * obj4 = 0 ;
8041 PyObject * obj5 = 0 ;
8042 PyObject * obj6 = 0 ;
8043 char * kwnames[] = {
8044 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8045 };
8046
8047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8049 if (!SWIG_IsOK(res1)) {
8050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8051 }
8052 arg1 = reinterpret_cast< wxWindow * >(argp1);
8053 if (obj1) {
8054 ecode2 = SWIG_AsVal_int(obj1, &val2);
8055 if (!SWIG_IsOK(ecode2)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8057 }
8058 arg2 = static_cast< int >(val2);
8059 }
8060 if (obj2) {
8061 {
8062 arg3 = wxString_in_helper(obj2);
8063 if (arg3 == NULL) SWIG_fail;
8064 temp3 = true;
8065 }
8066 }
8067 if (obj3) {
8068 {
8069 arg4 = &temp4;
8070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8071 }
8072 }
8073 if (obj4) {
8074 {
8075 arg5 = &temp5;
8076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8077 }
8078 }
8079 if (obj5) {
8080 ecode6 = SWIG_AsVal_long(obj5, &val6);
8081 if (!SWIG_IsOK(ecode6)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8083 }
8084 arg6 = static_cast< long >(val6);
8085 }
8086 if (obj6) {
8087 {
8088 arg7 = wxString_in_helper(obj6);
8089 if (arg7 == NULL) SWIG_fail;
8090 temp7 = true;
8091 }
8092 }
8093 {
8094 if (!wxPyCheckForApp()) SWIG_fail;
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8101 {
8102 if (temp3)
8103 delete arg3;
8104 }
8105 {
8106 if (temp7)
8107 delete arg7;
8108 }
8109 return resultobj;
8110 fail:
8111 {
8112 if (temp3)
8113 delete arg3;
8114 }
8115 {
8116 if (temp7)
8117 delete arg7;
8118 }
8119 return NULL;
8120 }
8121
8122
8123 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8124 PyObject *resultobj = 0;
8125 wxMiniFrame *result = 0 ;
8126
8127 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8128 {
8129 if (!wxPyCheckForApp()) SWIG_fail;
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 result = (wxMiniFrame *)new wxMiniFrame();
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj = 0;
8144 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8145 wxWindow *arg2 = (wxWindow *) 0 ;
8146 int arg3 = (int) (int)-1 ;
8147 wxString const &arg4_defvalue = wxPyEmptyString ;
8148 wxString *arg4 = (wxString *) &arg4_defvalue ;
8149 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8150 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8151 wxSize const &arg6_defvalue = wxDefaultSize ;
8152 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8153 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8154 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8155 wxString *arg8 = (wxString *) &arg8_defvalue ;
8156 bool result;
8157 void *argp1 = 0 ;
8158 int res1 = 0 ;
8159 void *argp2 = 0 ;
8160 int res2 = 0 ;
8161 int val3 ;
8162 int ecode3 = 0 ;
8163 bool temp4 = false ;
8164 wxPoint temp5 ;
8165 wxSize temp6 ;
8166 long val7 ;
8167 int ecode7 = 0 ;
8168 bool temp8 = false ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 PyObject * obj2 = 0 ;
8172 PyObject * obj3 = 0 ;
8173 PyObject * obj4 = 0 ;
8174 PyObject * obj5 = 0 ;
8175 PyObject * obj6 = 0 ;
8176 PyObject * obj7 = 0 ;
8177 char * kwnames[] = {
8178 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8179 };
8180
8181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8183 if (!SWIG_IsOK(res1)) {
8184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8185 }
8186 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8188 if (!SWIG_IsOK(res2)) {
8189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8190 }
8191 arg2 = reinterpret_cast< wxWindow * >(argp2);
8192 if (obj2) {
8193 ecode3 = SWIG_AsVal_int(obj2, &val3);
8194 if (!SWIG_IsOK(ecode3)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8196 }
8197 arg3 = static_cast< int >(val3);
8198 }
8199 if (obj3) {
8200 {
8201 arg4 = wxString_in_helper(obj3);
8202 if (arg4 == NULL) SWIG_fail;
8203 temp4 = true;
8204 }
8205 }
8206 if (obj4) {
8207 {
8208 arg5 = &temp5;
8209 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8210 }
8211 }
8212 if (obj5) {
8213 {
8214 arg6 = &temp6;
8215 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8216 }
8217 }
8218 if (obj6) {
8219 ecode7 = SWIG_AsVal_long(obj6, &val7);
8220 if (!SWIG_IsOK(ecode7)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8222 }
8223 arg7 = static_cast< long >(val7);
8224 }
8225 if (obj7) {
8226 {
8227 arg8 = wxString_in_helper(obj7);
8228 if (arg8 == NULL) SWIG_fail;
8229 temp8 = true;
8230 }
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 {
8239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8240 }
8241 {
8242 if (temp4)
8243 delete arg4;
8244 }
8245 {
8246 if (temp8)
8247 delete arg8;
8248 }
8249 return resultobj;
8250 fail:
8251 {
8252 if (temp4)
8253 delete arg4;
8254 }
8255 {
8256 if (temp8)
8257 delete arg8;
8258 }
8259 return NULL;
8260 }
8261
8262
8263 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8264 PyObject *obj;
8265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8266 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8267 return SWIG_Py_Void();
8268 }
8269
8270 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8271 return SWIG_Python_InitShadowInstance(args);
8272 }
8273
8274 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj = 0;
8276 wxBitmap *arg1 = 0 ;
8277 wxWindow *arg2 = (wxWindow *) 0 ;
8278 int arg3 ;
8279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8281 wxSize const &arg5_defvalue = wxDefaultSize ;
8282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8283 long arg6 = (long) wxNO_BORDER ;
8284 wxSplashScreenWindow *result = 0 ;
8285 void *argp1 = 0 ;
8286 int res1 = 0 ;
8287 void *argp2 = 0 ;
8288 int res2 = 0 ;
8289 int val3 ;
8290 int ecode3 = 0 ;
8291 wxPoint temp4 ;
8292 wxSize temp5 ;
8293 long val6 ;
8294 int ecode6 = 0 ;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 PyObject * obj2 = 0 ;
8298 PyObject * obj3 = 0 ;
8299 PyObject * obj4 = 0 ;
8300 PyObject * obj5 = 0 ;
8301 char * kwnames[] = {
8302 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8303 };
8304
8305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8306 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8307 if (!SWIG_IsOK(res1)) {
8308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8309 }
8310 if (!argp1) {
8311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8312 }
8313 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8314 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8315 if (!SWIG_IsOK(res2)) {
8316 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8317 }
8318 arg2 = reinterpret_cast< wxWindow * >(argp2);
8319 ecode3 = SWIG_AsVal_int(obj2, &val3);
8320 if (!SWIG_IsOK(ecode3)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8322 }
8323 arg3 = static_cast< int >(val3);
8324 if (obj3) {
8325 {
8326 arg4 = &temp4;
8327 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8328 }
8329 }
8330 if (obj4) {
8331 {
8332 arg5 = &temp5;
8333 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8334 }
8335 }
8336 if (obj5) {
8337 ecode6 = SWIG_AsVal_long(obj5, &val6);
8338 if (!SWIG_IsOK(ecode6)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8340 }
8341 arg6 = static_cast< long >(val6);
8342 }
8343 {
8344 if (!wxPyCheckForApp()) SWIG_fail;
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8347 wxPyEndAllowThreads(__tstate);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 }
8350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8351 return resultobj;
8352 fail:
8353 return NULL;
8354 }
8355
8356
8357 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj = 0;
8359 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8360 wxBitmap *arg2 = 0 ;
8361 void *argp1 = 0 ;
8362 int res1 = 0 ;
8363 void *argp2 = 0 ;
8364 int res2 = 0 ;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 char * kwnames[] = {
8368 (char *) "self",(char *) "bitmap", NULL
8369 };
8370
8371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8373 if (!SWIG_IsOK(res1)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8375 }
8376 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8377 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8378 if (!SWIG_IsOK(res2)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8380 }
8381 if (!argp2) {
8382 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8383 }
8384 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 resultobj = SWIG_Py_Void();
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8399 PyObject *resultobj = 0;
8400 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8401 wxBitmap *result = 0 ;
8402 void *argp1 = 0 ;
8403 int res1 = 0 ;
8404 PyObject *swig_obj[1] ;
8405
8406 if (!args) SWIG_fail;
8407 swig_obj[0] = args;
8408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8409 if (!SWIG_IsOK(res1)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8411 }
8412 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 {
8416 wxBitmap &_result_ref = (arg1)->GetBitmap();
8417 result = (wxBitmap *) &_result_ref;
8418 }
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 {
8423 wxBitmap* resultptr = new wxBitmap(*result);
8424 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8425 }
8426 return resultobj;
8427 fail:
8428 return NULL;
8429 }
8430
8431
8432 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8433 PyObject *obj;
8434 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8435 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8436 return SWIG_Py_Void();
8437 }
8438
8439 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8440 return SWIG_Python_InitShadowInstance(args);
8441 }
8442
8443 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8444 PyObject *resultobj = 0;
8445 wxBitmap *arg1 = 0 ;
8446 long arg2 ;
8447 int arg3 ;
8448 wxWindow *arg4 = (wxWindow *) 0 ;
8449 int arg5 = (int) -1 ;
8450 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8451 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8452 wxSize const &arg7_defvalue = wxDefaultSize ;
8453 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8454 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8455 wxSplashScreen *result = 0 ;
8456 void *argp1 = 0 ;
8457 int res1 = 0 ;
8458 long val2 ;
8459 int ecode2 = 0 ;
8460 int val3 ;
8461 int ecode3 = 0 ;
8462 void *argp4 = 0 ;
8463 int res4 = 0 ;
8464 int val5 ;
8465 int ecode5 = 0 ;
8466 wxPoint temp6 ;
8467 wxSize temp7 ;
8468 long val8 ;
8469 int ecode8 = 0 ;
8470 PyObject * obj0 = 0 ;
8471 PyObject * obj1 = 0 ;
8472 PyObject * obj2 = 0 ;
8473 PyObject * obj3 = 0 ;
8474 PyObject * obj4 = 0 ;
8475 PyObject * obj5 = 0 ;
8476 PyObject * obj6 = 0 ;
8477 PyObject * obj7 = 0 ;
8478 char * kwnames[] = {
8479 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8480 };
8481
8482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8483 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8484 if (!SWIG_IsOK(res1)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8486 }
8487 if (!argp1) {
8488 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8489 }
8490 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8491 ecode2 = SWIG_AsVal_long(obj1, &val2);
8492 if (!SWIG_IsOK(ecode2)) {
8493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8494 }
8495 arg2 = static_cast< long >(val2);
8496 ecode3 = SWIG_AsVal_int(obj2, &val3);
8497 if (!SWIG_IsOK(ecode3)) {
8498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8499 }
8500 arg3 = static_cast< int >(val3);
8501 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8502 if (!SWIG_IsOK(res4)) {
8503 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8504 }
8505 arg4 = reinterpret_cast< wxWindow * >(argp4);
8506 if (obj4) {
8507 ecode5 = SWIG_AsVal_int(obj4, &val5);
8508 if (!SWIG_IsOK(ecode5)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8510 }
8511 arg5 = static_cast< int >(val5);
8512 }
8513 if (obj5) {
8514 {
8515 arg6 = &temp6;
8516 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8517 }
8518 }
8519 if (obj6) {
8520 {
8521 arg7 = &temp7;
8522 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8523 }
8524 }
8525 if (obj7) {
8526 ecode8 = SWIG_AsVal_long(obj7, &val8);
8527 if (!SWIG_IsOK(ecode8)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8529 }
8530 arg8 = static_cast< long >(val8);
8531 }
8532 {
8533 if (!wxPyCheckForApp()) SWIG_fail;
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8547 PyObject *resultobj = 0;
8548 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8549 long result;
8550 void *argp1 = 0 ;
8551 int res1 = 0 ;
8552 PyObject *swig_obj[1] ;
8553
8554 if (!args) SWIG_fail;
8555 swig_obj[0] = args;
8556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8557 if (!SWIG_IsOK(res1)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8559 }
8560 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 resultobj = SWIG_From_long(static_cast< long >(result));
8568 return resultobj;
8569 fail:
8570 return NULL;
8571 }
8572
8573
8574 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8575 PyObject *resultobj = 0;
8576 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8577 wxSplashScreenWindow *result = 0 ;
8578 void *argp1 = 0 ;
8579 int res1 = 0 ;
8580 PyObject *swig_obj[1] ;
8581
8582 if (!args) SWIG_fail;
8583 swig_obj[0] = args;
8584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8585 if (!SWIG_IsOK(res1)) {
8586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8587 }
8588 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8596 return resultobj;
8597 fail:
8598 return NULL;
8599 }
8600
8601
8602 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8603 PyObject *resultobj = 0;
8604 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8605 int result;
8606 void *argp1 = 0 ;
8607 int res1 = 0 ;
8608 PyObject *swig_obj[1] ;
8609
8610 if (!args) SWIG_fail;
8611 swig_obj[0] = args;
8612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8613 if (!SWIG_IsOK(res1)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8615 }
8616 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 resultobj = SWIG_From_int(static_cast< int >(result));
8624 return resultobj;
8625 fail:
8626 return NULL;
8627 }
8628
8629
8630 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8631 PyObject *obj;
8632 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8633 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8634 return SWIG_Py_Void();
8635 }
8636
8637 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8638 return SWIG_Python_InitShadowInstance(args);
8639 }
8640
8641 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8642 PyObject *resultobj = 0;
8643 wxWindow *arg1 = (wxWindow *) 0 ;
8644 int arg2 = (int) -1 ;
8645 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8646 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8647 wxString *arg4 = (wxString *) &arg4_defvalue ;
8648 wxStatusBar *result = 0 ;
8649 void *argp1 = 0 ;
8650 int res1 = 0 ;
8651 int val2 ;
8652 int ecode2 = 0 ;
8653 long val3 ;
8654 int ecode3 = 0 ;
8655 bool temp4 = false ;
8656 PyObject * obj0 = 0 ;
8657 PyObject * obj1 = 0 ;
8658 PyObject * obj2 = 0 ;
8659 PyObject * obj3 = 0 ;
8660 char * kwnames[] = {
8661 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8662 };
8663
8664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8666 if (!SWIG_IsOK(res1)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8668 }
8669 arg1 = reinterpret_cast< wxWindow * >(argp1);
8670 if (obj1) {
8671 ecode2 = SWIG_AsVal_int(obj1, &val2);
8672 if (!SWIG_IsOK(ecode2)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8674 }
8675 arg2 = static_cast< int >(val2);
8676 }
8677 if (obj2) {
8678 ecode3 = SWIG_AsVal_long(obj2, &val3);
8679 if (!SWIG_IsOK(ecode3)) {
8680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8681 }
8682 arg3 = static_cast< long >(val3);
8683 }
8684 if (obj3) {
8685 {
8686 arg4 = wxString_in_helper(obj3);
8687 if (arg4 == NULL) SWIG_fail;
8688 temp4 = true;
8689 }
8690 }
8691 {
8692 if (!wxPyCheckForApp()) SWIG_fail;
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8699 {
8700 if (temp4)
8701 delete arg4;
8702 }
8703 return resultobj;
8704 fail:
8705 {
8706 if (temp4)
8707 delete arg4;
8708 }
8709 return NULL;
8710 }
8711
8712
8713 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8714 PyObject *resultobj = 0;
8715 wxStatusBar *result = 0 ;
8716
8717 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8718 {
8719 if (!wxPyCheckForApp()) SWIG_fail;
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 result = (wxStatusBar *)new wxStatusBar();
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj = 0;
8734 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8735 wxWindow *arg2 = (wxWindow *) 0 ;
8736 int arg3 = (int) -1 ;
8737 long arg4 = (long) wxST_SIZEGRIP ;
8738 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8739 wxString *arg5 = (wxString *) &arg5_defvalue ;
8740 bool result;
8741 void *argp1 = 0 ;
8742 int res1 = 0 ;
8743 void *argp2 = 0 ;
8744 int res2 = 0 ;
8745 int val3 ;
8746 int ecode3 = 0 ;
8747 long val4 ;
8748 int ecode4 = 0 ;
8749 bool temp5 = false ;
8750 PyObject * obj0 = 0 ;
8751 PyObject * obj1 = 0 ;
8752 PyObject * obj2 = 0 ;
8753 PyObject * obj3 = 0 ;
8754 PyObject * obj4 = 0 ;
8755 char * kwnames[] = {
8756 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8757 };
8758
8759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8761 if (!SWIG_IsOK(res1)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8763 }
8764 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8766 if (!SWIG_IsOK(res2)) {
8767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8768 }
8769 arg2 = reinterpret_cast< wxWindow * >(argp2);
8770 if (obj2) {
8771 ecode3 = SWIG_AsVal_int(obj2, &val3);
8772 if (!SWIG_IsOK(ecode3)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8774 }
8775 arg3 = static_cast< int >(val3);
8776 }
8777 if (obj3) {
8778 ecode4 = SWIG_AsVal_long(obj3, &val4);
8779 if (!SWIG_IsOK(ecode4)) {
8780 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8781 }
8782 arg4 = static_cast< long >(val4);
8783 }
8784 if (obj4) {
8785 {
8786 arg5 = wxString_in_helper(obj4);
8787 if (arg5 == NULL) SWIG_fail;
8788 temp5 = true;
8789 }
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 {
8798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8799 }
8800 {
8801 if (temp5)
8802 delete arg5;
8803 }
8804 return resultobj;
8805 fail:
8806 {
8807 if (temp5)
8808 delete arg5;
8809 }
8810 return NULL;
8811 }
8812
8813
8814 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj = 0;
8816 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8817 int arg2 = (int) 1 ;
8818 void *argp1 = 0 ;
8819 int res1 = 0 ;
8820 int val2 ;
8821 int ecode2 = 0 ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 char * kwnames[] = {
8825 (char *) "self",(char *) "number", NULL
8826 };
8827
8828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8830 if (!SWIG_IsOK(res1)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8832 }
8833 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8834 if (obj1) {
8835 ecode2 = SWIG_AsVal_int(obj1, &val2);
8836 if (!SWIG_IsOK(ecode2)) {
8837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8838 }
8839 arg2 = static_cast< int >(val2);
8840 }
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 (arg1)->SetFieldsCount(arg2);
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 resultobj = SWIG_Py_Void();
8848 return resultobj;
8849 fail:
8850 return NULL;
8851 }
8852
8853
8854 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8855 PyObject *resultobj = 0;
8856 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8857 int result;
8858 void *argp1 = 0 ;
8859 int res1 = 0 ;
8860 PyObject *swig_obj[1] ;
8861
8862 if (!args) SWIG_fail;
8863 swig_obj[0] = args;
8864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8865 if (!SWIG_IsOK(res1)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8867 }
8868 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 resultobj = SWIG_From_int(static_cast< int >(result));
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj = 0;
8884 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8885 wxString *arg2 = 0 ;
8886 int arg3 = (int) 0 ;
8887 void *argp1 = 0 ;
8888 int res1 = 0 ;
8889 bool temp2 = false ;
8890 int val3 ;
8891 int ecode3 = 0 ;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
8894 PyObject * obj2 = 0 ;
8895 char * kwnames[] = {
8896 (char *) "self",(char *) "text",(char *) "number", NULL
8897 };
8898
8899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8901 if (!SWIG_IsOK(res1)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8903 }
8904 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8905 {
8906 arg2 = wxString_in_helper(obj1);
8907 if (arg2 == NULL) SWIG_fail;
8908 temp2 = true;
8909 }
8910 if (obj2) {
8911 ecode3 = SWIG_AsVal_int(obj2, &val3);
8912 if (!SWIG_IsOK(ecode3)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8914 }
8915 arg3 = static_cast< int >(val3);
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 resultobj = SWIG_Py_Void();
8924 {
8925 if (temp2)
8926 delete arg2;
8927 }
8928 return resultobj;
8929 fail:
8930 {
8931 if (temp2)
8932 delete arg2;
8933 }
8934 return NULL;
8935 }
8936
8937
8938 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj = 0;
8940 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8941 int arg2 = (int) 0 ;
8942 wxString result;
8943 void *argp1 = 0 ;
8944 int res1 = 0 ;
8945 int val2 ;
8946 int ecode2 = 0 ;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 char * kwnames[] = {
8950 (char *) "self",(char *) "number", NULL
8951 };
8952
8953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8955 if (!SWIG_IsOK(res1)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8957 }
8958 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8959 if (obj1) {
8960 ecode2 = SWIG_AsVal_int(obj1, &val2);
8961 if (!SWIG_IsOK(ecode2)) {
8962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8963 }
8964 arg2 = static_cast< int >(val2);
8965 }
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 {
8973 #if wxUSE_UNICODE
8974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8975 #else
8976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8977 #endif
8978 }
8979 return resultobj;
8980 fail:
8981 return NULL;
8982 }
8983
8984
8985 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj = 0;
8987 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8988 wxString *arg2 = 0 ;
8989 int arg3 = (int) 0 ;
8990 void *argp1 = 0 ;
8991 int res1 = 0 ;
8992 bool temp2 = false ;
8993 int val3 ;
8994 int ecode3 = 0 ;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 PyObject * obj2 = 0 ;
8998 char * kwnames[] = {
8999 (char *) "self",(char *) "text",(char *) "number", NULL
9000 };
9001
9002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9004 if (!SWIG_IsOK(res1)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9006 }
9007 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9008 {
9009 arg2 = wxString_in_helper(obj1);
9010 if (arg2 == NULL) SWIG_fail;
9011 temp2 = true;
9012 }
9013 if (obj2) {
9014 ecode3 = SWIG_AsVal_int(obj2, &val3);
9015 if (!SWIG_IsOK(ecode3)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9017 }
9018 arg3 = static_cast< int >(val3);
9019 }
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 resultobj = SWIG_Py_Void();
9027 {
9028 if (temp2)
9029 delete arg2;
9030 }
9031 return resultobj;
9032 fail:
9033 {
9034 if (temp2)
9035 delete arg2;
9036 }
9037 return NULL;
9038 }
9039
9040
9041 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj = 0;
9043 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9044 int arg2 = (int) 0 ;
9045 void *argp1 = 0 ;
9046 int res1 = 0 ;
9047 int val2 ;
9048 int ecode2 = 0 ;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char * kwnames[] = {
9052 (char *) "self",(char *) "number", NULL
9053 };
9054
9055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9057 if (!SWIG_IsOK(res1)) {
9058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9059 }
9060 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9061 if (obj1) {
9062 ecode2 = SWIG_AsVal_int(obj1, &val2);
9063 if (!SWIG_IsOK(ecode2)) {
9064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9065 }
9066 arg2 = static_cast< int >(val2);
9067 }
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 (arg1)->PopStatusText(arg2);
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 resultobj = SWIG_Py_Void();
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj = 0;
9083 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9084 int arg2 ;
9085 int *arg3 = (int *) 0 ;
9086 void *argp1 = 0 ;
9087 int res1 = 0 ;
9088 PyObject * obj0 = 0 ;
9089 PyObject * obj1 = 0 ;
9090 char * kwnames[] = {
9091 (char *) "self",(char *) "widths", NULL
9092 };
9093
9094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9096 if (!SWIG_IsOK(res1)) {
9097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9098 }
9099 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9100 {
9101 arg2 = PyList_Size(obj1);
9102 arg3 = int_LIST_helper(obj1);
9103 if (arg3 == NULL) SWIG_fail;
9104 }
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_Py_Void();
9112 {
9113 if (arg3) delete [] arg3;
9114 }
9115 return resultobj;
9116 fail:
9117 {
9118 if (arg3) delete [] arg3;
9119 }
9120 return NULL;
9121 }
9122
9123
9124 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj = 0;
9126 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9127 int arg2 ;
9128 int *arg3 = (int *) 0 ;
9129 void *argp1 = 0 ;
9130 int res1 = 0 ;
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj1 = 0 ;
9133 char * kwnames[] = {
9134 (char *) "self",(char *) "styles", NULL
9135 };
9136
9137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9139 if (!SWIG_IsOK(res1)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9141 }
9142 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9143 {
9144 arg2 = PyList_Size(obj1);
9145 arg3 = int_LIST_helper(obj1);
9146 if (arg3 == NULL) SWIG_fail;
9147 }
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = SWIG_Py_Void();
9155 {
9156 if (arg3) delete [] arg3;
9157 }
9158 return resultobj;
9159 fail:
9160 {
9161 if (arg3) delete [] arg3;
9162 }
9163 return NULL;
9164 }
9165
9166
9167 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9168 PyObject *resultobj = 0;
9169 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9170 int arg2 ;
9171 wxRect result;
9172 void *argp1 = 0 ;
9173 int res1 = 0 ;
9174 int val2 ;
9175 int ecode2 = 0 ;
9176 PyObject * obj0 = 0 ;
9177 PyObject * obj1 = 0 ;
9178 char * kwnames[] = {
9179 (char *) "self",(char *) "i", NULL
9180 };
9181
9182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9184 if (!SWIG_IsOK(res1)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9186 }
9187 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9188 ecode2 = SWIG_AsVal_int(obj1, &val2);
9189 if (!SWIG_IsOK(ecode2)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9191 }
9192 arg2 = static_cast< int >(val2);
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 result = wxStatusBar_GetFieldRect(arg1,arg2);
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj = 0;
9208 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9209 int arg2 ;
9210 void *argp1 = 0 ;
9211 int res1 = 0 ;
9212 int val2 ;
9213 int ecode2 = 0 ;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj1 = 0 ;
9216 char * kwnames[] = {
9217 (char *) "self",(char *) "height", NULL
9218 };
9219
9220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9222 if (!SWIG_IsOK(res1)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9224 }
9225 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9226 ecode2 = SWIG_AsVal_int(obj1, &val2);
9227 if (!SWIG_IsOK(ecode2)) {
9228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9229 }
9230 arg2 = static_cast< int >(val2);
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 (arg1)->SetMinHeight(arg2);
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 resultobj = SWIG_Py_Void();
9238 return resultobj;
9239 fail:
9240 return NULL;
9241 }
9242
9243
9244 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9245 PyObject *resultobj = 0;
9246 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9247 int result;
9248 void *argp1 = 0 ;
9249 int res1 = 0 ;
9250 PyObject *swig_obj[1] ;
9251
9252 if (!args) SWIG_fail;
9253 swig_obj[0] = args;
9254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9255 if (!SWIG_IsOK(res1)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9257 }
9258 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 resultobj = SWIG_From_int(static_cast< int >(result));
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9273 PyObject *resultobj = 0;
9274 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9275 int result;
9276 void *argp1 = 0 ;
9277 int res1 = 0 ;
9278 PyObject *swig_obj[1] ;
9279
9280 if (!args) SWIG_fail;
9281 swig_obj[0] = args;
9282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9283 if (!SWIG_IsOK(res1)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9285 }
9286 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 resultobj = SWIG_From_int(static_cast< int >(result));
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj = 0;
9302 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9303 SwigValueWrapper<wxVisualAttributes > result;
9304 int val1 ;
9305 int ecode1 = 0 ;
9306 PyObject * obj0 = 0 ;
9307 char * kwnames[] = {
9308 (char *) "variant", NULL
9309 };
9310
9311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9312 if (obj0) {
9313 ecode1 = SWIG_AsVal_int(obj0, &val1);
9314 if (!SWIG_IsOK(ecode1)) {
9315 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9316 }
9317 arg1 = static_cast< wxWindowVariant >(val1);
9318 }
9319 {
9320 if (!wxPyCheckForApp()) SWIG_fail;
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9334 PyObject *obj;
9335 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9336 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9337 return SWIG_Py_Void();
9338 }
9339
9340 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9341 return SWIG_Python_InitShadowInstance(args);
9342 }
9343
9344 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9345 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9346 return 1;
9347 }
9348
9349
9350 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9351 PyObject *pyobj = 0;
9352
9353 {
9354 #if wxUSE_UNICODE
9355 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9356 #else
9357 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9358 #endif
9359 }
9360 return pyobj;
9361 }
9362
9363
9364 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj = 0;
9366 wxWindow *arg1 = (wxWindow *) 0 ;
9367 int arg2 = (int) -1 ;
9368 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9369 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9370 wxSize const &arg4_defvalue = wxDefaultSize ;
9371 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9372 long arg5 = (long) wxSP_3D ;
9373 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9374 wxString *arg6 = (wxString *) &arg6_defvalue ;
9375 wxSplitterWindow *result = 0 ;
9376 void *argp1 = 0 ;
9377 int res1 = 0 ;
9378 int val2 ;
9379 int ecode2 = 0 ;
9380 wxPoint temp3 ;
9381 wxSize temp4 ;
9382 long val5 ;
9383 int ecode5 = 0 ;
9384 bool temp6 = false ;
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
9387 PyObject * obj2 = 0 ;
9388 PyObject * obj3 = 0 ;
9389 PyObject * obj4 = 0 ;
9390 PyObject * obj5 = 0 ;
9391 char * kwnames[] = {
9392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9393 };
9394
9395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9397 if (!SWIG_IsOK(res1)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9399 }
9400 arg1 = reinterpret_cast< wxWindow * >(argp1);
9401 if (obj1) {
9402 ecode2 = SWIG_AsVal_int(obj1, &val2);
9403 if (!SWIG_IsOK(ecode2)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9405 }
9406 arg2 = static_cast< int >(val2);
9407 }
9408 if (obj2) {
9409 {
9410 arg3 = &temp3;
9411 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9412 }
9413 }
9414 if (obj3) {
9415 {
9416 arg4 = &temp4;
9417 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9418 }
9419 }
9420 if (obj4) {
9421 ecode5 = SWIG_AsVal_long(obj4, &val5);
9422 if (!SWIG_IsOK(ecode5)) {
9423 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9424 }
9425 arg5 = static_cast< long >(val5);
9426 }
9427 if (obj5) {
9428 {
9429 arg6 = wxString_in_helper(obj5);
9430 if (arg6 == NULL) SWIG_fail;
9431 temp6 = true;
9432 }
9433 }
9434 {
9435 if (!wxPyCheckForApp()) SWIG_fail;
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9442 {
9443 if (temp6)
9444 delete arg6;
9445 }
9446 return resultobj;
9447 fail:
9448 {
9449 if (temp6)
9450 delete arg6;
9451 }
9452 return NULL;
9453 }
9454
9455
9456 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9457 PyObject *resultobj = 0;
9458 wxSplitterWindow *result = 0 ;
9459
9460 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9461 {
9462 if (!wxPyCheckForApp()) SWIG_fail;
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (wxSplitterWindow *)new wxSplitterWindow();
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj = 0;
9477 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9478 wxWindow *arg2 = (wxWindow *) 0 ;
9479 int arg3 = (int) -1 ;
9480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9482 wxSize const &arg5_defvalue = wxDefaultSize ;
9483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9484 long arg6 = (long) wxSP_3D ;
9485 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9486 wxString *arg7 = (wxString *) &arg7_defvalue ;
9487 bool result;
9488 void *argp1 = 0 ;
9489 int res1 = 0 ;
9490 void *argp2 = 0 ;
9491 int res2 = 0 ;
9492 int val3 ;
9493 int ecode3 = 0 ;
9494 wxPoint temp4 ;
9495 wxSize temp5 ;
9496 long val6 ;
9497 int ecode6 = 0 ;
9498 bool temp7 = false ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 PyObject * obj2 = 0 ;
9502 PyObject * obj3 = 0 ;
9503 PyObject * obj4 = 0 ;
9504 PyObject * obj5 = 0 ;
9505 PyObject * obj6 = 0 ;
9506 char * kwnames[] = {
9507 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9508 };
9509
9510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9512 if (!SWIG_IsOK(res1)) {
9513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9514 }
9515 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9516 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9517 if (!SWIG_IsOK(res2)) {
9518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9519 }
9520 arg2 = reinterpret_cast< wxWindow * >(argp2);
9521 if (obj2) {
9522 ecode3 = SWIG_AsVal_int(obj2, &val3);
9523 if (!SWIG_IsOK(ecode3)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9525 }
9526 arg3 = static_cast< int >(val3);
9527 }
9528 if (obj3) {
9529 {
9530 arg4 = &temp4;
9531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9532 }
9533 }
9534 if (obj4) {
9535 {
9536 arg5 = &temp5;
9537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9538 }
9539 }
9540 if (obj5) {
9541 ecode6 = SWIG_AsVal_long(obj5, &val6);
9542 if (!SWIG_IsOK(ecode6)) {
9543 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9544 }
9545 arg6 = static_cast< long >(val6);
9546 }
9547 if (obj6) {
9548 {
9549 arg7 = wxString_in_helper(obj6);
9550 if (arg7 == NULL) SWIG_fail;
9551 temp7 = true;
9552 }
9553 }
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 {
9561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9562 }
9563 {
9564 if (temp7)
9565 delete arg7;
9566 }
9567 return resultobj;
9568 fail:
9569 {
9570 if (temp7)
9571 delete arg7;
9572 }
9573 return NULL;
9574 }
9575
9576
9577 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9578 PyObject *resultobj = 0;
9579 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9580 wxWindow *result = 0 ;
9581 void *argp1 = 0 ;
9582 int res1 = 0 ;
9583 PyObject *swig_obj[1] ;
9584
9585 if (!args) SWIG_fail;
9586 swig_obj[0] = args;
9587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9588 if (!SWIG_IsOK(res1)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9590 }
9591 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 {
9599 resultobj = wxPyMake_wxObject(result, 0);
9600 }
9601 return resultobj;
9602 fail:
9603 return NULL;
9604 }
9605
9606
9607 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9608 PyObject *resultobj = 0;
9609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9610 wxWindow *result = 0 ;
9611 void *argp1 = 0 ;
9612 int res1 = 0 ;
9613 PyObject *swig_obj[1] ;
9614
9615 if (!args) SWIG_fail;
9616 swig_obj[0] = args;
9617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9618 if (!SWIG_IsOK(res1)) {
9619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9620 }
9621 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 resultobj = wxPyMake_wxObject(result, 0);
9630 }
9631 return resultobj;
9632 fail:
9633 return NULL;
9634 }
9635
9636
9637 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj = 0;
9639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9640 int arg2 ;
9641 void *argp1 = 0 ;
9642 int res1 = 0 ;
9643 int val2 ;
9644 int ecode2 = 0 ;
9645 PyObject * obj0 = 0 ;
9646 PyObject * obj1 = 0 ;
9647 char * kwnames[] = {
9648 (char *) "self",(char *) "mode", NULL
9649 };
9650
9651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9653 if (!SWIG_IsOK(res1)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9655 }
9656 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9657 ecode2 = SWIG_AsVal_int(obj1, &val2);
9658 if (!SWIG_IsOK(ecode2)) {
9659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9660 }
9661 arg2 = static_cast< int >(val2);
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 (arg1)->SetSplitMode(arg2);
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 resultobj = SWIG_Py_Void();
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9676 PyObject *resultobj = 0;
9677 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9678 wxSplitMode result;
9679 void *argp1 = 0 ;
9680 int res1 = 0 ;
9681 PyObject *swig_obj[1] ;
9682
9683 if (!args) SWIG_fail;
9684 swig_obj[0] = args;
9685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9686 if (!SWIG_IsOK(res1)) {
9687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9688 }
9689 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 resultobj = SWIG_From_int(static_cast< int >(result));
9697 return resultobj;
9698 fail:
9699 return NULL;
9700 }
9701
9702
9703 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj = 0;
9705 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9706 wxWindow *arg2 = (wxWindow *) 0 ;
9707 void *argp1 = 0 ;
9708 int res1 = 0 ;
9709 void *argp2 = 0 ;
9710 int res2 = 0 ;
9711 PyObject * obj0 = 0 ;
9712 PyObject * obj1 = 0 ;
9713 char * kwnames[] = {
9714 (char *) "self",(char *) "window", NULL
9715 };
9716
9717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9721 }
9722 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9723 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res2)) {
9725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9726 }
9727 arg2 = reinterpret_cast< wxWindow * >(argp2);
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->Initialize(arg2);
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_Py_Void();
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj = 0;
9743 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9744 wxWindow *arg2 = (wxWindow *) 0 ;
9745 wxWindow *arg3 = (wxWindow *) 0 ;
9746 int arg4 = (int) 0 ;
9747 bool result;
9748 void *argp1 = 0 ;
9749 int res1 = 0 ;
9750 void *argp2 = 0 ;
9751 int res2 = 0 ;
9752 void *argp3 = 0 ;
9753 int res3 = 0 ;
9754 int val4 ;
9755 int ecode4 = 0 ;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 PyObject * obj2 = 0 ;
9759 PyObject * obj3 = 0 ;
9760 char * kwnames[] = {
9761 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9762 };
9763
9764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9766 if (!SWIG_IsOK(res1)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9768 }
9769 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9770 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9771 if (!SWIG_IsOK(res2)) {
9772 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9773 }
9774 arg2 = reinterpret_cast< wxWindow * >(argp2);
9775 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9776 if (!SWIG_IsOK(res3)) {
9777 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9778 }
9779 arg3 = reinterpret_cast< wxWindow * >(argp3);
9780 if (obj3) {
9781 ecode4 = SWIG_AsVal_int(obj3, &val4);
9782 if (!SWIG_IsOK(ecode4)) {
9783 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9784 }
9785 arg4 = static_cast< int >(val4);
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 {
9794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9795 }
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj = 0;
9804 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9805 wxWindow *arg2 = (wxWindow *) 0 ;
9806 wxWindow *arg3 = (wxWindow *) 0 ;
9807 int arg4 = (int) 0 ;
9808 bool result;
9809 void *argp1 = 0 ;
9810 int res1 = 0 ;
9811 void *argp2 = 0 ;
9812 int res2 = 0 ;
9813 void *argp3 = 0 ;
9814 int res3 = 0 ;
9815 int val4 ;
9816 int ecode4 = 0 ;
9817 PyObject * obj0 = 0 ;
9818 PyObject * obj1 = 0 ;
9819 PyObject * obj2 = 0 ;
9820 PyObject * obj3 = 0 ;
9821 char * kwnames[] = {
9822 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 };
9824
9825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9827 if (!SWIG_IsOK(res1)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 }
9830 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9832 if (!SWIG_IsOK(res2)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9834 }
9835 arg2 = reinterpret_cast< wxWindow * >(argp2);
9836 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res3)) {
9838 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9839 }
9840 arg3 = reinterpret_cast< wxWindow * >(argp3);
9841 if (obj3) {
9842 ecode4 = SWIG_AsVal_int(obj3, &val4);
9843 if (!SWIG_IsOK(ecode4)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9845 }
9846 arg4 = static_cast< int >(val4);
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 {
9855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj = 0;
9865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9866 wxWindow *arg2 = (wxWindow *) NULL ;
9867 bool result;
9868 void *argp1 = 0 ;
9869 int res1 = 0 ;
9870 void *argp2 = 0 ;
9871 int res2 = 0 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char * kwnames[] = {
9875 (char *) "self",(char *) "toRemove", NULL
9876 };
9877
9878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9882 }
9883 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9884 if (obj1) {
9885 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9886 if (!SWIG_IsOK(res2)) {
9887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9888 }
9889 arg2 = reinterpret_cast< wxWindow * >(argp2);
9890 }
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 result = (bool)(arg1)->Unsplit(arg2);
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 {
9898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9899 }
9900 return resultobj;
9901 fail:
9902 return NULL;
9903 }
9904
9905
9906 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj = 0;
9908 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9909 wxWindow *arg2 = (wxWindow *) 0 ;
9910 wxWindow *arg3 = (wxWindow *) 0 ;
9911 bool result;
9912 void *argp1 = 0 ;
9913 int res1 = 0 ;
9914 void *argp2 = 0 ;
9915 int res2 = 0 ;
9916 void *argp3 = 0 ;
9917 int res3 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 PyObject * obj2 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9929 }
9930 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9932 if (!SWIG_IsOK(res2)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9934 }
9935 arg2 = reinterpret_cast< wxWindow * >(argp2);
9936 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9937 if (!SWIG_IsOK(res3)) {
9938 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9939 }
9940 arg3 = reinterpret_cast< wxWindow * >(argp3);
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 {
9948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9949 }
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9957 PyObject *resultobj = 0;
9958 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9959 void *argp1 = 0 ;
9960 int res1 = 0 ;
9961 PyObject *swig_obj[1] ;
9962
9963 if (!args) SWIG_fail;
9964 swig_obj[0] = args;
9965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9966 if (!SWIG_IsOK(res1)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9968 }
9969 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 (arg1)->UpdateSize();
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_Py_Void();
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9984 PyObject *resultobj = 0;
9985 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9986 bool result;
9987 void *argp1 = 0 ;
9988 int res1 = 0 ;
9989 PyObject *swig_obj[1] ;
9990
9991 if (!args) SWIG_fail;
9992 swig_obj[0] = args;
9993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9994 if (!SWIG_IsOK(res1)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9996 }
9997 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 {
10005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10006 }
10007 return resultobj;
10008 fail:
10009 return NULL;
10010 }
10011
10012
10013 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj = 0;
10015 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10016 int arg2 ;
10017 void *argp1 = 0 ;
10018 int res1 = 0 ;
10019 int val2 ;
10020 int ecode2 = 0 ;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10023 char * kwnames[] = {
10024 (char *) "self",(char *) "width", NULL
10025 };
10026
10027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10029 if (!SWIG_IsOK(res1)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10031 }
10032 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10033 ecode2 = SWIG_AsVal_int(obj1, &val2);
10034 if (!SWIG_IsOK(ecode2)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10036 }
10037 arg2 = static_cast< int >(val2);
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 (arg1)->SetSashSize(arg2);
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 resultobj = SWIG_Py_Void();
10045 return resultobj;
10046 fail:
10047 return NULL;
10048 }
10049
10050
10051 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj = 0;
10053 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10054 int arg2 ;
10055 void *argp1 = 0 ;
10056 int res1 = 0 ;
10057 int val2 ;
10058 int ecode2 = 0 ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 char * kwnames[] = {
10062 (char *) "self",(char *) "width", NULL
10063 };
10064
10065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10067 if (!SWIG_IsOK(res1)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10069 }
10070 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10071 ecode2 = SWIG_AsVal_int(obj1, &val2);
10072 if (!SWIG_IsOK(ecode2)) {
10073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10074 }
10075 arg2 = static_cast< int >(val2);
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 (arg1)->SetBorderSize(arg2);
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 resultobj = SWIG_Py_Void();
10083 return resultobj;
10084 fail:
10085 return NULL;
10086 }
10087
10088
10089 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10090 PyObject *resultobj = 0;
10091 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10092 int result;
10093 void *argp1 = 0 ;
10094 int res1 = 0 ;
10095 PyObject *swig_obj[1] ;
10096
10097 if (!args) SWIG_fail;
10098 swig_obj[0] = args;
10099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10100 if (!SWIG_IsOK(res1)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10102 }
10103 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 resultobj = SWIG_From_int(static_cast< int >(result));
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10118 PyObject *resultobj = 0;
10119 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10120 int result;
10121 void *argp1 = 0 ;
10122 int res1 = 0 ;
10123 PyObject *swig_obj[1] ;
10124
10125 if (!args) SWIG_fail;
10126 swig_obj[0] = args;
10127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10128 if (!SWIG_IsOK(res1)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10130 }
10131 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 resultobj = SWIG_From_int(static_cast< int >(result));
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj = 0;
10147 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10148 int arg2 ;
10149 bool arg3 = (bool) true ;
10150 void *argp1 = 0 ;
10151 int res1 = 0 ;
10152 int val2 ;
10153 int ecode2 = 0 ;
10154 bool val3 ;
10155 int ecode3 = 0 ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 PyObject * obj2 = 0 ;
10159 char * kwnames[] = {
10160 (char *) "self",(char *) "position",(char *) "redraw", NULL
10161 };
10162
10163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10165 if (!SWIG_IsOK(res1)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10167 }
10168 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10169 ecode2 = SWIG_AsVal_int(obj1, &val2);
10170 if (!SWIG_IsOK(ecode2)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10172 }
10173 arg2 = static_cast< int >(val2);
10174 if (obj2) {
10175 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10176 if (!SWIG_IsOK(ecode3)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10178 }
10179 arg3 = static_cast< bool >(val3);
10180 }
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 (arg1)->SetSashPosition(arg2,arg3);
10184 wxPyEndAllowThreads(__tstate);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 resultobj = SWIG_Py_Void();
10188 return resultobj;
10189 fail:
10190 return NULL;
10191 }
10192
10193
10194 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10195 PyObject *resultobj = 0;
10196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10197 int result;
10198 void *argp1 = 0 ;
10199 int res1 = 0 ;
10200 PyObject *swig_obj[1] ;
10201
10202 if (!args) SWIG_fail;
10203 swig_obj[0] = args;
10204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10205 if (!SWIG_IsOK(res1)) {
10206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10207 }
10208 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
10211 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 resultobj = SWIG_From_int(static_cast< int >(result));
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj = 0;
10224 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10225 double arg2 ;
10226 void *argp1 = 0 ;
10227 int res1 = 0 ;
10228 double val2 ;
10229 int ecode2 = 0 ;
10230 PyObject * obj0 = 0 ;
10231 PyObject * obj1 = 0 ;
10232 char * kwnames[] = {
10233 (char *) "self",(char *) "gravity", NULL
10234 };
10235
10236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10238 if (!SWIG_IsOK(res1)) {
10239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10240 }
10241 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10242 ecode2 = SWIG_AsVal_double(obj1, &val2);
10243 if (!SWIG_IsOK(ecode2)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10245 }
10246 arg2 = static_cast< double >(val2);
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 (arg1)->SetSashGravity(arg2);
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 resultobj = SWIG_Py_Void();
10254 return resultobj;
10255 fail:
10256 return NULL;
10257 }
10258
10259
10260 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10261 PyObject *resultobj = 0;
10262 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10263 double result;
10264 void *argp1 = 0 ;
10265 int res1 = 0 ;
10266 PyObject *swig_obj[1] ;
10267
10268 if (!args) SWIG_fail;
10269 swig_obj[0] = args;
10270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10271 if (!SWIG_IsOK(res1)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10273 }
10274 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 resultobj = SWIG_From_double(static_cast< double >(result));
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj = 0;
10290 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10291 int arg2 ;
10292 void *argp1 = 0 ;
10293 int res1 = 0 ;
10294 int val2 ;
10295 int ecode2 = 0 ;
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 char * kwnames[] = {
10299 (char *) "self",(char *) "min", NULL
10300 };
10301
10302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10304 if (!SWIG_IsOK(res1)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10306 }
10307 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10308 ecode2 = SWIG_AsVal_int(obj1, &val2);
10309 if (!SWIG_IsOK(ecode2)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10311 }
10312 arg2 = static_cast< int >(val2);
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 (arg1)->SetMinimumPaneSize(arg2);
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_GetMinimumPaneSize(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_GetMinimumPaneSize" "', 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)->GetMinimumPaneSize();
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_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj = 0;
10356 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10357 int arg2 ;
10358 int arg3 ;
10359 int arg4 = (int) 5 ;
10360 bool result;
10361 void *argp1 = 0 ;
10362 int res1 = 0 ;
10363 int val2 ;
10364 int ecode2 = 0 ;
10365 int val3 ;
10366 int ecode3 = 0 ;
10367 int val4 ;
10368 int ecode4 = 0 ;
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 PyObject * obj2 = 0 ;
10372 PyObject * obj3 = 0 ;
10373 char * kwnames[] = {
10374 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10375 };
10376
10377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10379 if (!SWIG_IsOK(res1)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10381 }
10382 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10383 ecode2 = SWIG_AsVal_int(obj1, &val2);
10384 if (!SWIG_IsOK(ecode2)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10386 }
10387 arg2 = static_cast< int >(val2);
10388 ecode3 = SWIG_AsVal_int(obj2, &val3);
10389 if (!SWIG_IsOK(ecode3)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10391 }
10392 arg3 = static_cast< int >(val3);
10393 if (obj3) {
10394 ecode4 = SWIG_AsVal_int(obj3, &val4);
10395 if (!SWIG_IsOK(ecode4)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10397 }
10398 arg4 = static_cast< int >(val4);
10399 }
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 {
10407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10408 }
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10416 PyObject *resultobj = 0;
10417 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10418 void *argp1 = 0 ;
10419 int res1 = 0 ;
10420 PyObject *swig_obj[1] ;
10421
10422 if (!args) SWIG_fail;
10423 swig_obj[0] = args;
10424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10425 if (!SWIG_IsOK(res1)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10427 }
10428 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 (arg1)->SizeWindows();
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 resultobj = SWIG_Py_Void();
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj = 0;
10444 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10445 bool arg2 ;
10446 void *argp1 = 0 ;
10447 int res1 = 0 ;
10448 bool val2 ;
10449 int ecode2 = 0 ;
10450 PyObject * obj0 = 0 ;
10451 PyObject * obj1 = 0 ;
10452 char * kwnames[] = {
10453 (char *) "self",(char *) "needUpdating", NULL
10454 };
10455
10456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10458 if (!SWIG_IsOK(res1)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10460 }
10461 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10462 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10463 if (!SWIG_IsOK(ecode2)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10465 }
10466 arg2 = static_cast< bool >(val2);
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->SetNeedUpdating(arg2);
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = SWIG_Py_Void();
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10481 PyObject *resultobj = 0;
10482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10483 bool result;
10484 void *argp1 = 0 ;
10485 int res1 = 0 ;
10486 PyObject *swig_obj[1] ;
10487
10488 if (!args) SWIG_fail;
10489 swig_obj[0] = args;
10490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10491 if (!SWIG_IsOK(res1)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10493 }
10494 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 {
10502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10503 }
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj = 0;
10512 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10513 SwigValueWrapper<wxVisualAttributes > result;
10514 int val1 ;
10515 int ecode1 = 0 ;
10516 PyObject * obj0 = 0 ;
10517 char * kwnames[] = {
10518 (char *) "variant", NULL
10519 };
10520
10521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10522 if (obj0) {
10523 ecode1 = SWIG_AsVal_int(obj0, &val1);
10524 if (!SWIG_IsOK(ecode1)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10526 }
10527 arg1 = static_cast< wxWindowVariant >(val1);
10528 }
10529 {
10530 if (!wxPyCheckForApp()) SWIG_fail;
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10537 return resultobj;
10538 fail:
10539 return NULL;
10540 }
10541
10542
10543 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10544 PyObject *obj;
10545 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10546 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10547 return SWIG_Py_Void();
10548 }
10549
10550 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10551 return SWIG_Python_InitShadowInstance(args);
10552 }
10553
10554 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj = 0;
10556 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10557 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10558 wxSplitterEvent *result = 0 ;
10559 int val1 ;
10560 int ecode1 = 0 ;
10561 void *argp2 = 0 ;
10562 int res2 = 0 ;
10563 PyObject * obj0 = 0 ;
10564 PyObject * obj1 = 0 ;
10565 char * kwnames[] = {
10566 (char *) "type",(char *) "splitter", NULL
10567 };
10568
10569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10570 if (obj0) {
10571 ecode1 = SWIG_AsVal_int(obj0, &val1);
10572 if (!SWIG_IsOK(ecode1)) {
10573 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10574 }
10575 arg1 = static_cast< wxEventType >(val1);
10576 }
10577 if (obj1) {
10578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10579 if (!SWIG_IsOK(res2)) {
10580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10581 }
10582 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10583 }
10584 {
10585 PyThreadState* __tstate = wxPyBeginAllowThreads();
10586 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10591 return resultobj;
10592 fail:
10593 return NULL;
10594 }
10595
10596
10597 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10598 PyObject *resultobj = 0;
10599 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10600 int arg2 ;
10601 void *argp1 = 0 ;
10602 int res1 = 0 ;
10603 int val2 ;
10604 int ecode2 = 0 ;
10605 PyObject * obj0 = 0 ;
10606 PyObject * obj1 = 0 ;
10607 char * kwnames[] = {
10608 (char *) "self",(char *) "pos", NULL
10609 };
10610
10611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10613 if (!SWIG_IsOK(res1)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10615 }
10616 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10617 ecode2 = SWIG_AsVal_int(obj1, &val2);
10618 if (!SWIG_IsOK(ecode2)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10620 }
10621 arg2 = static_cast< int >(val2);
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 (arg1)->SetSashPosition(arg2);
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 resultobj = SWIG_Py_Void();
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10636 PyObject *resultobj = 0;
10637 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10638 int result;
10639 void *argp1 = 0 ;
10640 int res1 = 0 ;
10641 PyObject *swig_obj[1] ;
10642
10643 if (!args) SWIG_fail;
10644 swig_obj[0] = args;
10645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10648 }
10649 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = SWIG_From_int(static_cast< int >(result));
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10664 PyObject *resultobj = 0;
10665 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10666 wxWindow *result = 0 ;
10667 void *argp1 = 0 ;
10668 int res1 = 0 ;
10669 PyObject *swig_obj[1] ;
10670
10671 if (!args) SWIG_fail;
10672 swig_obj[0] = args;
10673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10674 if (!SWIG_IsOK(res1)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10676 }
10677 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 {
10685 resultobj = wxPyMake_wxObject(result, 0);
10686 }
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10694 PyObject *resultobj = 0;
10695 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10696 int result;
10697 void *argp1 = 0 ;
10698 int res1 = 0 ;
10699 PyObject *swig_obj[1] ;
10700
10701 if (!args) SWIG_fail;
10702 swig_obj[0] = args;
10703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10704 if (!SWIG_IsOK(res1)) {
10705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10706 }
10707 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = SWIG_From_int(static_cast< int >(result));
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10722 PyObject *resultobj = 0;
10723 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10724 int result;
10725 void *argp1 = 0 ;
10726 int res1 = 0 ;
10727 PyObject *swig_obj[1] ;
10728
10729 if (!args) SWIG_fail;
10730 swig_obj[0] = args;
10731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10732 if (!SWIG_IsOK(res1)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10734 }
10735 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 resultobj = SWIG_From_int(static_cast< int >(result));
10743 return resultobj;
10744 fail:
10745 return NULL;
10746 }
10747
10748
10749 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10750 PyObject *obj;
10751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10753 return SWIG_Py_Void();
10754 }
10755
10756 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10757 return SWIG_Python_InitShadowInstance(args);
10758 }
10759
10760 SWIGINTERN int SashNameStr_set(PyObject *) {
10761 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10762 return 1;
10763 }
10764
10765
10766 SWIGINTERN PyObject *SashNameStr_get(void) {
10767 PyObject *pyobj = 0;
10768
10769 {
10770 #if wxUSE_UNICODE
10771 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10772 #else
10773 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10774 #endif
10775 }
10776 return pyobj;
10777 }
10778
10779
10780 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10781 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10782 return 1;
10783 }
10784
10785
10786 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10787 PyObject *pyobj = 0;
10788
10789 {
10790 #if wxUSE_UNICODE
10791 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10792 #else
10793 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10794 #endif
10795 }
10796 return pyobj;
10797 }
10798
10799
10800 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj = 0;
10802 wxWindow *arg1 = (wxWindow *) 0 ;
10803 int arg2 = (int) -1 ;
10804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10806 wxSize const &arg4_defvalue = wxDefaultSize ;
10807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10808 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10809 wxString const &arg6_defvalue = wxPySashNameStr ;
10810 wxString *arg6 = (wxString *) &arg6_defvalue ;
10811 wxSashWindow *result = 0 ;
10812 void *argp1 = 0 ;
10813 int res1 = 0 ;
10814 int val2 ;
10815 int ecode2 = 0 ;
10816 wxPoint temp3 ;
10817 wxSize temp4 ;
10818 long val5 ;
10819 int ecode5 = 0 ;
10820 bool temp6 = false ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 PyObject * obj2 = 0 ;
10824 PyObject * obj3 = 0 ;
10825 PyObject * obj4 = 0 ;
10826 PyObject * obj5 = 0 ;
10827 char * kwnames[] = {
10828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10829 };
10830
10831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10833 if (!SWIG_IsOK(res1)) {
10834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10835 }
10836 arg1 = reinterpret_cast< wxWindow * >(argp1);
10837 if (obj1) {
10838 ecode2 = SWIG_AsVal_int(obj1, &val2);
10839 if (!SWIG_IsOK(ecode2)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10841 }
10842 arg2 = static_cast< int >(val2);
10843 }
10844 if (obj2) {
10845 {
10846 arg3 = &temp3;
10847 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10848 }
10849 }
10850 if (obj3) {
10851 {
10852 arg4 = &temp4;
10853 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10854 }
10855 }
10856 if (obj4) {
10857 ecode5 = SWIG_AsVal_long(obj4, &val5);
10858 if (!SWIG_IsOK(ecode5)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10860 }
10861 arg5 = static_cast< long >(val5);
10862 }
10863 if (obj5) {
10864 {
10865 arg6 = wxString_in_helper(obj5);
10866 if (arg6 == NULL) SWIG_fail;
10867 temp6 = true;
10868 }
10869 }
10870 {
10871 if (!wxPyCheckForApp()) SWIG_fail;
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10878 {
10879 if (temp6)
10880 delete arg6;
10881 }
10882 return resultobj;
10883 fail:
10884 {
10885 if (temp6)
10886 delete arg6;
10887 }
10888 return NULL;
10889 }
10890
10891
10892 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10893 PyObject *resultobj = 0;
10894 wxSashWindow *result = 0 ;
10895
10896 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10897 {
10898 if (!wxPyCheckForApp()) SWIG_fail;
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (wxSashWindow *)new wxSashWindow();
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj = 0;
10913 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10914 wxWindow *arg2 = (wxWindow *) 0 ;
10915 int arg3 = (int) -1 ;
10916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10918 wxSize const &arg5_defvalue = wxDefaultSize ;
10919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10920 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10921 wxString const &arg7_defvalue = wxPySashNameStr ;
10922 wxString *arg7 = (wxString *) &arg7_defvalue ;
10923 bool result;
10924 void *argp1 = 0 ;
10925 int res1 = 0 ;
10926 void *argp2 = 0 ;
10927 int res2 = 0 ;
10928 int val3 ;
10929 int ecode3 = 0 ;
10930 wxPoint temp4 ;
10931 wxSize temp5 ;
10932 long val6 ;
10933 int ecode6 = 0 ;
10934 bool temp7 = false ;
10935 PyObject * obj0 = 0 ;
10936 PyObject * obj1 = 0 ;
10937 PyObject * obj2 = 0 ;
10938 PyObject * obj3 = 0 ;
10939 PyObject * obj4 = 0 ;
10940 PyObject * obj5 = 0 ;
10941 PyObject * obj6 = 0 ;
10942 char * kwnames[] = {
10943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10944 };
10945
10946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10948 if (!SWIG_IsOK(res1)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10950 }
10951 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10952 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10953 if (!SWIG_IsOK(res2)) {
10954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10955 }
10956 arg2 = reinterpret_cast< wxWindow * >(argp2);
10957 if (obj2) {
10958 ecode3 = SWIG_AsVal_int(obj2, &val3);
10959 if (!SWIG_IsOK(ecode3)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10961 }
10962 arg3 = static_cast< int >(val3);
10963 }
10964 if (obj3) {
10965 {
10966 arg4 = &temp4;
10967 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10968 }
10969 }
10970 if (obj4) {
10971 {
10972 arg5 = &temp5;
10973 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10974 }
10975 }
10976 if (obj5) {
10977 ecode6 = SWIG_AsVal_long(obj5, &val6);
10978 if (!SWIG_IsOK(ecode6)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10980 }
10981 arg6 = static_cast< long >(val6);
10982 }
10983 if (obj6) {
10984 {
10985 arg7 = wxString_in_helper(obj6);
10986 if (arg7 == NULL) SWIG_fail;
10987 temp7 = true;
10988 }
10989 }
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 {
10997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10998 }
10999 {
11000 if (temp7)
11001 delete arg7;
11002 }
11003 return resultobj;
11004 fail:
11005 {
11006 if (temp7)
11007 delete arg7;
11008 }
11009 return NULL;
11010 }
11011
11012
11013 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj = 0;
11015 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11016 wxSashEdgePosition arg2 ;
11017 bool arg3 ;
11018 void *argp1 = 0 ;
11019 int res1 = 0 ;
11020 int val2 ;
11021 int ecode2 = 0 ;
11022 bool val3 ;
11023 int ecode3 = 0 ;
11024 PyObject * obj0 = 0 ;
11025 PyObject * obj1 = 0 ;
11026 PyObject * obj2 = 0 ;
11027 char * kwnames[] = {
11028 (char *) "self",(char *) "edge",(char *) "sash", NULL
11029 };
11030
11031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11033 if (!SWIG_IsOK(res1)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11035 }
11036 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11037 ecode2 = SWIG_AsVal_int(obj1, &val2);
11038 if (!SWIG_IsOK(ecode2)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11040 }
11041 arg2 = static_cast< wxSashEdgePosition >(val2);
11042 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11043 if (!SWIG_IsOK(ecode3)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11045 }
11046 arg3 = static_cast< bool >(val3);
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 (arg1)->SetSashVisible(arg2,arg3);
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 resultobj = SWIG_Py_Void();
11054 return resultobj;
11055 fail:
11056 return NULL;
11057 }
11058
11059
11060 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11061 PyObject *resultobj = 0;
11062 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11063 wxSashEdgePosition arg2 ;
11064 bool result;
11065 void *argp1 = 0 ;
11066 int res1 = 0 ;
11067 int val2 ;
11068 int ecode2 = 0 ;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 char * kwnames[] = {
11072 (char *) "self",(char *) "edge", NULL
11073 };
11074
11075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11077 if (!SWIG_IsOK(res1)) {
11078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11079 }
11080 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11081 ecode2 = SWIG_AsVal_int(obj1, &val2);
11082 if (!SWIG_IsOK(ecode2)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11084 }
11085 arg2 = static_cast< wxSashEdgePosition >(val2);
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 {
11093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11094 }
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj = 0;
11103 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11104 wxSashEdgePosition arg2 ;
11105 bool arg3 ;
11106 void *argp1 = 0 ;
11107 int res1 = 0 ;
11108 int val2 ;
11109 int ecode2 = 0 ;
11110 bool val3 ;
11111 int ecode3 = 0 ;
11112 PyObject * obj0 = 0 ;
11113 PyObject * obj1 = 0 ;
11114 PyObject * obj2 = 0 ;
11115 char * kwnames[] = {
11116 (char *) "self",(char *) "edge",(char *) "border", NULL
11117 };
11118
11119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11121 if (!SWIG_IsOK(res1)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11123 }
11124 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11125 ecode2 = SWIG_AsVal_int(obj1, &val2);
11126 if (!SWIG_IsOK(ecode2)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11128 }
11129 arg2 = static_cast< wxSashEdgePosition >(val2);
11130 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11131 if (!SWIG_IsOK(ecode3)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11133 }
11134 arg3 = static_cast< bool >(val3);
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 (arg1)->SetSashBorder(arg2,arg3);
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_Py_Void();
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj = 0;
11150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11151 wxSashEdgePosition arg2 ;
11152 bool result;
11153 void *argp1 = 0 ;
11154 int res1 = 0 ;
11155 int val2 ;
11156 int ecode2 = 0 ;
11157 PyObject * obj0 = 0 ;
11158 PyObject * obj1 = 0 ;
11159 char * kwnames[] = {
11160 (char *) "self",(char *) "edge", NULL
11161 };
11162
11163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) 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_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
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_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11172 }
11173 arg2 = static_cast< wxSashEdgePosition >(val2);
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 {
11181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11182 }
11183 return resultobj;
11184 fail:
11185 return NULL;
11186 }
11187
11188
11189 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj = 0;
11191 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11192 wxSashEdgePosition arg2 ;
11193 int result;
11194 void *argp1 = 0 ;
11195 int res1 = 0 ;
11196 int val2 ;
11197 int ecode2 = 0 ;
11198 PyObject * obj0 = 0 ;
11199 PyObject * obj1 = 0 ;
11200 char * kwnames[] = {
11201 (char *) "self",(char *) "edge", NULL
11202 };
11203
11204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11206 if (!SWIG_IsOK(res1)) {
11207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11208 }
11209 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11210 ecode2 = SWIG_AsVal_int(obj1, &val2);
11211 if (!SWIG_IsOK(ecode2)) {
11212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11213 }
11214 arg2 = static_cast< wxSashEdgePosition >(val2);
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 resultobj = SWIG_From_int(static_cast< int >(result));
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj = 0;
11230 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11231 int arg2 ;
11232 void *argp1 = 0 ;
11233 int res1 = 0 ;
11234 int val2 ;
11235 int ecode2 = 0 ;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char * kwnames[] = {
11239 (char *) "self",(char *) "width", NULL
11240 };
11241
11242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11244 if (!SWIG_IsOK(res1)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11246 }
11247 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11248 ecode2 = SWIG_AsVal_int(obj1, &val2);
11249 if (!SWIG_IsOK(ecode2)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11251 }
11252 arg2 = static_cast< int >(val2);
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 (arg1)->SetDefaultBorderSize(arg2);
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 resultobj = SWIG_Py_Void();
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11267 PyObject *resultobj = 0;
11268 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11269 int result;
11270 void *argp1 = 0 ;
11271 int res1 = 0 ;
11272 PyObject *swig_obj[1] ;
11273
11274 if (!args) SWIG_fail;
11275 swig_obj[0] = args;
11276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11277 if (!SWIG_IsOK(res1)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11279 }
11280 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11281 {
11282 PyThreadState* __tstate = wxPyBeginAllowThreads();
11283 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 resultobj = SWIG_From_int(static_cast< int >(result));
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj = 0;
11296 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11297 int arg2 ;
11298 void *argp1 = 0 ;
11299 int res1 = 0 ;
11300 int val2 ;
11301 int ecode2 = 0 ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 char * kwnames[] = {
11305 (char *) "self",(char *) "width", NULL
11306 };
11307
11308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11310 if (!SWIG_IsOK(res1)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11312 }
11313 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11314 ecode2 = SWIG_AsVal_int(obj1, &val2);
11315 if (!SWIG_IsOK(ecode2)) {
11316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11317 }
11318 arg2 = static_cast< int >(val2);
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 (arg1)->SetExtraBorderSize(arg2);
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 resultobj = SWIG_Py_Void();
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11333 PyObject *resultobj = 0;
11334 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11335 int result;
11336 void *argp1 = 0 ;
11337 int res1 = 0 ;
11338 PyObject *swig_obj[1] ;
11339
11340 if (!args) SWIG_fail;
11341 swig_obj[0] = args;
11342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11343 if (!SWIG_IsOK(res1)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11345 }
11346 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
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_SetMinimumSizeX(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 *) "min", NULL
11372 };
11373
11374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",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_SetMinimumSizeX" "', 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_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11383 }
11384 arg2 = static_cast< int >(val2);
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->SetMinimumSizeX(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_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj = 0;
11400 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11401 int arg2 ;
11402 void *argp1 = 0 ;
11403 int res1 = 0 ;
11404 int val2 ;
11405 int ecode2 = 0 ;
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj1 = 0 ;
11408 char * kwnames[] = {
11409 (char *) "self",(char *) "min", NULL
11410 };
11411
11412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11414 if (!SWIG_IsOK(res1)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11416 }
11417 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11418 ecode2 = SWIG_AsVal_int(obj1, &val2);
11419 if (!SWIG_IsOK(ecode2)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11421 }
11422 arg2 = static_cast< int >(val2);
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 (arg1)->SetMinimumSizeY(arg2);
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = SWIG_Py_Void();
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11437 PyObject *resultobj = 0;
11438 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11439 int result;
11440 void *argp1 = 0 ;
11441 int res1 = 0 ;
11442 PyObject *swig_obj[1] ;
11443
11444 if (!args) SWIG_fail;
11445 swig_obj[0] = args;
11446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11447 if (!SWIG_IsOK(res1)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11449 }
11450 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = SWIG_From_int(static_cast< int >(result));
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(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_GetMinimumSizeY" "', 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)->GetMinimumSizeY();
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_SetMaximumSizeX(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 *) "max", NULL
11504 };
11505
11506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",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_SetMaximumSizeX" "', 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_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11515 }
11516 arg2 = static_cast< int >(val2);
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 (arg1)->SetMaximumSizeX(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_SetMaximumSizeY(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 *) "max", NULL
11542 };
11543
11544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",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_SetMaximumSizeY" "', 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_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11553 }
11554 arg2 = static_cast< int >(val2);
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 (arg1)->SetMaximumSizeY(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_GetMaximumSizeX(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_GetMaximumSizeX" "', 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)->GetMaximumSizeX();
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_GetMaximumSizeY(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_GetMaximumSizeY" "', 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)->GetMaximumSizeY();
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_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj = 0;
11626 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11627 int arg2 ;
11628 int arg3 ;
11629 int arg4 = (int) 2 ;
11630 wxSashEdgePosition result;
11631 void *argp1 = 0 ;
11632 int res1 = 0 ;
11633 int val2 ;
11634 int ecode2 = 0 ;
11635 int val3 ;
11636 int ecode3 = 0 ;
11637 int val4 ;
11638 int ecode4 = 0 ;
11639 PyObject * obj0 = 0 ;
11640 PyObject * obj1 = 0 ;
11641 PyObject * obj2 = 0 ;
11642 PyObject * obj3 = 0 ;
11643 char * kwnames[] = {
11644 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11645 };
11646
11647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11649 if (!SWIG_IsOK(res1)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11651 }
11652 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11653 ecode2 = SWIG_AsVal_int(obj1, &val2);
11654 if (!SWIG_IsOK(ecode2)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11656 }
11657 arg2 = static_cast< int >(val2);
11658 ecode3 = SWIG_AsVal_int(obj2, &val3);
11659 if (!SWIG_IsOK(ecode3)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11661 }
11662 arg3 = static_cast< int >(val3);
11663 if (obj3) {
11664 ecode4 = SWIG_AsVal_int(obj3, &val4);
11665 if (!SWIG_IsOK(ecode4)) {
11666 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11667 }
11668 arg4 = static_cast< int >(val4);
11669 }
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_From_int(static_cast< int >(result));
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11684 PyObject *resultobj = 0;
11685 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11686 void *argp1 = 0 ;
11687 int res1 = 0 ;
11688 PyObject *swig_obj[1] ;
11689
11690 if (!args) SWIG_fail;
11691 swig_obj[0] = args;
11692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11693 if (!SWIG_IsOK(res1)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11695 }
11696 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 (arg1)->SizeWindows();
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 resultobj = SWIG_Py_Void();
11704 return resultobj;
11705 fail:
11706 return NULL;
11707 }
11708
11709
11710 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11711 PyObject *obj;
11712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11713 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11714 return SWIG_Py_Void();
11715 }
11716
11717 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11718 return SWIG_Python_InitShadowInstance(args);
11719 }
11720
11721 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj = 0;
11723 int arg1 = (int) 0 ;
11724 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11725 wxSashEvent *result = 0 ;
11726 int val1 ;
11727 int ecode1 = 0 ;
11728 int val2 ;
11729 int ecode2 = 0 ;
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj1 = 0 ;
11732 char * kwnames[] = {
11733 (char *) "id",(char *) "edge", NULL
11734 };
11735
11736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11737 if (obj0) {
11738 ecode1 = SWIG_AsVal_int(obj0, &val1);
11739 if (!SWIG_IsOK(ecode1)) {
11740 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11741 }
11742 arg1 = static_cast< int >(val1);
11743 }
11744 if (obj1) {
11745 ecode2 = SWIG_AsVal_int(obj1, &val2);
11746 if (!SWIG_IsOK(ecode2)) {
11747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11748 }
11749 arg2 = static_cast< wxSashEdgePosition >(val2);
11750 }
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11765 PyObject *resultobj = 0;
11766 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11767 wxSashEdgePosition arg2 ;
11768 void *argp1 = 0 ;
11769 int res1 = 0 ;
11770 int val2 ;
11771 int ecode2 = 0 ;
11772 PyObject * obj0 = 0 ;
11773 PyObject * obj1 = 0 ;
11774 char * kwnames[] = {
11775 (char *) "self",(char *) "edge", NULL
11776 };
11777
11778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11780 if (!SWIG_IsOK(res1)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11782 }
11783 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11784 ecode2 = SWIG_AsVal_int(obj1, &val2);
11785 if (!SWIG_IsOK(ecode2)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11787 }
11788 arg2 = static_cast< wxSashEdgePosition >(val2);
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 (arg1)->SetEdge(arg2);
11792 wxPyEndAllowThreads(__tstate);
11793 if (PyErr_Occurred()) SWIG_fail;
11794 }
11795 resultobj = SWIG_Py_Void();
11796 return resultobj;
11797 fail:
11798 return NULL;
11799 }
11800
11801
11802 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11803 PyObject *resultobj = 0;
11804 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11805 wxSashEdgePosition result;
11806 void *argp1 = 0 ;
11807 int res1 = 0 ;
11808 PyObject *swig_obj[1] ;
11809
11810 if (!args) SWIG_fail;
11811 swig_obj[0] = args;
11812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11813 if (!SWIG_IsOK(res1)) {
11814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11815 }
11816 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11820 wxPyEndAllowThreads(__tstate);
11821 if (PyErr_Occurred()) SWIG_fail;
11822 }
11823 resultobj = SWIG_From_int(static_cast< int >(result));
11824 return resultobj;
11825 fail:
11826 return NULL;
11827 }
11828
11829
11830 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj = 0;
11832 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11833 wxRect *arg2 = 0 ;
11834 void *argp1 = 0 ;
11835 int res1 = 0 ;
11836 wxRect temp2 ;
11837 PyObject * obj0 = 0 ;
11838 PyObject * obj1 = 0 ;
11839 char * kwnames[] = {
11840 (char *) "self",(char *) "rect", NULL
11841 };
11842
11843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11845 if (!SWIG_IsOK(res1)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11847 }
11848 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11849 {
11850 arg2 = &temp2;
11851 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11852 }
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 (arg1)->SetDragRect((wxRect const &)*arg2);
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 resultobj = SWIG_Py_Void();
11860 return resultobj;
11861 fail:
11862 return NULL;
11863 }
11864
11865
11866 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11867 PyObject *resultobj = 0;
11868 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11869 wxRect result;
11870 void *argp1 = 0 ;
11871 int res1 = 0 ;
11872 PyObject *swig_obj[1] ;
11873
11874 if (!args) SWIG_fail;
11875 swig_obj[0] = args;
11876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11877 if (!SWIG_IsOK(res1)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11879 }
11880 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 result = ((wxSashEvent const *)arg1)->GetDragRect();
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj = 0;
11896 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11897 wxSashDragStatus arg2 ;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 int val2 ;
11901 int ecode2 = 0 ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 char * kwnames[] = {
11905 (char *) "self",(char *) "status", NULL
11906 };
11907
11908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11910 if (!SWIG_IsOK(res1)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11912 }
11913 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11914 ecode2 = SWIG_AsVal_int(obj1, &val2);
11915 if (!SWIG_IsOK(ecode2)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11917 }
11918 arg2 = static_cast< wxSashDragStatus >(val2);
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 (arg1)->SetDragStatus(arg2);
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 resultobj = SWIG_Py_Void();
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11933 PyObject *resultobj = 0;
11934 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11935 wxSashDragStatus result;
11936 void *argp1 = 0 ;
11937 int res1 = 0 ;
11938 PyObject *swig_obj[1] ;
11939
11940 if (!args) SWIG_fail;
11941 swig_obj[0] = args;
11942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11943 if (!SWIG_IsOK(res1)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11945 }
11946 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_From_int(static_cast< int >(result));
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11961 PyObject *obj;
11962 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11963 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11964 return SWIG_Py_Void();
11965 }
11966
11967 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11968 return SWIG_Python_InitShadowInstance(args);
11969 }
11970
11971 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj = 0;
11973 int arg1 = (int) 0 ;
11974 wxQueryLayoutInfoEvent *result = 0 ;
11975 int val1 ;
11976 int ecode1 = 0 ;
11977 PyObject * obj0 = 0 ;
11978 char * kwnames[] = {
11979 (char *) "id", NULL
11980 };
11981
11982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11983 if (obj0) {
11984 ecode1 = SWIG_AsVal_int(obj0, &val1);
11985 if (!SWIG_IsOK(ecode1)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11987 }
11988 arg1 = static_cast< int >(val1);
11989 }
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12004 PyObject *resultobj = 0;
12005 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12006 int arg2 ;
12007 void *argp1 = 0 ;
12008 int res1 = 0 ;
12009 int val2 ;
12010 int ecode2 = 0 ;
12011 PyObject * obj0 = 0 ;
12012 PyObject * obj1 = 0 ;
12013 char * kwnames[] = {
12014 (char *) "self",(char *) "length", NULL
12015 };
12016
12017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12019 if (!SWIG_IsOK(res1)) {
12020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12021 }
12022 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12023 ecode2 = SWIG_AsVal_int(obj1, &val2);
12024 if (!SWIG_IsOK(ecode2)) {
12025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12026 }
12027 arg2 = static_cast< int >(val2);
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 (arg1)->SetRequestedLength(arg2);
12031 wxPyEndAllowThreads(__tstate);
12032 if (PyErr_Occurred()) SWIG_fail;
12033 }
12034 resultobj = SWIG_Py_Void();
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12042 PyObject *resultobj = 0;
12043 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12044 int result;
12045 void *argp1 = 0 ;
12046 int res1 = 0 ;
12047 PyObject *swig_obj[1] ;
12048
12049 if (!args) SWIG_fail;
12050 swig_obj[0] = args;
12051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12052 if (!SWIG_IsOK(res1)) {
12053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12054 }
12055 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 resultobj = SWIG_From_int(static_cast< int >(result));
12063 return resultobj;
12064 fail:
12065 return NULL;
12066 }
12067
12068
12069 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12070 PyObject *resultobj = 0;
12071 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12072 int arg2 ;
12073 void *argp1 = 0 ;
12074 int res1 = 0 ;
12075 int val2 ;
12076 int ecode2 = 0 ;
12077 PyObject * obj0 = 0 ;
12078 PyObject * obj1 = 0 ;
12079 char * kwnames[] = {
12080 (char *) "self",(char *) "flags", NULL
12081 };
12082
12083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12085 if (!SWIG_IsOK(res1)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12087 }
12088 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12089 ecode2 = SWIG_AsVal_int(obj1, &val2);
12090 if (!SWIG_IsOK(ecode2)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12092 }
12093 arg2 = static_cast< int >(val2);
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 (arg1)->SetFlags(arg2);
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = SWIG_Py_Void();
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12108 PyObject *resultobj = 0;
12109 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12110 int result;
12111 void *argp1 = 0 ;
12112 int res1 = 0 ;
12113 PyObject *swig_obj[1] ;
12114
12115 if (!args) SWIG_fail;
12116 swig_obj[0] = args;
12117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12118 if (!SWIG_IsOK(res1)) {
12119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12120 }
12121 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = SWIG_From_int(static_cast< int >(result));
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj = 0;
12137 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12138 wxSize *arg2 = 0 ;
12139 void *argp1 = 0 ;
12140 int res1 = 0 ;
12141 wxSize temp2 ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 char * kwnames[] = {
12145 (char *) "self",(char *) "size", NULL
12146 };
12147
12148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12150 if (!SWIG_IsOK(res1)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12152 }
12153 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12154 {
12155 arg2 = &temp2;
12156 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->SetSize((wxSize const &)*arg2);
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_Py_Void();
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12172 PyObject *resultobj = 0;
12173 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12174 wxSize result;
12175 void *argp1 = 0 ;
12176 int res1 = 0 ;
12177 PyObject *swig_obj[1] ;
12178
12179 if (!args) SWIG_fail;
12180 swig_obj[0] = args;
12181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12182 if (!SWIG_IsOK(res1)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12184 }
12185 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj = 0;
12201 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12202 wxLayoutOrientation arg2 ;
12203 void *argp1 = 0 ;
12204 int res1 = 0 ;
12205 int val2 ;
12206 int ecode2 = 0 ;
12207 PyObject * obj0 = 0 ;
12208 PyObject * obj1 = 0 ;
12209 char * kwnames[] = {
12210 (char *) "self",(char *) "orient", NULL
12211 };
12212
12213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12215 if (!SWIG_IsOK(res1)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12217 }
12218 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12219 ecode2 = SWIG_AsVal_int(obj1, &val2);
12220 if (!SWIG_IsOK(ecode2)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12222 }
12223 arg2 = static_cast< wxLayoutOrientation >(val2);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->SetOrientation(arg2);
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_Py_Void();
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12238 PyObject *resultobj = 0;
12239 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12240 wxLayoutOrientation result;
12241 void *argp1 = 0 ;
12242 int res1 = 0 ;
12243 PyObject *swig_obj[1] ;
12244
12245 if (!args) SWIG_fail;
12246 swig_obj[0] = args;
12247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12248 if (!SWIG_IsOK(res1)) {
12249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12250 }
12251 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_From_int(static_cast< int >(result));
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj = 0;
12267 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12268 wxLayoutAlignment arg2 ;
12269 void *argp1 = 0 ;
12270 int res1 = 0 ;
12271 int val2 ;
12272 int ecode2 = 0 ;
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12275 char * kwnames[] = {
12276 (char *) "self",(char *) "align", NULL
12277 };
12278
12279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12281 if (!SWIG_IsOK(res1)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12283 }
12284 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12285 ecode2 = SWIG_AsVal_int(obj1, &val2);
12286 if (!SWIG_IsOK(ecode2)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12288 }
12289 arg2 = static_cast< wxLayoutAlignment >(val2);
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 (arg1)->SetAlignment(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_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12304 PyObject *resultobj = 0;
12305 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12306 wxLayoutAlignment 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_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12316 }
12317 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12321 wxPyEndAllowThreads(__tstate);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 }
12324 resultobj = SWIG_From_int(static_cast< int >(result));
12325 return resultobj;
12326 fail:
12327 return NULL;
12328 }
12329
12330
12331 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12332 PyObject *obj;
12333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12334 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12335 return SWIG_Py_Void();
12336 }
12337
12338 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12339 return SWIG_Python_InitShadowInstance(args);
12340 }
12341
12342 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj = 0;
12344 int arg1 = (int) 0 ;
12345 wxCalculateLayoutEvent *result = 0 ;
12346 int val1 ;
12347 int ecode1 = 0 ;
12348 PyObject * obj0 = 0 ;
12349 char * kwnames[] = {
12350 (char *) "id", NULL
12351 };
12352
12353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12354 if (obj0) {
12355 ecode1 = SWIG_AsVal_int(obj0, &val1);
12356 if (!SWIG_IsOK(ecode1)) {
12357 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12358 }
12359 arg1 = static_cast< int >(val1);
12360 }
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj = 0;
12376 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12377 int arg2 ;
12378 void *argp1 = 0 ;
12379 int res1 = 0 ;
12380 int val2 ;
12381 int ecode2 = 0 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char * kwnames[] = {
12385 (char *) "self",(char *) "flags", NULL
12386 };
12387
12388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12390 if (!SWIG_IsOK(res1)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12392 }
12393 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12394 ecode2 = SWIG_AsVal_int(obj1, &val2);
12395 if (!SWIG_IsOK(ecode2)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12397 }
12398 arg2 = static_cast< int >(val2);
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 (arg1)->SetFlags(arg2);
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = SWIG_Py_Void();
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12413 PyObject *resultobj = 0;
12414 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12415 int result;
12416 void *argp1 = 0 ;
12417 int res1 = 0 ;
12418 PyObject *swig_obj[1] ;
12419
12420 if (!args) SWIG_fail;
12421 swig_obj[0] = args;
12422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12423 if (!SWIG_IsOK(res1)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12425 }
12426 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12427 {
12428 PyThreadState* __tstate = wxPyBeginAllowThreads();
12429 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = SWIG_From_int(static_cast< int >(result));
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12441 PyObject *resultobj = 0;
12442 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12443 wxRect *arg2 = 0 ;
12444 void *argp1 = 0 ;
12445 int res1 = 0 ;
12446 wxRect temp2 ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 char * kwnames[] = {
12450 (char *) "self",(char *) "rect", NULL
12451 };
12452
12453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12455 if (!SWIG_IsOK(res1)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12457 }
12458 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12459 {
12460 arg2 = &temp2;
12461 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12462 }
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 (arg1)->SetRect((wxRect const &)*arg2);
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 resultobj = SWIG_Py_Void();
12470 return resultobj;
12471 fail:
12472 return NULL;
12473 }
12474
12475
12476 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12477 PyObject *resultobj = 0;
12478 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12479 wxRect result;
12480 void *argp1 = 0 ;
12481 int res1 = 0 ;
12482 PyObject *swig_obj[1] ;
12483
12484 if (!args) SWIG_fail;
12485 swig_obj[0] = args;
12486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12487 if (!SWIG_IsOK(res1)) {
12488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12489 }
12490 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12498 return resultobj;
12499 fail:
12500 return NULL;
12501 }
12502
12503
12504 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12505 PyObject *obj;
12506 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12507 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12508 return SWIG_Py_Void();
12509 }
12510
12511 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12512 return SWIG_Python_InitShadowInstance(args);
12513 }
12514
12515 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj = 0;
12517 wxWindow *arg1 = (wxWindow *) 0 ;
12518 int arg2 = (int) -1 ;
12519 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12520 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12521 wxSize const &arg4_defvalue = wxDefaultSize ;
12522 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12523 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12524 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12525 wxString *arg6 = (wxString *) &arg6_defvalue ;
12526 wxSashLayoutWindow *result = 0 ;
12527 void *argp1 = 0 ;
12528 int res1 = 0 ;
12529 int val2 ;
12530 int ecode2 = 0 ;
12531 wxPoint temp3 ;
12532 wxSize temp4 ;
12533 long val5 ;
12534 int ecode5 = 0 ;
12535 bool temp6 = false ;
12536 PyObject * obj0 = 0 ;
12537 PyObject * obj1 = 0 ;
12538 PyObject * obj2 = 0 ;
12539 PyObject * obj3 = 0 ;
12540 PyObject * obj4 = 0 ;
12541 PyObject * obj5 = 0 ;
12542 char * kwnames[] = {
12543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12544 };
12545
12546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12548 if (!SWIG_IsOK(res1)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12550 }
12551 arg1 = reinterpret_cast< wxWindow * >(argp1);
12552 if (obj1) {
12553 ecode2 = SWIG_AsVal_int(obj1, &val2);
12554 if (!SWIG_IsOK(ecode2)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12556 }
12557 arg2 = static_cast< int >(val2);
12558 }
12559 if (obj2) {
12560 {
12561 arg3 = &temp3;
12562 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12563 }
12564 }
12565 if (obj3) {
12566 {
12567 arg4 = &temp4;
12568 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12569 }
12570 }
12571 if (obj4) {
12572 ecode5 = SWIG_AsVal_long(obj4, &val5);
12573 if (!SWIG_IsOK(ecode5)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12575 }
12576 arg5 = static_cast< long >(val5);
12577 }
12578 if (obj5) {
12579 {
12580 arg6 = wxString_in_helper(obj5);
12581 if (arg6 == NULL) SWIG_fail;
12582 temp6 = true;
12583 }
12584 }
12585 {
12586 if (!wxPyCheckForApp()) SWIG_fail;
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12589 wxPyEndAllowThreads(__tstate);
12590 if (PyErr_Occurred()) SWIG_fail;
12591 }
12592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12593 {
12594 if (temp6)
12595 delete arg6;
12596 }
12597 return resultobj;
12598 fail:
12599 {
12600 if (temp6)
12601 delete arg6;
12602 }
12603 return NULL;
12604 }
12605
12606
12607 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12608 PyObject *resultobj = 0;
12609 wxSashLayoutWindow *result = 0 ;
12610
12611 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12612 {
12613 if (!wxPyCheckForApp()) SWIG_fail;
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12620 return resultobj;
12621 fail:
12622 return NULL;
12623 }
12624
12625
12626 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12627 PyObject *resultobj = 0;
12628 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12629 wxWindow *arg2 = (wxWindow *) 0 ;
12630 int arg3 = (int) -1 ;
12631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12633 wxSize const &arg5_defvalue = wxDefaultSize ;
12634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12635 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12636 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12637 wxString *arg7 = (wxString *) &arg7_defvalue ;
12638 bool result;
12639 void *argp1 = 0 ;
12640 int res1 = 0 ;
12641 void *argp2 = 0 ;
12642 int res2 = 0 ;
12643 int val3 ;
12644 int ecode3 = 0 ;
12645 wxPoint temp4 ;
12646 wxSize temp5 ;
12647 long val6 ;
12648 int ecode6 = 0 ;
12649 bool temp7 = false ;
12650 PyObject * obj0 = 0 ;
12651 PyObject * obj1 = 0 ;
12652 PyObject * obj2 = 0 ;
12653 PyObject * obj3 = 0 ;
12654 PyObject * obj4 = 0 ;
12655 PyObject * obj5 = 0 ;
12656 PyObject * obj6 = 0 ;
12657 char * kwnames[] = {
12658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12659 };
12660
12661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12663 if (!SWIG_IsOK(res1)) {
12664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12665 }
12666 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12667 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12668 if (!SWIG_IsOK(res2)) {
12669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12670 }
12671 arg2 = reinterpret_cast< wxWindow * >(argp2);
12672 if (obj2) {
12673 ecode3 = SWIG_AsVal_int(obj2, &val3);
12674 if (!SWIG_IsOK(ecode3)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12676 }
12677 arg3 = static_cast< int >(val3);
12678 }
12679 if (obj3) {
12680 {
12681 arg4 = &temp4;
12682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12683 }
12684 }
12685 if (obj4) {
12686 {
12687 arg5 = &temp5;
12688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12689 }
12690 }
12691 if (obj5) {
12692 ecode6 = SWIG_AsVal_long(obj5, &val6);
12693 if (!SWIG_IsOK(ecode6)) {
12694 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12695 }
12696 arg6 = static_cast< long >(val6);
12697 }
12698 if (obj6) {
12699 {
12700 arg7 = wxString_in_helper(obj6);
12701 if (arg7 == NULL) SWIG_fail;
12702 temp7 = true;
12703 }
12704 }
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 {
12712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12713 }
12714 {
12715 if (temp7)
12716 delete arg7;
12717 }
12718 return resultobj;
12719 fail:
12720 {
12721 if (temp7)
12722 delete arg7;
12723 }
12724 return NULL;
12725 }
12726
12727
12728 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12729 PyObject *resultobj = 0;
12730 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12731 wxLayoutAlignment result;
12732 void *argp1 = 0 ;
12733 int res1 = 0 ;
12734 PyObject *swig_obj[1] ;
12735
12736 if (!args) SWIG_fail;
12737 swig_obj[0] = args;
12738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12739 if (!SWIG_IsOK(res1)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12741 }
12742 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_From_int(static_cast< int >(result));
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12757 PyObject *resultobj = 0;
12758 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12759 wxLayoutOrientation result;
12760 void *argp1 = 0 ;
12761 int res1 = 0 ;
12762 PyObject *swig_obj[1] ;
12763
12764 if (!args) SWIG_fail;
12765 swig_obj[0] = args;
12766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12767 if (!SWIG_IsOK(res1)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12769 }
12770 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 resultobj = SWIG_From_int(static_cast< int >(result));
12778 return resultobj;
12779 fail:
12780 return NULL;
12781 }
12782
12783
12784 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj = 0;
12786 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12787 wxLayoutAlignment arg2 ;
12788 void *argp1 = 0 ;
12789 int res1 = 0 ;
12790 int val2 ;
12791 int ecode2 = 0 ;
12792 PyObject * obj0 = 0 ;
12793 PyObject * obj1 = 0 ;
12794 char * kwnames[] = {
12795 (char *) "self",(char *) "alignment", NULL
12796 };
12797
12798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12800 if (!SWIG_IsOK(res1)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12802 }
12803 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12804 ecode2 = SWIG_AsVal_int(obj1, &val2);
12805 if (!SWIG_IsOK(ecode2)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12807 }
12808 arg2 = static_cast< wxLayoutAlignment >(val2);
12809 {
12810 PyThreadState* __tstate = wxPyBeginAllowThreads();
12811 (arg1)->SetAlignment(arg2);
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_Py_Void();
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj = 0;
12824 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12825 wxSize *arg2 = 0 ;
12826 void *argp1 = 0 ;
12827 int res1 = 0 ;
12828 wxSize temp2 ;
12829 PyObject * obj0 = 0 ;
12830 PyObject * obj1 = 0 ;
12831 char * kwnames[] = {
12832 (char *) "self",(char *) "size", NULL
12833 };
12834
12835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12837 if (!SWIG_IsOK(res1)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12839 }
12840 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12841 {
12842 arg2 = &temp2;
12843 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12844 }
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = SWIG_Py_Void();
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12861 wxLayoutOrientation arg2 ;
12862 void *argp1 = 0 ;
12863 int res1 = 0 ;
12864 int val2 ;
12865 int ecode2 = 0 ;
12866 PyObject * obj0 = 0 ;
12867 PyObject * obj1 = 0 ;
12868 char * kwnames[] = {
12869 (char *) "self",(char *) "orientation", NULL
12870 };
12871
12872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12874 if (!SWIG_IsOK(res1)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12876 }
12877 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12878 ecode2 = SWIG_AsVal_int(obj1, &val2);
12879 if (!SWIG_IsOK(ecode2)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12881 }
12882 arg2 = static_cast< wxLayoutOrientation >(val2);
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetOrientation(arg2);
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 resultobj = SWIG_Py_Void();
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12897 PyObject *obj;
12898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12899 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12900 return SWIG_Py_Void();
12901 }
12902
12903 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12904 return SWIG_Python_InitShadowInstance(args);
12905 }
12906
12907 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12908 PyObject *resultobj = 0;
12909 wxLayoutAlgorithm *result = 0 ;
12910
12911 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12926 PyObject *resultobj = 0;
12927 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12928 void *argp1 = 0 ;
12929 int res1 = 0 ;
12930 PyObject *swig_obj[1] ;
12931
12932 if (!args) SWIG_fail;
12933 swig_obj[0] = args;
12934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12935 if (!SWIG_IsOK(res1)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12937 }
12938 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 delete arg1;
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 resultobj = SWIG_Py_Void();
12947 return resultobj;
12948 fail:
12949 return NULL;
12950 }
12951
12952
12953 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj = 0;
12955 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12956 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12957 wxRect *arg3 = (wxRect *) NULL ;
12958 bool result;
12959 void *argp1 = 0 ;
12960 int res1 = 0 ;
12961 void *argp2 = 0 ;
12962 int res2 = 0 ;
12963 void *argp3 = 0 ;
12964 int res3 = 0 ;
12965 PyObject * obj0 = 0 ;
12966 PyObject * obj1 = 0 ;
12967 PyObject * obj2 = 0 ;
12968 char * kwnames[] = {
12969 (char *) "self",(char *) "frame",(char *) "rect", NULL
12970 };
12971
12972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12974 if (!SWIG_IsOK(res1)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12976 }
12977 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12979 if (!SWIG_IsOK(res2)) {
12980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12981 }
12982 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12983 if (obj2) {
12984 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12985 if (!SWIG_IsOK(res3)) {
12986 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12987 }
12988 arg3 = reinterpret_cast< wxRect * >(argp3);
12989 }
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
12996 {
12997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12998 }
12999 return resultobj;
13000 fail:
13001 return NULL;
13002 }
13003
13004
13005 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13006 PyObject *resultobj = 0;
13007 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13008 wxFrame *arg2 = (wxFrame *) 0 ;
13009 wxWindow *arg3 = (wxWindow *) NULL ;
13010 bool result;
13011 void *argp1 = 0 ;
13012 int res1 = 0 ;
13013 void *argp2 = 0 ;
13014 int res2 = 0 ;
13015 void *argp3 = 0 ;
13016 int res3 = 0 ;
13017 PyObject * obj0 = 0 ;
13018 PyObject * obj1 = 0 ;
13019 PyObject * obj2 = 0 ;
13020 char * kwnames[] = {
13021 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13022 };
13023
13024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13026 if (!SWIG_IsOK(res1)) {
13027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13028 }
13029 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13030 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13031 if (!SWIG_IsOK(res2)) {
13032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13033 }
13034 arg2 = reinterpret_cast< wxFrame * >(argp2);
13035 if (obj2) {
13036 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13037 if (!SWIG_IsOK(res3)) {
13038 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13039 }
13040 arg3 = reinterpret_cast< wxWindow * >(argp3);
13041 }
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 {
13049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13050 }
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj = 0;
13059 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13060 wxWindow *arg2 = (wxWindow *) 0 ;
13061 wxWindow *arg3 = (wxWindow *) NULL ;
13062 bool result;
13063 void *argp1 = 0 ;
13064 int res1 = 0 ;
13065 void *argp2 = 0 ;
13066 int res2 = 0 ;
13067 void *argp3 = 0 ;
13068 int res3 = 0 ;
13069 PyObject * obj0 = 0 ;
13070 PyObject * obj1 = 0 ;
13071 PyObject * obj2 = 0 ;
13072 char * kwnames[] = {
13073 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13074 };
13075
13076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13078 if (!SWIG_IsOK(res1)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13080 }
13081 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13083 if (!SWIG_IsOK(res2)) {
13084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13085 }
13086 arg2 = reinterpret_cast< wxWindow * >(argp2);
13087 if (obj2) {
13088 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13089 if (!SWIG_IsOK(res3)) {
13090 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13091 }
13092 arg3 = reinterpret_cast< wxWindow * >(argp3);
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 {
13101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13102 }
13103 return resultobj;
13104 fail:
13105 return NULL;
13106 }
13107
13108
13109 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13110 PyObject *obj;
13111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13112 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13113 return SWIG_Py_Void();
13114 }
13115
13116 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13117 return SWIG_Python_InitShadowInstance(args);
13118 }
13119
13120 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj = 0;
13122 wxWindow *arg1 = (wxWindow *) 0 ;
13123 int arg2 = (int) wxBORDER_NONE ;
13124 wxPopupWindow *result = 0 ;
13125 void *argp1 = 0 ;
13126 int res1 = 0 ;
13127 int val2 ;
13128 int ecode2 = 0 ;
13129 PyObject * obj0 = 0 ;
13130 PyObject * obj1 = 0 ;
13131 char * kwnames[] = {
13132 (char *) "parent",(char *) "flags", NULL
13133 };
13134
13135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13137 if (!SWIG_IsOK(res1)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13139 }
13140 arg1 = reinterpret_cast< wxWindow * >(argp1);
13141 if (obj1) {
13142 ecode2 = SWIG_AsVal_int(obj1, &val2);
13143 if (!SWIG_IsOK(ecode2)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13145 }
13146 arg2 = static_cast< int >(val2);
13147 }
13148 {
13149 if (!wxPyCheckForApp()) SWIG_fail;
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13156 return resultobj;
13157 fail:
13158 return NULL;
13159 }
13160
13161
13162 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13163 PyObject *resultobj = 0;
13164 wxPopupWindow *result = 0 ;
13165
13166 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13167 {
13168 if (!wxPyCheckForApp()) SWIG_fail;
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (wxPopupWindow *)new wxPopupWindow();
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj = 0;
13183 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13184 wxWindow *arg2 = (wxWindow *) 0 ;
13185 int arg3 = (int) wxBORDER_NONE ;
13186 bool result;
13187 void *argp1 = 0 ;
13188 int res1 = 0 ;
13189 void *argp2 = 0 ;
13190 int res2 = 0 ;
13191 int val3 ;
13192 int ecode3 = 0 ;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 PyObject * obj2 = 0 ;
13196 char * kwnames[] = {
13197 (char *) "self",(char *) "parent",(char *) "flags", NULL
13198 };
13199
13200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13202 if (!SWIG_IsOK(res1)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13204 }
13205 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13207 if (!SWIG_IsOK(res2)) {
13208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13209 }
13210 arg2 = reinterpret_cast< wxWindow * >(argp2);
13211 if (obj2) {
13212 ecode3 = SWIG_AsVal_int(obj2, &val3);
13213 if (!SWIG_IsOK(ecode3)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13215 }
13216 arg3 = static_cast< int >(val3);
13217 }
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (bool)(arg1)->Create(arg2,arg3);
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 {
13225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13226 }
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj = 0;
13235 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13236 wxPoint *arg2 = 0 ;
13237 wxSize *arg3 = 0 ;
13238 void *argp1 = 0 ;
13239 int res1 = 0 ;
13240 wxPoint temp2 ;
13241 wxSize temp3 ;
13242 PyObject * obj0 = 0 ;
13243 PyObject * obj1 = 0 ;
13244 PyObject * obj2 = 0 ;
13245 char * kwnames[] = {
13246 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13247 };
13248
13249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13251 if (!SWIG_IsOK(res1)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13253 }
13254 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13255 {
13256 arg2 = &temp2;
13257 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13258 }
13259 {
13260 arg3 = &temp3;
13261 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13262 }
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
13269 resultobj = SWIG_Py_Void();
13270 return resultobj;
13271 fail:
13272 return NULL;
13273 }
13274
13275
13276 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13277 PyObject *obj;
13278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13279 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13280 return SWIG_Py_Void();
13281 }
13282
13283 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13284 return SWIG_Python_InitShadowInstance(args);
13285 }
13286
13287 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj = 0;
13289 wxWindow *arg1 = (wxWindow *) 0 ;
13290 int arg2 = (int) wxBORDER_NONE ;
13291 wxPyPopupTransientWindow *result = 0 ;
13292 void *argp1 = 0 ;
13293 int res1 = 0 ;
13294 int val2 ;
13295 int ecode2 = 0 ;
13296 PyObject * obj0 = 0 ;
13297 PyObject * obj1 = 0 ;
13298 char * kwnames[] = {
13299 (char *) "parent",(char *) "style", NULL
13300 };
13301
13302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13304 if (!SWIG_IsOK(res1)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13306 }
13307 arg1 = reinterpret_cast< wxWindow * >(argp1);
13308 if (obj1) {
13309 ecode2 = SWIG_AsVal_int(obj1, &val2);
13310 if (!SWIG_IsOK(ecode2)) {
13311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13312 }
13313 arg2 = static_cast< int >(val2);
13314 }
13315 {
13316 if (!wxPyCheckForApp()) SWIG_fail;
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13330 PyObject *resultobj = 0;
13331 wxPyPopupTransientWindow *result = 0 ;
13332
13333 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13334 {
13335 if (!wxPyCheckForApp()) SWIG_fail;
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13342 return resultobj;
13343 fail:
13344 return NULL;
13345 }
13346
13347
13348 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj = 0;
13350 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13351 PyObject *arg2 = (PyObject *) 0 ;
13352 PyObject *arg3 = (PyObject *) 0 ;
13353 void *argp1 = 0 ;
13354 int res1 = 0 ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 PyObject * obj2 = 0 ;
13358 char * kwnames[] = {
13359 (char *) "self",(char *) "self",(char *) "_class", NULL
13360 };
13361
13362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13364 if (!SWIG_IsOK(res1)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13366 }
13367 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13368 arg2 = obj1;
13369 arg3 = obj2;
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 (arg1)->_setCallbackInfo(arg2,arg3);
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = SWIG_Py_Void();
13377 return resultobj;
13378 fail:
13379 return NULL;
13380 }
13381
13382
13383 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj = 0;
13385 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13386 wxWindow *arg2 = (wxWindow *) NULL ;
13387 void *argp1 = 0 ;
13388 int res1 = 0 ;
13389 void *argp2 = 0 ;
13390 int res2 = 0 ;
13391 PyObject * obj0 = 0 ;
13392 PyObject * obj1 = 0 ;
13393 char * kwnames[] = {
13394 (char *) "self",(char *) "focus", NULL
13395 };
13396
13397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13399 if (!SWIG_IsOK(res1)) {
13400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13401 }
13402 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13403 if (obj1) {
13404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13405 if (!SWIG_IsOK(res2)) {
13406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13407 }
13408 arg2 = reinterpret_cast< wxWindow * >(argp2);
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 (arg1)->Popup(arg2);
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 resultobj = SWIG_Py_Void();
13417 return resultobj;
13418 fail:
13419 return NULL;
13420 }
13421
13422
13423 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13424 PyObject *resultobj = 0;
13425 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13426 void *argp1 = 0 ;
13427 int res1 = 0 ;
13428 PyObject *swig_obj[1] ;
13429
13430 if (!args) SWIG_fail;
13431 swig_obj[0] = args;
13432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13433 if (!SWIG_IsOK(res1)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13435 }
13436 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 (arg1)->Dismiss();
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 resultobj = SWIG_Py_Void();
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13451 PyObject *obj;
13452 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13453 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13454 return SWIG_Py_Void();
13455 }
13456
13457 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13458 return SWIG_Python_InitShadowInstance(args);
13459 }
13460
13461 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj = 0;
13463 wxWindow *arg1 = (wxWindow *) 0 ;
13464 wxString *arg2 = 0 ;
13465 int arg3 = (int) 100 ;
13466 wxRect *arg4 = (wxRect *) NULL ;
13467 wxTipWindow *result = 0 ;
13468 void *argp1 = 0 ;
13469 int res1 = 0 ;
13470 bool temp2 = false ;
13471 int val3 ;
13472 int ecode3 = 0 ;
13473 void *argp4 = 0 ;
13474 int res4 = 0 ;
13475 PyObject * obj0 = 0 ;
13476 PyObject * obj1 = 0 ;
13477 PyObject * obj2 = 0 ;
13478 PyObject * obj3 = 0 ;
13479 char * kwnames[] = {
13480 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13481 };
13482
13483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13485 if (!SWIG_IsOK(res1)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13487 }
13488 arg1 = reinterpret_cast< wxWindow * >(argp1);
13489 {
13490 arg2 = wxString_in_helper(obj1);
13491 if (arg2 == NULL) SWIG_fail;
13492 temp2 = true;
13493 }
13494 if (obj2) {
13495 ecode3 = SWIG_AsVal_int(obj2, &val3);
13496 if (!SWIG_IsOK(ecode3)) {
13497 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13498 }
13499 arg3 = static_cast< int >(val3);
13500 }
13501 if (obj3) {
13502 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13503 if (!SWIG_IsOK(res4)) {
13504 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13505 }
13506 arg4 = reinterpret_cast< wxRect * >(argp4);
13507 }
13508 {
13509 if (!wxPyCheckForApp()) SWIG_fail;
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13516 {
13517 if (temp2)
13518 delete arg2;
13519 }
13520 return resultobj;
13521 fail:
13522 {
13523 if (temp2)
13524 delete arg2;
13525 }
13526 return NULL;
13527 }
13528
13529
13530 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj = 0;
13532 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13533 wxRect *arg2 = 0 ;
13534 void *argp1 = 0 ;
13535 int res1 = 0 ;
13536 wxRect temp2 ;
13537 PyObject * obj0 = 0 ;
13538 PyObject * obj1 = 0 ;
13539 char * kwnames[] = {
13540 (char *) "self",(char *) "rectBound", NULL
13541 };
13542
13543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13545 if (!SWIG_IsOK(res1)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13547 }
13548 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13549 {
13550 arg2 = &temp2;
13551 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13552 }
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 resultobj = SWIG_Py_Void();
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13567 PyObject *resultobj = 0;
13568 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13569 void *argp1 = 0 ;
13570 int res1 = 0 ;
13571 PyObject *swig_obj[1] ;
13572
13573 if (!args) SWIG_fail;
13574 swig_obj[0] = args;
13575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13578 }
13579 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 (arg1)->Close();
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 resultobj = SWIG_Py_Void();
13587 return resultobj;
13588 fail:
13589 return NULL;
13590 }
13591
13592
13593 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13594 PyObject *obj;
13595 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13596 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13597 return SWIG_Py_Void();
13598 }
13599
13600 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13601 return SWIG_Python_InitShadowInstance(args);
13602 }
13603
13604 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13605 PyObject *resultobj = 0;
13606 wxWindow *arg1 = (wxWindow *) 0 ;
13607 int arg2 = (int) wxID_ANY ;
13608 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13609 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13610 wxSize const &arg4_defvalue = wxDefaultSize ;
13611 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13612 long arg5 = (long) 0 ;
13613 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13614 wxString *arg6 = (wxString *) &arg6_defvalue ;
13615 wxPyVScrolledWindow *result = 0 ;
13616 void *argp1 = 0 ;
13617 int res1 = 0 ;
13618 int val2 ;
13619 int ecode2 = 0 ;
13620 wxPoint temp3 ;
13621 wxSize temp4 ;
13622 long val5 ;
13623 int ecode5 = 0 ;
13624 bool temp6 = false ;
13625 PyObject * obj0 = 0 ;
13626 PyObject * obj1 = 0 ;
13627 PyObject * obj2 = 0 ;
13628 PyObject * obj3 = 0 ;
13629 PyObject * obj4 = 0 ;
13630 PyObject * obj5 = 0 ;
13631 char * kwnames[] = {
13632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13633 };
13634
13635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13637 if (!SWIG_IsOK(res1)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13639 }
13640 arg1 = reinterpret_cast< wxWindow * >(argp1);
13641 if (obj1) {
13642 ecode2 = SWIG_AsVal_int(obj1, &val2);
13643 if (!SWIG_IsOK(ecode2)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13645 }
13646 arg2 = static_cast< int >(val2);
13647 }
13648 if (obj2) {
13649 {
13650 arg3 = &temp3;
13651 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13652 }
13653 }
13654 if (obj3) {
13655 {
13656 arg4 = &temp4;
13657 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13658 }
13659 }
13660 if (obj4) {
13661 ecode5 = SWIG_AsVal_long(obj4, &val5);
13662 if (!SWIG_IsOK(ecode5)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13664 }
13665 arg5 = static_cast< long >(val5);
13666 }
13667 if (obj5) {
13668 {
13669 arg6 = wxString_in_helper(obj5);
13670 if (arg6 == NULL) SWIG_fail;
13671 temp6 = true;
13672 }
13673 }
13674 {
13675 if (!wxPyCheckForApp()) SWIG_fail;
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
13681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13682 {
13683 if (temp6)
13684 delete arg6;
13685 }
13686 return resultobj;
13687 fail:
13688 {
13689 if (temp6)
13690 delete arg6;
13691 }
13692 return NULL;
13693 }
13694
13695
13696 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13697 PyObject *resultobj = 0;
13698 wxPyVScrolledWindow *result = 0 ;
13699
13700 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13701 {
13702 if (!wxPyCheckForApp()) SWIG_fail;
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13705 wxPyEndAllowThreads(__tstate);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj = 0;
13717 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13718 PyObject *arg2 = (PyObject *) 0 ;
13719 PyObject *arg3 = (PyObject *) 0 ;
13720 void *argp1 = 0 ;
13721 int res1 = 0 ;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 PyObject * obj2 = 0 ;
13725 char * kwnames[] = {
13726 (char *) "self",(char *) "self",(char *) "_class", NULL
13727 };
13728
13729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13731 if (!SWIG_IsOK(res1)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13733 }
13734 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13735 arg2 = obj1;
13736 arg3 = obj2;
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 (arg1)->_setCallbackInfo(arg2,arg3);
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = SWIG_Py_Void();
13744 return resultobj;
13745 fail:
13746 return NULL;
13747 }
13748
13749
13750 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj = 0;
13752 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13753 wxWindow *arg2 = (wxWindow *) 0 ;
13754 int arg3 = (int) wxID_ANY ;
13755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13757 wxSize const &arg5_defvalue = wxDefaultSize ;
13758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13759 long arg6 = (long) 0 ;
13760 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13761 wxString *arg7 = (wxString *) &arg7_defvalue ;
13762 bool result;
13763 void *argp1 = 0 ;
13764 int res1 = 0 ;
13765 void *argp2 = 0 ;
13766 int res2 = 0 ;
13767 int val3 ;
13768 int ecode3 = 0 ;
13769 wxPoint temp4 ;
13770 wxSize temp5 ;
13771 long val6 ;
13772 int ecode6 = 0 ;
13773 bool temp7 = false ;
13774 PyObject * obj0 = 0 ;
13775 PyObject * obj1 = 0 ;
13776 PyObject * obj2 = 0 ;
13777 PyObject * obj3 = 0 ;
13778 PyObject * obj4 = 0 ;
13779 PyObject * obj5 = 0 ;
13780 PyObject * obj6 = 0 ;
13781 char * kwnames[] = {
13782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13783 };
13784
13785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13787 if (!SWIG_IsOK(res1)) {
13788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13789 }
13790 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13791 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res2)) {
13793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13794 }
13795 arg2 = reinterpret_cast< wxWindow * >(argp2);
13796 if (obj2) {
13797 ecode3 = SWIG_AsVal_int(obj2, &val3);
13798 if (!SWIG_IsOK(ecode3)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13800 }
13801 arg3 = static_cast< int >(val3);
13802 }
13803 if (obj3) {
13804 {
13805 arg4 = &temp4;
13806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13807 }
13808 }
13809 if (obj4) {
13810 {
13811 arg5 = &temp5;
13812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13813 }
13814 }
13815 if (obj5) {
13816 ecode6 = SWIG_AsVal_long(obj5, &val6);
13817 if (!SWIG_IsOK(ecode6)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13819 }
13820 arg6 = static_cast< long >(val6);
13821 }
13822 if (obj6) {
13823 {
13824 arg7 = wxString_in_helper(obj6);
13825 if (arg7 == NULL) SWIG_fail;
13826 temp7 = true;
13827 }
13828 }
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 {
13836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13837 }
13838 {
13839 if (temp7)
13840 delete arg7;
13841 }
13842 return resultobj;
13843 fail:
13844 {
13845 if (temp7)
13846 delete arg7;
13847 }
13848 return NULL;
13849 }
13850
13851
13852 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj = 0;
13854 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13855 size_t arg2 ;
13856 void *argp1 = 0 ;
13857 int res1 = 0 ;
13858 size_t val2 ;
13859 int ecode2 = 0 ;
13860 PyObject * obj0 = 0 ;
13861 PyObject * obj1 = 0 ;
13862 char * kwnames[] = {
13863 (char *) "self",(char *) "count", NULL
13864 };
13865
13866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13868 if (!SWIG_IsOK(res1)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13870 }
13871 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13872 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13873 if (!SWIG_IsOK(ecode2)) {
13874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13875 }
13876 arg2 = static_cast< size_t >(val2);
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 (arg1)->SetLineCount(arg2);
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 resultobj = SWIG_Py_Void();
13884 return resultobj;
13885 fail:
13886 return NULL;
13887 }
13888
13889
13890 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj = 0;
13892 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13893 size_t arg2 ;
13894 bool result;
13895 void *argp1 = 0 ;
13896 int res1 = 0 ;
13897 size_t val2 ;
13898 int ecode2 = 0 ;
13899 PyObject * obj0 = 0 ;
13900 PyObject * obj1 = 0 ;
13901 char * kwnames[] = {
13902 (char *) "self",(char *) "line", NULL
13903 };
13904
13905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13907 if (!SWIG_IsOK(res1)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13909 }
13910 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13911 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13912 if (!SWIG_IsOK(ecode2)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13914 }
13915 arg2 = static_cast< size_t >(val2);
13916 {
13917 PyThreadState* __tstate = wxPyBeginAllowThreads();
13918 result = (bool)(arg1)->ScrollToLine(arg2);
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 {
13923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13924 }
13925 return resultobj;
13926 fail:
13927 return NULL;
13928 }
13929
13930
13931 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13932 PyObject *resultobj = 0;
13933 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13934 size_t arg2 ;
13935 void *argp1 = 0 ;
13936 int res1 = 0 ;
13937 size_t val2 ;
13938 int ecode2 = 0 ;
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 char * kwnames[] = {
13942 (char *) "self",(char *) "line", NULL
13943 };
13944
13945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13947 if (!SWIG_IsOK(res1)) {
13948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13949 }
13950 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13951 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13952 if (!SWIG_IsOK(ecode2)) {
13953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13954 }
13955 arg2 = static_cast< size_t >(val2);
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 (arg1)->RefreshLine(arg2);
13959 wxPyEndAllowThreads(__tstate);
13960 if (PyErr_Occurred()) SWIG_fail;
13961 }
13962 resultobj = SWIG_Py_Void();
13963 return resultobj;
13964 fail:
13965 return NULL;
13966 }
13967
13968
13969 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj = 0;
13971 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13972 size_t arg2 ;
13973 size_t arg3 ;
13974 void *argp1 = 0 ;
13975 int res1 = 0 ;
13976 size_t val2 ;
13977 int ecode2 = 0 ;
13978 size_t val3 ;
13979 int ecode3 = 0 ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 PyObject * obj2 = 0 ;
13983 char * kwnames[] = {
13984 (char *) "self",(char *) "from",(char *) "to", NULL
13985 };
13986
13987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13989 if (!SWIG_IsOK(res1)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13991 }
13992 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13993 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13994 if (!SWIG_IsOK(ecode2)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13996 }
13997 arg2 = static_cast< size_t >(val2);
13998 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13999 if (!SWIG_IsOK(ecode3)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14001 }
14002 arg3 = static_cast< size_t >(val3);
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 (arg1)->RefreshLines(arg2,arg3);
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 resultobj = SWIG_Py_Void();
14010 return resultobj;
14011 fail:
14012 return NULL;
14013 }
14014
14015
14016 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj = 0;
14018 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14019 int arg2 ;
14020 int arg3 ;
14021 int result;
14022 void *argp1 = 0 ;
14023 int res1 = 0 ;
14024 int val2 ;
14025 int ecode2 = 0 ;
14026 int val3 ;
14027 int ecode3 = 0 ;
14028 PyObject * obj0 = 0 ;
14029 PyObject * obj1 = 0 ;
14030 PyObject * obj2 = 0 ;
14031 char * kwnames[] = {
14032 (char *) "self",(char *) "x",(char *) "y", NULL
14033 };
14034
14035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14037 if (!SWIG_IsOK(res1)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14039 }
14040 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14041 ecode2 = SWIG_AsVal_int(obj1, &val2);
14042 if (!SWIG_IsOK(ecode2)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14044 }
14045 arg2 = static_cast< int >(val2);
14046 ecode3 = SWIG_AsVal_int(obj2, &val3);
14047 if (!SWIG_IsOK(ecode3)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14049 }
14050 arg3 = static_cast< int >(val3);
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 resultobj = SWIG_From_int(static_cast< int >(result));
14058 return resultobj;
14059 fail:
14060 return NULL;
14061 }
14062
14063
14064 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj = 0;
14066 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14067 wxPoint *arg2 = 0 ;
14068 int result;
14069 void *argp1 = 0 ;
14070 int res1 = 0 ;
14071 wxPoint temp2 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char * kwnames[] = {
14075 (char *) "self",(char *) "pt", NULL
14076 };
14077
14078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14080 if (!SWIG_IsOK(res1)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14082 }
14083 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14084 {
14085 arg2 = &temp2;
14086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14087 }
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 resultobj = SWIG_From_int(static_cast< int >(result));
14095 return resultobj;
14096 fail:
14097 return NULL;
14098 }
14099
14100
14101 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14102 PyObject *resultobj = 0;
14103 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14104 void *argp1 = 0 ;
14105 int res1 = 0 ;
14106 PyObject *swig_obj[1] ;
14107
14108 if (!args) SWIG_fail;
14109 swig_obj[0] = args;
14110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14111 if (!SWIG_IsOK(res1)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14113 }
14114 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 (arg1)->RefreshAll();
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 resultobj = SWIG_Py_Void();
14122 return resultobj;
14123 fail:
14124 return NULL;
14125 }
14126
14127
14128 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14129 PyObject *resultobj = 0;
14130 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14131 size_t result;
14132 void *argp1 = 0 ;
14133 int res1 = 0 ;
14134 PyObject *swig_obj[1] ;
14135
14136 if (!args) SWIG_fail;
14137 swig_obj[0] = args;
14138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14139 if (!SWIG_IsOK(res1)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14141 }
14142 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14150 return resultobj;
14151 fail:
14152 return NULL;
14153 }
14154
14155
14156 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14157 PyObject *resultobj = 0;
14158 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14159 size_t result;
14160 void *argp1 = 0 ;
14161 int res1 = 0 ;
14162 PyObject *swig_obj[1] ;
14163
14164 if (!args) SWIG_fail;
14165 swig_obj[0] = args;
14166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14167 if (!SWIG_IsOK(res1)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14169 }
14170 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14178 return resultobj;
14179 fail:
14180 return NULL;
14181 }
14182
14183
14184 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(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_GetVisibleEnd" "', 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)->GetVisibleEnd();
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_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14213 PyObject *resultobj = 0;
14214 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14215 size_t arg2 ;
14216 bool result;
14217 void *argp1 = 0 ;
14218 int res1 = 0 ;
14219 size_t val2 ;
14220 int ecode2 = 0 ;
14221 PyObject * obj0 = 0 ;
14222 PyObject * obj1 = 0 ;
14223 char * kwnames[] = {
14224 (char *) "self",(char *) "line", NULL
14225 };
14226
14227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14229 if (!SWIG_IsOK(res1)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14231 }
14232 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14233 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14234 if (!SWIG_IsOK(ecode2)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14236 }
14237 arg2 = static_cast< size_t >(val2);
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 {
14245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14246 }
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14254 PyObject *resultobj = 0;
14255 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14256 size_t result;
14257 void *argp1 = 0 ;
14258 int res1 = 0 ;
14259 PyObject *swig_obj[1] ;
14260
14261 if (!args) SWIG_fail;
14262 swig_obj[0] = args;
14263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14264 if (!SWIG_IsOK(res1)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14266 }
14267 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14271 wxPyEndAllowThreads(__tstate);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14275 return resultobj;
14276 fail:
14277 return NULL;
14278 }
14279
14280
14281 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14282 PyObject *resultobj = 0;
14283 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14284 size_t result;
14285 void *argp1 = 0 ;
14286 int res1 = 0 ;
14287 PyObject *swig_obj[1] ;
14288
14289 if (!args) SWIG_fail;
14290 swig_obj[0] = args;
14291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14292 if (!SWIG_IsOK(res1)) {
14293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14294 }
14295 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14303 return resultobj;
14304 fail:
14305 return NULL;
14306 }
14307
14308
14309 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj = 0;
14311 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14312 size_t arg2 ;
14313 bool arg3 = (bool) false ;
14314 size_t result;
14315 void *argp1 = 0 ;
14316 int res1 = 0 ;
14317 size_t val2 ;
14318 int ecode2 = 0 ;
14319 bool val3 ;
14320 int ecode3 = 0 ;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 PyObject * obj2 = 0 ;
14324 char * kwnames[] = {
14325 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14326 };
14327
14328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14330 if (!SWIG_IsOK(res1)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14332 }
14333 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14334 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14335 if (!SWIG_IsOK(ecode2)) {
14336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14337 }
14338 arg2 = static_cast< size_t >(val2);
14339 if (obj2) {
14340 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14341 if (!SWIG_IsOK(ecode3)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14343 }
14344 arg3 = static_cast< bool >(val3);
14345 }
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj = 0;
14361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14362 size_t arg2 ;
14363 size_t arg3 ;
14364 int result;
14365 void *argp1 = 0 ;
14366 int res1 = 0 ;
14367 size_t val2 ;
14368 int ecode2 = 0 ;
14369 size_t val3 ;
14370 int ecode3 = 0 ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 PyObject * obj2 = 0 ;
14374 char * kwnames[] = {
14375 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14376 };
14377
14378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14380 if (!SWIG_IsOK(res1)) {
14381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14382 }
14383 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14384 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14385 if (!SWIG_IsOK(ecode2)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14387 }
14388 arg2 = static_cast< size_t >(val2);
14389 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14390 if (!SWIG_IsOK(ecode3)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14392 }
14393 arg3 = static_cast< size_t >(val3);
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14397 wxPyEndAllowThreads(__tstate);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 resultobj = SWIG_From_int(static_cast< int >(result));
14401 return resultobj;
14402 fail:
14403 return NULL;
14404 }
14405
14406
14407 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14408 PyObject *obj;
14409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14411 return SWIG_Py_Void();
14412 }
14413
14414 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14415 return SWIG_Python_InitShadowInstance(args);
14416 }
14417
14418 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14419 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14420 return 1;
14421 }
14422
14423
14424 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14425 PyObject *pyobj = 0;
14426
14427 {
14428 #if wxUSE_UNICODE
14429 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14430 #else
14431 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14432 #endif
14433 }
14434 return pyobj;
14435 }
14436
14437
14438 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14439 PyObject *resultobj = 0;
14440 wxWindow *arg1 = (wxWindow *) 0 ;
14441 int arg2 = (int) wxID_ANY ;
14442 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14443 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14444 wxSize const &arg4_defvalue = wxDefaultSize ;
14445 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14446 long arg5 = (long) 0 ;
14447 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14448 wxString *arg6 = (wxString *) &arg6_defvalue ;
14449 wxPyVListBox *result = 0 ;
14450 void *argp1 = 0 ;
14451 int res1 = 0 ;
14452 int val2 ;
14453 int ecode2 = 0 ;
14454 wxPoint temp3 ;
14455 wxSize temp4 ;
14456 long val5 ;
14457 int ecode5 = 0 ;
14458 bool temp6 = false ;
14459 PyObject * obj0 = 0 ;
14460 PyObject * obj1 = 0 ;
14461 PyObject * obj2 = 0 ;
14462 PyObject * obj3 = 0 ;
14463 PyObject * obj4 = 0 ;
14464 PyObject * obj5 = 0 ;
14465 char * kwnames[] = {
14466 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14467 };
14468
14469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14471 if (!SWIG_IsOK(res1)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14473 }
14474 arg1 = reinterpret_cast< wxWindow * >(argp1);
14475 if (obj1) {
14476 ecode2 = SWIG_AsVal_int(obj1, &val2);
14477 if (!SWIG_IsOK(ecode2)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14479 }
14480 arg2 = static_cast< int >(val2);
14481 }
14482 if (obj2) {
14483 {
14484 arg3 = &temp3;
14485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14486 }
14487 }
14488 if (obj3) {
14489 {
14490 arg4 = &temp4;
14491 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14492 }
14493 }
14494 if (obj4) {
14495 ecode5 = SWIG_AsVal_long(obj4, &val5);
14496 if (!SWIG_IsOK(ecode5)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14498 }
14499 arg5 = static_cast< long >(val5);
14500 }
14501 if (obj5) {
14502 {
14503 arg6 = wxString_in_helper(obj5);
14504 if (arg6 == NULL) SWIG_fail;
14505 temp6 = true;
14506 }
14507 }
14508 {
14509 if (!wxPyCheckForApp()) SWIG_fail;
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14516 {
14517 if (temp6)
14518 delete arg6;
14519 }
14520 return resultobj;
14521 fail:
14522 {
14523 if (temp6)
14524 delete arg6;
14525 }
14526 return NULL;
14527 }
14528
14529
14530 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14531 PyObject *resultobj = 0;
14532 wxPyVListBox *result = 0 ;
14533
14534 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14535 {
14536 if (!wxPyCheckForApp()) SWIG_fail;
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = (wxPyVListBox *)new wxPyVListBox();
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14543 return resultobj;
14544 fail:
14545 return NULL;
14546 }
14547
14548
14549 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj = 0;
14551 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14552 PyObject *arg2 = (PyObject *) 0 ;
14553 PyObject *arg3 = (PyObject *) 0 ;
14554 void *argp1 = 0 ;
14555 int res1 = 0 ;
14556 PyObject * obj0 = 0 ;
14557 PyObject * obj1 = 0 ;
14558 PyObject * obj2 = 0 ;
14559 char * kwnames[] = {
14560 (char *) "self",(char *) "self",(char *) "_class", NULL
14561 };
14562
14563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14565 if (!SWIG_IsOK(res1)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14567 }
14568 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14569 arg2 = obj1;
14570 arg3 = obj2;
14571 {
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 (arg1)->_setCallbackInfo(arg2,arg3);
14574 wxPyEndAllowThreads(__tstate);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 }
14577 resultobj = SWIG_Py_Void();
14578 return resultobj;
14579 fail:
14580 return NULL;
14581 }
14582
14583
14584 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj = 0;
14586 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14587 wxWindow *arg2 = (wxWindow *) 0 ;
14588 int arg3 = (int) wxID_ANY ;
14589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14591 wxSize const &arg5_defvalue = wxDefaultSize ;
14592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14593 long arg6 = (long) 0 ;
14594 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14595 wxString *arg7 = (wxString *) &arg7_defvalue ;
14596 bool result;
14597 void *argp1 = 0 ;
14598 int res1 = 0 ;
14599 void *argp2 = 0 ;
14600 int res2 = 0 ;
14601 int val3 ;
14602 int ecode3 = 0 ;
14603 wxPoint temp4 ;
14604 wxSize temp5 ;
14605 long val6 ;
14606 int ecode6 = 0 ;
14607 bool temp7 = false ;
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
14610 PyObject * obj2 = 0 ;
14611 PyObject * obj3 = 0 ;
14612 PyObject * obj4 = 0 ;
14613 PyObject * obj5 = 0 ;
14614 PyObject * obj6 = 0 ;
14615 char * kwnames[] = {
14616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14617 };
14618
14619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14621 if (!SWIG_IsOK(res1)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14623 }
14624 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14625 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14626 if (!SWIG_IsOK(res2)) {
14627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14628 }
14629 arg2 = reinterpret_cast< wxWindow * >(argp2);
14630 if (obj2) {
14631 ecode3 = SWIG_AsVal_int(obj2, &val3);
14632 if (!SWIG_IsOK(ecode3)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14634 }
14635 arg3 = static_cast< int >(val3);
14636 }
14637 if (obj3) {
14638 {
14639 arg4 = &temp4;
14640 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14641 }
14642 }
14643 if (obj4) {
14644 {
14645 arg5 = &temp5;
14646 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14647 }
14648 }
14649 if (obj5) {
14650 ecode6 = SWIG_AsVal_long(obj5, &val6);
14651 if (!SWIG_IsOK(ecode6)) {
14652 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14653 }
14654 arg6 = static_cast< long >(val6);
14655 }
14656 if (obj6) {
14657 {
14658 arg7 = wxString_in_helper(obj6);
14659 if (arg7 == NULL) SWIG_fail;
14660 temp7 = true;
14661 }
14662 }
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 {
14670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14671 }
14672 {
14673 if (temp7)
14674 delete arg7;
14675 }
14676 return resultobj;
14677 fail:
14678 {
14679 if (temp7)
14680 delete arg7;
14681 }
14682 return NULL;
14683 }
14684
14685
14686 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14687 PyObject *resultobj = 0;
14688 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14689 size_t result;
14690 void *argp1 = 0 ;
14691 int res1 = 0 ;
14692 PyObject *swig_obj[1] ;
14693
14694 if (!args) SWIG_fail;
14695 swig_obj[0] = args;
14696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14697 if (!SWIG_IsOK(res1)) {
14698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14699 }
14700 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14708 return resultobj;
14709 fail:
14710 return NULL;
14711 }
14712
14713
14714 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14715 PyObject *resultobj = 0;
14716 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14717 bool result;
14718 void *argp1 = 0 ;
14719 int res1 = 0 ;
14720 PyObject *swig_obj[1] ;
14721
14722 if (!args) SWIG_fail;
14723 swig_obj[0] = args;
14724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14725 if (!SWIG_IsOK(res1)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14727 }
14728 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
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_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14745 PyObject *resultobj = 0;
14746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14747 int result;
14748 void *argp1 = 0 ;
14749 int res1 = 0 ;
14750 PyObject *swig_obj[1] ;
14751
14752 if (!args) SWIG_fail;
14753 swig_obj[0] = args;
14754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14755 if (!SWIG_IsOK(res1)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14757 }
14758 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = SWIG_From_int(static_cast< int >(result));
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj = 0;
14774 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14775 size_t arg2 ;
14776 bool result;
14777 void *argp1 = 0 ;
14778 int res1 = 0 ;
14779 size_t val2 ;
14780 int ecode2 = 0 ;
14781 PyObject * obj0 = 0 ;
14782 PyObject * obj1 = 0 ;
14783 char * kwnames[] = {
14784 (char *) "self",(char *) "item", NULL
14785 };
14786
14787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14789 if (!SWIG_IsOK(res1)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14791 }
14792 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14793 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14794 if (!SWIG_IsOK(ecode2)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14796 }
14797 arg2 = static_cast< size_t >(val2);
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 {
14805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14806 }
14807 return resultobj;
14808 fail:
14809 return NULL;
14810 }
14811
14812
14813 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj = 0;
14815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14816 size_t arg2 ;
14817 bool result;
14818 void *argp1 = 0 ;
14819 int res1 = 0 ;
14820 size_t val2 ;
14821 int ecode2 = 0 ;
14822 PyObject * obj0 = 0 ;
14823 PyObject * obj1 = 0 ;
14824 char * kwnames[] = {
14825 (char *) "self",(char *) "item", NULL
14826 };
14827
14828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14830 if (!SWIG_IsOK(res1)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14832 }
14833 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14834 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14835 if (!SWIG_IsOK(ecode2)) {
14836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14837 }
14838 arg2 = static_cast< size_t >(val2);
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 {
14846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14847 }
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14855 PyObject *resultobj = 0;
14856 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14857 size_t result;
14858 void *argp1 = 0 ;
14859 int res1 = 0 ;
14860 PyObject *swig_obj[1] ;
14861
14862 if (!args) SWIG_fail;
14863 swig_obj[0] = args;
14864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14865 if (!SWIG_IsOK(res1)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14867 }
14868 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14876 return resultobj;
14877 fail:
14878 return NULL;
14879 }
14880
14881
14882 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14883 PyObject *resultobj = 0;
14884 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14885 PyObject *result = 0 ;
14886 void *argp1 = 0 ;
14887 int res1 = 0 ;
14888 PyObject *swig_obj[1] ;
14889
14890 if (!args) SWIG_fail;
14891 swig_obj[0] = args;
14892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14893 if (!SWIG_IsOK(res1)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14895 }
14896 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14897 {
14898 PyThreadState* __tstate = wxPyBeginAllowThreads();
14899 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 resultobj = result;
14904 return resultobj;
14905 fail:
14906 return NULL;
14907 }
14908
14909
14910 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14911 PyObject *resultobj = 0;
14912 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14913 unsigned long arg2 ;
14914 PyObject *result = 0 ;
14915 void *argp1 = 0 ;
14916 int res1 = 0 ;
14917 unsigned long val2 ;
14918 int ecode2 = 0 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 char * kwnames[] = {
14922 (char *) "self",(char *) "cookie", NULL
14923 };
14924
14925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14927 if (!SWIG_IsOK(res1)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14929 }
14930 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14931 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14932 if (!SWIG_IsOK(ecode2)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14934 }
14935 arg2 = static_cast< unsigned long >(val2);
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = result;
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14950 PyObject *resultobj = 0;
14951 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14952 wxPoint result;
14953 void *argp1 = 0 ;
14954 int res1 = 0 ;
14955 PyObject *swig_obj[1] ;
14956
14957 if (!args) SWIG_fail;
14958 swig_obj[0] = args;
14959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14960 if (!SWIG_IsOK(res1)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14962 }
14963 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = ((wxPyVListBox const *)arg1)->GetMargins();
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14978 PyObject *resultobj = 0;
14979 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14980 wxColour *result = 0 ;
14981 void *argp1 = 0 ;
14982 int res1 = 0 ;
14983 PyObject *swig_obj[1] ;
14984
14985 if (!args) SWIG_fail;
14986 swig_obj[0] = args;
14987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14988 if (!SWIG_IsOK(res1)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14990 }
14991 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 {
14995 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14996 result = (wxColour *) &_result_ref;
14997 }
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj = 0;
15010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15011 size_t arg2 ;
15012 void *argp1 = 0 ;
15013 int res1 = 0 ;
15014 size_t val2 ;
15015 int ecode2 = 0 ;
15016 PyObject * obj0 = 0 ;
15017 PyObject * obj1 = 0 ;
15018 char * kwnames[] = {
15019 (char *) "self",(char *) "count", NULL
15020 };
15021
15022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15024 if (!SWIG_IsOK(res1)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15026 }
15027 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15028 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15029 if (!SWIG_IsOK(ecode2)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15031 }
15032 arg2 = static_cast< size_t >(val2);
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->SetItemCount(arg2);
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_Py_Void();
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15047 PyObject *resultobj = 0;
15048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15049 void *argp1 = 0 ;
15050 int res1 = 0 ;
15051 PyObject *swig_obj[1] ;
15052
15053 if (!args) SWIG_fail;
15054 swig_obj[0] = args;
15055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15056 if (!SWIG_IsOK(res1)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15058 }
15059 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 (arg1)->Clear();
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 resultobj = SWIG_Py_Void();
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj = 0;
15075 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15076 int arg2 ;
15077 void *argp1 = 0 ;
15078 int res1 = 0 ;
15079 int val2 ;
15080 int ecode2 = 0 ;
15081 PyObject * obj0 = 0 ;
15082 PyObject * obj1 = 0 ;
15083 char * kwnames[] = {
15084 (char *) "self",(char *) "selection", NULL
15085 };
15086
15087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15089 if (!SWIG_IsOK(res1)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15091 }
15092 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15093 ecode2 = SWIG_AsVal_int(obj1, &val2);
15094 if (!SWIG_IsOK(ecode2)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15096 }
15097 arg2 = static_cast< int >(val2);
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 (arg1)->SetSelection(arg2);
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 resultobj = SWIG_Py_Void();
15105 return resultobj;
15106 fail:
15107 return NULL;
15108 }
15109
15110
15111 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj = 0;
15113 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15114 size_t arg2 ;
15115 bool arg3 = (bool) true ;
15116 bool result;
15117 void *argp1 = 0 ;
15118 int res1 = 0 ;
15119 size_t val2 ;
15120 int ecode2 = 0 ;
15121 bool val3 ;
15122 int ecode3 = 0 ;
15123 PyObject * obj0 = 0 ;
15124 PyObject * obj1 = 0 ;
15125 PyObject * obj2 = 0 ;
15126 char * kwnames[] = {
15127 (char *) "self",(char *) "item",(char *) "select", NULL
15128 };
15129
15130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15132 if (!SWIG_IsOK(res1)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15134 }
15135 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15136 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15137 if (!SWIG_IsOK(ecode2)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15139 }
15140 arg2 = static_cast< size_t >(val2);
15141 if (obj2) {
15142 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15143 if (!SWIG_IsOK(ecode3)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15145 }
15146 arg3 = static_cast< bool >(val3);
15147 }
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 result = (bool)(arg1)->Select(arg2,arg3);
15151 wxPyEndAllowThreads(__tstate);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 {
15155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15156 }
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj = 0;
15165 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15166 size_t arg2 ;
15167 size_t arg3 ;
15168 bool result;
15169 void *argp1 = 0 ;
15170 int res1 = 0 ;
15171 size_t val2 ;
15172 int ecode2 = 0 ;
15173 size_t val3 ;
15174 int ecode3 = 0 ;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 PyObject * obj2 = 0 ;
15178 char * kwnames[] = {
15179 (char *) "self",(char *) "from",(char *) "to", NULL
15180 };
15181
15182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15184 if (!SWIG_IsOK(res1)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15186 }
15187 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15188 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15189 if (!SWIG_IsOK(ecode2)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15191 }
15192 arg2 = static_cast< size_t >(val2);
15193 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15194 if (!SWIG_IsOK(ecode3)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15196 }
15197 arg3 = static_cast< size_t >(val3);
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 result = (bool)(arg1)->SelectRange(arg2,arg3);
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 {
15205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15206 }
15207 return resultobj;
15208 fail:
15209 return NULL;
15210 }
15211
15212
15213 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj = 0;
15215 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15216 size_t arg2 ;
15217 void *argp1 = 0 ;
15218 int res1 = 0 ;
15219 size_t val2 ;
15220 int ecode2 = 0 ;
15221 PyObject * obj0 = 0 ;
15222 PyObject * obj1 = 0 ;
15223 char * kwnames[] = {
15224 (char *) "self",(char *) "item", NULL
15225 };
15226
15227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15229 if (!SWIG_IsOK(res1)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15231 }
15232 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15233 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15234 if (!SWIG_IsOK(ecode2)) {
15235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15236 }
15237 arg2 = static_cast< size_t >(val2);
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 (arg1)->Toggle(arg2);
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 resultobj = SWIG_Py_Void();
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15252 PyObject *resultobj = 0;
15253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15254 bool result;
15255 void *argp1 = 0 ;
15256 int res1 = 0 ;
15257 PyObject *swig_obj[1] ;
15258
15259 if (!args) SWIG_fail;
15260 swig_obj[0] = args;
15261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15262 if (!SWIG_IsOK(res1)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15264 }
15265 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = (bool)(arg1)->SelectAll();
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 {
15273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15274 }
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15282 PyObject *resultobj = 0;
15283 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15284 bool result;
15285 void *argp1 = 0 ;
15286 int res1 = 0 ;
15287 PyObject *swig_obj[1] ;
15288
15289 if (!args) SWIG_fail;
15290 swig_obj[0] = args;
15291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15292 if (!SWIG_IsOK(res1)) {
15293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15294 }
15295 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (bool)(arg1)->DeselectAll();
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 {
15303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15304 }
15305 return resultobj;
15306 fail:
15307 return NULL;
15308 }
15309
15310
15311 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15312 PyObject *resultobj = 0;
15313 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15314 wxPoint *arg2 = 0 ;
15315 void *argp1 = 0 ;
15316 int res1 = 0 ;
15317 wxPoint temp2 ;
15318 PyObject * obj0 = 0 ;
15319 PyObject * obj1 = 0 ;
15320 char * kwnames[] = {
15321 (char *) "self",(char *) "pt", NULL
15322 };
15323
15324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15326 if (!SWIG_IsOK(res1)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15328 }
15329 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15330 {
15331 arg2 = &temp2;
15332 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15333 }
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 (arg1)->SetMargins((wxPoint const &)*arg2);
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 resultobj = SWIG_Py_Void();
15341 return resultobj;
15342 fail:
15343 return NULL;
15344 }
15345
15346
15347 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj = 0;
15349 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15350 int arg2 ;
15351 int arg3 ;
15352 void *argp1 = 0 ;
15353 int res1 = 0 ;
15354 int val2 ;
15355 int ecode2 = 0 ;
15356 int val3 ;
15357 int ecode3 = 0 ;
15358 PyObject * obj0 = 0 ;
15359 PyObject * obj1 = 0 ;
15360 PyObject * obj2 = 0 ;
15361 char * kwnames[] = {
15362 (char *) "self",(char *) "x",(char *) "y", NULL
15363 };
15364
15365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15367 if (!SWIG_IsOK(res1)) {
15368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15369 }
15370 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15371 ecode2 = SWIG_AsVal_int(obj1, &val2);
15372 if (!SWIG_IsOK(ecode2)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15374 }
15375 arg2 = static_cast< int >(val2);
15376 ecode3 = SWIG_AsVal_int(obj2, &val3);
15377 if (!SWIG_IsOK(ecode3)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15379 }
15380 arg3 = static_cast< int >(val3);
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 (arg1)->SetMargins(arg2,arg3);
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 resultobj = SWIG_Py_Void();
15388 return resultobj;
15389 fail:
15390 return NULL;
15391 }
15392
15393
15394 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15395 PyObject *resultobj = 0;
15396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15397 wxColour *arg2 = 0 ;
15398 void *argp1 = 0 ;
15399 int res1 = 0 ;
15400 wxColour temp2 ;
15401 PyObject * obj0 = 0 ;
15402 PyObject * obj1 = 0 ;
15403 char * kwnames[] = {
15404 (char *) "self",(char *) "col", NULL
15405 };
15406
15407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15409 if (!SWIG_IsOK(res1)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15411 }
15412 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15413 {
15414 arg2 = &temp2;
15415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15416 }
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 resultobj = SWIG_Py_Void();
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj = 0;
15432 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15433 wxDC *arg2 = 0 ;
15434 wxRect *arg3 = 0 ;
15435 size_t arg4 ;
15436 void *argp1 = 0 ;
15437 int res1 = 0 ;
15438 void *argp2 = 0 ;
15439 int res2 = 0 ;
15440 wxRect temp3 ;
15441 size_t val4 ;
15442 int ecode4 = 0 ;
15443 PyObject * obj0 = 0 ;
15444 PyObject * obj1 = 0 ;
15445 PyObject * obj2 = 0 ;
15446 PyObject * obj3 = 0 ;
15447 char * kwnames[] = {
15448 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15449 };
15450
15451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15453 if (!SWIG_IsOK(res1)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15455 }
15456 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15457 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15458 if (!SWIG_IsOK(res2)) {
15459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15460 }
15461 if (!argp2) {
15462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15463 }
15464 arg2 = reinterpret_cast< wxDC * >(argp2);
15465 {
15466 arg3 = &temp3;
15467 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15468 }
15469 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15470 if (!SWIG_IsOK(ecode4)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15472 }
15473 arg4 = static_cast< size_t >(val4);
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
15480 resultobj = SWIG_Py_Void();
15481 return resultobj;
15482 fail:
15483 return NULL;
15484 }
15485
15486
15487 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj = 0;
15489 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15490 wxDC *arg2 = 0 ;
15491 wxRect *arg3 = 0 ;
15492 size_t arg4 ;
15493 void *argp1 = 0 ;
15494 int res1 = 0 ;
15495 void *argp2 = 0 ;
15496 int res2 = 0 ;
15497 wxRect temp3 ;
15498 size_t val4 ;
15499 int ecode4 = 0 ;
15500 PyObject * obj0 = 0 ;
15501 PyObject * obj1 = 0 ;
15502 PyObject * obj2 = 0 ;
15503 PyObject * obj3 = 0 ;
15504 char * kwnames[] = {
15505 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15506 };
15507
15508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15510 if (!SWIG_IsOK(res1)) {
15511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15512 }
15513 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15514 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15515 if (!SWIG_IsOK(res2)) {
15516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15517 }
15518 if (!argp2) {
15519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15520 }
15521 arg2 = reinterpret_cast< wxDC * >(argp2);
15522 {
15523 arg3 = &temp3;
15524 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15525 }
15526 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15527 if (!SWIG_IsOK(ecode4)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15529 }
15530 arg4 = static_cast< size_t >(val4);
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 resultobj = SWIG_Py_Void();
15538 return resultobj;
15539 fail:
15540 return NULL;
15541 }
15542
15543
15544 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15545 PyObject *obj;
15546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15547 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15548 return SWIG_Py_Void();
15549 }
15550
15551 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15552 return SWIG_Python_InitShadowInstance(args);
15553 }
15554
15555 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15556 PyObject *resultobj = 0;
15557 wxWindow *arg1 = (wxWindow *) 0 ;
15558 int arg2 = (int) wxID_ANY ;
15559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15561 wxSize const &arg4_defvalue = wxDefaultSize ;
15562 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15563 long arg5 = (long) 0 ;
15564 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15565 wxString *arg6 = (wxString *) &arg6_defvalue ;
15566 wxPyHtmlListBox *result = 0 ;
15567 void *argp1 = 0 ;
15568 int res1 = 0 ;
15569 int val2 ;
15570 int ecode2 = 0 ;
15571 wxPoint temp3 ;
15572 wxSize temp4 ;
15573 long val5 ;
15574 int ecode5 = 0 ;
15575 bool temp6 = false ;
15576 PyObject * obj0 = 0 ;
15577 PyObject * obj1 = 0 ;
15578 PyObject * obj2 = 0 ;
15579 PyObject * obj3 = 0 ;
15580 PyObject * obj4 = 0 ;
15581 PyObject * obj5 = 0 ;
15582 char * kwnames[] = {
15583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15584 };
15585
15586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15588 if (!SWIG_IsOK(res1)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15590 }
15591 arg1 = reinterpret_cast< wxWindow * >(argp1);
15592 if (obj1) {
15593 ecode2 = SWIG_AsVal_int(obj1, &val2);
15594 if (!SWIG_IsOK(ecode2)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15596 }
15597 arg2 = static_cast< int >(val2);
15598 }
15599 if (obj2) {
15600 {
15601 arg3 = &temp3;
15602 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15603 }
15604 }
15605 if (obj3) {
15606 {
15607 arg4 = &temp4;
15608 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15609 }
15610 }
15611 if (obj4) {
15612 ecode5 = SWIG_AsVal_long(obj4, &val5);
15613 if (!SWIG_IsOK(ecode5)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15615 }
15616 arg5 = static_cast< long >(val5);
15617 }
15618 if (obj5) {
15619 {
15620 arg6 = wxString_in_helper(obj5);
15621 if (arg6 == NULL) SWIG_fail;
15622 temp6 = true;
15623 }
15624 }
15625 {
15626 if (!wxPyCheckForApp()) SWIG_fail;
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15633 {
15634 if (temp6)
15635 delete arg6;
15636 }
15637 return resultobj;
15638 fail:
15639 {
15640 if (temp6)
15641 delete arg6;
15642 }
15643 return NULL;
15644 }
15645
15646
15647 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15648 PyObject *resultobj = 0;
15649 wxPyHtmlListBox *result = 0 ;
15650
15651 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15652 {
15653 if (!wxPyCheckForApp()) SWIG_fail;
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15660 return resultobj;
15661 fail:
15662 return NULL;
15663 }
15664
15665
15666 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj = 0;
15668 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15669 PyObject *arg2 = (PyObject *) 0 ;
15670 PyObject *arg3 = (PyObject *) 0 ;
15671 void *argp1 = 0 ;
15672 int res1 = 0 ;
15673 PyObject * obj0 = 0 ;
15674 PyObject * obj1 = 0 ;
15675 PyObject * obj2 = 0 ;
15676 char * kwnames[] = {
15677 (char *) "self",(char *) "self",(char *) "_class", NULL
15678 };
15679
15680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15682 if (!SWIG_IsOK(res1)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15684 }
15685 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15686 arg2 = obj1;
15687 arg3 = obj2;
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 (arg1)->_setCallbackInfo(arg2,arg3);
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 resultobj = SWIG_Py_Void();
15695 return resultobj;
15696 fail:
15697 return NULL;
15698 }
15699
15700
15701 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj = 0;
15703 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15704 wxWindow *arg2 = (wxWindow *) 0 ;
15705 int arg3 = (int) wxID_ANY ;
15706 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15707 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15708 wxSize const &arg5_defvalue = wxDefaultSize ;
15709 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15710 long arg6 = (long) 0 ;
15711 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15712 wxString *arg7 = (wxString *) &arg7_defvalue ;
15713 bool result;
15714 void *argp1 = 0 ;
15715 int res1 = 0 ;
15716 void *argp2 = 0 ;
15717 int res2 = 0 ;
15718 int val3 ;
15719 int ecode3 = 0 ;
15720 wxPoint temp4 ;
15721 wxSize temp5 ;
15722 long val6 ;
15723 int ecode6 = 0 ;
15724 bool temp7 = false ;
15725 PyObject * obj0 = 0 ;
15726 PyObject * obj1 = 0 ;
15727 PyObject * obj2 = 0 ;
15728 PyObject * obj3 = 0 ;
15729 PyObject * obj4 = 0 ;
15730 PyObject * obj5 = 0 ;
15731 PyObject * obj6 = 0 ;
15732 char * kwnames[] = {
15733 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15734 };
15735
15736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15738 if (!SWIG_IsOK(res1)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15740 }
15741 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15742 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15743 if (!SWIG_IsOK(res2)) {
15744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15745 }
15746 arg2 = reinterpret_cast< wxWindow * >(argp2);
15747 if (obj2) {
15748 ecode3 = SWIG_AsVal_int(obj2, &val3);
15749 if (!SWIG_IsOK(ecode3)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15751 }
15752 arg3 = static_cast< int >(val3);
15753 }
15754 if (obj3) {
15755 {
15756 arg4 = &temp4;
15757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15758 }
15759 }
15760 if (obj4) {
15761 {
15762 arg5 = &temp5;
15763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15764 }
15765 }
15766 if (obj5) {
15767 ecode6 = SWIG_AsVal_long(obj5, &val6);
15768 if (!SWIG_IsOK(ecode6)) {
15769 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15770 }
15771 arg6 = static_cast< long >(val6);
15772 }
15773 if (obj6) {
15774 {
15775 arg7 = wxString_in_helper(obj6);
15776 if (arg7 == NULL) SWIG_fail;
15777 temp7 = true;
15778 }
15779 }
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 {
15787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15788 }
15789 {
15790 if (temp7)
15791 delete arg7;
15792 }
15793 return resultobj;
15794 fail:
15795 {
15796 if (temp7)
15797 delete arg7;
15798 }
15799 return NULL;
15800 }
15801
15802
15803 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj = 0;
15805 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15806 size_t arg2 ;
15807 void *argp1 = 0 ;
15808 int res1 = 0 ;
15809 size_t val2 ;
15810 int ecode2 = 0 ;
15811 PyObject * obj0 = 0 ;
15812 PyObject * obj1 = 0 ;
15813 char * kwnames[] = {
15814 (char *) "self",(char *) "count", NULL
15815 };
15816
15817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15819 if (!SWIG_IsOK(res1)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15821 }
15822 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15823 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15824 if (!SWIG_IsOK(ecode2)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15826 }
15827 arg2 = static_cast< size_t >(val2);
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 (arg1)->SetItemCount(arg2);
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 resultobj = SWIG_Py_Void();
15835 return resultobj;
15836 fail:
15837 return NULL;
15838 }
15839
15840
15841 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15842 PyObject *resultobj = 0;
15843 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15844 wxFileSystem *result = 0 ;
15845 void *argp1 = 0 ;
15846 int res1 = 0 ;
15847 PyObject *swig_obj[1] ;
15848
15849 if (!args) SWIG_fail;
15850 swig_obj[0] = args;
15851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15852 if (!SWIG_IsOK(res1)) {
15853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15854 }
15855 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 {
15859 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15860 result = (wxFileSystem *) &_result_ref;
15861 }
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj = 0;
15874 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15875 size_t arg2 ;
15876 wxHtmlLinkInfo *arg3 = 0 ;
15877 void *argp1 = 0 ;
15878 int res1 = 0 ;
15879 size_t val2 ;
15880 int ecode2 = 0 ;
15881 void *argp3 = 0 ;
15882 int res3 = 0 ;
15883 PyObject * obj0 = 0 ;
15884 PyObject * obj1 = 0 ;
15885 PyObject * obj2 = 0 ;
15886 char * kwnames[] = {
15887 (char *) "self",(char *) "n",(char *) "link", NULL
15888 };
15889
15890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15892 if (!SWIG_IsOK(res1)) {
15893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15894 }
15895 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15896 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15897 if (!SWIG_IsOK(ecode2)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15899 }
15900 arg2 = static_cast< size_t >(val2);
15901 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15902 if (!SWIG_IsOK(res3)) {
15903 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15904 }
15905 if (!argp3) {
15906 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15907 }
15908 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15909 {
15910 PyThreadState* __tstate = wxPyBeginAllowThreads();
15911 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15912 wxPyEndAllowThreads(__tstate);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 resultobj = SWIG_Py_Void();
15916 return resultobj;
15917 fail:
15918 return NULL;
15919 }
15920
15921
15922 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15923 PyObject *obj;
15924 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15925 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15926 return SWIG_Py_Void();
15927 }
15928
15929 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15930 return SWIG_Python_InitShadowInstance(args);
15931 }
15932
15933 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15934 PyObject *resultobj = 0;
15935 wxPyTaskBarIcon *result = 0 ;
15936
15937 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15938 {
15939 if (!wxPyCheckForApp()) SWIG_fail;
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15953 PyObject *resultobj = 0;
15954 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15955 void *argp1 = 0 ;
15956 int res1 = 0 ;
15957 PyObject *swig_obj[1] ;
15958
15959 if (!args) SWIG_fail;
15960 swig_obj[0] = args;
15961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15962 if (!SWIG_IsOK(res1)) {
15963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15964 }
15965 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 delete arg1;
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 resultobj = SWIG_Py_Void();
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj = 0;
15982 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15983 PyObject *arg2 = (PyObject *) 0 ;
15984 PyObject *arg3 = (PyObject *) 0 ;
15985 int arg4 ;
15986 void *argp1 = 0 ;
15987 int res1 = 0 ;
15988 int val4 ;
15989 int ecode4 = 0 ;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 PyObject * obj2 = 0 ;
15993 PyObject * obj3 = 0 ;
15994 char * kwnames[] = {
15995 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15996 };
15997
15998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16000 if (!SWIG_IsOK(res1)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16002 }
16003 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16004 arg2 = obj1;
16005 arg3 = obj2;
16006 ecode4 = SWIG_AsVal_int(obj3, &val4);
16007 if (!SWIG_IsOK(ecode4)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16009 }
16010 arg4 = static_cast< int >(val4);
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16014 wxPyEndAllowThreads(__tstate);
16015 if (PyErr_Occurred()) SWIG_fail;
16016 }
16017 resultobj = SWIG_Py_Void();
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16025 PyObject *resultobj = 0;
16026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16027 void *argp1 = 0 ;
16028 int res1 = 0 ;
16029 PyObject *swig_obj[1] ;
16030
16031 if (!args) SWIG_fail;
16032 swig_obj[0] = args;
16033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16034 if (!SWIG_IsOK(res1)) {
16035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16036 }
16037 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16038 {
16039 PyThreadState* __tstate = wxPyBeginAllowThreads();
16040 wxPyTaskBarIcon_Destroy(arg1);
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 resultobj = SWIG_Py_Void();
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16052 PyObject *resultobj = 0;
16053 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16054 bool result;
16055 void *argp1 = 0 ;
16056 int res1 = 0 ;
16057 PyObject *swig_obj[1] ;
16058
16059 if (!args) SWIG_fail;
16060 swig_obj[0] = args;
16061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16062 if (!SWIG_IsOK(res1)) {
16063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16064 }
16065 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 {
16073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16074 }
16075 return resultobj;
16076 fail:
16077 return NULL;
16078 }
16079
16080
16081 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16082 PyObject *resultobj = 0;
16083 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16084 bool result;
16085 void *argp1 = 0 ;
16086 int res1 = 0 ;
16087 PyObject *swig_obj[1] ;
16088
16089 if (!args) SWIG_fail;
16090 swig_obj[0] = args;
16091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16092 if (!SWIG_IsOK(res1)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16094 }
16095 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 {
16103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16104 }
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj = 0;
16113 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16114 wxIcon *arg2 = 0 ;
16115 wxString const &arg3_defvalue = wxPyEmptyString ;
16116 wxString *arg3 = (wxString *) &arg3_defvalue ;
16117 bool result;
16118 void *argp1 = 0 ;
16119 int res1 = 0 ;
16120 void *argp2 = 0 ;
16121 int res2 = 0 ;
16122 bool temp3 = false ;
16123 PyObject * obj0 = 0 ;
16124 PyObject * obj1 = 0 ;
16125 PyObject * obj2 = 0 ;
16126 char * kwnames[] = {
16127 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16128 };
16129
16130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16132 if (!SWIG_IsOK(res1)) {
16133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16134 }
16135 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16136 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16137 if (!SWIG_IsOK(res2)) {
16138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16139 }
16140 if (!argp2) {
16141 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16142 }
16143 arg2 = reinterpret_cast< wxIcon * >(argp2);
16144 if (obj2) {
16145 {
16146 arg3 = wxString_in_helper(obj2);
16147 if (arg3 == NULL) SWIG_fail;
16148 temp3 = true;
16149 }
16150 }
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 {
16158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16159 }
16160 {
16161 if (temp3)
16162 delete arg3;
16163 }
16164 return resultobj;
16165 fail:
16166 {
16167 if (temp3)
16168 delete arg3;
16169 }
16170 return NULL;
16171 }
16172
16173
16174 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16175 PyObject *resultobj = 0;
16176 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16177 bool result;
16178 void *argp1 = 0 ;
16179 int res1 = 0 ;
16180 PyObject *swig_obj[1] ;
16181
16182 if (!args) SWIG_fail;
16183 swig_obj[0] = args;
16184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16185 if (!SWIG_IsOK(res1)) {
16186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16187 }
16188 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 result = (bool)(arg1)->RemoveIcon();
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 {
16196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16197 }
16198 return resultobj;
16199 fail:
16200 return NULL;
16201 }
16202
16203
16204 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj = 0;
16206 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16207 wxMenu *arg2 = (wxMenu *) 0 ;
16208 bool result;
16209 void *argp1 = 0 ;
16210 int res1 = 0 ;
16211 void *argp2 = 0 ;
16212 int res2 = 0 ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char * kwnames[] = {
16216 (char *) "self",(char *) "menu", NULL
16217 };
16218
16219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16221 if (!SWIG_IsOK(res1)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16223 }
16224 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16226 if (!SWIG_IsOK(res2)) {
16227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16228 }
16229 arg2 = reinterpret_cast< wxMenu * >(argp2);
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = (bool)(arg1)->PopupMenu(arg2);
16233 wxPyEndAllowThreads(__tstate);
16234 if (PyErr_Occurred()) SWIG_fail;
16235 }
16236 {
16237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16238 }
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16246 PyObject *obj;
16247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16249 return SWIG_Py_Void();
16250 }
16251
16252 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16253 return SWIG_Python_InitShadowInstance(args);
16254 }
16255
16256 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj = 0;
16258 wxEventType arg1 ;
16259 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16260 wxTaskBarIconEvent *result = 0 ;
16261 int val1 ;
16262 int ecode1 = 0 ;
16263 void *argp2 = 0 ;
16264 int res2 = 0 ;
16265 PyObject * obj0 = 0 ;
16266 PyObject * obj1 = 0 ;
16267 char * kwnames[] = {
16268 (char *) "evtType",(char *) "tbIcon", NULL
16269 };
16270
16271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16272 ecode1 = SWIG_AsVal_int(obj0, &val1);
16273 if (!SWIG_IsOK(ecode1)) {
16274 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16275 }
16276 arg1 = static_cast< wxEventType >(val1);
16277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16278 if (!SWIG_IsOK(res2)) {
16279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16280 }
16281 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16296 PyObject *obj;
16297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16298 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16299 return SWIG_Py_Void();
16300 }
16301
16302 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16303 return SWIG_Python_InitShadowInstance(args);
16304 }
16305
16306 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16307 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16308 return 1;
16309 }
16310
16311
16312 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16313 PyObject *pyobj = 0;
16314
16315 {
16316 #if wxUSE_UNICODE
16317 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16318 #else
16319 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16320 #endif
16321 }
16322 return pyobj;
16323 }
16324
16325
16326 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16327 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16328 return 1;
16329 }
16330
16331
16332 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16333 PyObject *pyobj = 0;
16334
16335 {
16336 #if wxUSE_UNICODE
16337 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16338 #else
16339 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16340 #endif
16341 }
16342 return pyobj;
16343 }
16344
16345
16346 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16347 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16348 return 1;
16349 }
16350
16351
16352 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16353 PyObject *pyobj = 0;
16354
16355 {
16356 #if wxUSE_UNICODE
16357 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16358 #else
16359 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16360 #endif
16361 }
16362 return pyobj;
16363 }
16364
16365
16366 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16367 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16368 return 1;
16369 }
16370
16371
16372 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16373 PyObject *pyobj = 0;
16374
16375 {
16376 #if wxUSE_UNICODE
16377 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16378 #else
16379 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16380 #endif
16381 }
16382 return pyobj;
16383 }
16384
16385
16386 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16387 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16388 return 1;
16389 }
16390
16391
16392 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16393 PyObject *pyobj = 0;
16394
16395 {
16396 #if wxUSE_UNICODE
16397 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16398 #else
16399 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16400 #endif
16401 }
16402 return pyobj;
16403 }
16404
16405
16406 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16407 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16408 return 1;
16409 }
16410
16411
16412 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16413 PyObject *pyobj = 0;
16414
16415 {
16416 #if wxUSE_UNICODE
16417 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16418 #else
16419 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16420 #endif
16421 }
16422 return pyobj;
16423 }
16424
16425
16426 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16427 PyObject *resultobj = 0;
16428 wxColourData *result = 0 ;
16429
16430 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 result = (wxColourData *)new wxColourData();
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16438 return resultobj;
16439 fail:
16440 return NULL;
16441 }
16442
16443
16444 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16445 PyObject *resultobj = 0;
16446 wxColourData *arg1 = (wxColourData *) 0 ;
16447 void *argp1 = 0 ;
16448 int res1 = 0 ;
16449 PyObject *swig_obj[1] ;
16450
16451 if (!args) SWIG_fail;
16452 swig_obj[0] = args;
16453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16454 if (!SWIG_IsOK(res1)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16456 }
16457 arg1 = reinterpret_cast< wxColourData * >(argp1);
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 delete arg1;
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 resultobj = SWIG_Py_Void();
16466 return resultobj;
16467 fail:
16468 return NULL;
16469 }
16470
16471
16472 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16473 PyObject *resultobj = 0;
16474 wxColourData *arg1 = (wxColourData *) 0 ;
16475 bool result;
16476 void *argp1 = 0 ;
16477 int res1 = 0 ;
16478 PyObject *swig_obj[1] ;
16479
16480 if (!args) SWIG_fail;
16481 swig_obj[0] = args;
16482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16483 if (!SWIG_IsOK(res1)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16485 }
16486 arg1 = reinterpret_cast< wxColourData * >(argp1);
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 result = (bool)(arg1)->GetChooseFull();
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 {
16494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16495 }
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16503 PyObject *resultobj = 0;
16504 wxColourData *arg1 = (wxColourData *) 0 ;
16505 wxColour result;
16506 void *argp1 = 0 ;
16507 int res1 = 0 ;
16508 PyObject *swig_obj[1] ;
16509
16510 if (!args) SWIG_fail;
16511 swig_obj[0] = args;
16512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16513 if (!SWIG_IsOK(res1)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16515 }
16516 arg1 = reinterpret_cast< wxColourData * >(argp1);
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 result = (arg1)->GetColour();
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16524 return resultobj;
16525 fail:
16526 return NULL;
16527 }
16528
16529
16530 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj = 0;
16532 wxColourData *arg1 = (wxColourData *) 0 ;
16533 int arg2 ;
16534 wxColour result;
16535 void *argp1 = 0 ;
16536 int res1 = 0 ;
16537 int val2 ;
16538 int ecode2 = 0 ;
16539 PyObject * obj0 = 0 ;
16540 PyObject * obj1 = 0 ;
16541 char * kwnames[] = {
16542 (char *) "self",(char *) "i", NULL
16543 };
16544
16545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16547 if (!SWIG_IsOK(res1)) {
16548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16549 }
16550 arg1 = reinterpret_cast< wxColourData * >(argp1);
16551 ecode2 = SWIG_AsVal_int(obj1, &val2);
16552 if (!SWIG_IsOK(ecode2)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16554 }
16555 arg2 = static_cast< int >(val2);
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 result = (arg1)->GetCustomColour(arg2);
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16570 PyObject *resultobj = 0;
16571 wxColourData *arg1 = (wxColourData *) 0 ;
16572 int arg2 ;
16573 void *argp1 = 0 ;
16574 int res1 = 0 ;
16575 int val2 ;
16576 int ecode2 = 0 ;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 char * kwnames[] = {
16580 (char *) "self",(char *) "flag", NULL
16581 };
16582
16583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16585 if (!SWIG_IsOK(res1)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16587 }
16588 arg1 = reinterpret_cast< wxColourData * >(argp1);
16589 ecode2 = SWIG_AsVal_int(obj1, &val2);
16590 if (!SWIG_IsOK(ecode2)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16592 }
16593 arg2 = static_cast< int >(val2);
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 (arg1)->SetChooseFull(arg2);
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 resultobj = SWIG_Py_Void();
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj = 0;
16609 wxColourData *arg1 = (wxColourData *) 0 ;
16610 wxColour *arg2 = 0 ;
16611 void *argp1 = 0 ;
16612 int res1 = 0 ;
16613 wxColour temp2 ;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 char * kwnames[] = {
16617 (char *) "self",(char *) "colour", NULL
16618 };
16619
16620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16622 if (!SWIG_IsOK(res1)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16624 }
16625 arg1 = reinterpret_cast< wxColourData * >(argp1);
16626 {
16627 arg2 = &temp2;
16628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16629 }
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 (arg1)->SetColour((wxColour const &)*arg2);
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 resultobj = SWIG_Py_Void();
16637 return resultobj;
16638 fail:
16639 return NULL;
16640 }
16641
16642
16643 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj = 0;
16645 wxColourData *arg1 = (wxColourData *) 0 ;
16646 int arg2 ;
16647 wxColour *arg3 = 0 ;
16648 void *argp1 = 0 ;
16649 int res1 = 0 ;
16650 int val2 ;
16651 int ecode2 = 0 ;
16652 wxColour temp3 ;
16653 PyObject * obj0 = 0 ;
16654 PyObject * obj1 = 0 ;
16655 PyObject * obj2 = 0 ;
16656 char * kwnames[] = {
16657 (char *) "self",(char *) "i",(char *) "colour", NULL
16658 };
16659
16660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16662 if (!SWIG_IsOK(res1)) {
16663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16664 }
16665 arg1 = reinterpret_cast< wxColourData * >(argp1);
16666 ecode2 = SWIG_AsVal_int(obj1, &val2);
16667 if (!SWIG_IsOK(ecode2)) {
16668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16669 }
16670 arg2 = static_cast< int >(val2);
16671 {
16672 arg3 = &temp3;
16673 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16674 }
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 resultobj = SWIG_Py_Void();
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16689 PyObject *obj;
16690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16691 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16692 return SWIG_Py_Void();
16693 }
16694
16695 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16696 return SWIG_Python_InitShadowInstance(args);
16697 }
16698
16699 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj = 0;
16701 wxWindow *arg1 = (wxWindow *) 0 ;
16702 wxColourData *arg2 = (wxColourData *) NULL ;
16703 wxColourDialog *result = 0 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 void *argp2 = 0 ;
16707 int res2 = 0 ;
16708 PyObject * obj0 = 0 ;
16709 PyObject * obj1 = 0 ;
16710 char * kwnames[] = {
16711 (char *) "parent",(char *) "data", NULL
16712 };
16713
16714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16716 if (!SWIG_IsOK(res1)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16718 }
16719 arg1 = reinterpret_cast< wxWindow * >(argp1);
16720 if (obj1) {
16721 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16722 if (!SWIG_IsOK(res2)) {
16723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16724 }
16725 arg2 = reinterpret_cast< wxColourData * >(argp2);
16726 }
16727 {
16728 if (!wxPyCheckForApp()) SWIG_fail;
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16731 wxPyEndAllowThreads(__tstate);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 }
16734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16742 PyObject *resultobj = 0;
16743 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16744 wxColourData *result = 0 ;
16745 void *argp1 = 0 ;
16746 int res1 = 0 ;
16747 PyObject *swig_obj[1] ;
16748
16749 if (!args) SWIG_fail;
16750 swig_obj[0] = args;
16751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16752 if (!SWIG_IsOK(res1)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16754 }
16755 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 {
16759 wxColourData &_result_ref = (arg1)->GetColourData();
16760 result = (wxColourData *) &_result_ref;
16761 }
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16773 PyObject *obj;
16774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16775 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16776 return SWIG_Py_Void();
16777 }
16778
16779 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16780 return SWIG_Python_InitShadowInstance(args);
16781 }
16782
16783 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16784 PyObject *resultobj = 0;
16785 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16786 wxColour const &arg2_defvalue = wxNullColour ;
16787 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16788 wxString const &arg3_defvalue = wxPyEmptyString ;
16789 wxString *arg3 = (wxString *) &arg3_defvalue ;
16790 wxColour result;
16791 void *argp1 = 0 ;
16792 int res1 = 0 ;
16793 wxColour temp2 ;
16794 bool temp3 = false ;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 PyObject * obj2 = 0 ;
16798 char * kwnames[] = {
16799 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16800 };
16801
16802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16803 if (obj0) {
16804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16805 if (!SWIG_IsOK(res1)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16807 }
16808 arg1 = reinterpret_cast< wxWindow * >(argp1);
16809 }
16810 if (obj1) {
16811 {
16812 arg2 = &temp2;
16813 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16814 }
16815 }
16816 if (obj2) {
16817 {
16818 arg3 = wxString_in_helper(obj2);
16819 if (arg3 == NULL) SWIG_fail;
16820 temp3 = true;
16821 }
16822 }
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16830 {
16831 if (temp3)
16832 delete arg3;
16833 }
16834 return resultobj;
16835 fail:
16836 {
16837 if (temp3)
16838 delete arg3;
16839 }
16840 return NULL;
16841 }
16842
16843
16844 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj = 0;
16846 wxWindow *arg1 = (wxWindow *) 0 ;
16847 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16848 wxString *arg2 = (wxString *) &arg2_defvalue ;
16849 wxString const &arg3_defvalue = wxPyEmptyString ;
16850 wxString *arg3 = (wxString *) &arg3_defvalue ;
16851 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16852 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16853 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16854 wxSize const &arg6_defvalue = wxDefaultSize ;
16855 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16856 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16857 wxString *arg7 = (wxString *) &arg7_defvalue ;
16858 wxDirDialog *result = 0 ;
16859 void *argp1 = 0 ;
16860 int res1 = 0 ;
16861 bool temp2 = false ;
16862 bool temp3 = false ;
16863 long val4 ;
16864 int ecode4 = 0 ;
16865 wxPoint temp5 ;
16866 wxSize temp6 ;
16867 bool temp7 = false ;
16868 PyObject * obj0 = 0 ;
16869 PyObject * obj1 = 0 ;
16870 PyObject * obj2 = 0 ;
16871 PyObject * obj3 = 0 ;
16872 PyObject * obj4 = 0 ;
16873 PyObject * obj5 = 0 ;
16874 PyObject * obj6 = 0 ;
16875 char * kwnames[] = {
16876 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16877 };
16878
16879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16881 if (!SWIG_IsOK(res1)) {
16882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16883 }
16884 arg1 = reinterpret_cast< wxWindow * >(argp1);
16885 if (obj1) {
16886 {
16887 arg2 = wxString_in_helper(obj1);
16888 if (arg2 == NULL) SWIG_fail;
16889 temp2 = true;
16890 }
16891 }
16892 if (obj2) {
16893 {
16894 arg3 = wxString_in_helper(obj2);
16895 if (arg3 == NULL) SWIG_fail;
16896 temp3 = true;
16897 }
16898 }
16899 if (obj3) {
16900 ecode4 = SWIG_AsVal_long(obj3, &val4);
16901 if (!SWIG_IsOK(ecode4)) {
16902 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16903 }
16904 arg4 = static_cast< long >(val4);
16905 }
16906 if (obj4) {
16907 {
16908 arg5 = &temp5;
16909 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16910 }
16911 }
16912 if (obj5) {
16913 {
16914 arg6 = &temp6;
16915 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16916 }
16917 }
16918 if (obj6) {
16919 {
16920 arg7 = wxString_in_helper(obj6);
16921 if (arg7 == NULL) SWIG_fail;
16922 temp7 = true;
16923 }
16924 }
16925 {
16926 if (!wxPyCheckForApp()) SWIG_fail;
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16933 {
16934 if (temp2)
16935 delete arg2;
16936 }
16937 {
16938 if (temp3)
16939 delete arg3;
16940 }
16941 {
16942 if (temp7)
16943 delete arg7;
16944 }
16945 return resultobj;
16946 fail:
16947 {
16948 if (temp2)
16949 delete arg2;
16950 }
16951 {
16952 if (temp3)
16953 delete arg3;
16954 }
16955 {
16956 if (temp7)
16957 delete arg7;
16958 }
16959 return NULL;
16960 }
16961
16962
16963 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16964 PyObject *resultobj = 0;
16965 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16966 wxString result;
16967 void *argp1 = 0 ;
16968 int res1 = 0 ;
16969 PyObject *swig_obj[1] ;
16970
16971 if (!args) SWIG_fail;
16972 swig_obj[0] = args;
16973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16974 if (!SWIG_IsOK(res1)) {
16975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16976 }
16977 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (arg1)->GetPath();
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 {
16985 #if wxUSE_UNICODE
16986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16987 #else
16988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16989 #endif
16990 }
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16998 PyObject *resultobj = 0;
16999 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17000 wxString result;
17001 void *argp1 = 0 ;
17002 int res1 = 0 ;
17003 PyObject *swig_obj[1] ;
17004
17005 if (!args) SWIG_fail;
17006 swig_obj[0] = args;
17007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17008 if (!SWIG_IsOK(res1)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17010 }
17011 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 result = (arg1)->GetMessage();
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 {
17019 #if wxUSE_UNICODE
17020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17021 #else
17022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17023 #endif
17024 }
17025 return resultobj;
17026 fail:
17027 return NULL;
17028 }
17029
17030
17031 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17032 PyObject *resultobj = 0;
17033 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17034 wxString *arg2 = 0 ;
17035 void *argp1 = 0 ;
17036 int res1 = 0 ;
17037 bool temp2 = false ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 char * kwnames[] = {
17041 (char *) "self",(char *) "message", NULL
17042 };
17043
17044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17046 if (!SWIG_IsOK(res1)) {
17047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17048 }
17049 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17050 {
17051 arg2 = wxString_in_helper(obj1);
17052 if (arg2 == NULL) SWIG_fail;
17053 temp2 = true;
17054 }
17055 {
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 (arg1)->SetMessage((wxString const &)*arg2);
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 resultobj = SWIG_Py_Void();
17062 {
17063 if (temp2)
17064 delete arg2;
17065 }
17066 return resultobj;
17067 fail:
17068 {
17069 if (temp2)
17070 delete arg2;
17071 }
17072 return NULL;
17073 }
17074
17075
17076 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj = 0;
17078 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17079 wxString *arg2 = 0 ;
17080 void *argp1 = 0 ;
17081 int res1 = 0 ;
17082 bool temp2 = false ;
17083 PyObject * obj0 = 0 ;
17084 PyObject * obj1 = 0 ;
17085 char * kwnames[] = {
17086 (char *) "self",(char *) "path", NULL
17087 };
17088
17089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17091 if (!SWIG_IsOK(res1)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17093 }
17094 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17095 {
17096 arg2 = wxString_in_helper(obj1);
17097 if (arg2 == NULL) SWIG_fail;
17098 temp2 = true;
17099 }
17100 {
17101 PyThreadState* __tstate = wxPyBeginAllowThreads();
17102 (arg1)->SetPath((wxString const &)*arg2);
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 resultobj = SWIG_Py_Void();
17107 {
17108 if (temp2)
17109 delete arg2;
17110 }
17111 return resultobj;
17112 fail:
17113 {
17114 if (temp2)
17115 delete arg2;
17116 }
17117 return NULL;
17118 }
17119
17120
17121 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17122 PyObject *obj;
17123 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17124 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17125 return SWIG_Py_Void();
17126 }
17127
17128 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17129 return SWIG_Python_InitShadowInstance(args);
17130 }
17131
17132 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj = 0;
17134 wxWindow *arg1 = (wxWindow *) 0 ;
17135 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17136 wxString *arg2 = (wxString *) &arg2_defvalue ;
17137 wxString const &arg3_defvalue = wxPyEmptyString ;
17138 wxString *arg3 = (wxString *) &arg3_defvalue ;
17139 wxString const &arg4_defvalue = wxPyEmptyString ;
17140 wxString *arg4 = (wxString *) &arg4_defvalue ;
17141 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17142 wxString *arg5 = (wxString *) &arg5_defvalue ;
17143 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17144 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17145 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17146 wxFileDialog *result = 0 ;
17147 void *argp1 = 0 ;
17148 int res1 = 0 ;
17149 bool temp2 = false ;
17150 bool temp3 = false ;
17151 bool temp4 = false ;
17152 bool temp5 = false ;
17153 long val6 ;
17154 int ecode6 = 0 ;
17155 wxPoint temp7 ;
17156 PyObject * obj0 = 0 ;
17157 PyObject * obj1 = 0 ;
17158 PyObject * obj2 = 0 ;
17159 PyObject * obj3 = 0 ;
17160 PyObject * obj4 = 0 ;
17161 PyObject * obj5 = 0 ;
17162 PyObject * obj6 = 0 ;
17163 char * kwnames[] = {
17164 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17165 };
17166
17167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17169 if (!SWIG_IsOK(res1)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17171 }
17172 arg1 = reinterpret_cast< wxWindow * >(argp1);
17173 if (obj1) {
17174 {
17175 arg2 = wxString_in_helper(obj1);
17176 if (arg2 == NULL) SWIG_fail;
17177 temp2 = true;
17178 }
17179 }
17180 if (obj2) {
17181 {
17182 arg3 = wxString_in_helper(obj2);
17183 if (arg3 == NULL) SWIG_fail;
17184 temp3 = true;
17185 }
17186 }
17187 if (obj3) {
17188 {
17189 arg4 = wxString_in_helper(obj3);
17190 if (arg4 == NULL) SWIG_fail;
17191 temp4 = true;
17192 }
17193 }
17194 if (obj4) {
17195 {
17196 arg5 = wxString_in_helper(obj4);
17197 if (arg5 == NULL) SWIG_fail;
17198 temp5 = true;
17199 }
17200 }
17201 if (obj5) {
17202 ecode6 = SWIG_AsVal_long(obj5, &val6);
17203 if (!SWIG_IsOK(ecode6)) {
17204 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17205 }
17206 arg6 = static_cast< long >(val6);
17207 }
17208 if (obj6) {
17209 {
17210 arg7 = &temp7;
17211 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17212 }
17213 }
17214 {
17215 if (!wxPyCheckForApp()) SWIG_fail;
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17222 {
17223 if (temp2)
17224 delete arg2;
17225 }
17226 {
17227 if (temp3)
17228 delete arg3;
17229 }
17230 {
17231 if (temp4)
17232 delete arg4;
17233 }
17234 {
17235 if (temp5)
17236 delete arg5;
17237 }
17238 return resultobj;
17239 fail:
17240 {
17241 if (temp2)
17242 delete arg2;
17243 }
17244 {
17245 if (temp3)
17246 delete arg3;
17247 }
17248 {
17249 if (temp4)
17250 delete arg4;
17251 }
17252 {
17253 if (temp5)
17254 delete arg5;
17255 }
17256 return NULL;
17257 }
17258
17259
17260 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj = 0;
17262 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17263 wxString *arg2 = 0 ;
17264 void *argp1 = 0 ;
17265 int res1 = 0 ;
17266 bool temp2 = false ;
17267 PyObject * obj0 = 0 ;
17268 PyObject * obj1 = 0 ;
17269 char * kwnames[] = {
17270 (char *) "self",(char *) "message", NULL
17271 };
17272
17273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17275 if (!SWIG_IsOK(res1)) {
17276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17277 }
17278 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17279 {
17280 arg2 = wxString_in_helper(obj1);
17281 if (arg2 == NULL) SWIG_fail;
17282 temp2 = true;
17283 }
17284 {
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 (arg1)->SetMessage((wxString const &)*arg2);
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 resultobj = SWIG_Py_Void();
17291 {
17292 if (temp2)
17293 delete arg2;
17294 }
17295 return resultobj;
17296 fail:
17297 {
17298 if (temp2)
17299 delete arg2;
17300 }
17301 return NULL;
17302 }
17303
17304
17305 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj = 0;
17307 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17308 wxString *arg2 = 0 ;
17309 void *argp1 = 0 ;
17310 int res1 = 0 ;
17311 bool temp2 = false ;
17312 PyObject * obj0 = 0 ;
17313 PyObject * obj1 = 0 ;
17314 char * kwnames[] = {
17315 (char *) "self",(char *) "path", NULL
17316 };
17317
17318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17320 if (!SWIG_IsOK(res1)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17322 }
17323 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17324 {
17325 arg2 = wxString_in_helper(obj1);
17326 if (arg2 == NULL) SWIG_fail;
17327 temp2 = true;
17328 }
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 (arg1)->SetPath((wxString const &)*arg2);
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 resultobj = SWIG_Py_Void();
17336 {
17337 if (temp2)
17338 delete arg2;
17339 }
17340 return resultobj;
17341 fail:
17342 {
17343 if (temp2)
17344 delete arg2;
17345 }
17346 return NULL;
17347 }
17348
17349
17350 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj = 0;
17352 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17353 wxString *arg2 = 0 ;
17354 void *argp1 = 0 ;
17355 int res1 = 0 ;
17356 bool temp2 = false ;
17357 PyObject * obj0 = 0 ;
17358 PyObject * obj1 = 0 ;
17359 char * kwnames[] = {
17360 (char *) "self",(char *) "dir", NULL
17361 };
17362
17363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17365 if (!SWIG_IsOK(res1)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17367 }
17368 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17369 {
17370 arg2 = wxString_in_helper(obj1);
17371 if (arg2 == NULL) SWIG_fail;
17372 temp2 = true;
17373 }
17374 {
17375 PyThreadState* __tstate = wxPyBeginAllowThreads();
17376 (arg1)->SetDirectory((wxString const &)*arg2);
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 resultobj = SWIG_Py_Void();
17381 {
17382 if (temp2)
17383 delete arg2;
17384 }
17385 return resultobj;
17386 fail:
17387 {
17388 if (temp2)
17389 delete arg2;
17390 }
17391 return NULL;
17392 }
17393
17394
17395 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj = 0;
17397 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17398 wxString *arg2 = 0 ;
17399 void *argp1 = 0 ;
17400 int res1 = 0 ;
17401 bool temp2 = false ;
17402 PyObject * obj0 = 0 ;
17403 PyObject * obj1 = 0 ;
17404 char * kwnames[] = {
17405 (char *) "self",(char *) "name", NULL
17406 };
17407
17408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17410 if (!SWIG_IsOK(res1)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17412 }
17413 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17414 {
17415 arg2 = wxString_in_helper(obj1);
17416 if (arg2 == NULL) SWIG_fail;
17417 temp2 = true;
17418 }
17419 {
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 (arg1)->SetFilename((wxString const &)*arg2);
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 resultobj = SWIG_Py_Void();
17426 {
17427 if (temp2)
17428 delete arg2;
17429 }
17430 return resultobj;
17431 fail:
17432 {
17433 if (temp2)
17434 delete arg2;
17435 }
17436 return NULL;
17437 }
17438
17439
17440 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17441 PyObject *resultobj = 0;
17442 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17443 wxString *arg2 = 0 ;
17444 void *argp1 = 0 ;
17445 int res1 = 0 ;
17446 bool temp2 = false ;
17447 PyObject * obj0 = 0 ;
17448 PyObject * obj1 = 0 ;
17449 char * kwnames[] = {
17450 (char *) "self",(char *) "wildCard", NULL
17451 };
17452
17453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17455 if (!SWIG_IsOK(res1)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17457 }
17458 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17459 {
17460 arg2 = wxString_in_helper(obj1);
17461 if (arg2 == NULL) SWIG_fail;
17462 temp2 = true;
17463 }
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->SetWildcard((wxString const &)*arg2);
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 resultobj = SWIG_Py_Void();
17471 {
17472 if (temp2)
17473 delete arg2;
17474 }
17475 return resultobj;
17476 fail:
17477 {
17478 if (temp2)
17479 delete arg2;
17480 }
17481 return NULL;
17482 }
17483
17484
17485 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj = 0;
17487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17488 int arg2 ;
17489 void *argp1 = 0 ;
17490 int res1 = 0 ;
17491 int val2 ;
17492 int ecode2 = 0 ;
17493 PyObject * obj0 = 0 ;
17494 PyObject * obj1 = 0 ;
17495 char * kwnames[] = {
17496 (char *) "self",(char *) "filterIndex", NULL
17497 };
17498
17499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17501 if (!SWIG_IsOK(res1)) {
17502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17503 }
17504 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17505 ecode2 = SWIG_AsVal_int(obj1, &val2);
17506 if (!SWIG_IsOK(ecode2)) {
17507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17508 }
17509 arg2 = static_cast< int >(val2);
17510 {
17511 PyThreadState* __tstate = wxPyBeginAllowThreads();
17512 (arg1)->SetFilterIndex(arg2);
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 resultobj = SWIG_Py_Void();
17517 return resultobj;
17518 fail:
17519 return NULL;
17520 }
17521
17522
17523 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17524 PyObject *resultobj = 0;
17525 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17526 wxString result;
17527 void *argp1 = 0 ;
17528 int res1 = 0 ;
17529 PyObject *swig_obj[1] ;
17530
17531 if (!args) SWIG_fail;
17532 swig_obj[0] = args;
17533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17534 if (!SWIG_IsOK(res1)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17536 }
17537 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = ((wxFileDialog const *)arg1)->GetMessage();
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 {
17545 #if wxUSE_UNICODE
17546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17547 #else
17548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17549 #endif
17550 }
17551 return resultobj;
17552 fail:
17553 return NULL;
17554 }
17555
17556
17557 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17558 PyObject *resultobj = 0;
17559 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17560 wxString result;
17561 void *argp1 = 0 ;
17562 int res1 = 0 ;
17563 PyObject *swig_obj[1] ;
17564
17565 if (!args) SWIG_fail;
17566 swig_obj[0] = args;
17567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17568 if (!SWIG_IsOK(res1)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17570 }
17571 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = ((wxFileDialog const *)arg1)->GetPath();
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 {
17579 #if wxUSE_UNICODE
17580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17581 #else
17582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17583 #endif
17584 }
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17592 PyObject *resultobj = 0;
17593 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17594 wxString result;
17595 void *argp1 = 0 ;
17596 int res1 = 0 ;
17597 PyObject *swig_obj[1] ;
17598
17599 if (!args) SWIG_fail;
17600 swig_obj[0] = args;
17601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17602 if (!SWIG_IsOK(res1)) {
17603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17604 }
17605 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 result = ((wxFileDialog const *)arg1)->GetDirectory();
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 {
17613 #if wxUSE_UNICODE
17614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17615 #else
17616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17617 #endif
17618 }
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17626 PyObject *resultobj = 0;
17627 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17628 wxString result;
17629 void *argp1 = 0 ;
17630 int res1 = 0 ;
17631 PyObject *swig_obj[1] ;
17632
17633 if (!args) SWIG_fail;
17634 swig_obj[0] = args;
17635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17636 if (!SWIG_IsOK(res1)) {
17637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17638 }
17639 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = ((wxFileDialog const *)arg1)->GetFilename();
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 #if wxUSE_UNICODE
17648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17649 #else
17650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17651 #endif
17652 }
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17660 PyObject *resultobj = 0;
17661 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17662 wxString result;
17663 void *argp1 = 0 ;
17664 int res1 = 0 ;
17665 PyObject *swig_obj[1] ;
17666
17667 if (!args) SWIG_fail;
17668 swig_obj[0] = args;
17669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17670 if (!SWIG_IsOK(res1)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17672 }
17673 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 result = ((wxFileDialog const *)arg1)->GetWildcard();
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 {
17681 #if wxUSE_UNICODE
17682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17683 #else
17684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17685 #endif
17686 }
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17694 PyObject *resultobj = 0;
17695 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17696 int result;
17697 void *argp1 = 0 ;
17698 int res1 = 0 ;
17699 PyObject *swig_obj[1] ;
17700
17701 if (!args) SWIG_fail;
17702 swig_obj[0] = args;
17703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17704 if (!SWIG_IsOK(res1)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17706 }
17707 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 resultobj = SWIG_From_int(static_cast< int >(result));
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17722 PyObject *resultobj = 0;
17723 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17724 PyObject *result = 0 ;
17725 void *argp1 = 0 ;
17726 int res1 = 0 ;
17727 PyObject *swig_obj[1] ;
17728
17729 if (!args) SWIG_fail;
17730 swig_obj[0] = args;
17731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17732 if (!SWIG_IsOK(res1)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17734 }
17735 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 resultobj = result;
17743 return resultobj;
17744 fail:
17745 return NULL;
17746 }
17747
17748
17749 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17750 PyObject *resultobj = 0;
17751 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17752 PyObject *result = 0 ;
17753 void *argp1 = 0 ;
17754 int res1 = 0 ;
17755 PyObject *swig_obj[1] ;
17756
17757 if (!args) SWIG_fail;
17758 swig_obj[0] = args;
17759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17760 if (!SWIG_IsOK(res1)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17762 }
17763 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 resultobj = result;
17771 return resultobj;
17772 fail:
17773 return NULL;
17774 }
17775
17776
17777 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17778 PyObject *obj;
17779 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17780 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17781 return SWIG_Py_Void();
17782 }
17783
17784 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17785 return SWIG_Python_InitShadowInstance(args);
17786 }
17787
17788 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj = 0;
17790 wxWindow *arg1 = (wxWindow *) 0 ;
17791 wxString *arg2 = 0 ;
17792 wxString *arg3 = 0 ;
17793 int arg4 = (int) 0 ;
17794 wxString *arg5 = (wxString *) NULL ;
17795 long arg6 = (long) wxCHOICEDLG_STYLE ;
17796 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17797 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17798 wxMultiChoiceDialog *result = 0 ;
17799 void *argp1 = 0 ;
17800 int res1 = 0 ;
17801 bool temp2 = false ;
17802 bool temp3 = false ;
17803 long val6 ;
17804 int ecode6 = 0 ;
17805 wxPoint temp7 ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 PyObject * obj2 = 0 ;
17809 PyObject * obj3 = 0 ;
17810 PyObject * obj4 = 0 ;
17811 PyObject * obj5 = 0 ;
17812 char * kwnames[] = {
17813 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17814 };
17815
17816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17818 if (!SWIG_IsOK(res1)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17820 }
17821 arg1 = reinterpret_cast< wxWindow * >(argp1);
17822 {
17823 arg2 = wxString_in_helper(obj1);
17824 if (arg2 == NULL) SWIG_fail;
17825 temp2 = true;
17826 }
17827 {
17828 arg3 = wxString_in_helper(obj2);
17829 if (arg3 == NULL) SWIG_fail;
17830 temp3 = true;
17831 }
17832 if (obj3) {
17833 {
17834 arg4 = PyList_Size(obj3);
17835 arg5 = wxString_LIST_helper(obj3);
17836 if (arg5 == NULL) SWIG_fail;
17837 }
17838 }
17839 if (obj4) {
17840 ecode6 = SWIG_AsVal_long(obj4, &val6);
17841 if (!SWIG_IsOK(ecode6)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17843 }
17844 arg6 = static_cast< long >(val6);
17845 }
17846 if (obj5) {
17847 {
17848 arg7 = &temp7;
17849 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17850 }
17851 }
17852 {
17853 if (!wxPyCheckForApp()) SWIG_fail;
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17860 {
17861 if (temp2)
17862 delete arg2;
17863 }
17864 {
17865 if (temp3)
17866 delete arg3;
17867 }
17868 {
17869 if (arg5) delete [] arg5;
17870 }
17871 return resultobj;
17872 fail:
17873 {
17874 if (temp2)
17875 delete arg2;
17876 }
17877 {
17878 if (temp3)
17879 delete arg3;
17880 }
17881 {
17882 if (arg5) delete [] arg5;
17883 }
17884 return NULL;
17885 }
17886
17887
17888 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj = 0;
17890 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17891 wxArrayInt *arg2 = 0 ;
17892 void *argp1 = 0 ;
17893 int res1 = 0 ;
17894 bool temp2 = false ;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj1 = 0 ;
17897 char * kwnames[] = {
17898 (char *) "self",(char *) "selections", NULL
17899 };
17900
17901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17903 if (!SWIG_IsOK(res1)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17905 }
17906 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17907 {
17908 if (! PySequence_Check(obj1)) {
17909 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17910 SWIG_fail;
17911 }
17912 arg2 = new wxArrayInt;
17913 temp2 = true;
17914 int i, len=PySequence_Length(obj1);
17915 for (i=0; i<len; i++) {
17916 PyObject* item = PySequence_GetItem(obj1, i);
17917 PyObject* number = PyNumber_Int(item);
17918 arg2->Add(PyInt_AS_LONG(number));
17919 Py_DECREF(item);
17920 Py_DECREF(number);
17921 }
17922 }
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 resultobj = SWIG_Py_Void();
17930 {
17931 if (temp2) delete arg2;
17932 }
17933 return resultobj;
17934 fail:
17935 {
17936 if (temp2) delete arg2;
17937 }
17938 return NULL;
17939 }
17940
17941
17942 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17943 PyObject *resultobj = 0;
17944 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17945 PyObject *result = 0 ;
17946 void *argp1 = 0 ;
17947 int res1 = 0 ;
17948 PyObject *swig_obj[1] ;
17949
17950 if (!args) SWIG_fail;
17951 swig_obj[0] = args;
17952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17953 if (!SWIG_IsOK(res1)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17955 }
17956 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17960 wxPyEndAllowThreads(__tstate);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 resultobj = result;
17964 return resultobj;
17965 fail:
17966 return NULL;
17967 }
17968
17969
17970 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17971 PyObject *obj;
17972 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17973 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17974 return SWIG_Py_Void();
17975 }
17976
17977 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17978 return SWIG_Python_InitShadowInstance(args);
17979 }
17980
17981 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17982 PyObject *resultobj = 0;
17983 wxWindow *arg1 = (wxWindow *) 0 ;
17984 wxString *arg2 = 0 ;
17985 wxString *arg3 = 0 ;
17986 int arg4 ;
17987 wxString *arg5 = (wxString *) 0 ;
17988 long arg6 = (long) wxCHOICEDLG_STYLE ;
17989 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17990 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17991 wxSingleChoiceDialog *result = 0 ;
17992 void *argp1 = 0 ;
17993 int res1 = 0 ;
17994 bool temp2 = false ;
17995 bool temp3 = false ;
17996 long val6 ;
17997 int ecode6 = 0 ;
17998 wxPoint temp7 ;
17999 PyObject * obj0 = 0 ;
18000 PyObject * obj1 = 0 ;
18001 PyObject * obj2 = 0 ;
18002 PyObject * obj3 = 0 ;
18003 PyObject * obj4 = 0 ;
18004 PyObject * obj5 = 0 ;
18005 char * kwnames[] = {
18006 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18007 };
18008
18009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18011 if (!SWIG_IsOK(res1)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18013 }
18014 arg1 = reinterpret_cast< wxWindow * >(argp1);
18015 {
18016 arg2 = wxString_in_helper(obj1);
18017 if (arg2 == NULL) SWIG_fail;
18018 temp2 = true;
18019 }
18020 {
18021 arg3 = wxString_in_helper(obj2);
18022 if (arg3 == NULL) SWIG_fail;
18023 temp3 = true;
18024 }
18025 {
18026 arg4 = PyList_Size(obj3);
18027 arg5 = wxString_LIST_helper(obj3);
18028 if (arg5 == NULL) SWIG_fail;
18029 }
18030 if (obj4) {
18031 ecode6 = SWIG_AsVal_long(obj4, &val6);
18032 if (!SWIG_IsOK(ecode6)) {
18033 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18034 }
18035 arg6 = static_cast< long >(val6);
18036 }
18037 if (obj5) {
18038 {
18039 arg7 = &temp7;
18040 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18041 }
18042 }
18043 {
18044 if (!wxPyCheckForApp()) SWIG_fail;
18045 PyThreadState* __tstate = wxPyBeginAllowThreads();
18046 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18051 {
18052 if (temp2)
18053 delete arg2;
18054 }
18055 {
18056 if (temp3)
18057 delete arg3;
18058 }
18059 {
18060 if (arg5) delete [] arg5;
18061 }
18062 return resultobj;
18063 fail:
18064 {
18065 if (temp2)
18066 delete arg2;
18067 }
18068 {
18069 if (temp3)
18070 delete arg3;
18071 }
18072 {
18073 if (arg5) delete [] arg5;
18074 }
18075 return NULL;
18076 }
18077
18078
18079 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18080 PyObject *resultobj = 0;
18081 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18082 int result;
18083 void *argp1 = 0 ;
18084 int res1 = 0 ;
18085 PyObject *swig_obj[1] ;
18086
18087 if (!args) SWIG_fail;
18088 swig_obj[0] = args;
18089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18090 if (!SWIG_IsOK(res1)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18092 }
18093 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 result = (int)(arg1)->GetSelection();
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 resultobj = SWIG_From_int(static_cast< int >(result));
18101 return resultobj;
18102 fail:
18103 return NULL;
18104 }
18105
18106
18107 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18108 PyObject *resultobj = 0;
18109 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18110 wxString result;
18111 void *argp1 = 0 ;
18112 int res1 = 0 ;
18113 PyObject *swig_obj[1] ;
18114
18115 if (!args) SWIG_fail;
18116 swig_obj[0] = args;
18117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18118 if (!SWIG_IsOK(res1)) {
18119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18120 }
18121 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = (arg1)->GetStringSelection();
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 {
18129 #if wxUSE_UNICODE
18130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18131 #else
18132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18133 #endif
18134 }
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj = 0;
18143 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18144 int arg2 ;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 int val2 ;
18148 int ecode2 = 0 ;
18149 PyObject * obj0 = 0 ;
18150 PyObject * obj1 = 0 ;
18151 char * kwnames[] = {
18152 (char *) "self",(char *) "sel", NULL
18153 };
18154
18155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18157 if (!SWIG_IsOK(res1)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18159 }
18160 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18161 ecode2 = SWIG_AsVal_int(obj1, &val2);
18162 if (!SWIG_IsOK(ecode2)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18164 }
18165 arg2 = static_cast< int >(val2);
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 (arg1)->SetSelection(arg2);
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 resultobj = SWIG_Py_Void();
18173 return resultobj;
18174 fail:
18175 return NULL;
18176 }
18177
18178
18179 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18180 PyObject *obj;
18181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18182 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18183 return SWIG_Py_Void();
18184 }
18185
18186 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18187 return SWIG_Python_InitShadowInstance(args);
18188 }
18189
18190 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj = 0;
18192 wxWindow *arg1 = (wxWindow *) 0 ;
18193 wxString *arg2 = 0 ;
18194 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18195 wxString *arg3 = (wxString *) &arg3_defvalue ;
18196 wxString const &arg4_defvalue = wxPyEmptyString ;
18197 wxString *arg4 = (wxString *) &arg4_defvalue ;
18198 long arg5 = (long) wxTextEntryDialogStyle ;
18199 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18200 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18201 wxTextEntryDialog *result = 0 ;
18202 void *argp1 = 0 ;
18203 int res1 = 0 ;
18204 bool temp2 = false ;
18205 bool temp3 = false ;
18206 bool temp4 = false ;
18207 long val5 ;
18208 int ecode5 = 0 ;
18209 wxPoint temp6 ;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212 PyObject * obj2 = 0 ;
18213 PyObject * obj3 = 0 ;
18214 PyObject * obj4 = 0 ;
18215 PyObject * obj5 = 0 ;
18216 char * kwnames[] = {
18217 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18218 };
18219
18220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18222 if (!SWIG_IsOK(res1)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18224 }
18225 arg1 = reinterpret_cast< wxWindow * >(argp1);
18226 {
18227 arg2 = wxString_in_helper(obj1);
18228 if (arg2 == NULL) SWIG_fail;
18229 temp2 = true;
18230 }
18231 if (obj2) {
18232 {
18233 arg3 = wxString_in_helper(obj2);
18234 if (arg3 == NULL) SWIG_fail;
18235 temp3 = true;
18236 }
18237 }
18238 if (obj3) {
18239 {
18240 arg4 = wxString_in_helper(obj3);
18241 if (arg4 == NULL) SWIG_fail;
18242 temp4 = true;
18243 }
18244 }
18245 if (obj4) {
18246 ecode5 = SWIG_AsVal_long(obj4, &val5);
18247 if (!SWIG_IsOK(ecode5)) {
18248 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18249 }
18250 arg5 = static_cast< long >(val5);
18251 }
18252 if (obj5) {
18253 {
18254 arg6 = &temp6;
18255 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18256 }
18257 }
18258 {
18259 if (!wxPyCheckForApp()) SWIG_fail;
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18266 {
18267 if (temp2)
18268 delete arg2;
18269 }
18270 {
18271 if (temp3)
18272 delete arg3;
18273 }
18274 {
18275 if (temp4)
18276 delete arg4;
18277 }
18278 return resultobj;
18279 fail:
18280 {
18281 if (temp2)
18282 delete arg2;
18283 }
18284 {
18285 if (temp3)
18286 delete arg3;
18287 }
18288 {
18289 if (temp4)
18290 delete arg4;
18291 }
18292 return NULL;
18293 }
18294
18295
18296 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18297 PyObject *resultobj = 0;
18298 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18299 wxString result;
18300 void *argp1 = 0 ;
18301 int res1 = 0 ;
18302 PyObject *swig_obj[1] ;
18303
18304 if (!args) SWIG_fail;
18305 swig_obj[0] = args;
18306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18307 if (!SWIG_IsOK(res1)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18309 }
18310 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 result = (arg1)->GetValue();
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 {
18318 #if wxUSE_UNICODE
18319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18320 #else
18321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18322 #endif
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj = 0;
18332 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18333 wxString *arg2 = 0 ;
18334 void *argp1 = 0 ;
18335 int res1 = 0 ;
18336 bool temp2 = false ;
18337 PyObject * obj0 = 0 ;
18338 PyObject * obj1 = 0 ;
18339 char * kwnames[] = {
18340 (char *) "self",(char *) "value", NULL
18341 };
18342
18343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18345 if (!SWIG_IsOK(res1)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18347 }
18348 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18349 {
18350 arg2 = wxString_in_helper(obj1);
18351 if (arg2 == NULL) SWIG_fail;
18352 temp2 = true;
18353 }
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 (arg1)->SetValue((wxString const &)*arg2);
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 resultobj = SWIG_Py_Void();
18361 {
18362 if (temp2)
18363 delete arg2;
18364 }
18365 return resultobj;
18366 fail:
18367 {
18368 if (temp2)
18369 delete arg2;
18370 }
18371 return NULL;
18372 }
18373
18374
18375 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18376 PyObject *obj;
18377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18378 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18379 return SWIG_Py_Void();
18380 }
18381
18382 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18383 return SWIG_Python_InitShadowInstance(args);
18384 }
18385
18386 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18387 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18388 return 1;
18389 }
18390
18391
18392 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18393 PyObject *pyobj = 0;
18394
18395 {
18396 #if wxUSE_UNICODE
18397 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18398 #else
18399 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18400 #endif
18401 }
18402 return pyobj;
18403 }
18404
18405
18406 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj = 0;
18408 wxWindow *arg1 = (wxWindow *) 0 ;
18409 wxString *arg2 = 0 ;
18410 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18411 wxString *arg3 = (wxString *) &arg3_defvalue ;
18412 wxString const &arg4_defvalue = wxPyEmptyString ;
18413 wxString *arg4 = (wxString *) &arg4_defvalue ;
18414 long arg5 = (long) wxTextEntryDialogStyle ;
18415 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18416 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18417 wxPasswordEntryDialog *result = 0 ;
18418 void *argp1 = 0 ;
18419 int res1 = 0 ;
18420 bool temp2 = false ;
18421 bool temp3 = false ;
18422 bool temp4 = false ;
18423 long val5 ;
18424 int ecode5 = 0 ;
18425 wxPoint temp6 ;
18426 PyObject * obj0 = 0 ;
18427 PyObject * obj1 = 0 ;
18428 PyObject * obj2 = 0 ;
18429 PyObject * obj3 = 0 ;
18430 PyObject * obj4 = 0 ;
18431 PyObject * obj5 = 0 ;
18432 char * kwnames[] = {
18433 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18434 };
18435
18436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18438 if (!SWIG_IsOK(res1)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18440 }
18441 arg1 = reinterpret_cast< wxWindow * >(argp1);
18442 {
18443 arg2 = wxString_in_helper(obj1);
18444 if (arg2 == NULL) SWIG_fail;
18445 temp2 = true;
18446 }
18447 if (obj2) {
18448 {
18449 arg3 = wxString_in_helper(obj2);
18450 if (arg3 == NULL) SWIG_fail;
18451 temp3 = true;
18452 }
18453 }
18454 if (obj3) {
18455 {
18456 arg4 = wxString_in_helper(obj3);
18457 if (arg4 == NULL) SWIG_fail;
18458 temp4 = true;
18459 }
18460 }
18461 if (obj4) {
18462 ecode5 = SWIG_AsVal_long(obj4, &val5);
18463 if (!SWIG_IsOK(ecode5)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18465 }
18466 arg5 = static_cast< long >(val5);
18467 }
18468 if (obj5) {
18469 {
18470 arg6 = &temp6;
18471 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18472 }
18473 }
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18481 {
18482 if (temp2)
18483 delete arg2;
18484 }
18485 {
18486 if (temp3)
18487 delete arg3;
18488 }
18489 {
18490 if (temp4)
18491 delete arg4;
18492 }
18493 return resultobj;
18494 fail:
18495 {
18496 if (temp2)
18497 delete arg2;
18498 }
18499 {
18500 if (temp3)
18501 delete arg3;
18502 }
18503 {
18504 if (temp4)
18505 delete arg4;
18506 }
18507 return NULL;
18508 }
18509
18510
18511 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18512 PyObject *obj;
18513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18515 return SWIG_Py_Void();
18516 }
18517
18518 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18519 return SWIG_Python_InitShadowInstance(args);
18520 }
18521
18522 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18523 PyObject *resultobj = 0;
18524 wxWindow *arg1 = (wxWindow *) 0 ;
18525 wxString *arg2 = 0 ;
18526 wxString *arg3 = 0 ;
18527 wxString *arg4 = 0 ;
18528 long arg5 ;
18529 long arg6 ;
18530 long arg7 ;
18531 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18532 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18533 wxNumberEntryDialog *result = 0 ;
18534 void *argp1 = 0 ;
18535 int res1 = 0 ;
18536 bool temp2 = false ;
18537 bool temp3 = false ;
18538 bool temp4 = false ;
18539 long val5 ;
18540 int ecode5 = 0 ;
18541 long val6 ;
18542 int ecode6 = 0 ;
18543 long val7 ;
18544 int ecode7 = 0 ;
18545 wxPoint temp8 ;
18546 PyObject * obj0 = 0 ;
18547 PyObject * obj1 = 0 ;
18548 PyObject * obj2 = 0 ;
18549 PyObject * obj3 = 0 ;
18550 PyObject * obj4 = 0 ;
18551 PyObject * obj5 = 0 ;
18552 PyObject * obj6 = 0 ;
18553 PyObject * obj7 = 0 ;
18554 char * kwnames[] = {
18555 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18556 };
18557
18558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18560 if (!SWIG_IsOK(res1)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18562 }
18563 arg1 = reinterpret_cast< wxWindow * >(argp1);
18564 {
18565 arg2 = wxString_in_helper(obj1);
18566 if (arg2 == NULL) SWIG_fail;
18567 temp2 = true;
18568 }
18569 {
18570 arg3 = wxString_in_helper(obj2);
18571 if (arg3 == NULL) SWIG_fail;
18572 temp3 = true;
18573 }
18574 {
18575 arg4 = wxString_in_helper(obj3);
18576 if (arg4 == NULL) SWIG_fail;
18577 temp4 = true;
18578 }
18579 ecode5 = SWIG_AsVal_long(obj4, &val5);
18580 if (!SWIG_IsOK(ecode5)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18582 }
18583 arg5 = static_cast< long >(val5);
18584 ecode6 = SWIG_AsVal_long(obj5, &val6);
18585 if (!SWIG_IsOK(ecode6)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18587 }
18588 arg6 = static_cast< long >(val6);
18589 ecode7 = SWIG_AsVal_long(obj6, &val7);
18590 if (!SWIG_IsOK(ecode7)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18592 }
18593 arg7 = static_cast< long >(val7);
18594 if (obj7) {
18595 {
18596 arg8 = &temp8;
18597 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18598 }
18599 }
18600 {
18601 if (!wxPyCheckForApp()) SWIG_fail;
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18608 {
18609 if (temp2)
18610 delete arg2;
18611 }
18612 {
18613 if (temp3)
18614 delete arg3;
18615 }
18616 {
18617 if (temp4)
18618 delete arg4;
18619 }
18620 return resultobj;
18621 fail:
18622 {
18623 if (temp2)
18624 delete arg2;
18625 }
18626 {
18627 if (temp3)
18628 delete arg3;
18629 }
18630 {
18631 if (temp4)
18632 delete arg4;
18633 }
18634 return NULL;
18635 }
18636
18637
18638 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18639 PyObject *resultobj = 0;
18640 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18641 long result;
18642 void *argp1 = 0 ;
18643 int res1 = 0 ;
18644 PyObject *swig_obj[1] ;
18645
18646 if (!args) SWIG_fail;
18647 swig_obj[0] = args;
18648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18649 if (!SWIG_IsOK(res1)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18651 }
18652 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (long)(arg1)->GetValue();
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 resultobj = SWIG_From_long(static_cast< long >(result));
18660 return resultobj;
18661 fail:
18662 return NULL;
18663 }
18664
18665
18666 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18667 PyObject *obj;
18668 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18669 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18670 return SWIG_Py_Void();
18671 }
18672
18673 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18674 return SWIG_Python_InitShadowInstance(args);
18675 }
18676
18677 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18678 PyObject *resultobj = 0;
18679 wxFontData *result = 0 ;
18680
18681 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (wxFontData *)new wxFontData();
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18696 PyObject *resultobj = 0;
18697 wxFontData *arg1 = (wxFontData *) 0 ;
18698 void *argp1 = 0 ;
18699 int res1 = 0 ;
18700 PyObject *swig_obj[1] ;
18701
18702 if (!args) SWIG_fail;
18703 swig_obj[0] = args;
18704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18705 if (!SWIG_IsOK(res1)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18707 }
18708 arg1 = reinterpret_cast< wxFontData * >(argp1);
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 delete arg1;
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_Py_Void();
18717 return resultobj;
18718 fail:
18719 return NULL;
18720 }
18721
18722
18723 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj = 0;
18725 wxFontData *arg1 = (wxFontData *) 0 ;
18726 bool arg2 ;
18727 void *argp1 = 0 ;
18728 int res1 = 0 ;
18729 bool val2 ;
18730 int ecode2 = 0 ;
18731 PyObject * obj0 = 0 ;
18732 PyObject * obj1 = 0 ;
18733 char * kwnames[] = {
18734 (char *) "self",(char *) "enable", NULL
18735 };
18736
18737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18739 if (!SWIG_IsOK(res1)) {
18740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18741 }
18742 arg1 = reinterpret_cast< wxFontData * >(argp1);
18743 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18744 if (!SWIG_IsOK(ecode2)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18746 }
18747 arg2 = static_cast< bool >(val2);
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 (arg1)->EnableEffects(arg2);
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = SWIG_Py_Void();
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18762 PyObject *resultobj = 0;
18763 wxFontData *arg1 = (wxFontData *) 0 ;
18764 bool result;
18765 void *argp1 = 0 ;
18766 int res1 = 0 ;
18767 PyObject *swig_obj[1] ;
18768
18769 if (!args) SWIG_fail;
18770 swig_obj[0] = args;
18771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18772 if (!SWIG_IsOK(res1)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18774 }
18775 arg1 = reinterpret_cast< wxFontData * >(argp1);
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 result = (bool)(arg1)->GetAllowSymbols();
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 {
18783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18784 }
18785 return resultobj;
18786 fail:
18787 return NULL;
18788 }
18789
18790
18791 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18792 PyObject *resultobj = 0;
18793 wxFontData *arg1 = (wxFontData *) 0 ;
18794 wxColour result;
18795 void *argp1 = 0 ;
18796 int res1 = 0 ;
18797 PyObject *swig_obj[1] ;
18798
18799 if (!args) SWIG_fail;
18800 swig_obj[0] = args;
18801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18802 if (!SWIG_IsOK(res1)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18804 }
18805 arg1 = reinterpret_cast< wxFontData * >(argp1);
18806 {
18807 PyThreadState* __tstate = wxPyBeginAllowThreads();
18808 result = (arg1)->GetColour();
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18813 return resultobj;
18814 fail:
18815 return NULL;
18816 }
18817
18818
18819 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18820 PyObject *resultobj = 0;
18821 wxFontData *arg1 = (wxFontData *) 0 ;
18822 wxFont result;
18823 void *argp1 = 0 ;
18824 int res1 = 0 ;
18825 PyObject *swig_obj[1] ;
18826
18827 if (!args) SWIG_fail;
18828 swig_obj[0] = args;
18829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18830 if (!SWIG_IsOK(res1)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18832 }
18833 arg1 = reinterpret_cast< wxFontData * >(argp1);
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (arg1)->GetChosenFont();
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18848 PyObject *resultobj = 0;
18849 wxFontData *arg1 = (wxFontData *) 0 ;
18850 bool result;
18851 void *argp1 = 0 ;
18852 int res1 = 0 ;
18853 PyObject *swig_obj[1] ;
18854
18855 if (!args) SWIG_fail;
18856 swig_obj[0] = args;
18857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18858 if (!SWIG_IsOK(res1)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18860 }
18861 arg1 = reinterpret_cast< wxFontData * >(argp1);
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (bool)(arg1)->GetEnableEffects();
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 {
18869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18870 }
18871 return resultobj;
18872 fail:
18873 return NULL;
18874 }
18875
18876
18877 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18878 PyObject *resultobj = 0;
18879 wxFontData *arg1 = (wxFontData *) 0 ;
18880 wxFont result;
18881 void *argp1 = 0 ;
18882 int res1 = 0 ;
18883 PyObject *swig_obj[1] ;
18884
18885 if (!args) SWIG_fail;
18886 swig_obj[0] = args;
18887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18888 if (!SWIG_IsOK(res1)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18890 }
18891 arg1 = reinterpret_cast< wxFontData * >(argp1);
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = (arg1)->GetInitialFont();
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18906 PyObject *resultobj = 0;
18907 wxFontData *arg1 = (wxFontData *) 0 ;
18908 bool result;
18909 void *argp1 = 0 ;
18910 int res1 = 0 ;
18911 PyObject *swig_obj[1] ;
18912
18913 if (!args) SWIG_fail;
18914 swig_obj[0] = args;
18915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18916 if (!SWIG_IsOK(res1)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18918 }
18919 arg1 = reinterpret_cast< wxFontData * >(argp1);
18920 {
18921 PyThreadState* __tstate = wxPyBeginAllowThreads();
18922 result = (bool)(arg1)->GetShowHelp();
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 {
18927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18928 }
18929 return resultobj;
18930 fail:
18931 return NULL;
18932 }
18933
18934
18935 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18936 PyObject *resultobj = 0;
18937 wxFontData *arg1 = (wxFontData *) 0 ;
18938 bool arg2 ;
18939 void *argp1 = 0 ;
18940 int res1 = 0 ;
18941 bool val2 ;
18942 int ecode2 = 0 ;
18943 PyObject * obj0 = 0 ;
18944 PyObject * obj1 = 0 ;
18945 char * kwnames[] = {
18946 (char *) "self",(char *) "allowSymbols", NULL
18947 };
18948
18949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18951 if (!SWIG_IsOK(res1)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18953 }
18954 arg1 = reinterpret_cast< wxFontData * >(argp1);
18955 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18956 if (!SWIG_IsOK(ecode2)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18958 }
18959 arg2 = static_cast< bool >(val2);
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 (arg1)->SetAllowSymbols(arg2);
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_Py_Void();
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj = 0;
18975 wxFontData *arg1 = (wxFontData *) 0 ;
18976 wxFont *arg2 = 0 ;
18977 void *argp1 = 0 ;
18978 int res1 = 0 ;
18979 void *argp2 = 0 ;
18980 int res2 = 0 ;
18981 PyObject * obj0 = 0 ;
18982 PyObject * obj1 = 0 ;
18983 char * kwnames[] = {
18984 (char *) "self",(char *) "font", NULL
18985 };
18986
18987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18989 if (!SWIG_IsOK(res1)) {
18990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18991 }
18992 arg1 = reinterpret_cast< wxFontData * >(argp1);
18993 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18994 if (!SWIG_IsOK(res2)) {
18995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18996 }
18997 if (!argp2) {
18998 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18999 }
19000 arg2 = reinterpret_cast< wxFont * >(argp2);
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->SetChosenFont((wxFont const &)*arg2);
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 resultobj = SWIG_Py_Void();
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj = 0;
19016 wxFontData *arg1 = (wxFontData *) 0 ;
19017 wxColour *arg2 = 0 ;
19018 void *argp1 = 0 ;
19019 int res1 = 0 ;
19020 wxColour temp2 ;
19021 PyObject * obj0 = 0 ;
19022 PyObject * obj1 = 0 ;
19023 char * kwnames[] = {
19024 (char *) "self",(char *) "colour", NULL
19025 };
19026
19027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19029 if (!SWIG_IsOK(res1)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19031 }
19032 arg1 = reinterpret_cast< wxFontData * >(argp1);
19033 {
19034 arg2 = &temp2;
19035 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19036 }
19037 {
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 (arg1)->SetColour((wxColour const &)*arg2);
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 resultobj = SWIG_Py_Void();
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj = 0;
19052 wxFontData *arg1 = (wxFontData *) 0 ;
19053 wxFont *arg2 = 0 ;
19054 void *argp1 = 0 ;
19055 int res1 = 0 ;
19056 void *argp2 = 0 ;
19057 int res2 = 0 ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 char * kwnames[] = {
19061 (char *) "self",(char *) "font", NULL
19062 };
19063
19064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19066 if (!SWIG_IsOK(res1)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19068 }
19069 arg1 = reinterpret_cast< wxFontData * >(argp1);
19070 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19071 if (!SWIG_IsOK(res2)) {
19072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19073 }
19074 if (!argp2) {
19075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19076 }
19077 arg2 = reinterpret_cast< wxFont * >(argp2);
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 (arg1)->SetInitialFont((wxFont const &)*arg2);
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 resultobj = SWIG_Py_Void();
19085 return resultobj;
19086 fail:
19087 return NULL;
19088 }
19089
19090
19091 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj = 0;
19093 wxFontData *arg1 = (wxFontData *) 0 ;
19094 int arg2 ;
19095 int arg3 ;
19096 void *argp1 = 0 ;
19097 int res1 = 0 ;
19098 int val2 ;
19099 int ecode2 = 0 ;
19100 int val3 ;
19101 int ecode3 = 0 ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 PyObject * obj2 = 0 ;
19105 char * kwnames[] = {
19106 (char *) "self",(char *) "min",(char *) "max", NULL
19107 };
19108
19109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19111 if (!SWIG_IsOK(res1)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19113 }
19114 arg1 = reinterpret_cast< wxFontData * >(argp1);
19115 ecode2 = SWIG_AsVal_int(obj1, &val2);
19116 if (!SWIG_IsOK(ecode2)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19118 }
19119 arg2 = static_cast< int >(val2);
19120 ecode3 = SWIG_AsVal_int(obj2, &val3);
19121 if (!SWIG_IsOK(ecode3)) {
19122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19123 }
19124 arg3 = static_cast< int >(val3);
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 (arg1)->SetRange(arg2,arg3);
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 resultobj = SWIG_Py_Void();
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj = 0;
19140 wxFontData *arg1 = (wxFontData *) 0 ;
19141 bool arg2 ;
19142 void *argp1 = 0 ;
19143 int res1 = 0 ;
19144 bool val2 ;
19145 int ecode2 = 0 ;
19146 PyObject * obj0 = 0 ;
19147 PyObject * obj1 = 0 ;
19148 char * kwnames[] = {
19149 (char *) "self",(char *) "showHelp", NULL
19150 };
19151
19152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19154 if (!SWIG_IsOK(res1)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19156 }
19157 arg1 = reinterpret_cast< wxFontData * >(argp1);
19158 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19159 if (!SWIG_IsOK(ecode2)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19161 }
19162 arg2 = static_cast< bool >(val2);
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 (arg1)->SetShowHelp(arg2);
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 resultobj = SWIG_Py_Void();
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19177 PyObject *obj;
19178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19179 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19180 return SWIG_Py_Void();
19181 }
19182
19183 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19184 return SWIG_Python_InitShadowInstance(args);
19185 }
19186
19187 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19188 PyObject *resultobj = 0;
19189 wxWindow *arg1 = (wxWindow *) 0 ;
19190 wxFontData *arg2 = 0 ;
19191 wxFontDialog *result = 0 ;
19192 void *argp1 = 0 ;
19193 int res1 = 0 ;
19194 void *argp2 = 0 ;
19195 int res2 = 0 ;
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj1 = 0 ;
19198 char * kwnames[] = {
19199 (char *) "parent",(char *) "data", NULL
19200 };
19201
19202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19204 if (!SWIG_IsOK(res1)) {
19205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19206 }
19207 arg1 = reinterpret_cast< wxWindow * >(argp1);
19208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19209 if (!SWIG_IsOK(res2)) {
19210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19211 }
19212 if (!argp2) {
19213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19214 }
19215 arg2 = reinterpret_cast< wxFontData * >(argp2);
19216 {
19217 if (!wxPyCheckForApp()) SWIG_fail;
19218 PyThreadState* __tstate = wxPyBeginAllowThreads();
19219 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19224 return resultobj;
19225 fail:
19226 return NULL;
19227 }
19228
19229
19230 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19231 PyObject *resultobj = 0;
19232 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19233 wxFontData *result = 0 ;
19234 void *argp1 = 0 ;
19235 int res1 = 0 ;
19236 PyObject *swig_obj[1] ;
19237
19238 if (!args) SWIG_fail;
19239 swig_obj[0] = args;
19240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19241 if (!SWIG_IsOK(res1)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19243 }
19244 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 {
19248 wxFontData &_result_ref = (arg1)->GetFontData();
19249 result = (wxFontData *) &_result_ref;
19250 }
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19262 PyObject *obj;
19263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19264 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19265 return SWIG_Py_Void();
19266 }
19267
19268 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19269 return SWIG_Python_InitShadowInstance(args);
19270 }
19271
19272 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj = 0;
19274 wxWindow *arg1 = (wxWindow *) NULL ;
19275 wxFont const &arg2_defvalue = wxNullFont ;
19276 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19277 wxString const &arg3_defvalue = wxPyEmptyString ;
19278 wxString *arg3 = (wxString *) &arg3_defvalue ;
19279 wxFont result;
19280 void *argp1 = 0 ;
19281 int res1 = 0 ;
19282 void *argp2 = 0 ;
19283 int res2 = 0 ;
19284 bool temp3 = false ;
19285 PyObject * obj0 = 0 ;
19286 PyObject * obj1 = 0 ;
19287 PyObject * obj2 = 0 ;
19288 char * kwnames[] = {
19289 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19290 };
19291
19292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19293 if (obj0) {
19294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19295 if (!SWIG_IsOK(res1)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19297 }
19298 arg1 = reinterpret_cast< wxWindow * >(argp1);
19299 }
19300 if (obj1) {
19301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19302 if (!SWIG_IsOK(res2)) {
19303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19304 }
19305 if (!argp2) {
19306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19307 }
19308 arg2 = reinterpret_cast< wxFont * >(argp2);
19309 }
19310 if (obj2) {
19311 {
19312 arg3 = wxString_in_helper(obj2);
19313 if (arg3 == NULL) SWIG_fail;
19314 temp3 = true;
19315 }
19316 }
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19324 {
19325 if (temp3)
19326 delete arg3;
19327 }
19328 return resultobj;
19329 fail:
19330 {
19331 if (temp3)
19332 delete arg3;
19333 }
19334 return NULL;
19335 }
19336
19337
19338 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj = 0;
19340 wxWindow *arg1 = (wxWindow *) 0 ;
19341 wxString *arg2 = 0 ;
19342 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19343 wxString *arg3 = (wxString *) &arg3_defvalue ;
19344 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19345 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19346 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19347 wxMessageDialog *result = 0 ;
19348 void *argp1 = 0 ;
19349 int res1 = 0 ;
19350 bool temp2 = false ;
19351 bool temp3 = false ;
19352 long val4 ;
19353 int ecode4 = 0 ;
19354 wxPoint temp5 ;
19355 PyObject * obj0 = 0 ;
19356 PyObject * obj1 = 0 ;
19357 PyObject * obj2 = 0 ;
19358 PyObject * obj3 = 0 ;
19359 PyObject * obj4 = 0 ;
19360 char * kwnames[] = {
19361 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19362 };
19363
19364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19366 if (!SWIG_IsOK(res1)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19368 }
19369 arg1 = reinterpret_cast< wxWindow * >(argp1);
19370 {
19371 arg2 = wxString_in_helper(obj1);
19372 if (arg2 == NULL) SWIG_fail;
19373 temp2 = true;
19374 }
19375 if (obj2) {
19376 {
19377 arg3 = wxString_in_helper(obj2);
19378 if (arg3 == NULL) SWIG_fail;
19379 temp3 = true;
19380 }
19381 }
19382 if (obj3) {
19383 ecode4 = SWIG_AsVal_long(obj3, &val4);
19384 if (!SWIG_IsOK(ecode4)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19386 }
19387 arg4 = static_cast< long >(val4);
19388 }
19389 if (obj4) {
19390 {
19391 arg5 = &temp5;
19392 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19393 }
19394 }
19395 {
19396 if (!wxPyCheckForApp()) SWIG_fail;
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19399 wxPyEndAllowThreads(__tstate);
19400 if (PyErr_Occurred()) SWIG_fail;
19401 }
19402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19403 {
19404 if (temp2)
19405 delete arg2;
19406 }
19407 {
19408 if (temp3)
19409 delete arg3;
19410 }
19411 return resultobj;
19412 fail:
19413 {
19414 if (temp2)
19415 delete arg2;
19416 }
19417 {
19418 if (temp3)
19419 delete arg3;
19420 }
19421 return NULL;
19422 }
19423
19424
19425 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19426 PyObject *obj;
19427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19428 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19429 return SWIG_Py_Void();
19430 }
19431
19432 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19433 return SWIG_Python_InitShadowInstance(args);
19434 }
19435
19436 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj = 0;
19438 wxString *arg1 = 0 ;
19439 wxString *arg2 = 0 ;
19440 int arg3 = (int) 100 ;
19441 wxWindow *arg4 = (wxWindow *) NULL ;
19442 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19443 wxProgressDialog *result = 0 ;
19444 bool temp1 = false ;
19445 bool temp2 = false ;
19446 int val3 ;
19447 int ecode3 = 0 ;
19448 void *argp4 = 0 ;
19449 int res4 = 0 ;
19450 int val5 ;
19451 int ecode5 = 0 ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 PyObject * obj2 = 0 ;
19455 PyObject * obj3 = 0 ;
19456 PyObject * obj4 = 0 ;
19457 char * kwnames[] = {
19458 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19459 };
19460
19461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19462 {
19463 arg1 = wxString_in_helper(obj0);
19464 if (arg1 == NULL) SWIG_fail;
19465 temp1 = true;
19466 }
19467 {
19468 arg2 = wxString_in_helper(obj1);
19469 if (arg2 == NULL) SWIG_fail;
19470 temp2 = true;
19471 }
19472 if (obj2) {
19473 ecode3 = SWIG_AsVal_int(obj2, &val3);
19474 if (!SWIG_IsOK(ecode3)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19476 }
19477 arg3 = static_cast< int >(val3);
19478 }
19479 if (obj3) {
19480 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19481 if (!SWIG_IsOK(res4)) {
19482 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19483 }
19484 arg4 = reinterpret_cast< wxWindow * >(argp4);
19485 }
19486 if (obj4) {
19487 ecode5 = SWIG_AsVal_int(obj4, &val5);
19488 if (!SWIG_IsOK(ecode5)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19490 }
19491 arg5 = static_cast< int >(val5);
19492 }
19493 {
19494 if (!wxPyCheckForApp()) SWIG_fail;
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19501 {
19502 if (temp1)
19503 delete arg1;
19504 }
19505 {
19506 if (temp2)
19507 delete arg2;
19508 }
19509 return resultobj;
19510 fail:
19511 {
19512 if (temp1)
19513 delete arg1;
19514 }
19515 {
19516 if (temp2)
19517 delete arg2;
19518 }
19519 return NULL;
19520 }
19521
19522
19523 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj = 0;
19525 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19526 int arg2 ;
19527 wxString const &arg3_defvalue = wxPyEmptyString ;
19528 wxString *arg3 = (wxString *) &arg3_defvalue ;
19529 bool *arg4 = (bool *) 0 ;
19530 bool result;
19531 void *argp1 = 0 ;
19532 int res1 = 0 ;
19533 int val2 ;
19534 int ecode2 = 0 ;
19535 bool temp3 = false ;
19536 bool temp4 ;
19537 int res4 = SWIG_TMPOBJ ;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540 PyObject * obj2 = 0 ;
19541 char * kwnames[] = {
19542 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19543 };
19544
19545 arg4 = &temp4;
19546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19548 if (!SWIG_IsOK(res1)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19550 }
19551 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19552 ecode2 = SWIG_AsVal_int(obj1, &val2);
19553 if (!SWIG_IsOK(ecode2)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19555 }
19556 arg2 = static_cast< int >(val2);
19557 if (obj2) {
19558 {
19559 arg3 = wxString_in_helper(obj2);
19560 if (arg3 == NULL) SWIG_fail;
19561 temp3 = true;
19562 }
19563 }
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 {
19571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19572 }
19573 if (SWIG_IsTmpObj(res4)) {
19574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19575 } else {
19576 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19577 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19578 }
19579 {
19580 if (temp3)
19581 delete arg3;
19582 }
19583 return resultobj;
19584 fail:
19585 {
19586 if (temp3)
19587 delete arg3;
19588 }
19589 return NULL;
19590 }
19591
19592
19593 SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj = 0;
19595 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19596 wxString const &arg2_defvalue = wxPyEmptyString ;
19597 wxString *arg2 = (wxString *) &arg2_defvalue ;
19598 bool *arg3 = (bool *) 0 ;
19599 bool result;
19600 void *argp1 = 0 ;
19601 int res1 = 0 ;
19602 bool temp2 = false ;
19603 bool temp3 ;
19604 int res3 = SWIG_TMPOBJ ;
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 char * kwnames[] = {
19608 (char *) "self",(char *) "newmsg", NULL
19609 };
19610
19611 arg3 = &temp3;
19612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail;
19613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19614 if (!SWIG_IsOK(res1)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19616 }
19617 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19618 if (obj1) {
19619 {
19620 arg2 = wxString_in_helper(obj1);
19621 if (arg2 == NULL) SWIG_fail;
19622 temp2 = true;
19623 }
19624 }
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3);
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 {
19632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19633 }
19634 if (SWIG_IsTmpObj(res3)) {
19635 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19636 } else {
19637 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19639 }
19640 {
19641 if (temp2)
19642 delete arg2;
19643 }
19644 return resultobj;
19645 fail:
19646 {
19647 if (temp2)
19648 delete arg2;
19649 }
19650 return NULL;
19651 }
19652
19653
19654 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19655 PyObject *resultobj = 0;
19656 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19657 void *argp1 = 0 ;
19658 int res1 = 0 ;
19659 PyObject *swig_obj[1] ;
19660
19661 if (!args) SWIG_fail;
19662 swig_obj[0] = args;
19663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19664 if (!SWIG_IsOK(res1)) {
19665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19666 }
19667 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->Resume();
19671 wxPyEndAllowThreads(__tstate);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 }
19674 resultobj = SWIG_Py_Void();
19675 return resultobj;
19676 fail:
19677 return NULL;
19678 }
19679
19680
19681 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19682 PyObject *obj;
19683 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19684 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19685 return SWIG_Py_Void();
19686 }
19687
19688 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19689 return SWIG_Python_InitShadowInstance(args);
19690 }
19691
19692 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj = 0;
19694 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19695 int arg2 = (int) 0 ;
19696 wxFindDialogEvent *result = 0 ;
19697 int val1 ;
19698 int ecode1 = 0 ;
19699 int val2 ;
19700 int ecode2 = 0 ;
19701 PyObject * obj0 = 0 ;
19702 PyObject * obj1 = 0 ;
19703 char * kwnames[] = {
19704 (char *) "commandType",(char *) "id", NULL
19705 };
19706
19707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19708 if (obj0) {
19709 ecode1 = SWIG_AsVal_int(obj0, &val1);
19710 if (!SWIG_IsOK(ecode1)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19712 }
19713 arg1 = static_cast< wxEventType >(val1);
19714 }
19715 if (obj1) {
19716 ecode2 = SWIG_AsVal_int(obj1, &val2);
19717 if (!SWIG_IsOK(ecode2)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19719 }
19720 arg2 = static_cast< int >(val2);
19721 }
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19736 PyObject *resultobj = 0;
19737 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19738 int result;
19739 void *argp1 = 0 ;
19740 int res1 = 0 ;
19741 PyObject *swig_obj[1] ;
19742
19743 if (!args) SWIG_fail;
19744 swig_obj[0] = args;
19745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19746 if (!SWIG_IsOK(res1)) {
19747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19748 }
19749 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 result = (int)(arg1)->GetFlags();
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = SWIG_From_int(static_cast< int >(result));
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19764 PyObject *resultobj = 0;
19765 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19766 wxString *result = 0 ;
19767 void *argp1 = 0 ;
19768 int res1 = 0 ;
19769 PyObject *swig_obj[1] ;
19770
19771 if (!args) SWIG_fail;
19772 swig_obj[0] = args;
19773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19774 if (!SWIG_IsOK(res1)) {
19775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19776 }
19777 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 {
19781 wxString const &_result_ref = (arg1)->GetFindString();
19782 result = (wxString *) &_result_ref;
19783 }
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 #if wxUSE_UNICODE
19789 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19790 #else
19791 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19792 #endif
19793 }
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19801 PyObject *resultobj = 0;
19802 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19803 wxString *result = 0 ;
19804 void *argp1 = 0 ;
19805 int res1 = 0 ;
19806 PyObject *swig_obj[1] ;
19807
19808 if (!args) SWIG_fail;
19809 swig_obj[0] = args;
19810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19811 if (!SWIG_IsOK(res1)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19813 }
19814 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 {
19818 wxString const &_result_ref = (arg1)->GetReplaceString();
19819 result = (wxString *) &_result_ref;
19820 }
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 {
19825 #if wxUSE_UNICODE
19826 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19827 #else
19828 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19829 #endif
19830 }
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19838 PyObject *resultobj = 0;
19839 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19840 wxFindReplaceDialog *result = 0 ;
19841 void *argp1 = 0 ;
19842 int res1 = 0 ;
19843 PyObject *swig_obj[1] ;
19844
19845 if (!args) SWIG_fail;
19846 swig_obj[0] = args;
19847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19848 if (!SWIG_IsOK(res1)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19850 }
19851 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19859 return resultobj;
19860 fail:
19861 return NULL;
19862 }
19863
19864
19865 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19866 PyObject *resultobj = 0;
19867 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19868 int arg2 ;
19869 void *argp1 = 0 ;
19870 int res1 = 0 ;
19871 int val2 ;
19872 int ecode2 = 0 ;
19873 PyObject * obj0 = 0 ;
19874 PyObject * obj1 = 0 ;
19875 char * kwnames[] = {
19876 (char *) "self",(char *) "flags", NULL
19877 };
19878
19879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19881 if (!SWIG_IsOK(res1)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19883 }
19884 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19885 ecode2 = SWIG_AsVal_int(obj1, &val2);
19886 if (!SWIG_IsOK(ecode2)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19888 }
19889 arg2 = static_cast< int >(val2);
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 (arg1)->SetFlags(arg2);
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 resultobj = SWIG_Py_Void();
19897 return resultobj;
19898 fail:
19899 return NULL;
19900 }
19901
19902
19903 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19904 PyObject *resultobj = 0;
19905 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19906 wxString *arg2 = 0 ;
19907 void *argp1 = 0 ;
19908 int res1 = 0 ;
19909 bool temp2 = false ;
19910 PyObject * obj0 = 0 ;
19911 PyObject * obj1 = 0 ;
19912 char * kwnames[] = {
19913 (char *) "self",(char *) "str", NULL
19914 };
19915
19916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19918 if (!SWIG_IsOK(res1)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19920 }
19921 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19922 {
19923 arg2 = wxString_in_helper(obj1);
19924 if (arg2 == NULL) SWIG_fail;
19925 temp2 = true;
19926 }
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 (arg1)->SetFindString((wxString const &)*arg2);
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 resultobj = SWIG_Py_Void();
19934 {
19935 if (temp2)
19936 delete arg2;
19937 }
19938 return resultobj;
19939 fail:
19940 {
19941 if (temp2)
19942 delete arg2;
19943 }
19944 return NULL;
19945 }
19946
19947
19948 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj = 0;
19950 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19951 wxString *arg2 = 0 ;
19952 void *argp1 = 0 ;
19953 int res1 = 0 ;
19954 bool temp2 = false ;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957 char * kwnames[] = {
19958 (char *) "self",(char *) "str", NULL
19959 };
19960
19961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19963 if (!SWIG_IsOK(res1)) {
19964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19965 }
19966 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19967 {
19968 arg2 = wxString_in_helper(obj1);
19969 if (arg2 == NULL) SWIG_fail;
19970 temp2 = true;
19971 }
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 (arg1)->SetReplaceString((wxString const &)*arg2);
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 resultobj = SWIG_Py_Void();
19979 {
19980 if (temp2)
19981 delete arg2;
19982 }
19983 return resultobj;
19984 fail:
19985 {
19986 if (temp2)
19987 delete arg2;
19988 }
19989 return NULL;
19990 }
19991
19992
19993 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19994 PyObject *obj;
19995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19996 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19997 return SWIG_Py_Void();
19998 }
19999
20000 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20001 return SWIG_Python_InitShadowInstance(args);
20002 }
20003
20004 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj = 0;
20006 int arg1 = (int) 0 ;
20007 wxFindReplaceData *result = 0 ;
20008 int val1 ;
20009 int ecode1 = 0 ;
20010 PyObject * obj0 = 0 ;
20011 char * kwnames[] = {
20012 (char *) "flags", NULL
20013 };
20014
20015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20016 if (obj0) {
20017 ecode1 = SWIG_AsVal_int(obj0, &val1);
20018 if (!SWIG_IsOK(ecode1)) {
20019 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20020 }
20021 arg1 = static_cast< int >(val1);
20022 }
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20037 PyObject *resultobj = 0;
20038 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20039 void *argp1 = 0 ;
20040 int res1 = 0 ;
20041 PyObject *swig_obj[1] ;
20042
20043 if (!args) SWIG_fail;
20044 swig_obj[0] = args;
20045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20046 if (!SWIG_IsOK(res1)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20048 }
20049 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 delete arg1;
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = SWIG_Py_Void();
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20065 PyObject *resultobj = 0;
20066 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20067 wxString *result = 0 ;
20068 void *argp1 = 0 ;
20069 int res1 = 0 ;
20070 PyObject *swig_obj[1] ;
20071
20072 if (!args) SWIG_fail;
20073 swig_obj[0] = args;
20074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20075 if (!SWIG_IsOK(res1)) {
20076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20077 }
20078 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 {
20082 wxString const &_result_ref = (arg1)->GetFindString();
20083 result = (wxString *) &_result_ref;
20084 }
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 {
20089 #if wxUSE_UNICODE
20090 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20091 #else
20092 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20093 #endif
20094 }
20095 return resultobj;
20096 fail:
20097 return NULL;
20098 }
20099
20100
20101 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20102 PyObject *resultobj = 0;
20103 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20104 wxString *result = 0 ;
20105 void *argp1 = 0 ;
20106 int res1 = 0 ;
20107 PyObject *swig_obj[1] ;
20108
20109 if (!args) SWIG_fail;
20110 swig_obj[0] = args;
20111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20112 if (!SWIG_IsOK(res1)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20114 }
20115 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 {
20119 wxString const &_result_ref = (arg1)->GetReplaceString();
20120 result = (wxString *) &_result_ref;
20121 }
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 #if wxUSE_UNICODE
20127 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20128 #else
20129 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20130 #endif
20131 }
20132 return resultobj;
20133 fail:
20134 return NULL;
20135 }
20136
20137
20138 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20139 PyObject *resultobj = 0;
20140 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20141 int result;
20142 void *argp1 = 0 ;
20143 int res1 = 0 ;
20144 PyObject *swig_obj[1] ;
20145
20146 if (!args) SWIG_fail;
20147 swig_obj[0] = args;
20148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20149 if (!SWIG_IsOK(res1)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20151 }
20152 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20153 {
20154 PyThreadState* __tstate = wxPyBeginAllowThreads();
20155 result = (int)(arg1)->GetFlags();
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 resultobj = SWIG_From_int(static_cast< int >(result));
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj = 0;
20168 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20169 int arg2 ;
20170 void *argp1 = 0 ;
20171 int res1 = 0 ;
20172 int val2 ;
20173 int ecode2 = 0 ;
20174 PyObject * obj0 = 0 ;
20175 PyObject * obj1 = 0 ;
20176 char * kwnames[] = {
20177 (char *) "self",(char *) "flags", NULL
20178 };
20179
20180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20182 if (!SWIG_IsOK(res1)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20184 }
20185 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20186 ecode2 = SWIG_AsVal_int(obj1, &val2);
20187 if (!SWIG_IsOK(ecode2)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20189 }
20190 arg2 = static_cast< int >(val2);
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 (arg1)->SetFlags(arg2);
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 resultobj = SWIG_Py_Void();
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj = 0;
20206 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20207 wxString *arg2 = 0 ;
20208 void *argp1 = 0 ;
20209 int res1 = 0 ;
20210 bool temp2 = false ;
20211 PyObject * obj0 = 0 ;
20212 PyObject * obj1 = 0 ;
20213 char * kwnames[] = {
20214 (char *) "self",(char *) "str", NULL
20215 };
20216
20217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20219 if (!SWIG_IsOK(res1)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20221 }
20222 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20223 {
20224 arg2 = wxString_in_helper(obj1);
20225 if (arg2 == NULL) SWIG_fail;
20226 temp2 = true;
20227 }
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 (arg1)->SetFindString((wxString const &)*arg2);
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 resultobj = SWIG_Py_Void();
20235 {
20236 if (temp2)
20237 delete arg2;
20238 }
20239 return resultobj;
20240 fail:
20241 {
20242 if (temp2)
20243 delete arg2;
20244 }
20245 return NULL;
20246 }
20247
20248
20249 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20250 PyObject *resultobj = 0;
20251 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20252 wxString *arg2 = 0 ;
20253 void *argp1 = 0 ;
20254 int res1 = 0 ;
20255 bool temp2 = false ;
20256 PyObject * obj0 = 0 ;
20257 PyObject * obj1 = 0 ;
20258 char * kwnames[] = {
20259 (char *) "self",(char *) "str", NULL
20260 };
20261
20262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20264 if (!SWIG_IsOK(res1)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20266 }
20267 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20268 {
20269 arg2 = wxString_in_helper(obj1);
20270 if (arg2 == NULL) SWIG_fail;
20271 temp2 = true;
20272 }
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 (arg1)->SetReplaceString((wxString const &)*arg2);
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = SWIG_Py_Void();
20280 {
20281 if (temp2)
20282 delete arg2;
20283 }
20284 return resultobj;
20285 fail:
20286 {
20287 if (temp2)
20288 delete arg2;
20289 }
20290 return NULL;
20291 }
20292
20293
20294 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20295 PyObject *obj;
20296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20297 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20298 return SWIG_Py_Void();
20299 }
20300
20301 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20302 return SWIG_Python_InitShadowInstance(args);
20303 }
20304
20305 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20306 PyObject *resultobj = 0;
20307 wxWindow *arg1 = (wxWindow *) 0 ;
20308 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20309 wxString *arg3 = 0 ;
20310 int arg4 = (int) 0 ;
20311 wxFindReplaceDialog *result = 0 ;
20312 void *argp1 = 0 ;
20313 int res1 = 0 ;
20314 void *argp2 = 0 ;
20315 int res2 = 0 ;
20316 bool temp3 = false ;
20317 int val4 ;
20318 int ecode4 = 0 ;
20319 PyObject * obj0 = 0 ;
20320 PyObject * obj1 = 0 ;
20321 PyObject * obj2 = 0 ;
20322 PyObject * obj3 = 0 ;
20323 char * kwnames[] = {
20324 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20325 };
20326
20327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20329 if (!SWIG_IsOK(res1)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20331 }
20332 arg1 = reinterpret_cast< wxWindow * >(argp1);
20333 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20334 if (!SWIG_IsOK(res2)) {
20335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20336 }
20337 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20338 {
20339 arg3 = wxString_in_helper(obj2);
20340 if (arg3 == NULL) SWIG_fail;
20341 temp3 = true;
20342 }
20343 if (obj3) {
20344 ecode4 = SWIG_AsVal_int(obj3, &val4);
20345 if (!SWIG_IsOK(ecode4)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20347 }
20348 arg4 = static_cast< int >(val4);
20349 }
20350 {
20351 if (!wxPyCheckForApp()) SWIG_fail;
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20358 {
20359 if (temp3)
20360 delete arg3;
20361 }
20362 return resultobj;
20363 fail:
20364 {
20365 if (temp3)
20366 delete arg3;
20367 }
20368 return NULL;
20369 }
20370
20371
20372 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20373 PyObject *resultobj = 0;
20374 wxFindReplaceDialog *result = 0 ;
20375
20376 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20377 {
20378 if (!wxPyCheckForApp()) SWIG_fail;
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20392 PyObject *resultobj = 0;
20393 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20394 wxWindow *arg2 = (wxWindow *) 0 ;
20395 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20396 wxString *arg4 = 0 ;
20397 int arg5 = (int) 0 ;
20398 bool result;
20399 void *argp1 = 0 ;
20400 int res1 = 0 ;
20401 void *argp2 = 0 ;
20402 int res2 = 0 ;
20403 void *argp3 = 0 ;
20404 int res3 = 0 ;
20405 bool temp4 = false ;
20406 int val5 ;
20407 int ecode5 = 0 ;
20408 PyObject * obj0 = 0 ;
20409 PyObject * obj1 = 0 ;
20410 PyObject * obj2 = 0 ;
20411 PyObject * obj3 = 0 ;
20412 PyObject * obj4 = 0 ;
20413 char * kwnames[] = {
20414 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20415 };
20416
20417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20419 if (!SWIG_IsOK(res1)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20421 }
20422 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20423 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20424 if (!SWIG_IsOK(res2)) {
20425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20426 }
20427 arg2 = reinterpret_cast< wxWindow * >(argp2);
20428 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20429 if (!SWIG_IsOK(res3)) {
20430 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20431 }
20432 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20433 {
20434 arg4 = wxString_in_helper(obj3);
20435 if (arg4 == NULL) SWIG_fail;
20436 temp4 = true;
20437 }
20438 if (obj4) {
20439 ecode5 = SWIG_AsVal_int(obj4, &val5);
20440 if (!SWIG_IsOK(ecode5)) {
20441 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20442 }
20443 arg5 = static_cast< int >(val5);
20444 }
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 {
20452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20453 }
20454 {
20455 if (temp4)
20456 delete arg4;
20457 }
20458 return resultobj;
20459 fail:
20460 {
20461 if (temp4)
20462 delete arg4;
20463 }
20464 return NULL;
20465 }
20466
20467
20468 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20469 PyObject *resultobj = 0;
20470 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20471 wxFindReplaceData *result = 0 ;
20472 void *argp1 = 0 ;
20473 int res1 = 0 ;
20474 PyObject *swig_obj[1] ;
20475
20476 if (!args) SWIG_fail;
20477 swig_obj[0] = args;
20478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20479 if (!SWIG_IsOK(res1)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20481 }
20482 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 result = (wxFindReplaceData *)(arg1)->GetData();
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj = 0;
20498 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20499 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20500 void *argp1 = 0 ;
20501 int res1 = 0 ;
20502 void *argp2 = 0 ;
20503 int res2 = 0 ;
20504 PyObject * obj0 = 0 ;
20505 PyObject * obj1 = 0 ;
20506 char * kwnames[] = {
20507 (char *) "self",(char *) "data", NULL
20508 };
20509
20510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20512 if (!SWIG_IsOK(res1)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20514 }
20515 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20516 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20517 if (!SWIG_IsOK(res2)) {
20518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20519 }
20520 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 (arg1)->SetData(arg2);
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 resultobj = SWIG_Py_Void();
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20535 PyObject *obj;
20536 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20537 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20538 return SWIG_Py_Void();
20539 }
20540
20541 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20542 return SWIG_Python_InitShadowInstance(args);
20543 }
20544
20545 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj = 0;
20547 wxWindow *arg1 = (wxWindow *) 0 ;
20548 int arg2 = (int) (int)-1 ;
20549 wxString const &arg3_defvalue = wxPyEmptyString ;
20550 wxString *arg3 = (wxString *) &arg3_defvalue ;
20551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20553 wxSize const &arg5_defvalue = wxDefaultSize ;
20554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20555 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20556 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20557 wxString *arg7 = (wxString *) &arg7_defvalue ;
20558 wxMDIParentFrame *result = 0 ;
20559 void *argp1 = 0 ;
20560 int res1 = 0 ;
20561 int val2 ;
20562 int ecode2 = 0 ;
20563 bool temp3 = false ;
20564 wxPoint temp4 ;
20565 wxSize temp5 ;
20566 long val6 ;
20567 int ecode6 = 0 ;
20568 bool temp7 = false ;
20569 PyObject * obj0 = 0 ;
20570 PyObject * obj1 = 0 ;
20571 PyObject * obj2 = 0 ;
20572 PyObject * obj3 = 0 ;
20573 PyObject * obj4 = 0 ;
20574 PyObject * obj5 = 0 ;
20575 PyObject * obj6 = 0 ;
20576 char * kwnames[] = {
20577 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20578 };
20579
20580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20582 if (!SWIG_IsOK(res1)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20584 }
20585 arg1 = reinterpret_cast< wxWindow * >(argp1);
20586 if (obj1) {
20587 ecode2 = SWIG_AsVal_int(obj1, &val2);
20588 if (!SWIG_IsOK(ecode2)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20590 }
20591 arg2 = static_cast< int >(val2);
20592 }
20593 if (obj2) {
20594 {
20595 arg3 = wxString_in_helper(obj2);
20596 if (arg3 == NULL) SWIG_fail;
20597 temp3 = true;
20598 }
20599 }
20600 if (obj3) {
20601 {
20602 arg4 = &temp4;
20603 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20604 }
20605 }
20606 if (obj4) {
20607 {
20608 arg5 = &temp5;
20609 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20610 }
20611 }
20612 if (obj5) {
20613 ecode6 = SWIG_AsVal_long(obj5, &val6);
20614 if (!SWIG_IsOK(ecode6)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20616 }
20617 arg6 = static_cast< long >(val6);
20618 }
20619 if (obj6) {
20620 {
20621 arg7 = wxString_in_helper(obj6);
20622 if (arg7 == NULL) SWIG_fail;
20623 temp7 = true;
20624 }
20625 }
20626 {
20627 if (!wxPyCheckForApp()) SWIG_fail;
20628 PyThreadState* __tstate = wxPyBeginAllowThreads();
20629 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20634 {
20635 if (temp3)
20636 delete arg3;
20637 }
20638 {
20639 if (temp7)
20640 delete arg7;
20641 }
20642 return resultobj;
20643 fail:
20644 {
20645 if (temp3)
20646 delete arg3;
20647 }
20648 {
20649 if (temp7)
20650 delete arg7;
20651 }
20652 return NULL;
20653 }
20654
20655
20656 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20657 PyObject *resultobj = 0;
20658 wxMDIParentFrame *result = 0 ;
20659
20660 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20661 {
20662 if (!wxPyCheckForApp()) SWIG_fail;
20663 PyThreadState* __tstate = wxPyBeginAllowThreads();
20664 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj = 0;
20677 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20678 wxWindow *arg2 = (wxWindow *) 0 ;
20679 int arg3 = (int) (int)-1 ;
20680 wxString const &arg4_defvalue = wxPyEmptyString ;
20681 wxString *arg4 = (wxString *) &arg4_defvalue ;
20682 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20683 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20684 wxSize const &arg6_defvalue = wxDefaultSize ;
20685 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20686 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20687 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20688 wxString *arg8 = (wxString *) &arg8_defvalue ;
20689 bool result;
20690 void *argp1 = 0 ;
20691 int res1 = 0 ;
20692 void *argp2 = 0 ;
20693 int res2 = 0 ;
20694 int val3 ;
20695 int ecode3 = 0 ;
20696 bool temp4 = false ;
20697 wxPoint temp5 ;
20698 wxSize temp6 ;
20699 long val7 ;
20700 int ecode7 = 0 ;
20701 bool temp8 = false ;
20702 PyObject * obj0 = 0 ;
20703 PyObject * obj1 = 0 ;
20704 PyObject * obj2 = 0 ;
20705 PyObject * obj3 = 0 ;
20706 PyObject * obj4 = 0 ;
20707 PyObject * obj5 = 0 ;
20708 PyObject * obj6 = 0 ;
20709 PyObject * obj7 = 0 ;
20710 char * kwnames[] = {
20711 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20712 };
20713
20714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20716 if (!SWIG_IsOK(res1)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20718 }
20719 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20721 if (!SWIG_IsOK(res2)) {
20722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20723 }
20724 arg2 = reinterpret_cast< wxWindow * >(argp2);
20725 if (obj2) {
20726 ecode3 = SWIG_AsVal_int(obj2, &val3);
20727 if (!SWIG_IsOK(ecode3)) {
20728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20729 }
20730 arg3 = static_cast< int >(val3);
20731 }
20732 if (obj3) {
20733 {
20734 arg4 = wxString_in_helper(obj3);
20735 if (arg4 == NULL) SWIG_fail;
20736 temp4 = true;
20737 }
20738 }
20739 if (obj4) {
20740 {
20741 arg5 = &temp5;
20742 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20743 }
20744 }
20745 if (obj5) {
20746 {
20747 arg6 = &temp6;
20748 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20749 }
20750 }
20751 if (obj6) {
20752 ecode7 = SWIG_AsVal_long(obj6, &val7);
20753 if (!SWIG_IsOK(ecode7)) {
20754 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20755 }
20756 arg7 = static_cast< long >(val7);
20757 }
20758 if (obj7) {
20759 {
20760 arg8 = wxString_in_helper(obj7);
20761 if (arg8 == NULL) SWIG_fail;
20762 temp8 = true;
20763 }
20764 }
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 {
20772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20773 }
20774 {
20775 if (temp4)
20776 delete arg4;
20777 }
20778 {
20779 if (temp8)
20780 delete arg8;
20781 }
20782 return resultobj;
20783 fail:
20784 {
20785 if (temp4)
20786 delete arg4;
20787 }
20788 {
20789 if (temp8)
20790 delete arg8;
20791 }
20792 return NULL;
20793 }
20794
20795
20796 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20797 PyObject *resultobj = 0;
20798 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20799 void *argp1 = 0 ;
20800 int res1 = 0 ;
20801 PyObject *swig_obj[1] ;
20802
20803 if (!args) SWIG_fail;
20804 swig_obj[0] = args;
20805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20806 if (!SWIG_IsOK(res1)) {
20807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20808 }
20809 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 (arg1)->ActivateNext();
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 resultobj = SWIG_Py_Void();
20817 return resultobj;
20818 fail:
20819 return NULL;
20820 }
20821
20822
20823 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20824 PyObject *resultobj = 0;
20825 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20826 void *argp1 = 0 ;
20827 int res1 = 0 ;
20828 PyObject *swig_obj[1] ;
20829
20830 if (!args) SWIG_fail;
20831 swig_obj[0] = args;
20832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20833 if (!SWIG_IsOK(res1)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20835 }
20836 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 (arg1)->ActivatePrevious();
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 resultobj = SWIG_Py_Void();
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20851 PyObject *resultobj = 0;
20852 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20853 void *argp1 = 0 ;
20854 int res1 = 0 ;
20855 PyObject *swig_obj[1] ;
20856
20857 if (!args) SWIG_fail;
20858 swig_obj[0] = args;
20859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20860 if (!SWIG_IsOK(res1)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20862 }
20863 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 (arg1)->ArrangeIcons();
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 resultobj = SWIG_Py_Void();
20871 return resultobj;
20872 fail:
20873 return NULL;
20874 }
20875
20876
20877 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20878 PyObject *resultobj = 0;
20879 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20880 void *argp1 = 0 ;
20881 int res1 = 0 ;
20882 PyObject *swig_obj[1] ;
20883
20884 if (!args) SWIG_fail;
20885 swig_obj[0] = args;
20886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20887 if (!SWIG_IsOK(res1)) {
20888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20889 }
20890 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 (arg1)->Cascade();
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 *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20905 PyObject *resultobj = 0;
20906 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20907 wxMDIChildFrame *result = 0 ;
20908 void *argp1 = 0 ;
20909 int res1 = 0 ;
20910 PyObject *swig_obj[1] ;
20911
20912 if (!args) SWIG_fail;
20913 swig_obj[0] = args;
20914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20915 if (!SWIG_IsOK(res1)) {
20916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20917 }
20918 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20922 wxPyEndAllowThreads(__tstate);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 }
20925 {
20926 resultobj = wxPyMake_wxObject(result, (bool)0);
20927 }
20928 return resultobj;
20929 fail:
20930 return NULL;
20931 }
20932
20933
20934 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20935 PyObject *resultobj = 0;
20936 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20937 wxMDIClientWindow *result = 0 ;
20938 void *argp1 = 0 ;
20939 int res1 = 0 ;
20940 PyObject *swig_obj[1] ;
20941
20942 if (!args) SWIG_fail;
20943 swig_obj[0] = args;
20944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20945 if (!SWIG_IsOK(res1)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20947 }
20948 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 {
20956 resultobj = wxPyMake_wxObject(result, (bool)0);
20957 }
20958 return resultobj;
20959 fail:
20960 return NULL;
20961 }
20962
20963
20964 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj = 0;
20966 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20967 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20968 void *argp1 = 0 ;
20969 int res1 = 0 ;
20970 int val2 ;
20971 int ecode2 = 0 ;
20972 PyObject * obj0 = 0 ;
20973 PyObject * obj1 = 0 ;
20974 char * kwnames[] = {
20975 (char *) "self",(char *) "orient", NULL
20976 };
20977
20978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20980 if (!SWIG_IsOK(res1)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20982 }
20983 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20984 if (obj1) {
20985 ecode2 = SWIG_AsVal_int(obj1, &val2);
20986 if (!SWIG_IsOK(ecode2)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20988 }
20989 arg2 = static_cast< wxOrientation >(val2);
20990 }
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 (arg1)->Tile(arg2);
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 resultobj = SWIG_Py_Void();
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21005 PyObject *obj;
21006 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21008 return SWIG_Py_Void();
21009 }
21010
21011 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21012 return SWIG_Python_InitShadowInstance(args);
21013 }
21014
21015 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj = 0;
21017 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21018 int arg2 = (int) (int)-1 ;
21019 wxString const &arg3_defvalue = wxPyEmptyString ;
21020 wxString *arg3 = (wxString *) &arg3_defvalue ;
21021 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21022 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21023 wxSize const &arg5_defvalue = wxDefaultSize ;
21024 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21025 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21026 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21027 wxString *arg7 = (wxString *) &arg7_defvalue ;
21028 wxMDIChildFrame *result = 0 ;
21029 void *argp1 = 0 ;
21030 int res1 = 0 ;
21031 int val2 ;
21032 int ecode2 = 0 ;
21033 bool temp3 = false ;
21034 wxPoint temp4 ;
21035 wxSize temp5 ;
21036 long val6 ;
21037 int ecode6 = 0 ;
21038 bool temp7 = false ;
21039 PyObject * obj0 = 0 ;
21040 PyObject * obj1 = 0 ;
21041 PyObject * obj2 = 0 ;
21042 PyObject * obj3 = 0 ;
21043 PyObject * obj4 = 0 ;
21044 PyObject * obj5 = 0 ;
21045 PyObject * obj6 = 0 ;
21046 char * kwnames[] = {
21047 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21048 };
21049
21050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21052 if (!SWIG_IsOK(res1)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21054 }
21055 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21056 if (obj1) {
21057 ecode2 = SWIG_AsVal_int(obj1, &val2);
21058 if (!SWIG_IsOK(ecode2)) {
21059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21060 }
21061 arg2 = static_cast< int >(val2);
21062 }
21063 if (obj2) {
21064 {
21065 arg3 = wxString_in_helper(obj2);
21066 if (arg3 == NULL) SWIG_fail;
21067 temp3 = true;
21068 }
21069 }
21070 if (obj3) {
21071 {
21072 arg4 = &temp4;
21073 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21074 }
21075 }
21076 if (obj4) {
21077 {
21078 arg5 = &temp5;
21079 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21080 }
21081 }
21082 if (obj5) {
21083 ecode6 = SWIG_AsVal_long(obj5, &val6);
21084 if (!SWIG_IsOK(ecode6)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21086 }
21087 arg6 = static_cast< long >(val6);
21088 }
21089 if (obj6) {
21090 {
21091 arg7 = wxString_in_helper(obj6);
21092 if (arg7 == NULL) SWIG_fail;
21093 temp7 = true;
21094 }
21095 }
21096 {
21097 if (!wxPyCheckForApp()) SWIG_fail;
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21104 {
21105 if (temp3)
21106 delete arg3;
21107 }
21108 {
21109 if (temp7)
21110 delete arg7;
21111 }
21112 return resultobj;
21113 fail:
21114 {
21115 if (temp3)
21116 delete arg3;
21117 }
21118 {
21119 if (temp7)
21120 delete arg7;
21121 }
21122 return NULL;
21123 }
21124
21125
21126 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21127 PyObject *resultobj = 0;
21128 wxMDIChildFrame *result = 0 ;
21129
21130 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21131 {
21132 if (!wxPyCheckForApp()) SWIG_fail;
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj = 0;
21147 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21148 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21149 int arg3 = (int) (int)-1 ;
21150 wxString const &arg4_defvalue = wxPyEmptyString ;
21151 wxString *arg4 = (wxString *) &arg4_defvalue ;
21152 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21153 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21154 wxSize const &arg6_defvalue = wxDefaultSize ;
21155 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21156 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21157 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21158 wxString *arg8 = (wxString *) &arg8_defvalue ;
21159 bool result;
21160 void *argp1 = 0 ;
21161 int res1 = 0 ;
21162 void *argp2 = 0 ;
21163 int res2 = 0 ;
21164 int val3 ;
21165 int ecode3 = 0 ;
21166 bool temp4 = false ;
21167 wxPoint temp5 ;
21168 wxSize temp6 ;
21169 long val7 ;
21170 int ecode7 = 0 ;
21171 bool temp8 = false ;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 PyObject * obj2 = 0 ;
21175 PyObject * obj3 = 0 ;
21176 PyObject * obj4 = 0 ;
21177 PyObject * obj5 = 0 ;
21178 PyObject * obj6 = 0 ;
21179 PyObject * obj7 = 0 ;
21180 char * kwnames[] = {
21181 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21182 };
21183
21184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21186 if (!SWIG_IsOK(res1)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21188 }
21189 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21191 if (!SWIG_IsOK(res2)) {
21192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21193 }
21194 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21195 if (obj2) {
21196 ecode3 = SWIG_AsVal_int(obj2, &val3);
21197 if (!SWIG_IsOK(ecode3)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21199 }
21200 arg3 = static_cast< int >(val3);
21201 }
21202 if (obj3) {
21203 {
21204 arg4 = wxString_in_helper(obj3);
21205 if (arg4 == NULL) SWIG_fail;
21206 temp4 = true;
21207 }
21208 }
21209 if (obj4) {
21210 {
21211 arg5 = &temp5;
21212 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21213 }
21214 }
21215 if (obj5) {
21216 {
21217 arg6 = &temp6;
21218 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21219 }
21220 }
21221 if (obj6) {
21222 ecode7 = SWIG_AsVal_long(obj6, &val7);
21223 if (!SWIG_IsOK(ecode7)) {
21224 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21225 }
21226 arg7 = static_cast< long >(val7);
21227 }
21228 if (obj7) {
21229 {
21230 arg8 = wxString_in_helper(obj7);
21231 if (arg8 == NULL) SWIG_fail;
21232 temp8 = true;
21233 }
21234 }
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21238 wxPyEndAllowThreads(__tstate);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 {
21242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21243 }
21244 {
21245 if (temp4)
21246 delete arg4;
21247 }
21248 {
21249 if (temp8)
21250 delete arg8;
21251 }
21252 return resultobj;
21253 fail:
21254 {
21255 if (temp4)
21256 delete arg4;
21257 }
21258 {
21259 if (temp8)
21260 delete arg8;
21261 }
21262 return NULL;
21263 }
21264
21265
21266 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21267 PyObject *resultobj = 0;
21268 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21269 void *argp1 = 0 ;
21270 int res1 = 0 ;
21271 PyObject *swig_obj[1] ;
21272
21273 if (!args) SWIG_fail;
21274 swig_obj[0] = args;
21275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21276 if (!SWIG_IsOK(res1)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21278 }
21279 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 (arg1)->Activate();
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = SWIG_Py_Void();
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21294 PyObject *obj;
21295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21296 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21297 return SWIG_Py_Void();
21298 }
21299
21300 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21301 return SWIG_Python_InitShadowInstance(args);
21302 }
21303
21304 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21305 PyObject *resultobj = 0;
21306 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21307 long arg2 = (long) 0 ;
21308 wxMDIClientWindow *result = 0 ;
21309 void *argp1 = 0 ;
21310 int res1 = 0 ;
21311 long val2 ;
21312 int ecode2 = 0 ;
21313 PyObject * obj0 = 0 ;
21314 PyObject * obj1 = 0 ;
21315 char * kwnames[] = {
21316 (char *) "parent",(char *) "style", NULL
21317 };
21318
21319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21321 if (!SWIG_IsOK(res1)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21323 }
21324 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21325 if (obj1) {
21326 ecode2 = SWIG_AsVal_long(obj1, &val2);
21327 if (!SWIG_IsOK(ecode2)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21329 }
21330 arg2 = static_cast< long >(val2);
21331 }
21332 {
21333 if (!wxPyCheckForApp()) SWIG_fail;
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21340 return resultobj;
21341 fail:
21342 return NULL;
21343 }
21344
21345
21346 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21347 PyObject *resultobj = 0;
21348 wxMDIClientWindow *result = 0 ;
21349
21350 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21351 {
21352 if (!wxPyCheckForApp()) SWIG_fail;
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21359 return resultobj;
21360 fail:
21361 return NULL;
21362 }
21363
21364
21365 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj = 0;
21367 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21368 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21369 long arg3 = (long) 0 ;
21370 bool result;
21371 void *argp1 = 0 ;
21372 int res1 = 0 ;
21373 void *argp2 = 0 ;
21374 int res2 = 0 ;
21375 long val3 ;
21376 int ecode3 = 0 ;
21377 PyObject * obj0 = 0 ;
21378 PyObject * obj1 = 0 ;
21379 PyObject * obj2 = 0 ;
21380 char * kwnames[] = {
21381 (char *) "self",(char *) "parent",(char *) "style", NULL
21382 };
21383
21384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21386 if (!SWIG_IsOK(res1)) {
21387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21388 }
21389 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21390 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21391 if (!SWIG_IsOK(res2)) {
21392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21393 }
21394 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21395 if (obj2) {
21396 ecode3 = SWIG_AsVal_long(obj2, &val3);
21397 if (!SWIG_IsOK(ecode3)) {
21398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21399 }
21400 arg3 = static_cast< long >(val3);
21401 }
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = (bool)(arg1)->Create(arg2,arg3);
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 {
21409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21410 }
21411 return resultobj;
21412 fail:
21413 return NULL;
21414 }
21415
21416
21417 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21418 PyObject *obj;
21419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21420 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21421 return SWIG_Py_Void();
21422 }
21423
21424 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21425 return SWIG_Python_InitShadowInstance(args);
21426 }
21427
21428 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj = 0;
21430 wxWindow *arg1 = (wxWindow *) 0 ;
21431 int arg2 = (int) (int)-1 ;
21432 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21433 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21434 wxSize const &arg4_defvalue = wxDefaultSize ;
21435 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21436 long arg5 = (long) 0 ;
21437 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21438 wxString *arg6 = (wxString *) &arg6_defvalue ;
21439 wxPyWindow *result = 0 ;
21440 void *argp1 = 0 ;
21441 int res1 = 0 ;
21442 int val2 ;
21443 int ecode2 = 0 ;
21444 wxPoint temp3 ;
21445 wxSize temp4 ;
21446 long val5 ;
21447 int ecode5 = 0 ;
21448 bool temp6 = false ;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 PyObject * obj2 = 0 ;
21452 PyObject * obj3 = 0 ;
21453 PyObject * obj4 = 0 ;
21454 PyObject * obj5 = 0 ;
21455 char * kwnames[] = {
21456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21457 };
21458
21459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21461 if (!SWIG_IsOK(res1)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21463 }
21464 arg1 = reinterpret_cast< wxWindow * >(argp1);
21465 if (obj1) {
21466 ecode2 = SWIG_AsVal_int(obj1, &val2);
21467 if (!SWIG_IsOK(ecode2)) {
21468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21469 }
21470 arg2 = static_cast< int >(val2);
21471 }
21472 if (obj2) {
21473 {
21474 arg3 = &temp3;
21475 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21476 }
21477 }
21478 if (obj3) {
21479 {
21480 arg4 = &temp4;
21481 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21482 }
21483 }
21484 if (obj4) {
21485 ecode5 = SWIG_AsVal_long(obj4, &val5);
21486 if (!SWIG_IsOK(ecode5)) {
21487 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21488 }
21489 arg5 = static_cast< long >(val5);
21490 }
21491 if (obj5) {
21492 {
21493 arg6 = wxString_in_helper(obj5);
21494 if (arg6 == NULL) SWIG_fail;
21495 temp6 = true;
21496 }
21497 }
21498 {
21499 if (!wxPyCheckForApp()) SWIG_fail;
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21506 {
21507 if (temp6)
21508 delete arg6;
21509 }
21510 return resultobj;
21511 fail:
21512 {
21513 if (temp6)
21514 delete arg6;
21515 }
21516 return NULL;
21517 }
21518
21519
21520 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21521 PyObject *resultobj = 0;
21522 wxPyWindow *result = 0 ;
21523
21524 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21525 {
21526 if (!wxPyCheckForApp()) SWIG_fail;
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = (wxPyWindow *)new wxPyWindow();
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj = 0;
21541 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21542 PyObject *arg2 = (PyObject *) 0 ;
21543 PyObject *arg3 = (PyObject *) 0 ;
21544 void *argp1 = 0 ;
21545 int res1 = 0 ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 PyObject * obj2 = 0 ;
21549 char * kwnames[] = {
21550 (char *) "self",(char *) "self",(char *) "_class", NULL
21551 };
21552
21553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21555 if (!SWIG_IsOK(res1)) {
21556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21557 }
21558 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21559 arg2 = obj1;
21560 arg3 = obj2;
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 (arg1)->_setCallbackInfo(arg2,arg3);
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 resultobj = SWIG_Py_Void();
21568 return resultobj;
21569 fail:
21570 return NULL;
21571 }
21572
21573
21574 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj = 0;
21576 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21577 wxSize *arg2 = 0 ;
21578 void *argp1 = 0 ;
21579 int res1 = 0 ;
21580 wxSize temp2 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char * kwnames[] = {
21584 (char *) "self",(char *) "size", NULL
21585 };
21586
21587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21589 if (!SWIG_IsOK(res1)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21591 }
21592 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21593 {
21594 arg2 = &temp2;
21595 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21596 }
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->SetBestSize((wxSize const &)*arg2);
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 resultobj = SWIG_Py_Void();
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj = 0;
21612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21613 wxDC *arg2 = (wxDC *) 0 ;
21614 bool result;
21615 void *argp1 = 0 ;
21616 int res1 = 0 ;
21617 void *argp2 = 0 ;
21618 int res2 = 0 ;
21619 PyObject * obj0 = 0 ;
21620 PyObject * obj1 = 0 ;
21621 char * kwnames[] = {
21622 (char *) "self",(char *) "dc", NULL
21623 };
21624
21625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21627 if (!SWIG_IsOK(res1)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21629 }
21630 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21632 if (!SWIG_IsOK(res2)) {
21633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21634 }
21635 arg2 = reinterpret_cast< wxDC * >(argp2);
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 result = (bool)(arg1)->DoEraseBackground(arg2);
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 {
21643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21644 }
21645 return resultobj;
21646 fail:
21647 return NULL;
21648 }
21649
21650
21651 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21652 PyObject *resultobj = 0;
21653 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21654 int arg2 ;
21655 int arg3 ;
21656 int arg4 ;
21657 int arg5 ;
21658 void *argp1 = 0 ;
21659 int res1 = 0 ;
21660 int val2 ;
21661 int ecode2 = 0 ;
21662 int val3 ;
21663 int ecode3 = 0 ;
21664 int val4 ;
21665 int ecode4 = 0 ;
21666 int val5 ;
21667 int ecode5 = 0 ;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 PyObject * obj2 = 0 ;
21671 PyObject * obj3 = 0 ;
21672 PyObject * obj4 = 0 ;
21673 char * kwnames[] = {
21674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21675 };
21676
21677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21679 if (!SWIG_IsOK(res1)) {
21680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21681 }
21682 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21683 ecode2 = SWIG_AsVal_int(obj1, &val2);
21684 if (!SWIG_IsOK(ecode2)) {
21685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21686 }
21687 arg2 = static_cast< int >(val2);
21688 ecode3 = SWIG_AsVal_int(obj2, &val3);
21689 if (!SWIG_IsOK(ecode3)) {
21690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21691 }
21692 arg3 = static_cast< int >(val3);
21693 ecode4 = SWIG_AsVal_int(obj3, &val4);
21694 if (!SWIG_IsOK(ecode4)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21696 }
21697 arg4 = static_cast< int >(val4);
21698 ecode5 = SWIG_AsVal_int(obj4, &val5);
21699 if (!SWIG_IsOK(ecode5)) {
21700 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21701 }
21702 arg5 = static_cast< int >(val5);
21703 {
21704 PyThreadState* __tstate = wxPyBeginAllowThreads();
21705 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 resultobj = SWIG_Py_Void();
21710 return resultobj;
21711 fail:
21712 return NULL;
21713 }
21714
21715
21716 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21717 PyObject *resultobj = 0;
21718 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21719 int arg2 ;
21720 int arg3 ;
21721 int arg4 ;
21722 int arg5 ;
21723 int arg6 = (int) wxSIZE_AUTO ;
21724 void *argp1 = 0 ;
21725 int res1 = 0 ;
21726 int val2 ;
21727 int ecode2 = 0 ;
21728 int val3 ;
21729 int ecode3 = 0 ;
21730 int val4 ;
21731 int ecode4 = 0 ;
21732 int val5 ;
21733 int ecode5 = 0 ;
21734 int val6 ;
21735 int ecode6 = 0 ;
21736 PyObject * obj0 = 0 ;
21737 PyObject * obj1 = 0 ;
21738 PyObject * obj2 = 0 ;
21739 PyObject * obj3 = 0 ;
21740 PyObject * obj4 = 0 ;
21741 PyObject * obj5 = 0 ;
21742 char * kwnames[] = {
21743 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21744 };
21745
21746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21748 if (!SWIG_IsOK(res1)) {
21749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21750 }
21751 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21752 ecode2 = SWIG_AsVal_int(obj1, &val2);
21753 if (!SWIG_IsOK(ecode2)) {
21754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21755 }
21756 arg2 = static_cast< int >(val2);
21757 ecode3 = SWIG_AsVal_int(obj2, &val3);
21758 if (!SWIG_IsOK(ecode3)) {
21759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21760 }
21761 arg3 = static_cast< int >(val3);
21762 ecode4 = SWIG_AsVal_int(obj3, &val4);
21763 if (!SWIG_IsOK(ecode4)) {
21764 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21765 }
21766 arg4 = static_cast< int >(val4);
21767 ecode5 = SWIG_AsVal_int(obj4, &val5);
21768 if (!SWIG_IsOK(ecode5)) {
21769 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21770 }
21771 arg5 = static_cast< int >(val5);
21772 if (obj5) {
21773 ecode6 = SWIG_AsVal_int(obj5, &val6);
21774 if (!SWIG_IsOK(ecode6)) {
21775 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21776 }
21777 arg6 = static_cast< int >(val6);
21778 }
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21782 wxPyEndAllowThreads(__tstate);
21783 if (PyErr_Occurred()) SWIG_fail;
21784 }
21785 resultobj = SWIG_Py_Void();
21786 return resultobj;
21787 fail:
21788 return NULL;
21789 }
21790
21791
21792 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj = 0;
21794 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21795 int arg2 ;
21796 int arg3 ;
21797 void *argp1 = 0 ;
21798 int res1 = 0 ;
21799 int val2 ;
21800 int ecode2 = 0 ;
21801 int val3 ;
21802 int ecode3 = 0 ;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 PyObject * obj2 = 0 ;
21806 char * kwnames[] = {
21807 (char *) "self",(char *) "width",(char *) "height", NULL
21808 };
21809
21810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21812 if (!SWIG_IsOK(res1)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21814 }
21815 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21816 ecode2 = SWIG_AsVal_int(obj1, &val2);
21817 if (!SWIG_IsOK(ecode2)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21819 }
21820 arg2 = static_cast< int >(val2);
21821 ecode3 = SWIG_AsVal_int(obj2, &val3);
21822 if (!SWIG_IsOK(ecode3)) {
21823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21824 }
21825 arg3 = static_cast< int >(val3);
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 (arg1)->DoSetClientSize(arg2,arg3);
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 resultobj = SWIG_Py_Void();
21833 return resultobj;
21834 fail:
21835 return NULL;
21836 }
21837
21838
21839 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj = 0;
21841 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21842 int arg2 ;
21843 int arg3 ;
21844 void *argp1 = 0 ;
21845 int res1 = 0 ;
21846 int val2 ;
21847 int ecode2 = 0 ;
21848 int val3 ;
21849 int ecode3 = 0 ;
21850 PyObject * obj0 = 0 ;
21851 PyObject * obj1 = 0 ;
21852 PyObject * obj2 = 0 ;
21853 char * kwnames[] = {
21854 (char *) "self",(char *) "x",(char *) "y", NULL
21855 };
21856
21857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21859 if (!SWIG_IsOK(res1)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21861 }
21862 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21863 ecode2 = SWIG_AsVal_int(obj1, &val2);
21864 if (!SWIG_IsOK(ecode2)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21866 }
21867 arg2 = static_cast< int >(val2);
21868 ecode3 = SWIG_AsVal_int(obj2, &val3);
21869 if (!SWIG_IsOK(ecode3)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21871 }
21872 arg3 = static_cast< int >(val3);
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 (arg1)->DoSetVirtualSize(arg2,arg3);
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 resultobj = SWIG_Py_Void();
21880 return resultobj;
21881 fail:
21882 return NULL;
21883 }
21884
21885
21886 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21887 PyObject *resultobj = 0;
21888 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21889 int *arg2 = (int *) 0 ;
21890 int *arg3 = (int *) 0 ;
21891 void *argp1 = 0 ;
21892 int res1 = 0 ;
21893 int temp2 ;
21894 int res2 = SWIG_TMPOBJ ;
21895 int temp3 ;
21896 int res3 = SWIG_TMPOBJ ;
21897 PyObject *swig_obj[1] ;
21898
21899 arg2 = &temp2;
21900 arg3 = &temp3;
21901 if (!args) SWIG_fail;
21902 swig_obj[0] = args;
21903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21904 if (!SWIG_IsOK(res1)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21906 }
21907 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 resultobj = SWIG_Py_Void();
21915 if (SWIG_IsTmpObj(res2)) {
21916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21917 } else {
21918 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21919 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21920 }
21921 if (SWIG_IsTmpObj(res3)) {
21922 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21923 } else {
21924 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21925 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21926 }
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21934 PyObject *resultobj = 0;
21935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21936 int *arg2 = (int *) 0 ;
21937 int *arg3 = (int *) 0 ;
21938 void *argp1 = 0 ;
21939 int res1 = 0 ;
21940 int temp2 ;
21941 int res2 = SWIG_TMPOBJ ;
21942 int temp3 ;
21943 int res3 = SWIG_TMPOBJ ;
21944 PyObject *swig_obj[1] ;
21945
21946 arg2 = &temp2;
21947 arg3 = &temp3;
21948 if (!args) SWIG_fail;
21949 swig_obj[0] = args;
21950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21951 if (!SWIG_IsOK(res1)) {
21952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21953 }
21954 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 resultobj = SWIG_Py_Void();
21962 if (SWIG_IsTmpObj(res2)) {
21963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21964 } else {
21965 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21967 }
21968 if (SWIG_IsTmpObj(res3)) {
21969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21970 } else {
21971 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21973 }
21974 return resultobj;
21975 fail:
21976 return NULL;
21977 }
21978
21979
21980 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21981 PyObject *resultobj = 0;
21982 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21983 int *arg2 = (int *) 0 ;
21984 int *arg3 = (int *) 0 ;
21985 void *argp1 = 0 ;
21986 int res1 = 0 ;
21987 int temp2 ;
21988 int res2 = SWIG_TMPOBJ ;
21989 int temp3 ;
21990 int res3 = SWIG_TMPOBJ ;
21991 PyObject *swig_obj[1] ;
21992
21993 arg2 = &temp2;
21994 arg3 = &temp3;
21995 if (!args) SWIG_fail;
21996 swig_obj[0] = args;
21997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21998 if (!SWIG_IsOK(res1)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22000 }
22001 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = SWIG_Py_Void();
22009 if (SWIG_IsTmpObj(res2)) {
22010 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22011 } else {
22012 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22013 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22014 }
22015 if (SWIG_IsTmpObj(res3)) {
22016 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22017 } else {
22018 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22019 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22020 }
22021 return resultobj;
22022 fail:
22023 return NULL;
22024 }
22025
22026
22027 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22028 PyObject *resultobj = 0;
22029 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22030 wxSize result;
22031 void *argp1 = 0 ;
22032 int res1 = 0 ;
22033 PyObject *swig_obj[1] ;
22034
22035 if (!args) SWIG_fail;
22036 swig_obj[0] = args;
22037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22038 if (!SWIG_IsOK(res1)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22040 }
22041 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22049 return resultobj;
22050 fail:
22051 return NULL;
22052 }
22053
22054
22055 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22056 PyObject *resultobj = 0;
22057 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22058 wxSize result;
22059 void *argp1 = 0 ;
22060 int res1 = 0 ;
22061 PyObject *swig_obj[1] ;
22062
22063 if (!args) SWIG_fail;
22064 swig_obj[0] = args;
22065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22066 if (!SWIG_IsOK(res1)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22068 }
22069 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22077 return resultobj;
22078 fail:
22079 return NULL;
22080 }
22081
22082
22083 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22084 PyObject *resultobj = 0;
22085 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22086 SwigValueWrapper<wxVisualAttributes > result;
22087 void *argp1 = 0 ;
22088 int res1 = 0 ;
22089 PyObject *swig_obj[1] ;
22090
22091 if (!args) SWIG_fail;
22092 swig_obj[0] = args;
22093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22094 if (!SWIG_IsOK(res1)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22096 }
22097 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (arg1)->GetDefaultAttributes();
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22112 PyObject *resultobj = 0;
22113 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22114 void *argp1 = 0 ;
22115 int res1 = 0 ;
22116 PyObject *swig_obj[1] ;
22117
22118 if (!args) SWIG_fail;
22119 swig_obj[0] = args;
22120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22121 if (!SWIG_IsOK(res1)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22123 }
22124 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 (arg1)->OnInternalIdle();
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 resultobj = SWIG_Py_Void();
22132 return resultobj;
22133 fail:
22134 return NULL;
22135 }
22136
22137
22138 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22139 PyObject *obj;
22140 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22142 return SWIG_Py_Void();
22143 }
22144
22145 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22146 return SWIG_Python_InitShadowInstance(args);
22147 }
22148
22149 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22150 PyObject *resultobj = 0;
22151 wxWindow *arg1 = (wxWindow *) 0 ;
22152 int arg2 = (int) (int)-1 ;
22153 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22154 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22155 wxSize const &arg4_defvalue = wxDefaultSize ;
22156 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22157 long arg5 = (long) 0 ;
22158 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22159 wxString *arg6 = (wxString *) &arg6_defvalue ;
22160 wxPyPanel *result = 0 ;
22161 void *argp1 = 0 ;
22162 int res1 = 0 ;
22163 int val2 ;
22164 int ecode2 = 0 ;
22165 wxPoint temp3 ;
22166 wxSize temp4 ;
22167 long val5 ;
22168 int ecode5 = 0 ;
22169 bool temp6 = false ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 PyObject * obj2 = 0 ;
22173 PyObject * obj3 = 0 ;
22174 PyObject * obj4 = 0 ;
22175 PyObject * obj5 = 0 ;
22176 char * kwnames[] = {
22177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22178 };
22179
22180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22182 if (!SWIG_IsOK(res1)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22184 }
22185 arg1 = reinterpret_cast< wxWindow * >(argp1);
22186 if (obj1) {
22187 ecode2 = SWIG_AsVal_int(obj1, &val2);
22188 if (!SWIG_IsOK(ecode2)) {
22189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22190 }
22191 arg2 = static_cast< int >(val2);
22192 }
22193 if (obj2) {
22194 {
22195 arg3 = &temp3;
22196 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22197 }
22198 }
22199 if (obj3) {
22200 {
22201 arg4 = &temp4;
22202 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22203 }
22204 }
22205 if (obj4) {
22206 ecode5 = SWIG_AsVal_long(obj4, &val5);
22207 if (!SWIG_IsOK(ecode5)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22209 }
22210 arg5 = static_cast< long >(val5);
22211 }
22212 if (obj5) {
22213 {
22214 arg6 = wxString_in_helper(obj5);
22215 if (arg6 == NULL) SWIG_fail;
22216 temp6 = true;
22217 }
22218 }
22219 {
22220 if (!wxPyCheckForApp()) SWIG_fail;
22221 PyThreadState* __tstate = wxPyBeginAllowThreads();
22222 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22227 {
22228 if (temp6)
22229 delete arg6;
22230 }
22231 return resultobj;
22232 fail:
22233 {
22234 if (temp6)
22235 delete arg6;
22236 }
22237 return NULL;
22238 }
22239
22240
22241 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22242 PyObject *resultobj = 0;
22243 wxPyPanel *result = 0 ;
22244
22245 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22246 {
22247 if (!wxPyCheckForApp()) SWIG_fail;
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 result = (wxPyPanel *)new wxPyPanel();
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22254 return resultobj;
22255 fail:
22256 return NULL;
22257 }
22258
22259
22260 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj = 0;
22262 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22263 PyObject *arg2 = (PyObject *) 0 ;
22264 PyObject *arg3 = (PyObject *) 0 ;
22265 void *argp1 = 0 ;
22266 int res1 = 0 ;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 PyObject * obj2 = 0 ;
22270 char * kwnames[] = {
22271 (char *) "self",(char *) "self",(char *) "_class", NULL
22272 };
22273
22274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22276 if (!SWIG_IsOK(res1)) {
22277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22278 }
22279 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22280 arg2 = obj1;
22281 arg3 = obj2;
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 (arg1)->_setCallbackInfo(arg2,arg3);
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 resultobj = SWIG_Py_Void();
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj = 0;
22297 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22298 wxSize *arg2 = 0 ;
22299 void *argp1 = 0 ;
22300 int res1 = 0 ;
22301 wxSize temp2 ;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 char * kwnames[] = {
22305 (char *) "self",(char *) "size", NULL
22306 };
22307
22308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22310 if (!SWIG_IsOK(res1)) {
22311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22312 }
22313 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22314 {
22315 arg2 = &temp2;
22316 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22317 }
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 (arg1)->SetBestSize((wxSize const &)*arg2);
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 resultobj = SWIG_Py_Void();
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj = 0;
22333 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22334 wxDC *arg2 = (wxDC *) 0 ;
22335 bool result;
22336 void *argp1 = 0 ;
22337 int res1 = 0 ;
22338 void *argp2 = 0 ;
22339 int res2 = 0 ;
22340 PyObject * obj0 = 0 ;
22341 PyObject * obj1 = 0 ;
22342 char * kwnames[] = {
22343 (char *) "self",(char *) "dc", NULL
22344 };
22345
22346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22348 if (!SWIG_IsOK(res1)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22350 }
22351 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22352 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22353 if (!SWIG_IsOK(res2)) {
22354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22355 }
22356 arg2 = reinterpret_cast< wxDC * >(argp2);
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 result = (bool)(arg1)->DoEraseBackground(arg2);
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 {
22364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22365 }
22366 return resultobj;
22367 fail:
22368 return NULL;
22369 }
22370
22371
22372 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj = 0;
22374 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22375 int arg2 ;
22376 int arg3 ;
22377 int arg4 ;
22378 int arg5 ;
22379 void *argp1 = 0 ;
22380 int res1 = 0 ;
22381 int val2 ;
22382 int ecode2 = 0 ;
22383 int val3 ;
22384 int ecode3 = 0 ;
22385 int val4 ;
22386 int ecode4 = 0 ;
22387 int val5 ;
22388 int ecode5 = 0 ;
22389 PyObject * obj0 = 0 ;
22390 PyObject * obj1 = 0 ;
22391 PyObject * obj2 = 0 ;
22392 PyObject * obj3 = 0 ;
22393 PyObject * obj4 = 0 ;
22394 char * kwnames[] = {
22395 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22396 };
22397
22398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22400 if (!SWIG_IsOK(res1)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22402 }
22403 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22404 ecode2 = SWIG_AsVal_int(obj1, &val2);
22405 if (!SWIG_IsOK(ecode2)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22407 }
22408 arg2 = static_cast< int >(val2);
22409 ecode3 = SWIG_AsVal_int(obj2, &val3);
22410 if (!SWIG_IsOK(ecode3)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22412 }
22413 arg3 = static_cast< int >(val3);
22414 ecode4 = SWIG_AsVal_int(obj3, &val4);
22415 if (!SWIG_IsOK(ecode4)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22417 }
22418 arg4 = static_cast< int >(val4);
22419 ecode5 = SWIG_AsVal_int(obj4, &val5);
22420 if (!SWIG_IsOK(ecode5)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22422 }
22423 arg5 = static_cast< int >(val5);
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 resultobj = SWIG_Py_Void();
22431 return resultobj;
22432 fail:
22433 return NULL;
22434 }
22435
22436
22437 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj = 0;
22439 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22440 int arg2 ;
22441 int arg3 ;
22442 int arg4 ;
22443 int arg5 ;
22444 int arg6 = (int) wxSIZE_AUTO ;
22445 void *argp1 = 0 ;
22446 int res1 = 0 ;
22447 int val2 ;
22448 int ecode2 = 0 ;
22449 int val3 ;
22450 int ecode3 = 0 ;
22451 int val4 ;
22452 int ecode4 = 0 ;
22453 int val5 ;
22454 int ecode5 = 0 ;
22455 int val6 ;
22456 int ecode6 = 0 ;
22457 PyObject * obj0 = 0 ;
22458 PyObject * obj1 = 0 ;
22459 PyObject * obj2 = 0 ;
22460 PyObject * obj3 = 0 ;
22461 PyObject * obj4 = 0 ;
22462 PyObject * obj5 = 0 ;
22463 char * kwnames[] = {
22464 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22465 };
22466
22467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22469 if (!SWIG_IsOK(res1)) {
22470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22471 }
22472 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22473 ecode2 = SWIG_AsVal_int(obj1, &val2);
22474 if (!SWIG_IsOK(ecode2)) {
22475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22476 }
22477 arg2 = static_cast< int >(val2);
22478 ecode3 = SWIG_AsVal_int(obj2, &val3);
22479 if (!SWIG_IsOK(ecode3)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22481 }
22482 arg3 = static_cast< int >(val3);
22483 ecode4 = SWIG_AsVal_int(obj3, &val4);
22484 if (!SWIG_IsOK(ecode4)) {
22485 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22486 }
22487 arg4 = static_cast< int >(val4);
22488 ecode5 = SWIG_AsVal_int(obj4, &val5);
22489 if (!SWIG_IsOK(ecode5)) {
22490 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22491 }
22492 arg5 = static_cast< int >(val5);
22493 if (obj5) {
22494 ecode6 = SWIG_AsVal_int(obj5, &val6);
22495 if (!SWIG_IsOK(ecode6)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22497 }
22498 arg6 = static_cast< int >(val6);
22499 }
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 resultobj = SWIG_Py_Void();
22507 return resultobj;
22508 fail:
22509 return NULL;
22510 }
22511
22512
22513 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj = 0;
22515 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22516 int arg2 ;
22517 int arg3 ;
22518 void *argp1 = 0 ;
22519 int res1 = 0 ;
22520 int val2 ;
22521 int ecode2 = 0 ;
22522 int val3 ;
22523 int ecode3 = 0 ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 PyObject * obj2 = 0 ;
22527 char * kwnames[] = {
22528 (char *) "self",(char *) "width",(char *) "height", NULL
22529 };
22530
22531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22533 if (!SWIG_IsOK(res1)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22535 }
22536 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22537 ecode2 = SWIG_AsVal_int(obj1, &val2);
22538 if (!SWIG_IsOK(ecode2)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22540 }
22541 arg2 = static_cast< int >(val2);
22542 ecode3 = SWIG_AsVal_int(obj2, &val3);
22543 if (!SWIG_IsOK(ecode3)) {
22544 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22545 }
22546 arg3 = static_cast< int >(val3);
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 (arg1)->DoSetClientSize(arg2,arg3);
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = SWIG_Py_Void();
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj = 0;
22562 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22563 int arg2 ;
22564 int arg3 ;
22565 void *argp1 = 0 ;
22566 int res1 = 0 ;
22567 int val2 ;
22568 int ecode2 = 0 ;
22569 int val3 ;
22570 int ecode3 = 0 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 PyObject * obj2 = 0 ;
22574 char * kwnames[] = {
22575 (char *) "self",(char *) "x",(char *) "y", NULL
22576 };
22577
22578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22580 if (!SWIG_IsOK(res1)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22582 }
22583 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22584 ecode2 = SWIG_AsVal_int(obj1, &val2);
22585 if (!SWIG_IsOK(ecode2)) {
22586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22587 }
22588 arg2 = static_cast< int >(val2);
22589 ecode3 = SWIG_AsVal_int(obj2, &val3);
22590 if (!SWIG_IsOK(ecode3)) {
22591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22592 }
22593 arg3 = static_cast< int >(val3);
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->DoSetVirtualSize(arg2,arg3);
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 resultobj = SWIG_Py_Void();
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22608 PyObject *resultobj = 0;
22609 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22610 int *arg2 = (int *) 0 ;
22611 int *arg3 = (int *) 0 ;
22612 void *argp1 = 0 ;
22613 int res1 = 0 ;
22614 int temp2 ;
22615 int res2 = SWIG_TMPOBJ ;
22616 int temp3 ;
22617 int res3 = SWIG_TMPOBJ ;
22618 PyObject *swig_obj[1] ;
22619
22620 arg2 = &temp2;
22621 arg3 = &temp3;
22622 if (!args) SWIG_fail;
22623 swig_obj[0] = args;
22624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22625 if (!SWIG_IsOK(res1)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22627 }
22628 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_Py_Void();
22636 if (SWIG_IsTmpObj(res2)) {
22637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22638 } else {
22639 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22641 }
22642 if (SWIG_IsTmpObj(res3)) {
22643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22644 } else {
22645 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22647 }
22648 return resultobj;
22649 fail:
22650 return NULL;
22651 }
22652
22653
22654 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22655 PyObject *resultobj = 0;
22656 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22657 int *arg2 = (int *) 0 ;
22658 int *arg3 = (int *) 0 ;
22659 void *argp1 = 0 ;
22660 int res1 = 0 ;
22661 int temp2 ;
22662 int res2 = SWIG_TMPOBJ ;
22663 int temp3 ;
22664 int res3 = SWIG_TMPOBJ ;
22665 PyObject *swig_obj[1] ;
22666
22667 arg2 = &temp2;
22668 arg3 = &temp3;
22669 if (!args) SWIG_fail;
22670 swig_obj[0] = args;
22671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22672 if (!SWIG_IsOK(res1)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22674 }
22675 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = SWIG_Py_Void();
22683 if (SWIG_IsTmpObj(res2)) {
22684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22685 } else {
22686 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22687 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22688 }
22689 if (SWIG_IsTmpObj(res3)) {
22690 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22691 } else {
22692 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22693 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22694 }
22695 return resultobj;
22696 fail:
22697 return NULL;
22698 }
22699
22700
22701 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22702 PyObject *resultobj = 0;
22703 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22704 int *arg2 = (int *) 0 ;
22705 int *arg3 = (int *) 0 ;
22706 void *argp1 = 0 ;
22707 int res1 = 0 ;
22708 int temp2 ;
22709 int res2 = SWIG_TMPOBJ ;
22710 int temp3 ;
22711 int res3 = SWIG_TMPOBJ ;
22712 PyObject *swig_obj[1] ;
22713
22714 arg2 = &temp2;
22715 arg3 = &temp3;
22716 if (!args) SWIG_fail;
22717 swig_obj[0] = args;
22718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22719 if (!SWIG_IsOK(res1)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22721 }
22722 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 resultobj = SWIG_Py_Void();
22730 if (SWIG_IsTmpObj(res2)) {
22731 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22732 } else {
22733 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22734 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22735 }
22736 if (SWIG_IsTmpObj(res3)) {
22737 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22738 } else {
22739 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22740 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22741 }
22742 return resultobj;
22743 fail:
22744 return NULL;
22745 }
22746
22747
22748 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22749 PyObject *resultobj = 0;
22750 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22751 wxSize result;
22752 void *argp1 = 0 ;
22753 int res1 = 0 ;
22754 PyObject *swig_obj[1] ;
22755
22756 if (!args) SWIG_fail;
22757 swig_obj[0] = args;
22758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22759 if (!SWIG_IsOK(res1)) {
22760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22761 }
22762 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22766 wxPyEndAllowThreads(__tstate);
22767 if (PyErr_Occurred()) SWIG_fail;
22768 }
22769 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22770 return resultobj;
22771 fail:
22772 return NULL;
22773 }
22774
22775
22776 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22777 PyObject *resultobj = 0;
22778 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22779 wxSize result;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 PyObject *swig_obj[1] ;
22783
22784 if (!args) SWIG_fail;
22785 swig_obj[0] = args;
22786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22787 if (!SWIG_IsOK(res1)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22789 }
22790 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22798 return resultobj;
22799 fail:
22800 return NULL;
22801 }
22802
22803
22804 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22805 PyObject *resultobj = 0;
22806 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22807 SwigValueWrapper<wxVisualAttributes > result;
22808 void *argp1 = 0 ;
22809 int res1 = 0 ;
22810 PyObject *swig_obj[1] ;
22811
22812 if (!args) SWIG_fail;
22813 swig_obj[0] = args;
22814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22815 if (!SWIG_IsOK(res1)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22817 }
22818 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 result = (arg1)->GetDefaultAttributes();
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
22825 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22826 return resultobj;
22827 fail:
22828 return NULL;
22829 }
22830
22831
22832 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22833 PyObject *resultobj = 0;
22834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22835 void *argp1 = 0 ;
22836 int res1 = 0 ;
22837 PyObject *swig_obj[1] ;
22838
22839 if (!args) SWIG_fail;
22840 swig_obj[0] = args;
22841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22842 if (!SWIG_IsOK(res1)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22844 }
22845 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 (arg1)->OnInternalIdle();
22849 wxPyEndAllowThreads(__tstate);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 }
22852 resultobj = SWIG_Py_Void();
22853 return resultobj;
22854 fail:
22855 return NULL;
22856 }
22857
22858
22859 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22860 PyObject *obj;
22861 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22862 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22863 return SWIG_Py_Void();
22864 }
22865
22866 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22867 return SWIG_Python_InitShadowInstance(args);
22868 }
22869
22870 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj = 0;
22872 wxWindow *arg1 = (wxWindow *) 0 ;
22873 int arg2 = (int) (int)-1 ;
22874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22876 wxSize const &arg4_defvalue = wxDefaultSize ;
22877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22878 long arg5 = (long) 0 ;
22879 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22880 wxString *arg6 = (wxString *) &arg6_defvalue ;
22881 wxPyScrolledWindow *result = 0 ;
22882 void *argp1 = 0 ;
22883 int res1 = 0 ;
22884 int val2 ;
22885 int ecode2 = 0 ;
22886 wxPoint temp3 ;
22887 wxSize temp4 ;
22888 long val5 ;
22889 int ecode5 = 0 ;
22890 bool temp6 = false ;
22891 PyObject * obj0 = 0 ;
22892 PyObject * obj1 = 0 ;
22893 PyObject * obj2 = 0 ;
22894 PyObject * obj3 = 0 ;
22895 PyObject * obj4 = 0 ;
22896 PyObject * obj5 = 0 ;
22897 char * kwnames[] = {
22898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22899 };
22900
22901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22903 if (!SWIG_IsOK(res1)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22905 }
22906 arg1 = reinterpret_cast< wxWindow * >(argp1);
22907 if (obj1) {
22908 ecode2 = SWIG_AsVal_int(obj1, &val2);
22909 if (!SWIG_IsOK(ecode2)) {
22910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22911 }
22912 arg2 = static_cast< int >(val2);
22913 }
22914 if (obj2) {
22915 {
22916 arg3 = &temp3;
22917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22918 }
22919 }
22920 if (obj3) {
22921 {
22922 arg4 = &temp4;
22923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22924 }
22925 }
22926 if (obj4) {
22927 ecode5 = SWIG_AsVal_long(obj4, &val5);
22928 if (!SWIG_IsOK(ecode5)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22930 }
22931 arg5 = static_cast< long >(val5);
22932 }
22933 if (obj5) {
22934 {
22935 arg6 = wxString_in_helper(obj5);
22936 if (arg6 == NULL) SWIG_fail;
22937 temp6 = true;
22938 }
22939 }
22940 {
22941 if (!wxPyCheckForApp()) SWIG_fail;
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22948 {
22949 if (temp6)
22950 delete arg6;
22951 }
22952 return resultobj;
22953 fail:
22954 {
22955 if (temp6)
22956 delete arg6;
22957 }
22958 return NULL;
22959 }
22960
22961
22962 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22963 PyObject *resultobj = 0;
22964 wxPyScrolledWindow *result = 0 ;
22965
22966 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22967 {
22968 if (!wxPyCheckForApp()) SWIG_fail;
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22982 PyObject *resultobj = 0;
22983 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22984 PyObject *arg2 = (PyObject *) 0 ;
22985 PyObject *arg3 = (PyObject *) 0 ;
22986 void *argp1 = 0 ;
22987 int res1 = 0 ;
22988 PyObject * obj0 = 0 ;
22989 PyObject * obj1 = 0 ;
22990 PyObject * obj2 = 0 ;
22991 char * kwnames[] = {
22992 (char *) "self",(char *) "self",(char *) "_class", NULL
22993 };
22994
22995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22997 if (!SWIG_IsOK(res1)) {
22998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22999 }
23000 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23001 arg2 = obj1;
23002 arg3 = obj2;
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 (arg1)->_setCallbackInfo(arg2,arg3);
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 resultobj = SWIG_Py_Void();
23010 return resultobj;
23011 fail:
23012 return NULL;
23013 }
23014
23015
23016 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj = 0;
23018 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23019 wxSize *arg2 = 0 ;
23020 void *argp1 = 0 ;
23021 int res1 = 0 ;
23022 wxSize temp2 ;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 char * kwnames[] = {
23026 (char *) "self",(char *) "size", NULL
23027 };
23028
23029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23031 if (!SWIG_IsOK(res1)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23033 }
23034 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23035 {
23036 arg2 = &temp2;
23037 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23038 }
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 (arg1)->SetBestSize((wxSize const &)*arg2);
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = SWIG_Py_Void();
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj = 0;
23054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23055 wxDC *arg2 = (wxDC *) 0 ;
23056 bool result;
23057 void *argp1 = 0 ;
23058 int res1 = 0 ;
23059 void *argp2 = 0 ;
23060 int res2 = 0 ;
23061 PyObject * obj0 = 0 ;
23062 PyObject * obj1 = 0 ;
23063 char * kwnames[] = {
23064 (char *) "self",(char *) "dc", NULL
23065 };
23066
23067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23069 if (!SWIG_IsOK(res1)) {
23070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23071 }
23072 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23074 if (!SWIG_IsOK(res2)) {
23075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23076 }
23077 arg2 = reinterpret_cast< wxDC * >(argp2);
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = (bool)(arg1)->DoEraseBackground(arg2);
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 {
23085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23086 }
23087 return resultobj;
23088 fail:
23089 return NULL;
23090 }
23091
23092
23093 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23094 PyObject *resultobj = 0;
23095 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23096 int arg2 ;
23097 int arg3 ;
23098 int arg4 ;
23099 int arg5 ;
23100 void *argp1 = 0 ;
23101 int res1 = 0 ;
23102 int val2 ;
23103 int ecode2 = 0 ;
23104 int val3 ;
23105 int ecode3 = 0 ;
23106 int val4 ;
23107 int ecode4 = 0 ;
23108 int val5 ;
23109 int ecode5 = 0 ;
23110 PyObject * obj0 = 0 ;
23111 PyObject * obj1 = 0 ;
23112 PyObject * obj2 = 0 ;
23113 PyObject * obj3 = 0 ;
23114 PyObject * obj4 = 0 ;
23115 char * kwnames[] = {
23116 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23117 };
23118
23119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23121 if (!SWIG_IsOK(res1)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23123 }
23124 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23125 ecode2 = SWIG_AsVal_int(obj1, &val2);
23126 if (!SWIG_IsOK(ecode2)) {
23127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23128 }
23129 arg2 = static_cast< int >(val2);
23130 ecode3 = SWIG_AsVal_int(obj2, &val3);
23131 if (!SWIG_IsOK(ecode3)) {
23132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23133 }
23134 arg3 = static_cast< int >(val3);
23135 ecode4 = SWIG_AsVal_int(obj3, &val4);
23136 if (!SWIG_IsOK(ecode4)) {
23137 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23138 }
23139 arg4 = static_cast< int >(val4);
23140 ecode5 = SWIG_AsVal_int(obj4, &val5);
23141 if (!SWIG_IsOK(ecode5)) {
23142 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23143 }
23144 arg5 = static_cast< int >(val5);
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23148 wxPyEndAllowThreads(__tstate);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
23151 resultobj = SWIG_Py_Void();
23152 return resultobj;
23153 fail:
23154 return NULL;
23155 }
23156
23157
23158 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23159 PyObject *resultobj = 0;
23160 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23161 int arg2 ;
23162 int arg3 ;
23163 int arg4 ;
23164 int arg5 ;
23165 int arg6 = (int) wxSIZE_AUTO ;
23166 void *argp1 = 0 ;
23167 int res1 = 0 ;
23168 int val2 ;
23169 int ecode2 = 0 ;
23170 int val3 ;
23171 int ecode3 = 0 ;
23172 int val4 ;
23173 int ecode4 = 0 ;
23174 int val5 ;
23175 int ecode5 = 0 ;
23176 int val6 ;
23177 int ecode6 = 0 ;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj1 = 0 ;
23180 PyObject * obj2 = 0 ;
23181 PyObject * obj3 = 0 ;
23182 PyObject * obj4 = 0 ;
23183 PyObject * obj5 = 0 ;
23184 char * kwnames[] = {
23185 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23186 };
23187
23188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23190 if (!SWIG_IsOK(res1)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23192 }
23193 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23194 ecode2 = SWIG_AsVal_int(obj1, &val2);
23195 if (!SWIG_IsOK(ecode2)) {
23196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23197 }
23198 arg2 = static_cast< int >(val2);
23199 ecode3 = SWIG_AsVal_int(obj2, &val3);
23200 if (!SWIG_IsOK(ecode3)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23202 }
23203 arg3 = static_cast< int >(val3);
23204 ecode4 = SWIG_AsVal_int(obj3, &val4);
23205 if (!SWIG_IsOK(ecode4)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23207 }
23208 arg4 = static_cast< int >(val4);
23209 ecode5 = SWIG_AsVal_int(obj4, &val5);
23210 if (!SWIG_IsOK(ecode5)) {
23211 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23212 }
23213 arg5 = static_cast< int >(val5);
23214 if (obj5) {
23215 ecode6 = SWIG_AsVal_int(obj5, &val6);
23216 if (!SWIG_IsOK(ecode6)) {
23217 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23218 }
23219 arg6 = static_cast< int >(val6);
23220 }
23221 {
23222 PyThreadState* __tstate = wxPyBeginAllowThreads();
23223 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23224 wxPyEndAllowThreads(__tstate);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
23227 resultobj = SWIG_Py_Void();
23228 return resultobj;
23229 fail:
23230 return NULL;
23231 }
23232
23233
23234 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj = 0;
23236 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23237 int arg2 ;
23238 int arg3 ;
23239 void *argp1 = 0 ;
23240 int res1 = 0 ;
23241 int val2 ;
23242 int ecode2 = 0 ;
23243 int val3 ;
23244 int ecode3 = 0 ;
23245 PyObject * obj0 = 0 ;
23246 PyObject * obj1 = 0 ;
23247 PyObject * obj2 = 0 ;
23248 char * kwnames[] = {
23249 (char *) "self",(char *) "width",(char *) "height", NULL
23250 };
23251
23252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23254 if (!SWIG_IsOK(res1)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23256 }
23257 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23258 ecode2 = SWIG_AsVal_int(obj1, &val2);
23259 if (!SWIG_IsOK(ecode2)) {
23260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23261 }
23262 arg2 = static_cast< int >(val2);
23263 ecode3 = SWIG_AsVal_int(obj2, &val3);
23264 if (!SWIG_IsOK(ecode3)) {
23265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23266 }
23267 arg3 = static_cast< int >(val3);
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 (arg1)->DoSetClientSize(arg2,arg3);
23271 wxPyEndAllowThreads(__tstate);
23272 if (PyErr_Occurred()) SWIG_fail;
23273 }
23274 resultobj = SWIG_Py_Void();
23275 return resultobj;
23276 fail:
23277 return NULL;
23278 }
23279
23280
23281 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23282 PyObject *resultobj = 0;
23283 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23284 int arg2 ;
23285 int arg3 ;
23286 void *argp1 = 0 ;
23287 int res1 = 0 ;
23288 int val2 ;
23289 int ecode2 = 0 ;
23290 int val3 ;
23291 int ecode3 = 0 ;
23292 PyObject * obj0 = 0 ;
23293 PyObject * obj1 = 0 ;
23294 PyObject * obj2 = 0 ;
23295 char * kwnames[] = {
23296 (char *) "self",(char *) "x",(char *) "y", NULL
23297 };
23298
23299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23301 if (!SWIG_IsOK(res1)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23303 }
23304 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23305 ecode2 = SWIG_AsVal_int(obj1, &val2);
23306 if (!SWIG_IsOK(ecode2)) {
23307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23308 }
23309 arg2 = static_cast< int >(val2);
23310 ecode3 = SWIG_AsVal_int(obj2, &val3);
23311 if (!SWIG_IsOK(ecode3)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23313 }
23314 arg3 = static_cast< int >(val3);
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 (arg1)->DoSetVirtualSize(arg2,arg3);
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 resultobj = SWIG_Py_Void();
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23329 PyObject *resultobj = 0;
23330 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23331 int *arg2 = (int *) 0 ;
23332 int *arg3 = (int *) 0 ;
23333 void *argp1 = 0 ;
23334 int res1 = 0 ;
23335 int temp2 ;
23336 int res2 = SWIG_TMPOBJ ;
23337 int temp3 ;
23338 int res3 = SWIG_TMPOBJ ;
23339 PyObject *swig_obj[1] ;
23340
23341 arg2 = &temp2;
23342 arg3 = &temp3;
23343 if (!args) SWIG_fail;
23344 swig_obj[0] = args;
23345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23346 if (!SWIG_IsOK(res1)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23348 }
23349 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_Py_Void();
23357 if (SWIG_IsTmpObj(res2)) {
23358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23359 } else {
23360 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23362 }
23363 if (SWIG_IsTmpObj(res3)) {
23364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23365 } else {
23366 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23367 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23368 }
23369 return resultobj;
23370 fail:
23371 return NULL;
23372 }
23373
23374
23375 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23376 PyObject *resultobj = 0;
23377 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23378 int *arg2 = (int *) 0 ;
23379 int *arg3 = (int *) 0 ;
23380 void *argp1 = 0 ;
23381 int res1 = 0 ;
23382 int temp2 ;
23383 int res2 = SWIG_TMPOBJ ;
23384 int temp3 ;
23385 int res3 = SWIG_TMPOBJ ;
23386 PyObject *swig_obj[1] ;
23387
23388 arg2 = &temp2;
23389 arg3 = &temp3;
23390 if (!args) SWIG_fail;
23391 swig_obj[0] = args;
23392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23393 if (!SWIG_IsOK(res1)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23395 }
23396 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = SWIG_Py_Void();
23404 if (SWIG_IsTmpObj(res2)) {
23405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23406 } else {
23407 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23408 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23409 }
23410 if (SWIG_IsTmpObj(res3)) {
23411 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23412 } else {
23413 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23414 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23415 }
23416 return resultobj;
23417 fail:
23418 return NULL;
23419 }
23420
23421
23422 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23423 PyObject *resultobj = 0;
23424 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23425 int *arg2 = (int *) 0 ;
23426 int *arg3 = (int *) 0 ;
23427 void *argp1 = 0 ;
23428 int res1 = 0 ;
23429 int temp2 ;
23430 int res2 = SWIG_TMPOBJ ;
23431 int temp3 ;
23432 int res3 = SWIG_TMPOBJ ;
23433 PyObject *swig_obj[1] ;
23434
23435 arg2 = &temp2;
23436 arg3 = &temp3;
23437 if (!args) SWIG_fail;
23438 swig_obj[0] = args;
23439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23440 if (!SWIG_IsOK(res1)) {
23441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23442 }
23443 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
23450 resultobj = SWIG_Py_Void();
23451 if (SWIG_IsTmpObj(res2)) {
23452 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23453 } else {
23454 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23455 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23456 }
23457 if (SWIG_IsTmpObj(res3)) {
23458 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23459 } else {
23460 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23461 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23462 }
23463 return resultobj;
23464 fail:
23465 return NULL;
23466 }
23467
23468
23469 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23470 PyObject *resultobj = 0;
23471 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23472 wxSize result;
23473 void *argp1 = 0 ;
23474 int res1 = 0 ;
23475 PyObject *swig_obj[1] ;
23476
23477 if (!args) SWIG_fail;
23478 swig_obj[0] = args;
23479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23480 if (!SWIG_IsOK(res1)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23482 }
23483 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23491 return resultobj;
23492 fail:
23493 return NULL;
23494 }
23495
23496
23497 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23498 PyObject *resultobj = 0;
23499 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23500 wxSize result;
23501 void *argp1 = 0 ;
23502 int res1 = 0 ;
23503 PyObject *swig_obj[1] ;
23504
23505 if (!args) SWIG_fail;
23506 swig_obj[0] = args;
23507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23508 if (!SWIG_IsOK(res1)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23510 }
23511 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23526 PyObject *resultobj = 0;
23527 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23528 SwigValueWrapper<wxVisualAttributes > result;
23529 void *argp1 = 0 ;
23530 int res1 = 0 ;
23531 PyObject *swig_obj[1] ;
23532
23533 if (!args) SWIG_fail;
23534 swig_obj[0] = args;
23535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23536 if (!SWIG_IsOK(res1)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23538 }
23539 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (arg1)->GetDefaultAttributes();
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23554 PyObject *resultobj = 0;
23555 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23556 void *argp1 = 0 ;
23557 int res1 = 0 ;
23558 PyObject *swig_obj[1] ;
23559
23560 if (!args) SWIG_fail;
23561 swig_obj[0] = args;
23562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23563 if (!SWIG_IsOK(res1)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23565 }
23566 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 (arg1)->OnInternalIdle();
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 resultobj = SWIG_Py_Void();
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23581 PyObject *obj;
23582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23584 return SWIG_Py_Void();
23585 }
23586
23587 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23588 return SWIG_Python_InitShadowInstance(args);
23589 }
23590
23591 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23592 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23593 return 1;
23594 }
23595
23596
23597 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23598 PyObject *pyobj = 0;
23599
23600 {
23601 #if wxUSE_UNICODE
23602 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23603 #else
23604 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23605 #endif
23606 }
23607 return pyobj;
23608 }
23609
23610
23611 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23612 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23613 return 1;
23614 }
23615
23616
23617 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23618 PyObject *pyobj = 0;
23619
23620 {
23621 #if wxUSE_UNICODE
23622 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23623 #else
23624 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23625 #endif
23626 }
23627 return pyobj;
23628 }
23629
23630
23631 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23632 PyObject *resultobj = 0;
23633 wxPrintData *result = 0 ;
23634
23635 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 result = (wxPrintData *)new wxPrintData();
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23650 PyObject *resultobj = 0;
23651 wxPrintData *arg1 = 0 ;
23652 wxPrintData *result = 0 ;
23653 void *argp1 = 0 ;
23654 int res1 = 0 ;
23655
23656 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23658 if (!SWIG_IsOK(res1)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23660 }
23661 if (!argp1) {
23662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23663 }
23664 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23668 wxPyEndAllowThreads(__tstate);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 }
23671 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23672 return resultobj;
23673 fail:
23674 return NULL;
23675 }
23676
23677
23678 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23679 int argc;
23680 PyObject *argv[2];
23681
23682 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23683 --argc;
23684 if (argc == 0) {
23685 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23686 }
23687 if (argc == 1) {
23688 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23689 }
23690
23691 fail:
23692 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23693 return NULL;
23694 }
23695
23696
23697 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23698 PyObject *resultobj = 0;
23699 wxPrintData *arg1 = (wxPrintData *) 0 ;
23700 void *argp1 = 0 ;
23701 int res1 = 0 ;
23702 PyObject *swig_obj[1] ;
23703
23704 if (!args) SWIG_fail;
23705 swig_obj[0] = args;
23706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23707 if (!SWIG_IsOK(res1)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23709 }
23710 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 delete arg1;
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 resultobj = SWIG_Py_Void();
23719 return resultobj;
23720 fail:
23721 return NULL;
23722 }
23723
23724
23725 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23726 PyObject *resultobj = 0;
23727 wxPrintData *arg1 = (wxPrintData *) 0 ;
23728 int result;
23729 void *argp1 = 0 ;
23730 int res1 = 0 ;
23731 PyObject *swig_obj[1] ;
23732
23733 if (!args) SWIG_fail;
23734 swig_obj[0] = args;
23735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23736 if (!SWIG_IsOK(res1)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23738 }
23739 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23740 {
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 result = (int)(arg1)->GetNoCopies();
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 resultobj = SWIG_From_int(static_cast< int >(result));
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23754 PyObject *resultobj = 0;
23755 wxPrintData *arg1 = (wxPrintData *) 0 ;
23756 bool result;
23757 void *argp1 = 0 ;
23758 int res1 = 0 ;
23759 PyObject *swig_obj[1] ;
23760
23761 if (!args) SWIG_fail;
23762 swig_obj[0] = args;
23763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23764 if (!SWIG_IsOK(res1)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 }
23767 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (bool)(arg1)->GetCollate();
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 {
23775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23776 }
23777 return resultobj;
23778 fail:
23779 return NULL;
23780 }
23781
23782
23783 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23784 PyObject *resultobj = 0;
23785 wxPrintData *arg1 = (wxPrintData *) 0 ;
23786 int result;
23787 void *argp1 = 0 ;
23788 int res1 = 0 ;
23789 PyObject *swig_obj[1] ;
23790
23791 if (!args) SWIG_fail;
23792 swig_obj[0] = args;
23793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23794 if (!SWIG_IsOK(res1)) {
23795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23796 }
23797 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = (int)(arg1)->GetOrientation();
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 resultobj = SWIG_From_int(static_cast< int >(result));
23805 return resultobj;
23806 fail:
23807 return NULL;
23808 }
23809
23810
23811 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23812 PyObject *resultobj = 0;
23813 wxPrintData *arg1 = (wxPrintData *) 0 ;
23814 bool result;
23815 void *argp1 = 0 ;
23816 int res1 = 0 ;
23817 PyObject *swig_obj[1] ;
23818
23819 if (!args) SWIG_fail;
23820 swig_obj[0] = args;
23821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23822 if (!SWIG_IsOK(res1)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23824 }
23825 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 result = (bool)(arg1)->IsOk();
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
23832 {
23833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23834 }
23835 return resultobj;
23836 fail:
23837 return NULL;
23838 }
23839
23840
23841 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23842 PyObject *resultobj = 0;
23843 wxPrintData *arg1 = (wxPrintData *) 0 ;
23844 wxString *result = 0 ;
23845 void *argp1 = 0 ;
23846 int res1 = 0 ;
23847 PyObject *swig_obj[1] ;
23848
23849 if (!args) SWIG_fail;
23850 swig_obj[0] = args;
23851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23852 if (!SWIG_IsOK(res1)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23854 }
23855 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23856 {
23857 PyThreadState* __tstate = wxPyBeginAllowThreads();
23858 {
23859 wxString const &_result_ref = (arg1)->GetPrinterName();
23860 result = (wxString *) &_result_ref;
23861 }
23862 wxPyEndAllowThreads(__tstate);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 {
23866 #if wxUSE_UNICODE
23867 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23868 #else
23869 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23870 #endif
23871 }
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23879 PyObject *resultobj = 0;
23880 wxPrintData *arg1 = (wxPrintData *) 0 ;
23881 bool result;
23882 void *argp1 = 0 ;
23883 int res1 = 0 ;
23884 PyObject *swig_obj[1] ;
23885
23886 if (!args) SWIG_fail;
23887 swig_obj[0] = args;
23888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23889 if (!SWIG_IsOK(res1)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23891 }
23892 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 result = (bool)(arg1)->GetColour();
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 {
23900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23901 }
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23909 PyObject *resultobj = 0;
23910 wxPrintData *arg1 = (wxPrintData *) 0 ;
23911 wxDuplexMode result;
23912 void *argp1 = 0 ;
23913 int res1 = 0 ;
23914 PyObject *swig_obj[1] ;
23915
23916 if (!args) SWIG_fail;
23917 swig_obj[0] = args;
23918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23919 if (!SWIG_IsOK(res1)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23921 }
23922 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 result = (wxDuplexMode)(arg1)->GetDuplex();
23926 wxPyEndAllowThreads(__tstate);
23927 if (PyErr_Occurred()) SWIG_fail;
23928 }
23929 resultobj = SWIG_From_int(static_cast< int >(result));
23930 return resultobj;
23931 fail:
23932 return NULL;
23933 }
23934
23935
23936 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23937 PyObject *resultobj = 0;
23938 wxPrintData *arg1 = (wxPrintData *) 0 ;
23939 wxPaperSize result;
23940 void *argp1 = 0 ;
23941 int res1 = 0 ;
23942 PyObject *swig_obj[1] ;
23943
23944 if (!args) SWIG_fail;
23945 swig_obj[0] = args;
23946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23947 if (!SWIG_IsOK(res1)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23949 }
23950 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 result = (wxPaperSize)(arg1)->GetPaperId();
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 resultobj = SWIG_From_int(static_cast< int >(result));
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23965 PyObject *resultobj = 0;
23966 wxPrintData *arg1 = (wxPrintData *) 0 ;
23967 wxSize *result = 0 ;
23968 void *argp1 = 0 ;
23969 int res1 = 0 ;
23970 PyObject *swig_obj[1] ;
23971
23972 if (!args) SWIG_fail;
23973 swig_obj[0] = args;
23974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23975 if (!SWIG_IsOK(res1)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23977 }
23978 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 {
23982 wxSize const &_result_ref = (arg1)->GetPaperSize();
23983 result = (wxSize *) &_result_ref;
23984 }
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23996 PyObject *resultobj = 0;
23997 wxPrintData *arg1 = (wxPrintData *) 0 ;
23998 int result;
23999 void *argp1 = 0 ;
24000 int res1 = 0 ;
24001 PyObject *swig_obj[1] ;
24002
24003 if (!args) SWIG_fail;
24004 swig_obj[0] = args;
24005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24006 if (!SWIG_IsOK(res1)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24008 }
24009 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24010 {
24011 PyThreadState* __tstate = wxPyBeginAllowThreads();
24012 result = (int)(arg1)->GetQuality();
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 resultobj = SWIG_From_int(static_cast< int >(result));
24017 return resultobj;
24018 fail:
24019 return NULL;
24020 }
24021
24022
24023 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24024 PyObject *resultobj = 0;
24025 wxPrintData *arg1 = (wxPrintData *) 0 ;
24026 wxPrintBin result;
24027 void *argp1 = 0 ;
24028 int res1 = 0 ;
24029 PyObject *swig_obj[1] ;
24030
24031 if (!args) SWIG_fail;
24032 swig_obj[0] = args;
24033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24034 if (!SWIG_IsOK(res1)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 }
24037 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24038 {
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
24040 result = (wxPrintBin)(arg1)->GetBin();
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 resultobj = SWIG_From_int(static_cast< int >(result));
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24052 PyObject *resultobj = 0;
24053 wxPrintData *arg1 = (wxPrintData *) 0 ;
24054 wxPrintMode result;
24055 void *argp1 = 0 ;
24056 int res1 = 0 ;
24057 PyObject *swig_obj[1] ;
24058
24059 if (!args) SWIG_fail;
24060 swig_obj[0] = args;
24061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24062 if (!SWIG_IsOK(res1)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24064 }
24065 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 resultobj = SWIG_From_int(static_cast< int >(result));
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24080 PyObject *resultobj = 0;
24081 wxPrintData *arg1 = (wxPrintData *) 0 ;
24082 int arg2 ;
24083 void *argp1 = 0 ;
24084 int res1 = 0 ;
24085 int val2 ;
24086 int ecode2 = 0 ;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char * kwnames[] = {
24090 (char *) "self",(char *) "v", NULL
24091 };
24092
24093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24095 if (!SWIG_IsOK(res1)) {
24096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24097 }
24098 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24099 ecode2 = SWIG_AsVal_int(obj1, &val2);
24100 if (!SWIG_IsOK(ecode2)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24102 }
24103 arg2 = static_cast< int >(val2);
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 (arg1)->SetNoCopies(arg2);
24107 wxPyEndAllowThreads(__tstate);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 }
24110 resultobj = SWIG_Py_Void();
24111 return resultobj;
24112 fail:
24113 return NULL;
24114 }
24115
24116
24117 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24118 PyObject *resultobj = 0;
24119 wxPrintData *arg1 = (wxPrintData *) 0 ;
24120 bool arg2 ;
24121 void *argp1 = 0 ;
24122 int res1 = 0 ;
24123 bool val2 ;
24124 int ecode2 = 0 ;
24125 PyObject * obj0 = 0 ;
24126 PyObject * obj1 = 0 ;
24127 char * kwnames[] = {
24128 (char *) "self",(char *) "flag", NULL
24129 };
24130
24131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24133 if (!SWIG_IsOK(res1)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24135 }
24136 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24137 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24138 if (!SWIG_IsOK(ecode2)) {
24139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24140 }
24141 arg2 = static_cast< bool >(val2);
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 (arg1)->SetCollate(arg2);
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
24148 resultobj = SWIG_Py_Void();
24149 return resultobj;
24150 fail:
24151 return NULL;
24152 }
24153
24154
24155 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj = 0;
24157 wxPrintData *arg1 = (wxPrintData *) 0 ;
24158 int arg2 ;
24159 void *argp1 = 0 ;
24160 int res1 = 0 ;
24161 int val2 ;
24162 int ecode2 = 0 ;
24163 PyObject * obj0 = 0 ;
24164 PyObject * obj1 = 0 ;
24165 char * kwnames[] = {
24166 (char *) "self",(char *) "orient", NULL
24167 };
24168
24169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24171 if (!SWIG_IsOK(res1)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24173 }
24174 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24175 ecode2 = SWIG_AsVal_int(obj1, &val2);
24176 if (!SWIG_IsOK(ecode2)) {
24177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24178 }
24179 arg2 = static_cast< int >(val2);
24180 {
24181 PyThreadState* __tstate = wxPyBeginAllowThreads();
24182 (arg1)->SetOrientation(arg2);
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 resultobj = SWIG_Py_Void();
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj = 0;
24195 wxPrintData *arg1 = (wxPrintData *) 0 ;
24196 wxString *arg2 = 0 ;
24197 void *argp1 = 0 ;
24198 int res1 = 0 ;
24199 bool temp2 = false ;
24200 PyObject * obj0 = 0 ;
24201 PyObject * obj1 = 0 ;
24202 char * kwnames[] = {
24203 (char *) "self",(char *) "name", NULL
24204 };
24205
24206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24208 if (!SWIG_IsOK(res1)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24210 }
24211 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24212 {
24213 arg2 = wxString_in_helper(obj1);
24214 if (arg2 == NULL) SWIG_fail;
24215 temp2 = true;
24216 }
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 (arg1)->SetPrinterName((wxString const &)*arg2);
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 resultobj = SWIG_Py_Void();
24224 {
24225 if (temp2)
24226 delete arg2;
24227 }
24228 return resultobj;
24229 fail:
24230 {
24231 if (temp2)
24232 delete arg2;
24233 }
24234 return NULL;
24235 }
24236
24237
24238 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj = 0;
24240 wxPrintData *arg1 = (wxPrintData *) 0 ;
24241 bool arg2 ;
24242 void *argp1 = 0 ;
24243 int res1 = 0 ;
24244 bool val2 ;
24245 int ecode2 = 0 ;
24246 PyObject * obj0 = 0 ;
24247 PyObject * obj1 = 0 ;
24248 char * kwnames[] = {
24249 (char *) "self",(char *) "colour", NULL
24250 };
24251
24252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24254 if (!SWIG_IsOK(res1)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24256 }
24257 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24259 if (!SWIG_IsOK(ecode2)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24261 }
24262 arg2 = static_cast< bool >(val2);
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 (arg1)->SetColour(arg2);
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 resultobj = SWIG_Py_Void();
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj = 0;
24278 wxPrintData *arg1 = (wxPrintData *) 0 ;
24279 wxDuplexMode arg2 ;
24280 void *argp1 = 0 ;
24281 int res1 = 0 ;
24282 int val2 ;
24283 int ecode2 = 0 ;
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 char * kwnames[] = {
24287 (char *) "self",(char *) "duplex", NULL
24288 };
24289
24290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24292 if (!SWIG_IsOK(res1)) {
24293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24294 }
24295 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24296 ecode2 = SWIG_AsVal_int(obj1, &val2);
24297 if (!SWIG_IsOK(ecode2)) {
24298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24299 }
24300 arg2 = static_cast< wxDuplexMode >(val2);
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->SetDuplex(arg2);
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 resultobj = SWIG_Py_Void();
24308 return resultobj;
24309 fail:
24310 return NULL;
24311 }
24312
24313
24314 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj = 0;
24316 wxPrintData *arg1 = (wxPrintData *) 0 ;
24317 wxPaperSize arg2 ;
24318 void *argp1 = 0 ;
24319 int res1 = 0 ;
24320 int val2 ;
24321 int ecode2 = 0 ;
24322 PyObject * obj0 = 0 ;
24323 PyObject * obj1 = 0 ;
24324 char * kwnames[] = {
24325 (char *) "self",(char *) "sizeId", NULL
24326 };
24327
24328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24330 if (!SWIG_IsOK(res1)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24332 }
24333 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24334 ecode2 = SWIG_AsVal_int(obj1, &val2);
24335 if (!SWIG_IsOK(ecode2)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24337 }
24338 arg2 = static_cast< wxPaperSize >(val2);
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 (arg1)->SetPaperId(arg2);
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
24345 resultobj = SWIG_Py_Void();
24346 return resultobj;
24347 fail:
24348 return NULL;
24349 }
24350
24351
24352 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj = 0;
24354 wxPrintData *arg1 = (wxPrintData *) 0 ;
24355 wxSize *arg2 = 0 ;
24356 void *argp1 = 0 ;
24357 int res1 = 0 ;
24358 wxSize temp2 ;
24359 PyObject * obj0 = 0 ;
24360 PyObject * obj1 = 0 ;
24361 char * kwnames[] = {
24362 (char *) "self",(char *) "sz", NULL
24363 };
24364
24365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24367 if (!SWIG_IsOK(res1)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24369 }
24370 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24371 {
24372 arg2 = &temp2;
24373 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24374 }
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->SetPaperSize((wxSize const &)*arg2);
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = 0;
24390 wxPrintData *arg1 = (wxPrintData *) 0 ;
24391 int arg2 ;
24392 void *argp1 = 0 ;
24393 int res1 = 0 ;
24394 int val2 ;
24395 int ecode2 = 0 ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char * kwnames[] = {
24399 (char *) "self",(char *) "quality", NULL
24400 };
24401
24402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 }
24407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24408 ecode2 = SWIG_AsVal_int(obj1, &val2);
24409 if (!SWIG_IsOK(ecode2)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24411 }
24412 arg2 = static_cast< int >(val2);
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 (arg1)->SetQuality(arg2);
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = SWIG_Py_Void();
24420 return resultobj;
24421 fail:
24422 return NULL;
24423 }
24424
24425
24426 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24427 PyObject *resultobj = 0;
24428 wxPrintData *arg1 = (wxPrintData *) 0 ;
24429 wxPrintBin arg2 ;
24430 void *argp1 = 0 ;
24431 int res1 = 0 ;
24432 int val2 ;
24433 int ecode2 = 0 ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char * kwnames[] = {
24437 (char *) "self",(char *) "bin", NULL
24438 };
24439
24440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24442 if (!SWIG_IsOK(res1)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24444 }
24445 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24446 ecode2 = SWIG_AsVal_int(obj1, &val2);
24447 if (!SWIG_IsOK(ecode2)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24449 }
24450 arg2 = static_cast< wxPrintBin >(val2);
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 (arg1)->SetBin(arg2);
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 resultobj = SWIG_Py_Void();
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj = 0;
24466 wxPrintData *arg1 = (wxPrintData *) 0 ;
24467 wxPrintMode arg2 ;
24468 void *argp1 = 0 ;
24469 int res1 = 0 ;
24470 int val2 ;
24471 int ecode2 = 0 ;
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 char * kwnames[] = {
24475 (char *) "self",(char *) "printMode", NULL
24476 };
24477
24478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24480 if (!SWIG_IsOK(res1)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24482 }
24483 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24484 ecode2 = SWIG_AsVal_int(obj1, &val2);
24485 if (!SWIG_IsOK(ecode2)) {
24486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24487 }
24488 arg2 = static_cast< wxPrintMode >(val2);
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->SetPrintMode(arg2);
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 resultobj = SWIG_Py_Void();
24496 return resultobj;
24497 fail:
24498 return NULL;
24499 }
24500
24501
24502 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24503 PyObject *resultobj = 0;
24504 wxPrintData *arg1 = (wxPrintData *) 0 ;
24505 wxString result;
24506 void *argp1 = 0 ;
24507 int res1 = 0 ;
24508 PyObject *swig_obj[1] ;
24509
24510 if (!args) SWIG_fail;
24511 swig_obj[0] = args;
24512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24513 if (!SWIG_IsOK(res1)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24515 }
24516 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 result = ((wxPrintData const *)arg1)->GetFilename();
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 {
24524 #if wxUSE_UNICODE
24525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24526 #else
24527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24528 #endif
24529 }
24530 return resultobj;
24531 fail:
24532 return NULL;
24533 }
24534
24535
24536 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24537 PyObject *resultobj = 0;
24538 wxPrintData *arg1 = (wxPrintData *) 0 ;
24539 wxString *arg2 = 0 ;
24540 void *argp1 = 0 ;
24541 int res1 = 0 ;
24542 bool temp2 = false ;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 char * kwnames[] = {
24546 (char *) "self",(char *) "filename", NULL
24547 };
24548
24549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24551 if (!SWIG_IsOK(res1)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24553 }
24554 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24555 {
24556 arg2 = wxString_in_helper(obj1);
24557 if (arg2 == NULL) SWIG_fail;
24558 temp2 = true;
24559 }
24560 {
24561 PyThreadState* __tstate = wxPyBeginAllowThreads();
24562 (arg1)->SetFilename((wxString const &)*arg2);
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 resultobj = SWIG_Py_Void();
24567 {
24568 if (temp2)
24569 delete arg2;
24570 }
24571 return resultobj;
24572 fail:
24573 {
24574 if (temp2)
24575 delete arg2;
24576 }
24577 return NULL;
24578 }
24579
24580
24581 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24582 PyObject *resultobj = 0;
24583 wxPrintData *arg1 = (wxPrintData *) 0 ;
24584 PyObject *result = 0 ;
24585 void *argp1 = 0 ;
24586 int res1 = 0 ;
24587 PyObject *swig_obj[1] ;
24588
24589 if (!args) SWIG_fail;
24590 swig_obj[0] = args;
24591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24592 if (!SWIG_IsOK(res1)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24594 }
24595 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 resultobj = result;
24603 return resultobj;
24604 fail:
24605 return NULL;
24606 }
24607
24608
24609 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj = 0;
24611 wxPrintData *arg1 = (wxPrintData *) 0 ;
24612 PyObject *arg2 = (PyObject *) 0 ;
24613 void *argp1 = 0 ;
24614 int res1 = 0 ;
24615 PyObject * obj0 = 0 ;
24616 PyObject * obj1 = 0 ;
24617 char * kwnames[] = {
24618 (char *) "self",(char *) "data", NULL
24619 };
24620
24621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24623 if (!SWIG_IsOK(res1)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24625 }
24626 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24627 arg2 = obj1;
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 wxPrintData_SetPrivData(arg1,arg2);
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_Py_Void();
24635 return resultobj;
24636 fail:
24637 return NULL;
24638 }
24639
24640
24641 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24642 PyObject *obj;
24643 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24645 return SWIG_Py_Void();
24646 }
24647
24648 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24649 return SWIG_Python_InitShadowInstance(args);
24650 }
24651
24652 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24653 PyObject *resultobj = 0;
24654 wxPageSetupDialogData *result = 0 ;
24655
24656 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24664 return resultobj;
24665 fail:
24666 return NULL;
24667 }
24668
24669
24670 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24671 PyObject *resultobj = 0;
24672 wxPageSetupDialogData *arg1 = 0 ;
24673 wxPageSetupDialogData *result = 0 ;
24674 void *argp1 = 0 ;
24675 int res1 = 0 ;
24676
24677 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24679 if (!SWIG_IsOK(res1)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24681 }
24682 if (!argp1) {
24683 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24684 }
24685 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24686 {
24687 PyThreadState* __tstate = wxPyBeginAllowThreads();
24688 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24693 return resultobj;
24694 fail:
24695 return NULL;
24696 }
24697
24698
24699 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24700 PyObject *resultobj = 0;
24701 wxPrintData *arg1 = 0 ;
24702 wxPageSetupDialogData *result = 0 ;
24703 void *argp1 = 0 ;
24704 int res1 = 0 ;
24705
24706 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24708 if (!SWIG_IsOK(res1)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24710 }
24711 if (!argp1) {
24712 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24713 }
24714 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24715 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24718 wxPyEndAllowThreads(__tstate);
24719 if (PyErr_Occurred()) SWIG_fail;
24720 }
24721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24722 return resultobj;
24723 fail:
24724 return NULL;
24725 }
24726
24727
24728 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24729 int argc;
24730 PyObject *argv[2];
24731
24732 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24733 --argc;
24734 if (argc == 0) {
24735 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24736 }
24737 if (argc == 1) {
24738 int _v = 0;
24739 {
24740 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24741 _v = SWIG_CheckState(res);
24742 }
24743 if (!_v) goto check_2;
24744 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24745 }
24746 check_2:
24747
24748 if (argc == 1) {
24749 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24750 }
24751
24752 fail:
24753 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24754 return NULL;
24755 }
24756
24757
24758 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24759 PyObject *resultobj = 0;
24760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24761 void *argp1 = 0 ;
24762 int res1 = 0 ;
24763 PyObject *swig_obj[1] ;
24764
24765 if (!args) SWIG_fail;
24766 swig_obj[0] = args;
24767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24768 if (!SWIG_IsOK(res1)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24770 }
24771 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 delete arg1;
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 resultobj = SWIG_Py_Void();
24780 return resultobj;
24781 fail:
24782 return NULL;
24783 }
24784
24785
24786 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24787 PyObject *resultobj = 0;
24788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24789 bool arg2 ;
24790 void *argp1 = 0 ;
24791 int res1 = 0 ;
24792 bool val2 ;
24793 int ecode2 = 0 ;
24794 PyObject * obj0 = 0 ;
24795 PyObject * obj1 = 0 ;
24796 char * kwnames[] = {
24797 (char *) "self",(char *) "flag", NULL
24798 };
24799
24800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24802 if (!SWIG_IsOK(res1)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24804 }
24805 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24806 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24807 if (!SWIG_IsOK(ecode2)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24809 }
24810 arg2 = static_cast< bool >(val2);
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 (arg1)->EnableHelp(arg2);
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 resultobj = SWIG_Py_Void();
24818 return resultobj;
24819 fail:
24820 return NULL;
24821 }
24822
24823
24824 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj = 0;
24826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24827 bool arg2 ;
24828 void *argp1 = 0 ;
24829 int res1 = 0 ;
24830 bool val2 ;
24831 int ecode2 = 0 ;
24832 PyObject * obj0 = 0 ;
24833 PyObject * obj1 = 0 ;
24834 char * kwnames[] = {
24835 (char *) "self",(char *) "flag", NULL
24836 };
24837
24838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24840 if (!SWIG_IsOK(res1)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24842 }
24843 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24844 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24845 if (!SWIG_IsOK(ecode2)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24847 }
24848 arg2 = static_cast< bool >(val2);
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 (arg1)->EnableMargins(arg2);
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 resultobj = SWIG_Py_Void();
24856 return resultobj;
24857 fail:
24858 return NULL;
24859 }
24860
24861
24862 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24863 PyObject *resultobj = 0;
24864 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24865 bool arg2 ;
24866 void *argp1 = 0 ;
24867 int res1 = 0 ;
24868 bool val2 ;
24869 int ecode2 = 0 ;
24870 PyObject * obj0 = 0 ;
24871 PyObject * obj1 = 0 ;
24872 char * kwnames[] = {
24873 (char *) "self",(char *) "flag", NULL
24874 };
24875
24876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24878 if (!SWIG_IsOK(res1)) {
24879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24880 }
24881 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24882 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24883 if (!SWIG_IsOK(ecode2)) {
24884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24885 }
24886 arg2 = static_cast< bool >(val2);
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->EnableOrientation(arg2);
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
24893 resultobj = SWIG_Py_Void();
24894 return resultobj;
24895 fail:
24896 return NULL;
24897 }
24898
24899
24900 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24901 PyObject *resultobj = 0;
24902 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24903 bool arg2 ;
24904 void *argp1 = 0 ;
24905 int res1 = 0 ;
24906 bool val2 ;
24907 int ecode2 = 0 ;
24908 PyObject * obj0 = 0 ;
24909 PyObject * obj1 = 0 ;
24910 char * kwnames[] = {
24911 (char *) "self",(char *) "flag", NULL
24912 };
24913
24914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24916 if (!SWIG_IsOK(res1)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24918 }
24919 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24920 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24921 if (!SWIG_IsOK(ecode2)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24923 }
24924 arg2 = static_cast< bool >(val2);
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 (arg1)->EnablePaper(arg2);
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 resultobj = SWIG_Py_Void();
24932 return resultobj;
24933 fail:
24934 return NULL;
24935 }
24936
24937
24938 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24939 PyObject *resultobj = 0;
24940 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24941 bool arg2 ;
24942 void *argp1 = 0 ;
24943 int res1 = 0 ;
24944 bool val2 ;
24945 int ecode2 = 0 ;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 char * kwnames[] = {
24949 (char *) "self",(char *) "flag", NULL
24950 };
24951
24952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24954 if (!SWIG_IsOK(res1)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24956 }
24957 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24958 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24959 if (!SWIG_IsOK(ecode2)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24961 }
24962 arg2 = static_cast< bool >(val2);
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 (arg1)->EnablePrinter(arg2);
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 resultobj = SWIG_Py_Void();
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24977 PyObject *resultobj = 0;
24978 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24979 bool result;
24980 void *argp1 = 0 ;
24981 int res1 = 0 ;
24982 PyObject *swig_obj[1] ;
24983
24984 if (!args) SWIG_fail;
24985 swig_obj[0] = args;
24986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24987 if (!SWIG_IsOK(res1)) {
24988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24989 }
24990 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = (bool)(arg1)->GetDefaultMinMargins();
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 {
24998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24999 }
25000 return resultobj;
25001 fail:
25002 return NULL;
25003 }
25004
25005
25006 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25007 PyObject *resultobj = 0;
25008 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25009 bool result;
25010 void *argp1 = 0 ;
25011 int res1 = 0 ;
25012 PyObject *swig_obj[1] ;
25013
25014 if (!args) SWIG_fail;
25015 swig_obj[0] = args;
25016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25017 if (!SWIG_IsOK(res1)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25019 }
25020 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (bool)(arg1)->GetEnableMargins();
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 {
25028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25029 }
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25037 PyObject *resultobj = 0;
25038 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25039 bool result;
25040 void *argp1 = 0 ;
25041 int res1 = 0 ;
25042 PyObject *swig_obj[1] ;
25043
25044 if (!args) SWIG_fail;
25045 swig_obj[0] = args;
25046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25047 if (!SWIG_IsOK(res1)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25049 }
25050 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 result = (bool)(arg1)->GetEnableOrientation();
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 {
25058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25059 }
25060 return resultobj;
25061 fail:
25062 return NULL;
25063 }
25064
25065
25066 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25067 PyObject *resultobj = 0;
25068 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25069 bool result;
25070 void *argp1 = 0 ;
25071 int res1 = 0 ;
25072 PyObject *swig_obj[1] ;
25073
25074 if (!args) SWIG_fail;
25075 swig_obj[0] = args;
25076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25077 if (!SWIG_IsOK(res1)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25079 }
25080 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 result = (bool)(arg1)->GetEnablePaper();
25084 wxPyEndAllowThreads(__tstate);
25085 if (PyErr_Occurred()) SWIG_fail;
25086 }
25087 {
25088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25089 }
25090 return resultobj;
25091 fail:
25092 return NULL;
25093 }
25094
25095
25096 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25097 PyObject *resultobj = 0;
25098 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25099 bool result;
25100 void *argp1 = 0 ;
25101 int res1 = 0 ;
25102 PyObject *swig_obj[1] ;
25103
25104 if (!args) SWIG_fail;
25105 swig_obj[0] = args;
25106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25107 if (!SWIG_IsOK(res1)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25109 }
25110 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (bool)(arg1)->GetEnablePrinter();
25114 wxPyEndAllowThreads(__tstate);
25115 if (PyErr_Occurred()) SWIG_fail;
25116 }
25117 {
25118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25119 }
25120 return resultobj;
25121 fail:
25122 return NULL;
25123 }
25124
25125
25126 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25127 PyObject *resultobj = 0;
25128 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25129 bool result;
25130 void *argp1 = 0 ;
25131 int res1 = 0 ;
25132 PyObject *swig_obj[1] ;
25133
25134 if (!args) SWIG_fail;
25135 swig_obj[0] = args;
25136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25137 if (!SWIG_IsOK(res1)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25139 }
25140 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (bool)(arg1)->GetEnableHelp();
25144 wxPyEndAllowThreads(__tstate);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 }
25147 {
25148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25149 }
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25157 PyObject *resultobj = 0;
25158 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25159 bool result;
25160 void *argp1 = 0 ;
25161 int res1 = 0 ;
25162 PyObject *swig_obj[1] ;
25163
25164 if (!args) SWIG_fail;
25165 swig_obj[0] = args;
25166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25167 if (!SWIG_IsOK(res1)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25169 }
25170 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 result = (bool)(arg1)->GetDefaultInfo();
25174 wxPyEndAllowThreads(__tstate);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 {
25178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25179 }
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25187 PyObject *resultobj = 0;
25188 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25189 wxPoint result;
25190 void *argp1 = 0 ;
25191 int res1 = 0 ;
25192 PyObject *swig_obj[1] ;
25193
25194 if (!args) SWIG_fail;
25195 swig_obj[0] = args;
25196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25197 if (!SWIG_IsOK(res1)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25199 }
25200 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25201 {
25202 PyThreadState* __tstate = wxPyBeginAllowThreads();
25203 result = (arg1)->GetMarginTopLeft();
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25215 PyObject *resultobj = 0;
25216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25217 wxPoint result;
25218 void *argp1 = 0 ;
25219 int res1 = 0 ;
25220 PyObject *swig_obj[1] ;
25221
25222 if (!args) SWIG_fail;
25223 swig_obj[0] = args;
25224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25225 if (!SWIG_IsOK(res1)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25227 }
25228 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (arg1)->GetMarginBottomRight();
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25243 PyObject *resultobj = 0;
25244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25245 wxPoint result;
25246 void *argp1 = 0 ;
25247 int res1 = 0 ;
25248 PyObject *swig_obj[1] ;
25249
25250 if (!args) SWIG_fail;
25251 swig_obj[0] = args;
25252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25253 if (!SWIG_IsOK(res1)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25255 }
25256 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 result = (arg1)->GetMinMarginTopLeft();
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25271 PyObject *resultobj = 0;
25272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25273 wxPoint result;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 PyObject *swig_obj[1] ;
25277
25278 if (!args) SWIG_fail;
25279 swig_obj[0] = args;
25280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 }
25284 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (arg1)->GetMinMarginBottomRight();
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25299 PyObject *resultobj = 0;
25300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25301 wxPaperSize result;
25302 void *argp1 = 0 ;
25303 int res1 = 0 ;
25304 PyObject *swig_obj[1] ;
25305
25306 if (!args) SWIG_fail;
25307 swig_obj[0] = args;
25308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25309 if (!SWIG_IsOK(res1)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25311 }
25312 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (wxPaperSize)(arg1)->GetPaperId();
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 resultobj = SWIG_From_int(static_cast< int >(result));
25320 return resultobj;
25321 fail:
25322 return NULL;
25323 }
25324
25325
25326 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25327 PyObject *resultobj = 0;
25328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25329 wxSize result;
25330 void *argp1 = 0 ;
25331 int res1 = 0 ;
25332 PyObject *swig_obj[1] ;
25333
25334 if (!args) SWIG_fail;
25335 swig_obj[0] = args;
25336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25337 if (!SWIG_IsOK(res1)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25339 }
25340 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 result = (arg1)->GetPaperSize();
25344 wxPyEndAllowThreads(__tstate);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
25347 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25348 return resultobj;
25349 fail:
25350 return NULL;
25351 }
25352
25353
25354 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25357 wxPrintData *result = 0 ;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 PyObject *swig_obj[1] ;
25361
25362 if (!args) SWIG_fail;
25363 swig_obj[0] = args;
25364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25365 if (!SWIG_IsOK(res1)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25367 }
25368 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 {
25372 wxPrintData &_result_ref = (arg1)->GetPrintData();
25373 result = (wxPrintData *) &_result_ref;
25374 }
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25379 return resultobj;
25380 fail:
25381 return NULL;
25382 }
25383
25384
25385 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25386 PyObject *resultobj = 0;
25387 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25388 bool result;
25389 void *argp1 = 0 ;
25390 int res1 = 0 ;
25391 PyObject *swig_obj[1] ;
25392
25393 if (!args) SWIG_fail;
25394 swig_obj[0] = args;
25395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25396 if (!SWIG_IsOK(res1)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25398 }
25399 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25400 {
25401 PyThreadState* __tstate = wxPyBeginAllowThreads();
25402 result = (bool)(arg1)->IsOk();
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 {
25407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25408 }
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj = 0;
25417 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25418 bool arg2 ;
25419 void *argp1 = 0 ;
25420 int res1 = 0 ;
25421 bool val2 ;
25422 int ecode2 = 0 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 char * kwnames[] = {
25426 (char *) "self",(char *) "flag", NULL
25427 };
25428
25429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25431 if (!SWIG_IsOK(res1)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25433 }
25434 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25435 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25436 if (!SWIG_IsOK(ecode2)) {
25437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25438 }
25439 arg2 = static_cast< bool >(val2);
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 (arg1)->SetDefaultInfo(arg2);
25443 wxPyEndAllowThreads(__tstate);
25444 if (PyErr_Occurred()) SWIG_fail;
25445 }
25446 resultobj = SWIG_Py_Void();
25447 return resultobj;
25448 fail:
25449 return NULL;
25450 }
25451
25452
25453 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25454 PyObject *resultobj = 0;
25455 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25456 bool arg2 ;
25457 void *argp1 = 0 ;
25458 int res1 = 0 ;
25459 bool val2 ;
25460 int ecode2 = 0 ;
25461 PyObject * obj0 = 0 ;
25462 PyObject * obj1 = 0 ;
25463 char * kwnames[] = {
25464 (char *) "self",(char *) "flag", NULL
25465 };
25466
25467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25469 if (!SWIG_IsOK(res1)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25471 }
25472 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25473 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25474 if (!SWIG_IsOK(ecode2)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25476 }
25477 arg2 = static_cast< bool >(val2);
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 (arg1)->SetDefaultMinMargins(arg2);
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 resultobj = SWIG_Py_Void();
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj = 0;
25493 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25494 wxPoint *arg2 = 0 ;
25495 void *argp1 = 0 ;
25496 int res1 = 0 ;
25497 wxPoint temp2 ;
25498 PyObject * obj0 = 0 ;
25499 PyObject * obj1 = 0 ;
25500 char * kwnames[] = {
25501 (char *) "self",(char *) "pt", NULL
25502 };
25503
25504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25506 if (!SWIG_IsOK(res1)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25508 }
25509 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25510 {
25511 arg2 = &temp2;
25512 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25513 }
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 resultobj = SWIG_Py_Void();
25521 return resultobj;
25522 fail:
25523 return NULL;
25524 }
25525
25526
25527 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25528 PyObject *resultobj = 0;
25529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25530 wxPoint *arg2 = 0 ;
25531 void *argp1 = 0 ;
25532 int res1 = 0 ;
25533 wxPoint temp2 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char * kwnames[] = {
25537 (char *) "self",(char *) "pt", NULL
25538 };
25539
25540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25542 if (!SWIG_IsOK(res1)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25544 }
25545 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25546 {
25547 arg2 = &temp2;
25548 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25549 }
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 resultobj = SWIG_Py_Void();
25557 return resultobj;
25558 fail:
25559 return NULL;
25560 }
25561
25562
25563 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj = 0;
25565 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25566 wxPoint *arg2 = 0 ;
25567 void *argp1 = 0 ;
25568 int res1 = 0 ;
25569 wxPoint temp2 ;
25570 PyObject * obj0 = 0 ;
25571 PyObject * obj1 = 0 ;
25572 char * kwnames[] = {
25573 (char *) "self",(char *) "pt", NULL
25574 };
25575
25576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25580 }
25581 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25582 {
25583 arg2 = &temp2;
25584 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25585 }
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 resultobj = SWIG_Py_Void();
25593 return resultobj;
25594 fail:
25595 return NULL;
25596 }
25597
25598
25599 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25600 PyObject *resultobj = 0;
25601 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25602 wxPoint *arg2 = 0 ;
25603 void *argp1 = 0 ;
25604 int res1 = 0 ;
25605 wxPoint temp2 ;
25606 PyObject * obj0 = 0 ;
25607 PyObject * obj1 = 0 ;
25608 char * kwnames[] = {
25609 (char *) "self",(char *) "pt", NULL
25610 };
25611
25612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25614 if (!SWIG_IsOK(res1)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25616 }
25617 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25618 {
25619 arg2 = &temp2;
25620 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25621 }
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_Py_Void();
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj = 0;
25637 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25638 wxPaperSize arg2 ;
25639 void *argp1 = 0 ;
25640 int res1 = 0 ;
25641 int val2 ;
25642 int ecode2 = 0 ;
25643 PyObject * obj0 = 0 ;
25644 PyObject * obj1 = 0 ;
25645 char * kwnames[] = {
25646 (char *) "self",(char *) "id", NULL
25647 };
25648
25649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25651 if (!SWIG_IsOK(res1)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25653 }
25654 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25655 ecode2 = SWIG_AsVal_int(obj1, &val2);
25656 if (!SWIG_IsOK(ecode2)) {
25657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25658 }
25659 arg2 = static_cast< wxPaperSize >(val2);
25660 {
25661 PyThreadState* __tstate = wxPyBeginAllowThreads();
25662 (arg1)->SetPaperId(arg2);
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 resultobj = SWIG_Py_Void();
25667 return resultobj;
25668 fail:
25669 return NULL;
25670 }
25671
25672
25673 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj = 0;
25675 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25676 wxSize *arg2 = 0 ;
25677 void *argp1 = 0 ;
25678 int res1 = 0 ;
25679 wxSize temp2 ;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 char * kwnames[] = {
25683 (char *) "self",(char *) "size", NULL
25684 };
25685
25686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25688 if (!SWIG_IsOK(res1)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25690 }
25691 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25692 {
25693 arg2 = &temp2;
25694 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25695 }
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 (arg1)->SetPaperSize((wxSize const &)*arg2);
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
25702 resultobj = SWIG_Py_Void();
25703 return resultobj;
25704 fail:
25705 return NULL;
25706 }
25707
25708
25709 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25710 PyObject *resultobj = 0;
25711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25712 wxPrintData *arg2 = 0 ;
25713 void *argp1 = 0 ;
25714 int res1 = 0 ;
25715 void *argp2 = 0 ;
25716 int res2 = 0 ;
25717 PyObject * obj0 = 0 ;
25718 PyObject * obj1 = 0 ;
25719 char * kwnames[] = {
25720 (char *) "self",(char *) "printData", NULL
25721 };
25722
25723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25725 if (!SWIG_IsOK(res1)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25727 }
25728 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25729 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25730 if (!SWIG_IsOK(res2)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25732 }
25733 if (!argp2) {
25734 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25735 }
25736 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 resultobj = SWIG_Py_Void();
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25751 PyObject *resultobj = 0;
25752 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25753 void *argp1 = 0 ;
25754 int res1 = 0 ;
25755 PyObject *swig_obj[1] ;
25756
25757 if (!args) SWIG_fail;
25758 swig_obj[0] = args;
25759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25760 if (!SWIG_IsOK(res1)) {
25761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25762 }
25763 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25764 {
25765 PyThreadState* __tstate = wxPyBeginAllowThreads();
25766 (arg1)->CalculateIdFromPaperSize();
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 resultobj = SWIG_Py_Void();
25771 return resultobj;
25772 fail:
25773 return NULL;
25774 }
25775
25776
25777 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25778 PyObject *resultobj = 0;
25779 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25780 void *argp1 = 0 ;
25781 int res1 = 0 ;
25782 PyObject *swig_obj[1] ;
25783
25784 if (!args) SWIG_fail;
25785 swig_obj[0] = args;
25786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25787 if (!SWIG_IsOK(res1)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25789 }
25790 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 (arg1)->CalculatePaperSizeFromId();
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 resultobj = SWIG_Py_Void();
25798 return resultobj;
25799 fail:
25800 return NULL;
25801 }
25802
25803
25804 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25805 PyObject *obj;
25806 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25807 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25808 return SWIG_Py_Void();
25809 }
25810
25811 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25812 return SWIG_Python_InitShadowInstance(args);
25813 }
25814
25815 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25816 PyObject *resultobj = 0;
25817 wxWindow *arg1 = (wxWindow *) 0 ;
25818 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25819 wxPageSetupDialog *result = 0 ;
25820 void *argp1 = 0 ;
25821 int res1 = 0 ;
25822 void *argp2 = 0 ;
25823 int res2 = 0 ;
25824 PyObject * obj0 = 0 ;
25825 PyObject * obj1 = 0 ;
25826 char * kwnames[] = {
25827 (char *) "parent",(char *) "data", NULL
25828 };
25829
25830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25832 if (!SWIG_IsOK(res1)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25834 }
25835 arg1 = reinterpret_cast< wxWindow * >(argp1);
25836 if (obj1) {
25837 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25838 if (!SWIG_IsOK(res2)) {
25839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25840 }
25841 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25842 }
25843 {
25844 if (!wxPyCheckForApp()) SWIG_fail;
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25851 return resultobj;
25852 fail:
25853 return NULL;
25854 }
25855
25856
25857 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25858 PyObject *resultobj = 0;
25859 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25860 void *argp1 = 0 ;
25861 int res1 = 0 ;
25862 PyObject *swig_obj[1] ;
25863
25864 if (!args) SWIG_fail;
25865 swig_obj[0] = args;
25866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25867 if (!SWIG_IsOK(res1)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25869 }
25870 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 delete arg1;
25874
25875 wxPyEndAllowThreads(__tstate);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 }
25878 resultobj = SWIG_Py_Void();
25879 return resultobj;
25880 fail:
25881 return NULL;
25882 }
25883
25884
25885 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25886 PyObject *resultobj = 0;
25887 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25888 wxPageSetupDialogData *result = 0 ;
25889 void *argp1 = 0 ;
25890 int res1 = 0 ;
25891 PyObject *swig_obj[1] ;
25892
25893 if (!args) SWIG_fail;
25894 swig_obj[0] = args;
25895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25896 if (!SWIG_IsOK(res1)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25898 }
25899 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 {
25903 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25904 result = (wxPageSetupDialogData *) &_result_ref;
25905 }
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25910 return resultobj;
25911 fail:
25912 return NULL;
25913 }
25914
25915
25916 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25917 PyObject *resultobj = 0;
25918 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25919 wxPageSetupDialogData *result = 0 ;
25920 void *argp1 = 0 ;
25921 int res1 = 0 ;
25922 PyObject *swig_obj[1] ;
25923
25924 if (!args) SWIG_fail;
25925 swig_obj[0] = args;
25926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25927 if (!SWIG_IsOK(res1)) {
25928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25929 }
25930 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25931 {
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 {
25934 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25935 result = (wxPageSetupDialogData *) &_result_ref;
25936 }
25937 wxPyEndAllowThreads(__tstate);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 }
25940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25941 return resultobj;
25942 fail:
25943 return NULL;
25944 }
25945
25946
25947 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25948 PyObject *resultobj = 0;
25949 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25950 int result;
25951 void *argp1 = 0 ;
25952 int res1 = 0 ;
25953 PyObject *swig_obj[1] ;
25954
25955 if (!args) SWIG_fail;
25956 swig_obj[0] = args;
25957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25958 if (!SWIG_IsOK(res1)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25960 }
25961 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25962 {
25963 PyThreadState* __tstate = wxPyBeginAllowThreads();
25964 result = (int)(arg1)->ShowModal();
25965 wxPyEndAllowThreads(__tstate);
25966 if (PyErr_Occurred()) SWIG_fail;
25967 }
25968 resultobj = SWIG_From_int(static_cast< int >(result));
25969 return resultobj;
25970 fail:
25971 return NULL;
25972 }
25973
25974
25975 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25976 PyObject *obj;
25977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25978 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25979 return SWIG_Py_Void();
25980 }
25981
25982 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25983 return SWIG_Python_InitShadowInstance(args);
25984 }
25985
25986 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25987 PyObject *resultobj = 0;
25988 wxPrintDialogData *result = 0 ;
25989
25990 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25991 {
25992 PyThreadState* __tstate = wxPyBeginAllowThreads();
25993 result = (wxPrintDialogData *)new wxPrintDialogData();
25994 wxPyEndAllowThreads(__tstate);
25995 if (PyErr_Occurred()) SWIG_fail;
25996 }
25997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25998 return resultobj;
25999 fail:
26000 return NULL;
26001 }
26002
26003
26004 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26005 PyObject *resultobj = 0;
26006 wxPrintData *arg1 = 0 ;
26007 wxPrintDialogData *result = 0 ;
26008 void *argp1 = 0 ;
26009 int res1 = 0 ;
26010
26011 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26013 if (!SWIG_IsOK(res1)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26015 }
26016 if (!argp1) {
26017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26018 }
26019 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26020 {
26021 PyThreadState* __tstate = wxPyBeginAllowThreads();
26022 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26023 wxPyEndAllowThreads(__tstate);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
26026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26027 return resultobj;
26028 fail:
26029 return NULL;
26030 }
26031
26032
26033 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26034 PyObject *resultobj = 0;
26035 wxPrintDialogData *arg1 = 0 ;
26036 wxPrintDialogData *result = 0 ;
26037 void *argp1 = 0 ;
26038 int res1 = 0 ;
26039
26040 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26042 if (!SWIG_IsOK(res1)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26044 }
26045 if (!argp1) {
26046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26047 }
26048 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26056 return resultobj;
26057 fail:
26058 return NULL;
26059 }
26060
26061
26062 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26063 int argc;
26064 PyObject *argv[2];
26065
26066 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26067 --argc;
26068 if (argc == 0) {
26069 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26070 }
26071 if (argc == 1) {
26072 int _v = 0;
26073 {
26074 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26075 _v = SWIG_CheckState(res);
26076 }
26077 if (!_v) goto check_2;
26078 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26079 }
26080 check_2:
26081
26082 if (argc == 1) {
26083 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26084 }
26085
26086 fail:
26087 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26088 return NULL;
26089 }
26090
26091
26092 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26093 PyObject *resultobj = 0;
26094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26095 void *argp1 = 0 ;
26096 int res1 = 0 ;
26097 PyObject *swig_obj[1] ;
26098
26099 if (!args) SWIG_fail;
26100 swig_obj[0] = args;
26101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26102 if (!SWIG_IsOK(res1)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26104 }
26105 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26106 {
26107 PyThreadState* __tstate = wxPyBeginAllowThreads();
26108 delete arg1;
26109
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 resultobj = SWIG_Py_Void();
26114 return resultobj;
26115 fail:
26116 return NULL;
26117 }
26118
26119
26120 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26123 int result;
26124 void *argp1 = 0 ;
26125 int res1 = 0 ;
26126 PyObject *swig_obj[1] ;
26127
26128 if (!args) SWIG_fail;
26129 swig_obj[0] = args;
26130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26131 if (!SWIG_IsOK(res1)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26133 }
26134 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26135 {
26136 PyThreadState* __tstate = wxPyBeginAllowThreads();
26137 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 resultobj = SWIG_From_int(static_cast< int >(result));
26142 return resultobj;
26143 fail:
26144 return NULL;
26145 }
26146
26147
26148 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26149 PyObject *resultobj = 0;
26150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26151 int result;
26152 void *argp1 = 0 ;
26153 int res1 = 0 ;
26154 PyObject *swig_obj[1] ;
26155
26156 if (!args) SWIG_fail;
26157 swig_obj[0] = args;
26158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26159 if (!SWIG_IsOK(res1)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26161 }
26162 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 resultobj = SWIG_From_int(static_cast< int >(result));
26170 return resultobj;
26171 fail:
26172 return NULL;
26173 }
26174
26175
26176 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26177 PyObject *resultobj = 0;
26178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26179 int result;
26180 void *argp1 = 0 ;
26181 int res1 = 0 ;
26182 PyObject *swig_obj[1] ;
26183
26184 if (!args) SWIG_fail;
26185 swig_obj[0] = args;
26186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26187 if (!SWIG_IsOK(res1)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26189 }
26190 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
26197 resultobj = SWIG_From_int(static_cast< int >(result));
26198 return resultobj;
26199 fail:
26200 return NULL;
26201 }
26202
26203
26204 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26205 PyObject *resultobj = 0;
26206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26207 int result;
26208 void *argp1 = 0 ;
26209 int res1 = 0 ;
26210 PyObject *swig_obj[1] ;
26211
26212 if (!args) SWIG_fail;
26213 swig_obj[0] = args;
26214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26215 if (!SWIG_IsOK(res1)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26217 }
26218 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26219 {
26220 PyThreadState* __tstate = wxPyBeginAllowThreads();
26221 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 resultobj = SWIG_From_int(static_cast< int >(result));
26226 return resultobj;
26227 fail:
26228 return NULL;
26229 }
26230
26231
26232 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26233 PyObject *resultobj = 0;
26234 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26235 int result;
26236 void *argp1 = 0 ;
26237 int res1 = 0 ;
26238 PyObject *swig_obj[1] ;
26239
26240 if (!args) SWIG_fail;
26241 swig_obj[0] = args;
26242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26243 if (!SWIG_IsOK(res1)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26245 }
26246 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 resultobj = SWIG_From_int(static_cast< int >(result));
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26261 PyObject *resultobj = 0;
26262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26263 bool result;
26264 void *argp1 = 0 ;
26265 int res1 = 0 ;
26266 PyObject *swig_obj[1] ;
26267
26268 if (!args) SWIG_fail;
26269 swig_obj[0] = args;
26270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26271 if (!SWIG_IsOK(res1)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26273 }
26274 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
26281 {
26282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26283 }
26284 return resultobj;
26285 fail:
26286 return NULL;
26287 }
26288
26289
26290 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26291 PyObject *resultobj = 0;
26292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26293 bool result;
26294 void *argp1 = 0 ;
26295 int res1 = 0 ;
26296 PyObject *swig_obj[1] ;
26297
26298 if (!args) SWIG_fail;
26299 swig_obj[0] = args;
26300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26301 if (!SWIG_IsOK(res1)) {
26302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26303 }
26304 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 {
26312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26313 }
26314 return resultobj;
26315 fail:
26316 return NULL;
26317 }
26318
26319
26320 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26321 PyObject *resultobj = 0;
26322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26323 bool result;
26324 void *argp1 = 0 ;
26325 int res1 = 0 ;
26326 PyObject *swig_obj[1] ;
26327
26328 if (!args) SWIG_fail;
26329 swig_obj[0] = args;
26330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26331 if (!SWIG_IsOK(res1)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26333 }
26334 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 {
26342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26343 }
26344 return resultobj;
26345 fail:
26346 return NULL;
26347 }
26348
26349
26350 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26351 PyObject *resultobj = 0;
26352 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26353 bool result;
26354 void *argp1 = 0 ;
26355 int res1 = 0 ;
26356 PyObject *swig_obj[1] ;
26357
26358 if (!args) SWIG_fail;
26359 swig_obj[0] = args;
26360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26361 if (!SWIG_IsOK(res1)) {
26362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26363 }
26364 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26365 {
26366 PyThreadState* __tstate = wxPyBeginAllowThreads();
26367 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 {
26372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26373 }
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj = 0;
26382 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26383 int arg2 ;
26384 void *argp1 = 0 ;
26385 int res1 = 0 ;
26386 int val2 ;
26387 int ecode2 = 0 ;
26388 PyObject * obj0 = 0 ;
26389 PyObject * obj1 = 0 ;
26390 char * kwnames[] = {
26391 (char *) "self",(char *) "v", NULL
26392 };
26393
26394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26396 if (!SWIG_IsOK(res1)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26398 }
26399 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26400 ecode2 = SWIG_AsVal_int(obj1, &val2);
26401 if (!SWIG_IsOK(ecode2)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26403 }
26404 arg2 = static_cast< int >(val2);
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 (arg1)->SetFromPage(arg2);
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 resultobj = SWIG_Py_Void();
26412 return resultobj;
26413 fail:
26414 return NULL;
26415 }
26416
26417
26418 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26419 PyObject *resultobj = 0;
26420 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26421 int arg2 ;
26422 void *argp1 = 0 ;
26423 int res1 = 0 ;
26424 int val2 ;
26425 int ecode2 = 0 ;
26426 PyObject * obj0 = 0 ;
26427 PyObject * obj1 = 0 ;
26428 char * kwnames[] = {
26429 (char *) "self",(char *) "v", NULL
26430 };
26431
26432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26434 if (!SWIG_IsOK(res1)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26436 }
26437 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26438 ecode2 = SWIG_AsVal_int(obj1, &val2);
26439 if (!SWIG_IsOK(ecode2)) {
26440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26441 }
26442 arg2 = static_cast< int >(val2);
26443 {
26444 PyThreadState* __tstate = wxPyBeginAllowThreads();
26445 (arg1)->SetToPage(arg2);
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 resultobj = SWIG_Py_Void();
26450 return resultobj;
26451 fail:
26452 return NULL;
26453 }
26454
26455
26456 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26457 PyObject *resultobj = 0;
26458 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26459 int arg2 ;
26460 void *argp1 = 0 ;
26461 int res1 = 0 ;
26462 int val2 ;
26463 int ecode2 = 0 ;
26464 PyObject * obj0 = 0 ;
26465 PyObject * obj1 = 0 ;
26466 char * kwnames[] = {
26467 (char *) "self",(char *) "v", NULL
26468 };
26469
26470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26472 if (!SWIG_IsOK(res1)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26474 }
26475 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26476 ecode2 = SWIG_AsVal_int(obj1, &val2);
26477 if (!SWIG_IsOK(ecode2)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26479 }
26480 arg2 = static_cast< int >(val2);
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 (arg1)->SetMinPage(arg2);
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = SWIG_Py_Void();
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26495 PyObject *resultobj = 0;
26496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26497 int arg2 ;
26498 void *argp1 = 0 ;
26499 int res1 = 0 ;
26500 int val2 ;
26501 int ecode2 = 0 ;
26502 PyObject * obj0 = 0 ;
26503 PyObject * obj1 = 0 ;
26504 char * kwnames[] = {
26505 (char *) "self",(char *) "v", NULL
26506 };
26507
26508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26510 if (!SWIG_IsOK(res1)) {
26511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26512 }
26513 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26514 ecode2 = SWIG_AsVal_int(obj1, &val2);
26515 if (!SWIG_IsOK(ecode2)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26517 }
26518 arg2 = static_cast< int >(val2);
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 (arg1)->SetMaxPage(arg2);
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
26525 resultobj = SWIG_Py_Void();
26526 return resultobj;
26527 fail:
26528 return NULL;
26529 }
26530
26531
26532 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj = 0;
26534 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26535 int arg2 ;
26536 void *argp1 = 0 ;
26537 int res1 = 0 ;
26538 int val2 ;
26539 int ecode2 = 0 ;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char * kwnames[] = {
26543 (char *) "self",(char *) "v", NULL
26544 };
26545
26546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26548 if (!SWIG_IsOK(res1)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26550 }
26551 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26552 ecode2 = SWIG_AsVal_int(obj1, &val2);
26553 if (!SWIG_IsOK(ecode2)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26555 }
26556 arg2 = static_cast< int >(val2);
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 (arg1)->SetNoCopies(arg2);
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 resultobj = SWIG_Py_Void();
26564 return resultobj;
26565 fail:
26566 return NULL;
26567 }
26568
26569
26570 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26571 PyObject *resultobj = 0;
26572 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26573 bool arg2 ;
26574 void *argp1 = 0 ;
26575 int res1 = 0 ;
26576 bool val2 ;
26577 int ecode2 = 0 ;
26578 PyObject * obj0 = 0 ;
26579 PyObject * obj1 = 0 ;
26580 char * kwnames[] = {
26581 (char *) "self",(char *) "flag", NULL
26582 };
26583
26584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26586 if (!SWIG_IsOK(res1)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26588 }
26589 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26590 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26591 if (!SWIG_IsOK(ecode2)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26593 }
26594 arg2 = static_cast< bool >(val2);
26595 {
26596 PyThreadState* __tstate = wxPyBeginAllowThreads();
26597 (arg1)->SetAllPages(arg2);
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 resultobj = SWIG_Py_Void();
26602 return resultobj;
26603 fail:
26604 return NULL;
26605 }
26606
26607
26608 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26609 PyObject *resultobj = 0;
26610 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26611 bool arg2 ;
26612 void *argp1 = 0 ;
26613 int res1 = 0 ;
26614 bool val2 ;
26615 int ecode2 = 0 ;
26616 PyObject * obj0 = 0 ;
26617 PyObject * obj1 = 0 ;
26618 char * kwnames[] = {
26619 (char *) "self",(char *) "flag", NULL
26620 };
26621
26622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26624 if (!SWIG_IsOK(res1)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26626 }
26627 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26629 if (!SWIG_IsOK(ecode2)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26631 }
26632 arg2 = static_cast< bool >(val2);
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 (arg1)->SetSelection(arg2);
26636 wxPyEndAllowThreads(__tstate);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 }
26639 resultobj = SWIG_Py_Void();
26640 return resultobj;
26641 fail:
26642 return NULL;
26643 }
26644
26645
26646 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26647 PyObject *resultobj = 0;
26648 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26649 bool arg2 ;
26650 void *argp1 = 0 ;
26651 int res1 = 0 ;
26652 bool val2 ;
26653 int ecode2 = 0 ;
26654 PyObject * obj0 = 0 ;
26655 PyObject * obj1 = 0 ;
26656 char * kwnames[] = {
26657 (char *) "self",(char *) "flag", NULL
26658 };
26659
26660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26662 if (!SWIG_IsOK(res1)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26664 }
26665 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26666 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26667 if (!SWIG_IsOK(ecode2)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26669 }
26670 arg2 = static_cast< bool >(val2);
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
26673 (arg1)->SetCollate(arg2);
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 resultobj = SWIG_Py_Void();
26678 return resultobj;
26679 fail:
26680 return NULL;
26681 }
26682
26683
26684 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26685 PyObject *resultobj = 0;
26686 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26687 bool arg2 ;
26688 void *argp1 = 0 ;
26689 int res1 = 0 ;
26690 bool val2 ;
26691 int ecode2 = 0 ;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 char * kwnames[] = {
26695 (char *) "self",(char *) "flag", NULL
26696 };
26697
26698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26700 if (!SWIG_IsOK(res1)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26702 }
26703 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26704 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26705 if (!SWIG_IsOK(ecode2)) {
26706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26707 }
26708 arg2 = static_cast< bool >(val2);
26709 {
26710 PyThreadState* __tstate = wxPyBeginAllowThreads();
26711 (arg1)->SetPrintToFile(arg2);
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 resultobj = SWIG_Py_Void();
26716 return resultobj;
26717 fail:
26718 return NULL;
26719 }
26720
26721
26722 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26723 PyObject *resultobj = 0;
26724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26725 bool arg2 ;
26726 void *argp1 = 0 ;
26727 int res1 = 0 ;
26728 bool val2 ;
26729 int ecode2 = 0 ;
26730 PyObject * obj0 = 0 ;
26731 PyObject * obj1 = 0 ;
26732 char * kwnames[] = {
26733 (char *) "self",(char *) "flag", NULL
26734 };
26735
26736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26738 if (!SWIG_IsOK(res1)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26740 }
26741 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26742 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26743 if (!SWIG_IsOK(ecode2)) {
26744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26745 }
26746 arg2 = static_cast< bool >(val2);
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 (arg1)->EnablePrintToFile(arg2);
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 resultobj = SWIG_Py_Void();
26754 return resultobj;
26755 fail:
26756 return NULL;
26757 }
26758
26759
26760 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26761 PyObject *resultobj = 0;
26762 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26763 bool arg2 ;
26764 void *argp1 = 0 ;
26765 int res1 = 0 ;
26766 bool val2 ;
26767 int ecode2 = 0 ;
26768 PyObject * obj0 = 0 ;
26769 PyObject * obj1 = 0 ;
26770 char * kwnames[] = {
26771 (char *) "self",(char *) "flag", NULL
26772 };
26773
26774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26776 if (!SWIG_IsOK(res1)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26778 }
26779 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26780 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26781 if (!SWIG_IsOK(ecode2)) {
26782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26783 }
26784 arg2 = static_cast< bool >(val2);
26785 {
26786 PyThreadState* __tstate = wxPyBeginAllowThreads();
26787 (arg1)->EnableSelection(arg2);
26788 wxPyEndAllowThreads(__tstate);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 resultobj = SWIG_Py_Void();
26792 return resultobj;
26793 fail:
26794 return NULL;
26795 }
26796
26797
26798 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26799 PyObject *resultobj = 0;
26800 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26801 bool arg2 ;
26802 void *argp1 = 0 ;
26803 int res1 = 0 ;
26804 bool val2 ;
26805 int ecode2 = 0 ;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 char * kwnames[] = {
26809 (char *) "self",(char *) "flag", NULL
26810 };
26811
26812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26814 if (!SWIG_IsOK(res1)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26816 }
26817 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26818 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26819 if (!SWIG_IsOK(ecode2)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26821 }
26822 arg2 = static_cast< bool >(val2);
26823 {
26824 PyThreadState* __tstate = wxPyBeginAllowThreads();
26825 (arg1)->EnablePageNumbers(arg2);
26826 wxPyEndAllowThreads(__tstate);
26827 if (PyErr_Occurred()) SWIG_fail;
26828 }
26829 resultobj = SWIG_Py_Void();
26830 return resultobj;
26831 fail:
26832 return NULL;
26833 }
26834
26835
26836 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26837 PyObject *resultobj = 0;
26838 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26839 bool arg2 ;
26840 void *argp1 = 0 ;
26841 int res1 = 0 ;
26842 bool val2 ;
26843 int ecode2 = 0 ;
26844 PyObject * obj0 = 0 ;
26845 PyObject * obj1 = 0 ;
26846 char * kwnames[] = {
26847 (char *) "self",(char *) "flag", NULL
26848 };
26849
26850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26852 if (!SWIG_IsOK(res1)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26854 }
26855 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26856 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26857 if (!SWIG_IsOK(ecode2)) {
26858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26859 }
26860 arg2 = static_cast< bool >(val2);
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 (arg1)->EnableHelp(arg2);
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 resultobj = SWIG_Py_Void();
26868 return resultobj;
26869 fail:
26870 return NULL;
26871 }
26872
26873
26874 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26875 PyObject *resultobj = 0;
26876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26877 bool result;
26878 void *argp1 = 0 ;
26879 int res1 = 0 ;
26880 PyObject *swig_obj[1] ;
26881
26882 if (!args) SWIG_fail;
26883 swig_obj[0] = args;
26884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26885 if (!SWIG_IsOK(res1)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26887 }
26888 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 {
26896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26897 }
26898 return resultobj;
26899 fail:
26900 return NULL;
26901 }
26902
26903
26904 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26905 PyObject *resultobj = 0;
26906 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26907 bool result;
26908 void *argp1 = 0 ;
26909 int res1 = 0 ;
26910 PyObject *swig_obj[1] ;
26911
26912 if (!args) SWIG_fail;
26913 swig_obj[0] = args;
26914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26915 if (!SWIG_IsOK(res1)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26917 }
26918 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 {
26926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26927 }
26928 return resultobj;
26929 fail:
26930 return NULL;
26931 }
26932
26933
26934 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26935 PyObject *resultobj = 0;
26936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26937 bool result;
26938 void *argp1 = 0 ;
26939 int res1 = 0 ;
26940 PyObject *swig_obj[1] ;
26941
26942 if (!args) SWIG_fail;
26943 swig_obj[0] = args;
26944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26945 if (!SWIG_IsOK(res1)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26947 }
26948 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26952 wxPyEndAllowThreads(__tstate);
26953 if (PyErr_Occurred()) SWIG_fail;
26954 }
26955 {
26956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26957 }
26958 return resultobj;
26959 fail:
26960 return NULL;
26961 }
26962
26963
26964 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26965 PyObject *resultobj = 0;
26966 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26967 bool result;
26968 void *argp1 = 0 ;
26969 int res1 = 0 ;
26970 PyObject *swig_obj[1] ;
26971
26972 if (!args) SWIG_fail;
26973 swig_obj[0] = args;
26974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26975 if (!SWIG_IsOK(res1)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26977 }
26978 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26979 {
26980 PyThreadState* __tstate = wxPyBeginAllowThreads();
26981 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 {
26986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26987 }
26988 return resultobj;
26989 fail:
26990 return NULL;
26991 }
26992
26993
26994 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26995 PyObject *resultobj = 0;
26996 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26997 bool result;
26998 void *argp1 = 0 ;
26999 int res1 = 0 ;
27000 PyObject *swig_obj[1] ;
27001
27002 if (!args) SWIG_fail;
27003 swig_obj[0] = args;
27004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27005 if (!SWIG_IsOK(res1)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27007 }
27008 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27009 {
27010 PyThreadState* __tstate = wxPyBeginAllowThreads();
27011 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
27015 {
27016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27017 }
27018 return resultobj;
27019 fail:
27020 return NULL;
27021 }
27022
27023
27024 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27025 PyObject *resultobj = 0;
27026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27027 wxPrintData *result = 0 ;
27028 void *argp1 = 0 ;
27029 int res1 = 0 ;
27030 PyObject *swig_obj[1] ;
27031
27032 if (!args) SWIG_fail;
27033 swig_obj[0] = args;
27034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27035 if (!SWIG_IsOK(res1)) {
27036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27037 }
27038 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27039 {
27040 PyThreadState* __tstate = wxPyBeginAllowThreads();
27041 {
27042 wxPrintData &_result_ref = (arg1)->GetPrintData();
27043 result = (wxPrintData *) &_result_ref;
27044 }
27045 wxPyEndAllowThreads(__tstate);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 }
27048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27049 return resultobj;
27050 fail:
27051 return NULL;
27052 }
27053
27054
27055 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27056 PyObject *resultobj = 0;
27057 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27058 wxPrintData *arg2 = 0 ;
27059 void *argp1 = 0 ;
27060 int res1 = 0 ;
27061 void *argp2 = 0 ;
27062 int res2 = 0 ;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 char * kwnames[] = {
27066 (char *) "self",(char *) "printData", NULL
27067 };
27068
27069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27071 if (!SWIG_IsOK(res1)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27073 }
27074 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27076 if (!SWIG_IsOK(res2)) {
27077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27078 }
27079 if (!argp2) {
27080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27081 }
27082 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27083 {
27084 PyThreadState* __tstate = wxPyBeginAllowThreads();
27085 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 resultobj = SWIG_Py_Void();
27090 return resultobj;
27091 fail:
27092 return NULL;
27093 }
27094
27095
27096 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27097 PyObject *obj;
27098 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27099 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27100 return SWIG_Py_Void();
27101 }
27102
27103 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27104 return SWIG_Python_InitShadowInstance(args);
27105 }
27106
27107 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27108 PyObject *resultobj = 0;
27109 wxWindow *arg1 = (wxWindow *) 0 ;
27110 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27111 wxPrintDialog *result = 0 ;
27112 void *argp1 = 0 ;
27113 int res1 = 0 ;
27114 void *argp2 = 0 ;
27115 int res2 = 0 ;
27116 PyObject * obj0 = 0 ;
27117 PyObject * obj1 = 0 ;
27118 char * kwnames[] = {
27119 (char *) "parent",(char *) "data", NULL
27120 };
27121
27122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27124 if (!SWIG_IsOK(res1)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27126 }
27127 arg1 = reinterpret_cast< wxWindow * >(argp1);
27128 if (obj1) {
27129 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27130 if (!SWIG_IsOK(res2)) {
27131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27132 }
27133 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27134 }
27135 {
27136 if (!wxPyCheckForApp()) SWIG_fail;
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
27138 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27139 wxPyEndAllowThreads(__tstate);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
27142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27143 return resultobj;
27144 fail:
27145 return NULL;
27146 }
27147
27148
27149 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27150 PyObject *resultobj = 0;
27151 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27152 void *argp1 = 0 ;
27153 int res1 = 0 ;
27154 PyObject *swig_obj[1] ;
27155
27156 if (!args) SWIG_fail;
27157 swig_obj[0] = args;
27158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27159 if (!SWIG_IsOK(res1)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27161 }
27162 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27163 {
27164 PyThreadState* __tstate = wxPyBeginAllowThreads();
27165 delete arg1;
27166
27167 wxPyEndAllowThreads(__tstate);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 }
27170 resultobj = SWIG_Py_Void();
27171 return resultobj;
27172 fail:
27173 return NULL;
27174 }
27175
27176
27177 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27178 PyObject *resultobj = 0;
27179 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27180 int result;
27181 void *argp1 = 0 ;
27182 int res1 = 0 ;
27183 PyObject *swig_obj[1] ;
27184
27185 if (!args) SWIG_fail;
27186 swig_obj[0] = args;
27187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27188 if (!SWIG_IsOK(res1)) {
27189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27190 }
27191 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 result = (int)(arg1)->ShowModal();
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 resultobj = SWIG_From_int(static_cast< int >(result));
27199 return resultobj;
27200 fail:
27201 return NULL;
27202 }
27203
27204
27205 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27206 PyObject *resultobj = 0;
27207 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27208 wxPrintDialogData *result = 0 ;
27209 void *argp1 = 0 ;
27210 int res1 = 0 ;
27211 PyObject *swig_obj[1] ;
27212
27213 if (!args) SWIG_fail;
27214 swig_obj[0] = args;
27215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27216 if (!SWIG_IsOK(res1)) {
27217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27218 }
27219 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 {
27223 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27224 result = (wxPrintDialogData *) &_result_ref;
27225 }
27226 wxPyEndAllowThreads(__tstate);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27230 return resultobj;
27231 fail:
27232 return NULL;
27233 }
27234
27235
27236 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27237 PyObject *resultobj = 0;
27238 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27239 wxPrintData *result = 0 ;
27240 void *argp1 = 0 ;
27241 int res1 = 0 ;
27242 PyObject *swig_obj[1] ;
27243
27244 if (!args) SWIG_fail;
27245 swig_obj[0] = args;
27246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27247 if (!SWIG_IsOK(res1)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27249 }
27250 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 {
27254 wxPrintData &_result_ref = (arg1)->GetPrintData();
27255 result = (wxPrintData *) &_result_ref;
27256 }
27257 wxPyEndAllowThreads(__tstate);
27258 if (PyErr_Occurred()) SWIG_fail;
27259 }
27260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27261 return resultobj;
27262 fail:
27263 return NULL;
27264 }
27265
27266
27267 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27268 PyObject *resultobj = 0;
27269 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27270 wxDC *result = 0 ;
27271 void *argp1 = 0 ;
27272 int res1 = 0 ;
27273 PyObject *swig_obj[1] ;
27274
27275 if (!args) SWIG_fail;
27276 swig_obj[0] = args;
27277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27278 if (!SWIG_IsOK(res1)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27280 }
27281 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 result = (wxDC *)(arg1)->GetPrintDC();
27285 wxPyEndAllowThreads(__tstate);
27286 if (PyErr_Occurred()) SWIG_fail;
27287 }
27288 {
27289 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27290 }
27291 return resultobj;
27292 fail:
27293 return NULL;
27294 }
27295
27296
27297 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27298 PyObject *obj;
27299 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27300 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27301 return SWIG_Py_Void();
27302 }
27303
27304 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27305 return SWIG_Python_InitShadowInstance(args);
27306 }
27307
27308 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27309 PyObject *resultobj = 0;
27310 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27311 wxPrinter *result = 0 ;
27312 void *argp1 = 0 ;
27313 int res1 = 0 ;
27314 PyObject * obj0 = 0 ;
27315 char * kwnames[] = {
27316 (char *) "data", NULL
27317 };
27318
27319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27320 if (obj0) {
27321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27322 if (!SWIG_IsOK(res1)) {
27323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27324 }
27325 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27326 }
27327 {
27328 if (!wxPyCheckForApp()) SWIG_fail;
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 result = (wxPrinter *)new wxPrinter(arg1);
27331 wxPyEndAllowThreads(__tstate);
27332 if (PyErr_Occurred()) SWIG_fail;
27333 }
27334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27335 return resultobj;
27336 fail:
27337 return NULL;
27338 }
27339
27340
27341 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27342 PyObject *resultobj = 0;
27343 wxPrinter *arg1 = (wxPrinter *) 0 ;
27344 void *argp1 = 0 ;
27345 int res1 = 0 ;
27346 PyObject *swig_obj[1] ;
27347
27348 if (!args) SWIG_fail;
27349 swig_obj[0] = args;
27350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27351 if (!SWIG_IsOK(res1)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27353 }
27354 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27355 {
27356 PyThreadState* __tstate = wxPyBeginAllowThreads();
27357 delete arg1;
27358
27359 wxPyEndAllowThreads(__tstate);
27360 if (PyErr_Occurred()) SWIG_fail;
27361 }
27362 resultobj = SWIG_Py_Void();
27363 return resultobj;
27364 fail:
27365 return NULL;
27366 }
27367
27368
27369 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27370 PyObject *resultobj = 0;
27371 wxPrinter *arg1 = (wxPrinter *) 0 ;
27372 wxWindow *arg2 = (wxWindow *) 0 ;
27373 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27374 wxWindow *result = 0 ;
27375 void *argp1 = 0 ;
27376 int res1 = 0 ;
27377 void *argp2 = 0 ;
27378 int res2 = 0 ;
27379 void *argp3 = 0 ;
27380 int res3 = 0 ;
27381 PyObject * obj0 = 0 ;
27382 PyObject * obj1 = 0 ;
27383 PyObject * obj2 = 0 ;
27384 char * kwnames[] = {
27385 (char *) "self",(char *) "parent",(char *) "printout", NULL
27386 };
27387
27388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27390 if (!SWIG_IsOK(res1)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27392 }
27393 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27395 if (!SWIG_IsOK(res2)) {
27396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27397 }
27398 arg2 = reinterpret_cast< wxWindow * >(argp2);
27399 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27400 if (!SWIG_IsOK(res3)) {
27401 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27402 }
27403 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27404 {
27405 PyThreadState* __tstate = wxPyBeginAllowThreads();
27406 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27407 wxPyEndAllowThreads(__tstate);
27408 if (PyErr_Occurred()) SWIG_fail;
27409 }
27410 {
27411 resultobj = wxPyMake_wxObject(result, 0);
27412 }
27413 return resultobj;
27414 fail:
27415 return NULL;
27416 }
27417
27418
27419 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27420 PyObject *resultobj = 0;
27421 wxPrinter *arg1 = (wxPrinter *) 0 ;
27422 wxWindow *arg2 = (wxWindow *) 0 ;
27423 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27424 wxString *arg4 = 0 ;
27425 void *argp1 = 0 ;
27426 int res1 = 0 ;
27427 void *argp2 = 0 ;
27428 int res2 = 0 ;
27429 void *argp3 = 0 ;
27430 int res3 = 0 ;
27431 bool temp4 = false ;
27432 PyObject * obj0 = 0 ;
27433 PyObject * obj1 = 0 ;
27434 PyObject * obj2 = 0 ;
27435 PyObject * obj3 = 0 ;
27436 char * kwnames[] = {
27437 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27438 };
27439
27440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27442 if (!SWIG_IsOK(res1)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27444 }
27445 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27447 if (!SWIG_IsOK(res2)) {
27448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27449 }
27450 arg2 = reinterpret_cast< wxWindow * >(argp2);
27451 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27452 if (!SWIG_IsOK(res3)) {
27453 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27454 }
27455 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27456 {
27457 arg4 = wxString_in_helper(obj3);
27458 if (arg4 == NULL) SWIG_fail;
27459 temp4 = true;
27460 }
27461 {
27462 PyThreadState* __tstate = wxPyBeginAllowThreads();
27463 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 resultobj = SWIG_Py_Void();
27468 {
27469 if (temp4)
27470 delete arg4;
27471 }
27472 return resultobj;
27473 fail:
27474 {
27475 if (temp4)
27476 delete arg4;
27477 }
27478 return NULL;
27479 }
27480
27481
27482 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27483 PyObject *resultobj = 0;
27484 wxPrinter *arg1 = (wxPrinter *) 0 ;
27485 wxWindow *arg2 = (wxWindow *) 0 ;
27486 bool result;
27487 void *argp1 = 0 ;
27488 int res1 = 0 ;
27489 void *argp2 = 0 ;
27490 int res2 = 0 ;
27491 PyObject * obj0 = 0 ;
27492 PyObject * obj1 = 0 ;
27493 char * kwnames[] = {
27494 (char *) "self",(char *) "parent", NULL
27495 };
27496
27497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27499 if (!SWIG_IsOK(res1)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27501 }
27502 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27504 if (!SWIG_IsOK(res2)) {
27505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27506 }
27507 arg2 = reinterpret_cast< wxWindow * >(argp2);
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (bool)(arg1)->Setup(arg2);
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 {
27515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27516 }
27517 return resultobj;
27518 fail:
27519 return NULL;
27520 }
27521
27522
27523 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27524 PyObject *resultobj = 0;
27525 wxPrinter *arg1 = (wxPrinter *) 0 ;
27526 wxWindow *arg2 = (wxWindow *) 0 ;
27527 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27528 bool arg4 = (bool) true ;
27529 bool result;
27530 void *argp1 = 0 ;
27531 int res1 = 0 ;
27532 void *argp2 = 0 ;
27533 int res2 = 0 ;
27534 void *argp3 = 0 ;
27535 int res3 = 0 ;
27536 bool val4 ;
27537 int ecode4 = 0 ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 PyObject * obj2 = 0 ;
27541 PyObject * obj3 = 0 ;
27542 char * kwnames[] = {
27543 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27544 };
27545
27546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27548 if (!SWIG_IsOK(res1)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27550 }
27551 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27553 if (!SWIG_IsOK(res2)) {
27554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27555 }
27556 arg2 = reinterpret_cast< wxWindow * >(argp2);
27557 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27558 if (!SWIG_IsOK(res3)) {
27559 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27560 }
27561 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27562 if (obj3) {
27563 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27564 if (!SWIG_IsOK(ecode4)) {
27565 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27566 }
27567 arg4 = static_cast< bool >(val4);
27568 }
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27572 wxPyEndAllowThreads(__tstate);
27573 if (PyErr_Occurred()) SWIG_fail;
27574 }
27575 {
27576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27577 }
27578 return resultobj;
27579 fail:
27580 return NULL;
27581 }
27582
27583
27584 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27585 PyObject *resultobj = 0;
27586 wxPrinter *arg1 = (wxPrinter *) 0 ;
27587 wxWindow *arg2 = (wxWindow *) 0 ;
27588 wxDC *result = 0 ;
27589 void *argp1 = 0 ;
27590 int res1 = 0 ;
27591 void *argp2 = 0 ;
27592 int res2 = 0 ;
27593 PyObject * obj0 = 0 ;
27594 PyObject * obj1 = 0 ;
27595 char * kwnames[] = {
27596 (char *) "self",(char *) "parent", NULL
27597 };
27598
27599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27601 if (!SWIG_IsOK(res1)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27603 }
27604 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27605 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27606 if (!SWIG_IsOK(res2)) {
27607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27608 }
27609 arg2 = reinterpret_cast< wxWindow * >(argp2);
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 result = (wxDC *)(arg1)->PrintDialog(arg2);
27613 wxPyEndAllowThreads(__tstate);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 {
27617 resultobj = wxPyMake_wxObject(result, (bool)0);
27618 }
27619 return resultobj;
27620 fail:
27621 return NULL;
27622 }
27623
27624
27625 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27626 PyObject *resultobj = 0;
27627 wxPrinter *arg1 = (wxPrinter *) 0 ;
27628 wxPrintDialogData *result = 0 ;
27629 void *argp1 = 0 ;
27630 int res1 = 0 ;
27631 PyObject *swig_obj[1] ;
27632
27633 if (!args) SWIG_fail;
27634 swig_obj[0] = args;
27635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27636 if (!SWIG_IsOK(res1)) {
27637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27638 }
27639 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27640 {
27641 PyThreadState* __tstate = wxPyBeginAllowThreads();
27642 {
27643 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27644 result = (wxPrintDialogData *) &_result_ref;
27645 }
27646 wxPyEndAllowThreads(__tstate);
27647 if (PyErr_Occurred()) SWIG_fail;
27648 }
27649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27650 return resultobj;
27651 fail:
27652 return NULL;
27653 }
27654
27655
27656 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27657 PyObject *resultobj = 0;
27658 wxPrinter *arg1 = (wxPrinter *) 0 ;
27659 bool result;
27660 void *argp1 = 0 ;
27661 int res1 = 0 ;
27662 PyObject *swig_obj[1] ;
27663
27664 if (!args) SWIG_fail;
27665 swig_obj[0] = args;
27666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27667 if (!SWIG_IsOK(res1)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27669 }
27670 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27671 {
27672 PyThreadState* __tstate = wxPyBeginAllowThreads();
27673 result = (bool)(arg1)->GetAbort();
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 {
27678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27679 }
27680 return resultobj;
27681 fail:
27682 return NULL;
27683 }
27684
27685
27686 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27687 PyObject *resultobj = 0;
27688 wxPrinterError result;
27689
27690 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27691 {
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 result = (wxPrinterError)wxPrinter::GetLastError();
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 resultobj = SWIG_From_int(static_cast< int >(result));
27698 return resultobj;
27699 fail:
27700 return NULL;
27701 }
27702
27703
27704 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27705 PyObject *obj;
27706 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27708 return SWIG_Py_Void();
27709 }
27710
27711 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27712 return SWIG_Python_InitShadowInstance(args);
27713 }
27714
27715 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj = 0;
27717 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27718 wxString *arg1 = (wxString *) &arg1_defvalue ;
27719 wxPyPrintout *result = 0 ;
27720 bool temp1 = false ;
27721 PyObject * obj0 = 0 ;
27722 char * kwnames[] = {
27723 (char *) "title", NULL
27724 };
27725
27726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27727 if (obj0) {
27728 {
27729 arg1 = wxString_in_helper(obj0);
27730 if (arg1 == NULL) SWIG_fail;
27731 temp1 = true;
27732 }
27733 }
27734 {
27735 if (!wxPyCheckForApp()) SWIG_fail;
27736 PyThreadState* __tstate = wxPyBeginAllowThreads();
27737 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27738 wxPyEndAllowThreads(__tstate);
27739 if (PyErr_Occurred()) SWIG_fail;
27740 }
27741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27742 {
27743 if (temp1)
27744 delete arg1;
27745 }
27746 return resultobj;
27747 fail:
27748 {
27749 if (temp1)
27750 delete arg1;
27751 }
27752 return NULL;
27753 }
27754
27755
27756 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27757 PyObject *resultobj = 0;
27758 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27759 void *argp1 = 0 ;
27760 int res1 = 0 ;
27761 PyObject *swig_obj[1] ;
27762
27763 if (!args) SWIG_fail;
27764 swig_obj[0] = args;
27765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27766 if (!SWIG_IsOK(res1)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27768 }
27769 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27770 {
27771 PyThreadState* __tstate = wxPyBeginAllowThreads();
27772 delete arg1;
27773
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 resultobj = SWIG_Py_Void();
27778 return resultobj;
27779 fail:
27780 return NULL;
27781 }
27782
27783
27784 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27785 PyObject *resultobj = 0;
27786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27787 PyObject *arg2 = (PyObject *) 0 ;
27788 PyObject *arg3 = (PyObject *) 0 ;
27789 void *argp1 = 0 ;
27790 int res1 = 0 ;
27791 PyObject * obj0 = 0 ;
27792 PyObject * obj1 = 0 ;
27793 PyObject * obj2 = 0 ;
27794 char * kwnames[] = {
27795 (char *) "self",(char *) "self",(char *) "_class", NULL
27796 };
27797
27798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27800 if (!SWIG_IsOK(res1)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27802 }
27803 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27804 arg2 = obj1;
27805 arg3 = obj2;
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
27808 (arg1)->_setCallbackInfo(arg2,arg3);
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 resultobj = SWIG_Py_Void();
27813 return resultobj;
27814 fail:
27815 return NULL;
27816 }
27817
27818
27819 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27820 PyObject *resultobj = 0;
27821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27822 wxString result;
27823 void *argp1 = 0 ;
27824 int res1 = 0 ;
27825 PyObject *swig_obj[1] ;
27826
27827 if (!args) SWIG_fail;
27828 swig_obj[0] = args;
27829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27830 if (!SWIG_IsOK(res1)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27832 }
27833 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27834 {
27835 PyThreadState* __tstate = wxPyBeginAllowThreads();
27836 result = ((wxPyPrintout const *)arg1)->GetTitle();
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 {
27841 #if wxUSE_UNICODE
27842 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27843 #else
27844 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27845 #endif
27846 }
27847 return resultobj;
27848 fail:
27849 return NULL;
27850 }
27851
27852
27853 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27854 PyObject *resultobj = 0;
27855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27856 wxDC *result = 0 ;
27857 void *argp1 = 0 ;
27858 int res1 = 0 ;
27859 PyObject *swig_obj[1] ;
27860
27861 if (!args) SWIG_fail;
27862 swig_obj[0] = args;
27863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27864 if (!SWIG_IsOK(res1)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27866 }
27867 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 result = (wxDC *)(arg1)->GetDC();
27871 wxPyEndAllowThreads(__tstate);
27872 if (PyErr_Occurred()) SWIG_fail;
27873 }
27874 {
27875 resultobj = wxPyMake_wxObject(result, (bool)0);
27876 }
27877 return resultobj;
27878 fail:
27879 return NULL;
27880 }
27881
27882
27883 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27884 PyObject *resultobj = 0;
27885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27886 wxDC *arg2 = (wxDC *) 0 ;
27887 void *argp1 = 0 ;
27888 int res1 = 0 ;
27889 void *argp2 = 0 ;
27890 int res2 = 0 ;
27891 PyObject * obj0 = 0 ;
27892 PyObject * obj1 = 0 ;
27893 char * kwnames[] = {
27894 (char *) "self",(char *) "dc", NULL
27895 };
27896
27897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27899 if (!SWIG_IsOK(res1)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27901 }
27902 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27904 if (!SWIG_IsOK(res2)) {
27905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27906 }
27907 arg2 = reinterpret_cast< wxDC * >(argp2);
27908 {
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
27910 (arg1)->SetDC(arg2);
27911 wxPyEndAllowThreads(__tstate);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 }
27914 resultobj = SWIG_Py_Void();
27915 return resultobj;
27916 fail:
27917 return NULL;
27918 }
27919
27920
27921 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27922 PyObject *resultobj = 0;
27923 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27924 int arg2 ;
27925 int arg3 ;
27926 void *argp1 = 0 ;
27927 int res1 = 0 ;
27928 int val2 ;
27929 int ecode2 = 0 ;
27930 int val3 ;
27931 int ecode3 = 0 ;
27932 PyObject * obj0 = 0 ;
27933 PyObject * obj1 = 0 ;
27934 PyObject * obj2 = 0 ;
27935 char * kwnames[] = {
27936 (char *) "self",(char *) "w",(char *) "h", NULL
27937 };
27938
27939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27941 if (!SWIG_IsOK(res1)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27943 }
27944 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27945 ecode2 = SWIG_AsVal_int(obj1, &val2);
27946 if (!SWIG_IsOK(ecode2)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27948 }
27949 arg2 = static_cast< int >(val2);
27950 ecode3 = SWIG_AsVal_int(obj2, &val3);
27951 if (!SWIG_IsOK(ecode3)) {
27952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27953 }
27954 arg3 = static_cast< int >(val3);
27955 {
27956 PyThreadState* __tstate = wxPyBeginAllowThreads();
27957 (arg1)->SetPageSizePixels(arg2,arg3);
27958 wxPyEndAllowThreads(__tstate);
27959 if (PyErr_Occurred()) SWIG_fail;
27960 }
27961 resultobj = SWIG_Py_Void();
27962 return resultobj;
27963 fail:
27964 return NULL;
27965 }
27966
27967
27968 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27969 PyObject *resultobj = 0;
27970 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27971 int *arg2 = (int *) 0 ;
27972 int *arg3 = (int *) 0 ;
27973 void *argp1 = 0 ;
27974 int res1 = 0 ;
27975 int temp2 ;
27976 int res2 = SWIG_TMPOBJ ;
27977 int temp3 ;
27978 int res3 = SWIG_TMPOBJ ;
27979 PyObject *swig_obj[1] ;
27980
27981 arg2 = &temp2;
27982 arg3 = &temp3;
27983 if (!args) SWIG_fail;
27984 swig_obj[0] = args;
27985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27986 if (!SWIG_IsOK(res1)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27988 }
27989 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27990 {
27991 PyThreadState* __tstate = wxPyBeginAllowThreads();
27992 (arg1)->GetPageSizePixels(arg2,arg3);
27993 wxPyEndAllowThreads(__tstate);
27994 if (PyErr_Occurred()) SWIG_fail;
27995 }
27996 resultobj = SWIG_Py_Void();
27997 if (SWIG_IsTmpObj(res2)) {
27998 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27999 } else {
28000 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28001 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28002 }
28003 if (SWIG_IsTmpObj(res3)) {
28004 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28005 } else {
28006 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28007 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28008 }
28009 return resultobj;
28010 fail:
28011 return NULL;
28012 }
28013
28014
28015 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj = 0;
28017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28018 int arg2 ;
28019 int arg3 ;
28020 void *argp1 = 0 ;
28021 int res1 = 0 ;
28022 int val2 ;
28023 int ecode2 = 0 ;
28024 int val3 ;
28025 int ecode3 = 0 ;
28026 PyObject * obj0 = 0 ;
28027 PyObject * obj1 = 0 ;
28028 PyObject * obj2 = 0 ;
28029 char * kwnames[] = {
28030 (char *) "self",(char *) "w",(char *) "h", NULL
28031 };
28032
28033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28035 if (!SWIG_IsOK(res1)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28037 }
28038 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28039 ecode2 = SWIG_AsVal_int(obj1, &val2);
28040 if (!SWIG_IsOK(ecode2)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28042 }
28043 arg2 = static_cast< int >(val2);
28044 ecode3 = SWIG_AsVal_int(obj2, &val3);
28045 if (!SWIG_IsOK(ecode3)) {
28046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28047 }
28048 arg3 = static_cast< int >(val3);
28049 {
28050 PyThreadState* __tstate = wxPyBeginAllowThreads();
28051 (arg1)->SetPageSizeMM(arg2,arg3);
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 resultobj = SWIG_Py_Void();
28056 return resultobj;
28057 fail:
28058 return NULL;
28059 }
28060
28061
28062 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28063 PyObject *resultobj = 0;
28064 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28065 int *arg2 = (int *) 0 ;
28066 int *arg3 = (int *) 0 ;
28067 void *argp1 = 0 ;
28068 int res1 = 0 ;
28069 int temp2 ;
28070 int res2 = SWIG_TMPOBJ ;
28071 int temp3 ;
28072 int res3 = SWIG_TMPOBJ ;
28073 PyObject *swig_obj[1] ;
28074
28075 arg2 = &temp2;
28076 arg3 = &temp3;
28077 if (!args) SWIG_fail;
28078 swig_obj[0] = args;
28079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28080 if (!SWIG_IsOK(res1)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28082 }
28083 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28084 {
28085 PyThreadState* __tstate = wxPyBeginAllowThreads();
28086 (arg1)->GetPageSizeMM(arg2,arg3);
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
28090 resultobj = SWIG_Py_Void();
28091 if (SWIG_IsTmpObj(res2)) {
28092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28093 } else {
28094 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28095 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28096 }
28097 if (SWIG_IsTmpObj(res3)) {
28098 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28099 } else {
28100 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28101 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28102 }
28103 return resultobj;
28104 fail:
28105 return NULL;
28106 }
28107
28108
28109 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28110 PyObject *resultobj = 0;
28111 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28112 int arg2 ;
28113 int arg3 ;
28114 void *argp1 = 0 ;
28115 int res1 = 0 ;
28116 int val2 ;
28117 int ecode2 = 0 ;
28118 int val3 ;
28119 int ecode3 = 0 ;
28120 PyObject * obj0 = 0 ;
28121 PyObject * obj1 = 0 ;
28122 PyObject * obj2 = 0 ;
28123 char * kwnames[] = {
28124 (char *) "self",(char *) "x",(char *) "y", NULL
28125 };
28126
28127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28129 if (!SWIG_IsOK(res1)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28131 }
28132 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28133 ecode2 = SWIG_AsVal_int(obj1, &val2);
28134 if (!SWIG_IsOK(ecode2)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28136 }
28137 arg2 = static_cast< int >(val2);
28138 ecode3 = SWIG_AsVal_int(obj2, &val3);
28139 if (!SWIG_IsOK(ecode3)) {
28140 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28141 }
28142 arg3 = static_cast< int >(val3);
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 (arg1)->SetPPIScreen(arg2,arg3);
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 resultobj = SWIG_Py_Void();
28150 return resultobj;
28151 fail:
28152 return NULL;
28153 }
28154
28155
28156 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28157 PyObject *resultobj = 0;
28158 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28159 int *arg2 = (int *) 0 ;
28160 int *arg3 = (int *) 0 ;
28161 void *argp1 = 0 ;
28162 int res1 = 0 ;
28163 int temp2 ;
28164 int res2 = SWIG_TMPOBJ ;
28165 int temp3 ;
28166 int res3 = SWIG_TMPOBJ ;
28167 PyObject *swig_obj[1] ;
28168
28169 arg2 = &temp2;
28170 arg3 = &temp3;
28171 if (!args) SWIG_fail;
28172 swig_obj[0] = args;
28173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28174 if (!SWIG_IsOK(res1)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28176 }
28177 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28178 {
28179 PyThreadState* __tstate = wxPyBeginAllowThreads();
28180 (arg1)->GetPPIScreen(arg2,arg3);
28181 wxPyEndAllowThreads(__tstate);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
28184 resultobj = SWIG_Py_Void();
28185 if (SWIG_IsTmpObj(res2)) {
28186 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28187 } else {
28188 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28189 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28190 }
28191 if (SWIG_IsTmpObj(res3)) {
28192 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28193 } else {
28194 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28195 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28196 }
28197 return resultobj;
28198 fail:
28199 return NULL;
28200 }
28201
28202
28203 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28204 PyObject *resultobj = 0;
28205 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28206 int arg2 ;
28207 int arg3 ;
28208 void *argp1 = 0 ;
28209 int res1 = 0 ;
28210 int val2 ;
28211 int ecode2 = 0 ;
28212 int val3 ;
28213 int ecode3 = 0 ;
28214 PyObject * obj0 = 0 ;
28215 PyObject * obj1 = 0 ;
28216 PyObject * obj2 = 0 ;
28217 char * kwnames[] = {
28218 (char *) "self",(char *) "x",(char *) "y", NULL
28219 };
28220
28221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28223 if (!SWIG_IsOK(res1)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28225 }
28226 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28227 ecode2 = SWIG_AsVal_int(obj1, &val2);
28228 if (!SWIG_IsOK(ecode2)) {
28229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28230 }
28231 arg2 = static_cast< int >(val2);
28232 ecode3 = SWIG_AsVal_int(obj2, &val3);
28233 if (!SWIG_IsOK(ecode3)) {
28234 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28235 }
28236 arg3 = static_cast< int >(val3);
28237 {
28238 PyThreadState* __tstate = wxPyBeginAllowThreads();
28239 (arg1)->SetPPIPrinter(arg2,arg3);
28240 wxPyEndAllowThreads(__tstate);
28241 if (PyErr_Occurred()) SWIG_fail;
28242 }
28243 resultobj = SWIG_Py_Void();
28244 return resultobj;
28245 fail:
28246 return NULL;
28247 }
28248
28249
28250 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28251 PyObject *resultobj = 0;
28252 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28253 int *arg2 = (int *) 0 ;
28254 int *arg3 = (int *) 0 ;
28255 void *argp1 = 0 ;
28256 int res1 = 0 ;
28257 int temp2 ;
28258 int res2 = SWIG_TMPOBJ ;
28259 int temp3 ;
28260 int res3 = SWIG_TMPOBJ ;
28261 PyObject *swig_obj[1] ;
28262
28263 arg2 = &temp2;
28264 arg3 = &temp3;
28265 if (!args) SWIG_fail;
28266 swig_obj[0] = args;
28267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28268 if (!SWIG_IsOK(res1)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28270 }
28271 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28272 {
28273 PyThreadState* __tstate = wxPyBeginAllowThreads();
28274 (arg1)->GetPPIPrinter(arg2,arg3);
28275 wxPyEndAllowThreads(__tstate);
28276 if (PyErr_Occurred()) SWIG_fail;
28277 }
28278 resultobj = SWIG_Py_Void();
28279 if (SWIG_IsTmpObj(res2)) {
28280 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28281 } else {
28282 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28283 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28284 }
28285 if (SWIG_IsTmpObj(res3)) {
28286 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28287 } else {
28288 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28289 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28290 }
28291 return resultobj;
28292 fail:
28293 return NULL;
28294 }
28295
28296
28297 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28298 PyObject *resultobj = 0;
28299 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28300 bool result;
28301 void *argp1 = 0 ;
28302 int res1 = 0 ;
28303 PyObject *swig_obj[1] ;
28304
28305 if (!args) SWIG_fail;
28306 swig_obj[0] = args;
28307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28308 if (!SWIG_IsOK(res1)) {
28309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28310 }
28311 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28312 {
28313 PyThreadState* __tstate = wxPyBeginAllowThreads();
28314 result = (bool)(arg1)->IsPreview();
28315 wxPyEndAllowThreads(__tstate);
28316 if (PyErr_Occurred()) SWIG_fail;
28317 }
28318 {
28319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28320 }
28321 return resultobj;
28322 fail:
28323 return NULL;
28324 }
28325
28326
28327 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj = 0;
28329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28330 bool arg2 ;
28331 void *argp1 = 0 ;
28332 int res1 = 0 ;
28333 bool val2 ;
28334 int ecode2 = 0 ;
28335 PyObject * obj0 = 0 ;
28336 PyObject * obj1 = 0 ;
28337 char * kwnames[] = {
28338 (char *) "self",(char *) "p", NULL
28339 };
28340
28341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28343 if (!SWIG_IsOK(res1)) {
28344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28345 }
28346 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28347 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28348 if (!SWIG_IsOK(ecode2)) {
28349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28350 }
28351 arg2 = static_cast< bool >(val2);
28352 {
28353 PyThreadState* __tstate = wxPyBeginAllowThreads();
28354 (arg1)->SetIsPreview(arg2);
28355 wxPyEndAllowThreads(__tstate);
28356 if (PyErr_Occurred()) SWIG_fail;
28357 }
28358 resultobj = SWIG_Py_Void();
28359 return resultobj;
28360 fail:
28361 return NULL;
28362 }
28363
28364
28365 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28366 PyObject *resultobj = 0;
28367 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28368 int arg2 ;
28369 int arg3 ;
28370 bool result;
28371 void *argp1 = 0 ;
28372 int res1 = 0 ;
28373 int val2 ;
28374 int ecode2 = 0 ;
28375 int val3 ;
28376 int ecode3 = 0 ;
28377 PyObject * obj0 = 0 ;
28378 PyObject * obj1 = 0 ;
28379 PyObject * obj2 = 0 ;
28380 char * kwnames[] = {
28381 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28382 };
28383
28384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28386 if (!SWIG_IsOK(res1)) {
28387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28388 }
28389 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28390 ecode2 = SWIG_AsVal_int(obj1, &val2);
28391 if (!SWIG_IsOK(ecode2)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28393 }
28394 arg2 = static_cast< int >(val2);
28395 ecode3 = SWIG_AsVal_int(obj2, &val3);
28396 if (!SWIG_IsOK(ecode3)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28398 }
28399 arg3 = static_cast< int >(val3);
28400 {
28401 PyThreadState* __tstate = wxPyBeginAllowThreads();
28402 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 {
28407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28408 }
28409 return resultobj;
28410 fail:
28411 return NULL;
28412 }
28413
28414
28415 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28416 PyObject *resultobj = 0;
28417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28418 void *argp1 = 0 ;
28419 int res1 = 0 ;
28420 PyObject *swig_obj[1] ;
28421
28422 if (!args) SWIG_fail;
28423 swig_obj[0] = args;
28424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28425 if (!SWIG_IsOK(res1)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28427 }
28428 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28429 {
28430 PyThreadState* __tstate = wxPyBeginAllowThreads();
28431 (arg1)->OnEndDocument();
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 resultobj = SWIG_Py_Void();
28436 return resultobj;
28437 fail:
28438 return NULL;
28439 }
28440
28441
28442 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28443 PyObject *resultobj = 0;
28444 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28445 void *argp1 = 0 ;
28446 int res1 = 0 ;
28447 PyObject *swig_obj[1] ;
28448
28449 if (!args) SWIG_fail;
28450 swig_obj[0] = args;
28451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28452 if (!SWIG_IsOK(res1)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28454 }
28455 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28456 {
28457 PyThreadState* __tstate = wxPyBeginAllowThreads();
28458 (arg1)->OnBeginPrinting();
28459 wxPyEndAllowThreads(__tstate);
28460 if (PyErr_Occurred()) SWIG_fail;
28461 }
28462 resultobj = SWIG_Py_Void();
28463 return resultobj;
28464 fail:
28465 return NULL;
28466 }
28467
28468
28469 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28470 PyObject *resultobj = 0;
28471 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28472 void *argp1 = 0 ;
28473 int res1 = 0 ;
28474 PyObject *swig_obj[1] ;
28475
28476 if (!args) SWIG_fail;
28477 swig_obj[0] = args;
28478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28479 if (!SWIG_IsOK(res1)) {
28480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28481 }
28482 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28483 {
28484 PyThreadState* __tstate = wxPyBeginAllowThreads();
28485 (arg1)->OnEndPrinting();
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 resultobj = SWIG_Py_Void();
28490 return resultobj;
28491 fail:
28492 return NULL;
28493 }
28494
28495
28496 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28497 PyObject *resultobj = 0;
28498 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28499 void *argp1 = 0 ;
28500 int res1 = 0 ;
28501 PyObject *swig_obj[1] ;
28502
28503 if (!args) SWIG_fail;
28504 swig_obj[0] = args;
28505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28506 if (!SWIG_IsOK(res1)) {
28507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28508 }
28509 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28510 {
28511 PyThreadState* __tstate = wxPyBeginAllowThreads();
28512 (arg1)->OnPreparePrinting();
28513 wxPyEndAllowThreads(__tstate);
28514 if (PyErr_Occurred()) SWIG_fail;
28515 }
28516 resultobj = SWIG_Py_Void();
28517 return resultobj;
28518 fail:
28519 return NULL;
28520 }
28521
28522
28523 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28524 PyObject *resultobj = 0;
28525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28526 int arg2 ;
28527 bool result;
28528 void *argp1 = 0 ;
28529 int res1 = 0 ;
28530 int val2 ;
28531 int ecode2 = 0 ;
28532 PyObject * obj0 = 0 ;
28533 PyObject * obj1 = 0 ;
28534 char * kwnames[] = {
28535 (char *) "self",(char *) "page", NULL
28536 };
28537
28538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28540 if (!SWIG_IsOK(res1)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28542 }
28543 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28544 ecode2 = SWIG_AsVal_int(obj1, &val2);
28545 if (!SWIG_IsOK(ecode2)) {
28546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28547 }
28548 arg2 = static_cast< int >(val2);
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 result = (bool)(arg1)->HasPage(arg2);
28552 wxPyEndAllowThreads(__tstate);
28553 if (PyErr_Occurred()) SWIG_fail;
28554 }
28555 {
28556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28557 }
28558 return resultobj;
28559 fail:
28560 return NULL;
28561 }
28562
28563
28564 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28565 PyObject *resultobj = 0;
28566 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28567 int *arg2 = (int *) 0 ;
28568 int *arg3 = (int *) 0 ;
28569 int *arg4 = (int *) 0 ;
28570 int *arg5 = (int *) 0 ;
28571 void *argp1 = 0 ;
28572 int res1 = 0 ;
28573 int temp2 ;
28574 int res2 = SWIG_TMPOBJ ;
28575 int temp3 ;
28576 int res3 = SWIG_TMPOBJ ;
28577 int temp4 ;
28578 int res4 = SWIG_TMPOBJ ;
28579 int temp5 ;
28580 int res5 = SWIG_TMPOBJ ;
28581 PyObject *swig_obj[1] ;
28582
28583 arg2 = &temp2;
28584 arg3 = &temp3;
28585 arg4 = &temp4;
28586 arg5 = &temp5;
28587 if (!args) SWIG_fail;
28588 swig_obj[0] = args;
28589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28590 if (!SWIG_IsOK(res1)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28592 }
28593 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28594 {
28595 PyThreadState* __tstate = wxPyBeginAllowThreads();
28596 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28597 wxPyEndAllowThreads(__tstate);
28598 if (PyErr_Occurred()) SWIG_fail;
28599 }
28600 resultobj = SWIG_Py_Void();
28601 if (SWIG_IsTmpObj(res2)) {
28602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28603 } else {
28604 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28606 }
28607 if (SWIG_IsTmpObj(res3)) {
28608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28609 } else {
28610 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28612 }
28613 if (SWIG_IsTmpObj(res4)) {
28614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28615 } else {
28616 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28618 }
28619 if (SWIG_IsTmpObj(res5)) {
28620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28621 } else {
28622 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28624 }
28625 return resultobj;
28626 fail:
28627 return NULL;
28628 }
28629
28630
28631 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28632 PyObject *obj;
28633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28635 return SWIG_Py_Void();
28636 }
28637
28638 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28639 return SWIG_Python_InitShadowInstance(args);
28640 }
28641
28642 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28643 PyObject *resultobj = 0;
28644 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28645 wxWindow *arg2 = (wxWindow *) 0 ;
28646 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28647 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28648 wxSize const &arg4_defvalue = wxDefaultSize ;
28649 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28650 long arg5 = (long) 0 ;
28651 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28652 wxString *arg6 = (wxString *) &arg6_defvalue ;
28653 wxPreviewCanvas *result = 0 ;
28654 void *argp1 = 0 ;
28655 int res1 = 0 ;
28656 void *argp2 = 0 ;
28657 int res2 = 0 ;
28658 wxPoint temp3 ;
28659 wxSize temp4 ;
28660 long val5 ;
28661 int ecode5 = 0 ;
28662 bool temp6 = false ;
28663 PyObject * obj0 = 0 ;
28664 PyObject * obj1 = 0 ;
28665 PyObject * obj2 = 0 ;
28666 PyObject * obj3 = 0 ;
28667 PyObject * obj4 = 0 ;
28668 PyObject * obj5 = 0 ;
28669 char * kwnames[] = {
28670 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28671 };
28672
28673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28675 if (!SWIG_IsOK(res1)) {
28676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28677 }
28678 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28680 if (!SWIG_IsOK(res2)) {
28681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28682 }
28683 arg2 = reinterpret_cast< wxWindow * >(argp2);
28684 if (obj2) {
28685 {
28686 arg3 = &temp3;
28687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28688 }
28689 }
28690 if (obj3) {
28691 {
28692 arg4 = &temp4;
28693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28694 }
28695 }
28696 if (obj4) {
28697 ecode5 = SWIG_AsVal_long(obj4, &val5);
28698 if (!SWIG_IsOK(ecode5)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28700 }
28701 arg5 = static_cast< long >(val5);
28702 }
28703 if (obj5) {
28704 {
28705 arg6 = wxString_in_helper(obj5);
28706 if (arg6 == NULL) SWIG_fail;
28707 temp6 = true;
28708 }
28709 }
28710 {
28711 if (!wxPyCheckForApp()) SWIG_fail;
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28718 {
28719 if (temp6)
28720 delete arg6;
28721 }
28722 return resultobj;
28723 fail:
28724 {
28725 if (temp6)
28726 delete arg6;
28727 }
28728 return NULL;
28729 }
28730
28731
28732 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28733 PyObject *obj;
28734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28736 return SWIG_Py_Void();
28737 }
28738
28739 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28740 return SWIG_Python_InitShadowInstance(args);
28741 }
28742
28743 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28744 PyObject *resultobj = 0;
28745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28746 wxFrame *arg2 = (wxFrame *) 0 ;
28747 wxString *arg3 = 0 ;
28748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28750 wxSize const &arg5_defvalue = wxDefaultSize ;
28751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28752 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28753 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28754 wxString *arg7 = (wxString *) &arg7_defvalue ;
28755 wxPreviewFrame *result = 0 ;
28756 int res1 = 0 ;
28757 void *argp2 = 0 ;
28758 int res2 = 0 ;
28759 bool temp3 = false ;
28760 wxPoint temp4 ;
28761 wxSize temp5 ;
28762 long val6 ;
28763 int ecode6 = 0 ;
28764 bool temp7 = false ;
28765 PyObject * obj0 = 0 ;
28766 PyObject * obj1 = 0 ;
28767 PyObject * obj2 = 0 ;
28768 PyObject * obj3 = 0 ;
28769 PyObject * obj4 = 0 ;
28770 PyObject * obj5 = 0 ;
28771 PyObject * obj6 = 0 ;
28772 char * kwnames[] = {
28773 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28774 };
28775
28776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28777 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28778 if (!SWIG_IsOK(res1)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28780 }
28781 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28782 if (!SWIG_IsOK(res2)) {
28783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28784 }
28785 arg2 = reinterpret_cast< wxFrame * >(argp2);
28786 {
28787 arg3 = wxString_in_helper(obj2);
28788 if (arg3 == NULL) SWIG_fail;
28789 temp3 = true;
28790 }
28791 if (obj3) {
28792 {
28793 arg4 = &temp4;
28794 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28795 }
28796 }
28797 if (obj4) {
28798 {
28799 arg5 = &temp5;
28800 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28801 }
28802 }
28803 if (obj5) {
28804 ecode6 = SWIG_AsVal_long(obj5, &val6);
28805 if (!SWIG_IsOK(ecode6)) {
28806 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28807 }
28808 arg6 = static_cast< long >(val6);
28809 }
28810 if (obj6) {
28811 {
28812 arg7 = wxString_in_helper(obj6);
28813 if (arg7 == NULL) SWIG_fail;
28814 temp7 = true;
28815 }
28816 }
28817 {
28818 if (!wxPyCheckForApp()) SWIG_fail;
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28821 wxPyEndAllowThreads(__tstate);
28822 if (PyErr_Occurred()) SWIG_fail;
28823 }
28824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28825 {
28826 if (temp3)
28827 delete arg3;
28828 }
28829 {
28830 if (temp7)
28831 delete arg7;
28832 }
28833 return resultobj;
28834 fail:
28835 {
28836 if (temp3)
28837 delete arg3;
28838 }
28839 {
28840 if (temp7)
28841 delete arg7;
28842 }
28843 return NULL;
28844 }
28845
28846
28847 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28848 PyObject *resultobj = 0;
28849 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28850 void *argp1 = 0 ;
28851 int res1 = 0 ;
28852 PyObject *swig_obj[1] ;
28853
28854 if (!args) SWIG_fail;
28855 swig_obj[0] = args;
28856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28857 if (!SWIG_IsOK(res1)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28859 }
28860 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28861 {
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 (arg1)->Initialize();
28864 wxPyEndAllowThreads(__tstate);
28865 if (PyErr_Occurred()) SWIG_fail;
28866 }
28867 resultobj = SWIG_Py_Void();
28868 return resultobj;
28869 fail:
28870 return NULL;
28871 }
28872
28873
28874 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28875 PyObject *resultobj = 0;
28876 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28877 void *argp1 = 0 ;
28878 int res1 = 0 ;
28879 PyObject *swig_obj[1] ;
28880
28881 if (!args) SWIG_fail;
28882 swig_obj[0] = args;
28883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28884 if (!SWIG_IsOK(res1)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28886 }
28887 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28888 {
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 (arg1)->CreateControlBar();
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 resultobj = SWIG_Py_Void();
28895 return resultobj;
28896 fail:
28897 return NULL;
28898 }
28899
28900
28901 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28902 PyObject *resultobj = 0;
28903 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28904 void *argp1 = 0 ;
28905 int res1 = 0 ;
28906 PyObject *swig_obj[1] ;
28907
28908 if (!args) SWIG_fail;
28909 swig_obj[0] = args;
28910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28911 if (!SWIG_IsOK(res1)) {
28912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28913 }
28914 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28915 {
28916 PyThreadState* __tstate = wxPyBeginAllowThreads();
28917 (arg1)->CreateCanvas();
28918 wxPyEndAllowThreads(__tstate);
28919 if (PyErr_Occurred()) SWIG_fail;
28920 }
28921 resultobj = SWIG_Py_Void();
28922 return resultobj;
28923 fail:
28924 return NULL;
28925 }
28926
28927
28928 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28929 PyObject *resultobj = 0;
28930 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28931 wxPreviewControlBar *result = 0 ;
28932 void *argp1 = 0 ;
28933 int res1 = 0 ;
28934 PyObject *swig_obj[1] ;
28935
28936 if (!args) SWIG_fail;
28937 swig_obj[0] = args;
28938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28939 if (!SWIG_IsOK(res1)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28941 }
28942 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28943 {
28944 PyThreadState* __tstate = wxPyBeginAllowThreads();
28945 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28946 wxPyEndAllowThreads(__tstate);
28947 if (PyErr_Occurred()) SWIG_fail;
28948 }
28949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28950 return resultobj;
28951 fail:
28952 return NULL;
28953 }
28954
28955
28956 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28957 PyObject *obj;
28958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28960 return SWIG_Py_Void();
28961 }
28962
28963 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28964 return SWIG_Python_InitShadowInstance(args);
28965 }
28966
28967 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28968 PyObject *resultobj = 0;
28969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28970 long arg2 ;
28971 wxWindow *arg3 = (wxWindow *) 0 ;
28972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28974 wxSize const &arg5_defvalue = wxDefaultSize ;
28975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28976 long arg6 = (long) wxTAB_TRAVERSAL ;
28977 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28978 wxString *arg7 = (wxString *) &arg7_defvalue ;
28979 wxPreviewControlBar *result = 0 ;
28980 void *argp1 = 0 ;
28981 int res1 = 0 ;
28982 long val2 ;
28983 int ecode2 = 0 ;
28984 void *argp3 = 0 ;
28985 int res3 = 0 ;
28986 wxPoint temp4 ;
28987 wxSize temp5 ;
28988 long val6 ;
28989 int ecode6 = 0 ;
28990 bool temp7 = false ;
28991 PyObject * obj0 = 0 ;
28992 PyObject * obj1 = 0 ;
28993 PyObject * obj2 = 0 ;
28994 PyObject * obj3 = 0 ;
28995 PyObject * obj4 = 0 ;
28996 PyObject * obj5 = 0 ;
28997 PyObject * obj6 = 0 ;
28998 char * kwnames[] = {
28999 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29000 };
29001
29002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29004 if (!SWIG_IsOK(res1)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29006 }
29007 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29008 ecode2 = SWIG_AsVal_long(obj1, &val2);
29009 if (!SWIG_IsOK(ecode2)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29011 }
29012 arg2 = static_cast< long >(val2);
29013 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29014 if (!SWIG_IsOK(res3)) {
29015 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29016 }
29017 arg3 = reinterpret_cast< wxWindow * >(argp3);
29018 if (obj3) {
29019 {
29020 arg4 = &temp4;
29021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29022 }
29023 }
29024 if (obj4) {
29025 {
29026 arg5 = &temp5;
29027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29028 }
29029 }
29030 if (obj5) {
29031 ecode6 = SWIG_AsVal_long(obj5, &val6);
29032 if (!SWIG_IsOK(ecode6)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29034 }
29035 arg6 = static_cast< long >(val6);
29036 }
29037 if (obj6) {
29038 {
29039 arg7 = wxString_in_helper(obj6);
29040 if (arg7 == NULL) SWIG_fail;
29041 temp7 = true;
29042 }
29043 }
29044 {
29045 if (!wxPyCheckForApp()) SWIG_fail;
29046 PyThreadState* __tstate = wxPyBeginAllowThreads();
29047 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29048 wxPyEndAllowThreads(__tstate);
29049 if (PyErr_Occurred()) SWIG_fail;
29050 }
29051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29052 {
29053 if (temp7)
29054 delete arg7;
29055 }
29056 return resultobj;
29057 fail:
29058 {
29059 if (temp7)
29060 delete arg7;
29061 }
29062 return NULL;
29063 }
29064
29065
29066 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29067 PyObject *resultobj = 0;
29068 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29069 int result;
29070 void *argp1 = 0 ;
29071 int res1 = 0 ;
29072 PyObject *swig_obj[1] ;
29073
29074 if (!args) SWIG_fail;
29075 swig_obj[0] = args;
29076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29077 if (!SWIG_IsOK(res1)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29079 }
29080 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29081 {
29082 PyThreadState* __tstate = wxPyBeginAllowThreads();
29083 result = (int)(arg1)->GetZoomControl();
29084 wxPyEndAllowThreads(__tstate);
29085 if (PyErr_Occurred()) SWIG_fail;
29086 }
29087 resultobj = SWIG_From_int(static_cast< int >(result));
29088 return resultobj;
29089 fail:
29090 return NULL;
29091 }
29092
29093
29094 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29095 PyObject *resultobj = 0;
29096 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29097 int arg2 ;
29098 void *argp1 = 0 ;
29099 int res1 = 0 ;
29100 int val2 ;
29101 int ecode2 = 0 ;
29102 PyObject * obj0 = 0 ;
29103 PyObject * obj1 = 0 ;
29104 char * kwnames[] = {
29105 (char *) "self",(char *) "zoom", NULL
29106 };
29107
29108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29110 if (!SWIG_IsOK(res1)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29112 }
29113 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29114 ecode2 = SWIG_AsVal_int(obj1, &val2);
29115 if (!SWIG_IsOK(ecode2)) {
29116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29117 }
29118 arg2 = static_cast< int >(val2);
29119 {
29120 PyThreadState* __tstate = wxPyBeginAllowThreads();
29121 (arg1)->SetZoomControl(arg2);
29122 wxPyEndAllowThreads(__tstate);
29123 if (PyErr_Occurred()) SWIG_fail;
29124 }
29125 resultobj = SWIG_Py_Void();
29126 return resultobj;
29127 fail:
29128 return NULL;
29129 }
29130
29131
29132 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29133 PyObject *resultobj = 0;
29134 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29135 wxPrintPreview *result = 0 ;
29136 void *argp1 = 0 ;
29137 int res1 = 0 ;
29138 PyObject *swig_obj[1] ;
29139
29140 if (!args) SWIG_fail;
29141 swig_obj[0] = args;
29142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29143 if (!SWIG_IsOK(res1)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29145 }
29146 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29154 return resultobj;
29155 fail:
29156 return NULL;
29157 }
29158
29159
29160 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29161 PyObject *resultobj = 0;
29162 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29163 void *argp1 = 0 ;
29164 int res1 = 0 ;
29165 PyObject *swig_obj[1] ;
29166
29167 if (!args) SWIG_fail;
29168 swig_obj[0] = args;
29169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29170 if (!SWIG_IsOK(res1)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29172 }
29173 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 (arg1)->OnNext();
29177 wxPyEndAllowThreads(__tstate);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 }
29180 resultobj = SWIG_Py_Void();
29181 return resultobj;
29182 fail:
29183 return NULL;
29184 }
29185
29186
29187 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29188 PyObject *resultobj = 0;
29189 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29190 void *argp1 = 0 ;
29191 int res1 = 0 ;
29192 PyObject *swig_obj[1] ;
29193
29194 if (!args) SWIG_fail;
29195 swig_obj[0] = args;
29196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29197 if (!SWIG_IsOK(res1)) {
29198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29199 }
29200 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29201 {
29202 PyThreadState* __tstate = wxPyBeginAllowThreads();
29203 (arg1)->OnPrevious();
29204 wxPyEndAllowThreads(__tstate);
29205 if (PyErr_Occurred()) SWIG_fail;
29206 }
29207 resultobj = SWIG_Py_Void();
29208 return resultobj;
29209 fail:
29210 return NULL;
29211 }
29212
29213
29214 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29215 PyObject *resultobj = 0;
29216 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29217 void *argp1 = 0 ;
29218 int res1 = 0 ;
29219 PyObject *swig_obj[1] ;
29220
29221 if (!args) SWIG_fail;
29222 swig_obj[0] = args;
29223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29224 if (!SWIG_IsOK(res1)) {
29225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29226 }
29227 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 (arg1)->OnFirst();
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 resultobj = SWIG_Py_Void();
29235 return resultobj;
29236 fail:
29237 return NULL;
29238 }
29239
29240
29241 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29242 PyObject *resultobj = 0;
29243 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29244 void *argp1 = 0 ;
29245 int res1 = 0 ;
29246 PyObject *swig_obj[1] ;
29247
29248 if (!args) SWIG_fail;
29249 swig_obj[0] = args;
29250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29251 if (!SWIG_IsOK(res1)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29253 }
29254 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29255 {
29256 PyThreadState* __tstate = wxPyBeginAllowThreads();
29257 (arg1)->OnLast();
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 resultobj = SWIG_Py_Void();
29262 return resultobj;
29263 fail:
29264 return NULL;
29265 }
29266
29267
29268 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29269 PyObject *resultobj = 0;
29270 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29271 void *argp1 = 0 ;
29272 int res1 = 0 ;
29273 PyObject *swig_obj[1] ;
29274
29275 if (!args) SWIG_fail;
29276 swig_obj[0] = args;
29277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29278 if (!SWIG_IsOK(res1)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29280 }
29281 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29282 {
29283 PyThreadState* __tstate = wxPyBeginAllowThreads();
29284 (arg1)->OnGoto();
29285 wxPyEndAllowThreads(__tstate);
29286 if (PyErr_Occurred()) SWIG_fail;
29287 }
29288 resultobj = SWIG_Py_Void();
29289 return resultobj;
29290 fail:
29291 return NULL;
29292 }
29293
29294
29295 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29296 PyObject *obj;
29297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29299 return SWIG_Py_Void();
29300 }
29301
29302 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29303 return SWIG_Python_InitShadowInstance(args);
29304 }
29305
29306 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29307 PyObject *resultobj = 0;
29308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29309 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29310 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29311 wxPrintPreview *result = 0 ;
29312 int res1 = 0 ;
29313 int res2 = 0 ;
29314 void *argp3 = 0 ;
29315 int res3 = 0 ;
29316
29317 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29318 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29319 if (!SWIG_IsOK(res1)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29321 }
29322 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29323 if (!SWIG_IsOK(res2)) {
29324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29325 }
29326 if (swig_obj[2]) {
29327 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29328 if (!SWIG_IsOK(res3)) {
29329 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29330 }
29331 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29332 }
29333 {
29334 if (!wxPyCheckForApp()) SWIG_fail;
29335 PyThreadState* __tstate = wxPyBeginAllowThreads();
29336 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29337 wxPyEndAllowThreads(__tstate);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
29340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29341 return resultobj;
29342 fail:
29343 return NULL;
29344 }
29345
29346
29347 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29348 PyObject *resultobj = 0;
29349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29350 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29351 wxPrintData *arg3 = (wxPrintData *) 0 ;
29352 wxPrintPreview *result = 0 ;
29353 int res1 = 0 ;
29354 int res2 = 0 ;
29355 void *argp3 = 0 ;
29356 int res3 = 0 ;
29357
29358 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29359 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29360 if (!SWIG_IsOK(res1)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29362 }
29363 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29364 if (!SWIG_IsOK(res2)) {
29365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29366 }
29367 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29368 if (!SWIG_IsOK(res3)) {
29369 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29370 }
29371 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29372 {
29373 if (!wxPyCheckForApp()) SWIG_fail;
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
29375 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29376 wxPyEndAllowThreads(__tstate);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 }
29379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29380 return resultobj;
29381 fail:
29382 return NULL;
29383 }
29384
29385
29386 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29387 int argc;
29388 PyObject *argv[4];
29389
29390 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29391 --argc;
29392 if ((argc >= 2) && (argc <= 3)) {
29393 int _v = 0;
29394 if (argc > 2) {
29395 {
29396 void *vptr = 0;
29397 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29398 _v = SWIG_CheckState(res);
29399 }
29400 if (!_v) goto check_1;
29401 }
29402 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29403 }
29404 check_1:
29405
29406 if (argc == 3) {
29407 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29408 }
29409
29410 fail:
29411 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29412 return NULL;
29413 }
29414
29415
29416 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29417 PyObject *resultobj = 0;
29418 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29419 void *argp1 = 0 ;
29420 int res1 = 0 ;
29421 PyObject *swig_obj[1] ;
29422
29423 if (!args) SWIG_fail;
29424 swig_obj[0] = args;
29425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29426 if (!SWIG_IsOK(res1)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29428 }
29429 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29430 {
29431 PyThreadState* __tstate = wxPyBeginAllowThreads();
29432 delete arg1;
29433
29434 wxPyEndAllowThreads(__tstate);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 }
29437 resultobj = SWIG_Py_Void();
29438 return resultobj;
29439 fail:
29440 return NULL;
29441 }
29442
29443
29444 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29445 PyObject *resultobj = 0;
29446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29447 int arg2 ;
29448 bool result;
29449 void *argp1 = 0 ;
29450 int res1 = 0 ;
29451 int val2 ;
29452 int ecode2 = 0 ;
29453 PyObject * obj0 = 0 ;
29454 PyObject * obj1 = 0 ;
29455 char * kwnames[] = {
29456 (char *) "self",(char *) "pageNum", NULL
29457 };
29458
29459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29461 if (!SWIG_IsOK(res1)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29463 }
29464 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29465 ecode2 = SWIG_AsVal_int(obj1, &val2);
29466 if (!SWIG_IsOK(ecode2)) {
29467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29468 }
29469 arg2 = static_cast< int >(val2);
29470 {
29471 PyThreadState* __tstate = wxPyBeginAllowThreads();
29472 result = (bool)(arg1)->SetCurrentPage(arg2);
29473 wxPyEndAllowThreads(__tstate);
29474 if (PyErr_Occurred()) SWIG_fail;
29475 }
29476 {
29477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29478 }
29479 return resultobj;
29480 fail:
29481 return NULL;
29482 }
29483
29484
29485 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29486 PyObject *resultobj = 0;
29487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29488 int result;
29489 void *argp1 = 0 ;
29490 int res1 = 0 ;
29491 PyObject *swig_obj[1] ;
29492
29493 if (!args) SWIG_fail;
29494 swig_obj[0] = args;
29495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29496 if (!SWIG_IsOK(res1)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29498 }
29499 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29500 {
29501 PyThreadState* __tstate = wxPyBeginAllowThreads();
29502 result = (int)(arg1)->GetCurrentPage();
29503 wxPyEndAllowThreads(__tstate);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
29506 resultobj = SWIG_From_int(static_cast< int >(result));
29507 return resultobj;
29508 fail:
29509 return NULL;
29510 }
29511
29512
29513 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29514 PyObject *resultobj = 0;
29515 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29516 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29517 void *argp1 = 0 ;
29518 int res1 = 0 ;
29519 int res2 = 0 ;
29520 PyObject * obj0 = 0 ;
29521 PyObject * obj1 = 0 ;
29522 char * kwnames[] = {
29523 (char *) "self",(char *) "printout", NULL
29524 };
29525
29526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29528 if (!SWIG_IsOK(res1)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29530 }
29531 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29532 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29533 if (!SWIG_IsOK(res2)) {
29534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29535 }
29536 {
29537 PyThreadState* __tstate = wxPyBeginAllowThreads();
29538 (arg1)->SetPrintout(arg2);
29539 wxPyEndAllowThreads(__tstate);
29540 if (PyErr_Occurred()) SWIG_fail;
29541 }
29542 resultobj = SWIG_Py_Void();
29543 return resultobj;
29544 fail:
29545 return NULL;
29546 }
29547
29548
29549 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29550 PyObject *resultobj = 0;
29551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29552 wxPyPrintout *result = 0 ;
29553 void *argp1 = 0 ;
29554 int res1 = 0 ;
29555 PyObject *swig_obj[1] ;
29556
29557 if (!args) SWIG_fail;
29558 swig_obj[0] = args;
29559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29560 if (!SWIG_IsOK(res1)) {
29561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29562 }
29563 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29564 {
29565 PyThreadState* __tstate = wxPyBeginAllowThreads();
29566 result = (wxPyPrintout *)(arg1)->GetPrintout();
29567 wxPyEndAllowThreads(__tstate);
29568 if (PyErr_Occurred()) SWIG_fail;
29569 }
29570 {
29571 resultobj = wxPyMake_wxObject(result, 0);
29572 }
29573 return resultobj;
29574 fail:
29575 return NULL;
29576 }
29577
29578
29579 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29580 PyObject *resultobj = 0;
29581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29582 wxPyPrintout *result = 0 ;
29583 void *argp1 = 0 ;
29584 int res1 = 0 ;
29585 PyObject *swig_obj[1] ;
29586
29587 if (!args) SWIG_fail;
29588 swig_obj[0] = args;
29589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29590 if (!SWIG_IsOK(res1)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29592 }
29593 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 {
29601 resultobj = wxPyMake_wxObject(result, 0);
29602 }
29603 return resultobj;
29604 fail:
29605 return NULL;
29606 }
29607
29608
29609 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29610 PyObject *resultobj = 0;
29611 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29612 wxFrame *arg2 = (wxFrame *) 0 ;
29613 void *argp1 = 0 ;
29614 int res1 = 0 ;
29615 void *argp2 = 0 ;
29616 int res2 = 0 ;
29617 PyObject * obj0 = 0 ;
29618 PyObject * obj1 = 0 ;
29619 char * kwnames[] = {
29620 (char *) "self",(char *) "frame", NULL
29621 };
29622
29623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29625 if (!SWIG_IsOK(res1)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29627 }
29628 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29630 if (!SWIG_IsOK(res2)) {
29631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29632 }
29633 arg2 = reinterpret_cast< wxFrame * >(argp2);
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 (arg1)->SetFrame(arg2);
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 resultobj = SWIG_Py_Void();
29641 return resultobj;
29642 fail:
29643 return NULL;
29644 }
29645
29646
29647 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29648 PyObject *resultobj = 0;
29649 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29650 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29651 void *argp1 = 0 ;
29652 int res1 = 0 ;
29653 void *argp2 = 0 ;
29654 int res2 = 0 ;
29655 PyObject * obj0 = 0 ;
29656 PyObject * obj1 = 0 ;
29657 char * kwnames[] = {
29658 (char *) "self",(char *) "canvas", NULL
29659 };
29660
29661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29663 if (!SWIG_IsOK(res1)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29665 }
29666 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29667 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29668 if (!SWIG_IsOK(res2)) {
29669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29670 }
29671 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29672 {
29673 PyThreadState* __tstate = wxPyBeginAllowThreads();
29674 (arg1)->SetCanvas(arg2);
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 resultobj = SWIG_Py_Void();
29679 return resultobj;
29680 fail:
29681 return NULL;
29682 }
29683
29684
29685 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29686 PyObject *resultobj = 0;
29687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29688 wxFrame *result = 0 ;
29689 void *argp1 = 0 ;
29690 int res1 = 0 ;
29691 PyObject *swig_obj[1] ;
29692
29693 if (!args) SWIG_fail;
29694 swig_obj[0] = args;
29695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29696 if (!SWIG_IsOK(res1)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29698 }
29699 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29700 {
29701 PyThreadState* __tstate = wxPyBeginAllowThreads();
29702 result = (wxFrame *)(arg1)->GetFrame();
29703 wxPyEndAllowThreads(__tstate);
29704 if (PyErr_Occurred()) SWIG_fail;
29705 }
29706 {
29707 resultobj = wxPyMake_wxObject(result, 0);
29708 }
29709 return resultobj;
29710 fail:
29711 return NULL;
29712 }
29713
29714
29715 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29716 PyObject *resultobj = 0;
29717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29718 wxPreviewCanvas *result = 0 ;
29719 void *argp1 = 0 ;
29720 int res1 = 0 ;
29721 PyObject *swig_obj[1] ;
29722
29723 if (!args) SWIG_fail;
29724 swig_obj[0] = args;
29725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29726 if (!SWIG_IsOK(res1)) {
29727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29728 }
29729 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29730 {
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29737 return resultobj;
29738 fail:
29739 return NULL;
29740 }
29741
29742
29743 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29744 PyObject *resultobj = 0;
29745 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29746 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29747 wxDC *arg3 = 0 ;
29748 bool result;
29749 void *argp1 = 0 ;
29750 int res1 = 0 ;
29751 void *argp2 = 0 ;
29752 int res2 = 0 ;
29753 void *argp3 = 0 ;
29754 int res3 = 0 ;
29755 PyObject * obj0 = 0 ;
29756 PyObject * obj1 = 0 ;
29757 PyObject * obj2 = 0 ;
29758 char * kwnames[] = {
29759 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29760 };
29761
29762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29764 if (!SWIG_IsOK(res1)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29766 }
29767 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29769 if (!SWIG_IsOK(res2)) {
29770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29771 }
29772 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29773 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29774 if (!SWIG_IsOK(res3)) {
29775 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29776 }
29777 if (!argp3) {
29778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29779 }
29780 arg3 = reinterpret_cast< wxDC * >(argp3);
29781 {
29782 PyThreadState* __tstate = wxPyBeginAllowThreads();
29783 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29784 wxPyEndAllowThreads(__tstate);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 }
29787 {
29788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj = 0;
29798 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29799 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29800 wxDC *arg3 = 0 ;
29801 bool result;
29802 void *argp1 = 0 ;
29803 int res1 = 0 ;
29804 void *argp2 = 0 ;
29805 int res2 = 0 ;
29806 void *argp3 = 0 ;
29807 int res3 = 0 ;
29808 PyObject * obj0 = 0 ;
29809 PyObject * obj1 = 0 ;
29810 PyObject * obj2 = 0 ;
29811 char * kwnames[] = {
29812 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29813 };
29814
29815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29817 if (!SWIG_IsOK(res1)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29819 }
29820 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29821 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29822 if (!SWIG_IsOK(res2)) {
29823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29824 }
29825 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29826 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29827 if (!SWIG_IsOK(res3)) {
29828 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29829 }
29830 if (!argp3) {
29831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29832 }
29833 arg3 = reinterpret_cast< wxDC * >(argp3);
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29837 wxPyEndAllowThreads(__tstate);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 }
29840 {
29841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29842 }
29843 return resultobj;
29844 fail:
29845 return NULL;
29846 }
29847
29848
29849 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29850 PyObject *resultobj = 0;
29851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29852 int arg2 ;
29853 bool result;
29854 void *argp1 = 0 ;
29855 int res1 = 0 ;
29856 int val2 ;
29857 int ecode2 = 0 ;
29858 PyObject * obj0 = 0 ;
29859 PyObject * obj1 = 0 ;
29860 char * kwnames[] = {
29861 (char *) "self",(char *) "pageNum", NULL
29862 };
29863
29864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29866 if (!SWIG_IsOK(res1)) {
29867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29868 }
29869 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29870 ecode2 = SWIG_AsVal_int(obj1, &val2);
29871 if (!SWIG_IsOK(ecode2)) {
29872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29873 }
29874 arg2 = static_cast< int >(val2);
29875 {
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 result = (bool)(arg1)->RenderPage(arg2);
29878 wxPyEndAllowThreads(__tstate);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 }
29881 {
29882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29883 }
29884 return resultobj;
29885 fail:
29886 return NULL;
29887 }
29888
29889
29890 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29891 PyObject *resultobj = 0;
29892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29893 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29894 void *argp1 = 0 ;
29895 int res1 = 0 ;
29896 void *argp2 = 0 ;
29897 int res2 = 0 ;
29898 PyObject * obj0 = 0 ;
29899 PyObject * obj1 = 0 ;
29900 char * kwnames[] = {
29901 (char *) "self",(char *) "canvas", NULL
29902 };
29903
29904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29906 if (!SWIG_IsOK(res1)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29908 }
29909 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29911 if (!SWIG_IsOK(res2)) {
29912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29913 }
29914 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29915 {
29916 PyThreadState* __tstate = wxPyBeginAllowThreads();
29917 (arg1)->AdjustScrollbars(arg2);
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 resultobj = SWIG_Py_Void();
29922 return resultobj;
29923 fail:
29924 return NULL;
29925 }
29926
29927
29928 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29929 PyObject *resultobj = 0;
29930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29931 wxPrintDialogData *result = 0 ;
29932 void *argp1 = 0 ;
29933 int res1 = 0 ;
29934 PyObject *swig_obj[1] ;
29935
29936 if (!args) SWIG_fail;
29937 swig_obj[0] = args;
29938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29939 if (!SWIG_IsOK(res1)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29941 }
29942 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29943 {
29944 PyThreadState* __tstate = wxPyBeginAllowThreads();
29945 {
29946 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29947 result = (wxPrintDialogData *) &_result_ref;
29948 }
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj = 0;
29961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29962 int arg2 ;
29963 void *argp1 = 0 ;
29964 int res1 = 0 ;
29965 int val2 ;
29966 int ecode2 = 0 ;
29967 PyObject * obj0 = 0 ;
29968 PyObject * obj1 = 0 ;
29969 char * kwnames[] = {
29970 (char *) "self",(char *) "percent", NULL
29971 };
29972
29973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29975 if (!SWIG_IsOK(res1)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29977 }
29978 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29979 ecode2 = SWIG_AsVal_int(obj1, &val2);
29980 if (!SWIG_IsOK(ecode2)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29982 }
29983 arg2 = static_cast< int >(val2);
29984 {
29985 PyThreadState* __tstate = wxPyBeginAllowThreads();
29986 (arg1)->SetZoom(arg2);
29987 wxPyEndAllowThreads(__tstate);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 resultobj = SWIG_Py_Void();
29991 return resultobj;
29992 fail:
29993 return NULL;
29994 }
29995
29996
29997 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29998 PyObject *resultobj = 0;
29999 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30000 int result;
30001 void *argp1 = 0 ;
30002 int res1 = 0 ;
30003 PyObject *swig_obj[1] ;
30004
30005 if (!args) SWIG_fail;
30006 swig_obj[0] = args;
30007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30008 if (!SWIG_IsOK(res1)) {
30009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30010 }
30011 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30012 {
30013 PyThreadState* __tstate = wxPyBeginAllowThreads();
30014 result = (int)(arg1)->GetZoom();
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 resultobj = SWIG_From_int(static_cast< int >(result));
30019 return resultobj;
30020 fail:
30021 return NULL;
30022 }
30023
30024
30025 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30026 PyObject *resultobj = 0;
30027 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30028 int result;
30029 void *argp1 = 0 ;
30030 int res1 = 0 ;
30031 PyObject *swig_obj[1] ;
30032
30033 if (!args) SWIG_fail;
30034 swig_obj[0] = args;
30035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30036 if (!SWIG_IsOK(res1)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30038 }
30039 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30040 {
30041 PyThreadState* __tstate = wxPyBeginAllowThreads();
30042 result = (int)(arg1)->GetMaxPage();
30043 wxPyEndAllowThreads(__tstate);
30044 if (PyErr_Occurred()) SWIG_fail;
30045 }
30046 resultobj = SWIG_From_int(static_cast< int >(result));
30047 return resultobj;
30048 fail:
30049 return NULL;
30050 }
30051
30052
30053 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30054 PyObject *resultobj = 0;
30055 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30056 int result;
30057 void *argp1 = 0 ;
30058 int res1 = 0 ;
30059 PyObject *swig_obj[1] ;
30060
30061 if (!args) SWIG_fail;
30062 swig_obj[0] = args;
30063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30064 if (!SWIG_IsOK(res1)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30066 }
30067 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30068 {
30069 PyThreadState* __tstate = wxPyBeginAllowThreads();
30070 result = (int)(arg1)->GetMinPage();
30071 wxPyEndAllowThreads(__tstate);
30072 if (PyErr_Occurred()) SWIG_fail;
30073 }
30074 resultobj = SWIG_From_int(static_cast< int >(result));
30075 return resultobj;
30076 fail:
30077 return NULL;
30078 }
30079
30080
30081 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30082 PyObject *resultobj = 0;
30083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30084 bool result;
30085 void *argp1 = 0 ;
30086 int res1 = 0 ;
30087 PyObject *swig_obj[1] ;
30088
30089 if (!args) SWIG_fail;
30090 swig_obj[0] = args;
30091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30092 if (!SWIG_IsOK(res1)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30094 }
30095 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30096 {
30097 PyThreadState* __tstate = wxPyBeginAllowThreads();
30098 result = (bool)(arg1)->IsOk();
30099 wxPyEndAllowThreads(__tstate);
30100 if (PyErr_Occurred()) SWIG_fail;
30101 }
30102 {
30103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30104 }
30105 return resultobj;
30106 fail:
30107 return NULL;
30108 }
30109
30110
30111 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30112 PyObject *resultobj = 0;
30113 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30114 bool arg2 ;
30115 void *argp1 = 0 ;
30116 int res1 = 0 ;
30117 bool val2 ;
30118 int ecode2 = 0 ;
30119 PyObject * obj0 = 0 ;
30120 PyObject * obj1 = 0 ;
30121 char * kwnames[] = {
30122 (char *) "self",(char *) "ok", NULL
30123 };
30124
30125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30127 if (!SWIG_IsOK(res1)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30129 }
30130 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30131 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30132 if (!SWIG_IsOK(ecode2)) {
30133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30134 }
30135 arg2 = static_cast< bool >(val2);
30136 {
30137 PyThreadState* __tstate = wxPyBeginAllowThreads();
30138 (arg1)->SetOk(arg2);
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 resultobj = SWIG_Py_Void();
30143 return resultobj;
30144 fail:
30145 return NULL;
30146 }
30147
30148
30149 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30150 PyObject *resultobj = 0;
30151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30152 bool arg2 ;
30153 bool result;
30154 void *argp1 = 0 ;
30155 int res1 = 0 ;
30156 bool val2 ;
30157 int ecode2 = 0 ;
30158 PyObject * obj0 = 0 ;
30159 PyObject * obj1 = 0 ;
30160 char * kwnames[] = {
30161 (char *) "self",(char *) "interactive", NULL
30162 };
30163
30164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30166 if (!SWIG_IsOK(res1)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30168 }
30169 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30170 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30171 if (!SWIG_IsOK(ecode2)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30173 }
30174 arg2 = static_cast< bool >(val2);
30175 {
30176 PyThreadState* __tstate = wxPyBeginAllowThreads();
30177 result = (bool)(arg1)->Print(arg2);
30178 wxPyEndAllowThreads(__tstate);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 {
30182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30183 }
30184 return resultobj;
30185 fail:
30186 return NULL;
30187 }
30188
30189
30190 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30191 PyObject *resultobj = 0;
30192 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30193 void *argp1 = 0 ;
30194 int res1 = 0 ;
30195 PyObject *swig_obj[1] ;
30196
30197 if (!args) SWIG_fail;
30198 swig_obj[0] = args;
30199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30200 if (!SWIG_IsOK(res1)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30202 }
30203 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30204 {
30205 PyThreadState* __tstate = wxPyBeginAllowThreads();
30206 (arg1)->DetermineScaling();
30207 wxPyEndAllowThreads(__tstate);
30208 if (PyErr_Occurred()) SWIG_fail;
30209 }
30210 resultobj = SWIG_Py_Void();
30211 return resultobj;
30212 fail:
30213 return NULL;
30214 }
30215
30216
30217 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30218 PyObject *obj;
30219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30221 return SWIG_Py_Void();
30222 }
30223
30224 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30225 return SWIG_Python_InitShadowInstance(args);
30226 }
30227
30228 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30229 PyObject *resultobj = 0;
30230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30231 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30232 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30233 wxPyPrintPreview *result = 0 ;
30234 int res1 = 0 ;
30235 int res2 = 0 ;
30236 void *argp3 = 0 ;
30237 int res3 = 0 ;
30238
30239 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30240 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30241 if (!SWIG_IsOK(res1)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30243 }
30244 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30245 if (!SWIG_IsOK(res2)) {
30246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30247 }
30248 if (swig_obj[2]) {
30249 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30250 if (!SWIG_IsOK(res3)) {
30251 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30252 }
30253 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30254 }
30255 {
30256 if (!wxPyCheckForApp()) SWIG_fail;
30257 PyThreadState* __tstate = wxPyBeginAllowThreads();
30258 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30259 wxPyEndAllowThreads(__tstate);
30260 if (PyErr_Occurred()) SWIG_fail;
30261 }
30262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30263 return resultobj;
30264 fail:
30265 return NULL;
30266 }
30267
30268
30269 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30270 PyObject *resultobj = 0;
30271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30272 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30273 wxPrintData *arg3 = (wxPrintData *) 0 ;
30274 wxPyPrintPreview *result = 0 ;
30275 int res1 = 0 ;
30276 int res2 = 0 ;
30277 void *argp3 = 0 ;
30278 int res3 = 0 ;
30279
30280 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30281 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30282 if (!SWIG_IsOK(res1)) {
30283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30284 }
30285 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30286 if (!SWIG_IsOK(res2)) {
30287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30288 }
30289 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30290 if (!SWIG_IsOK(res3)) {
30291 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30292 }
30293 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30294 {
30295 if (!wxPyCheckForApp()) SWIG_fail;
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30298 wxPyEndAllowThreads(__tstate);
30299 if (PyErr_Occurred()) SWIG_fail;
30300 }
30301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30302 return resultobj;
30303 fail:
30304 return NULL;
30305 }
30306
30307
30308 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30309 int argc;
30310 PyObject *argv[4];
30311
30312 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30313 --argc;
30314 if ((argc >= 2) && (argc <= 3)) {
30315 int _v = 0;
30316 if (argc > 2) {
30317 {
30318 void *vptr = 0;
30319 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30320 _v = SWIG_CheckState(res);
30321 }
30322 if (!_v) goto check_1;
30323 }
30324 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30325 }
30326 check_1:
30327
30328 if (argc == 3) {
30329 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30330 }
30331
30332 fail:
30333 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30334 return NULL;
30335 }
30336
30337
30338 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30339 PyObject *resultobj = 0;
30340 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30341 PyObject *arg2 = (PyObject *) 0 ;
30342 PyObject *arg3 = (PyObject *) 0 ;
30343 void *argp1 = 0 ;
30344 int res1 = 0 ;
30345 PyObject * obj0 = 0 ;
30346 PyObject * obj1 = 0 ;
30347 PyObject * obj2 = 0 ;
30348 char * kwnames[] = {
30349 (char *) "self",(char *) "self",(char *) "_class", NULL
30350 };
30351
30352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30354 if (!SWIG_IsOK(res1)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30356 }
30357 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30358 arg2 = obj1;
30359 arg3 = obj2;
30360 {
30361 PyThreadState* __tstate = wxPyBeginAllowThreads();
30362 (arg1)->_setCallbackInfo(arg2,arg3);
30363 wxPyEndAllowThreads(__tstate);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 resultobj = SWIG_Py_Void();
30367 return resultobj;
30368 fail:
30369 return NULL;
30370 }
30371
30372
30373 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30374 PyObject *obj;
30375 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30377 return SWIG_Py_Void();
30378 }
30379
30380 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30381 return SWIG_Python_InitShadowInstance(args);
30382 }
30383
30384 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30385 PyObject *resultobj = 0;
30386 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30387 wxFrame *arg2 = (wxFrame *) 0 ;
30388 wxString *arg3 = 0 ;
30389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30391 wxSize const &arg5_defvalue = wxDefaultSize ;
30392 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30393 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30394 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30395 wxString *arg7 = (wxString *) &arg7_defvalue ;
30396 wxPyPreviewFrame *result = 0 ;
30397 void *argp1 = 0 ;
30398 int res1 = 0 ;
30399 void *argp2 = 0 ;
30400 int res2 = 0 ;
30401 bool temp3 = false ;
30402 wxPoint temp4 ;
30403 wxSize temp5 ;
30404 long val6 ;
30405 int ecode6 = 0 ;
30406 bool temp7 = false ;
30407 PyObject * obj0 = 0 ;
30408 PyObject * obj1 = 0 ;
30409 PyObject * obj2 = 0 ;
30410 PyObject * obj3 = 0 ;
30411 PyObject * obj4 = 0 ;
30412 PyObject * obj5 = 0 ;
30413 PyObject * obj6 = 0 ;
30414 char * kwnames[] = {
30415 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30416 };
30417
30418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30420 if (!SWIG_IsOK(res1)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30422 }
30423 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30424 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30425 if (!SWIG_IsOK(res2)) {
30426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30427 }
30428 arg2 = reinterpret_cast< wxFrame * >(argp2);
30429 {
30430 arg3 = wxString_in_helper(obj2);
30431 if (arg3 == NULL) SWIG_fail;
30432 temp3 = true;
30433 }
30434 if (obj3) {
30435 {
30436 arg4 = &temp4;
30437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30438 }
30439 }
30440 if (obj4) {
30441 {
30442 arg5 = &temp5;
30443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30444 }
30445 }
30446 if (obj5) {
30447 ecode6 = SWIG_AsVal_long(obj5, &val6);
30448 if (!SWIG_IsOK(ecode6)) {
30449 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30450 }
30451 arg6 = static_cast< long >(val6);
30452 }
30453 if (obj6) {
30454 {
30455 arg7 = wxString_in_helper(obj6);
30456 if (arg7 == NULL) SWIG_fail;
30457 temp7 = true;
30458 }
30459 }
30460 {
30461 if (!wxPyCheckForApp()) SWIG_fail;
30462 PyThreadState* __tstate = wxPyBeginAllowThreads();
30463 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30468 {
30469 if (temp3)
30470 delete arg3;
30471 }
30472 {
30473 if (temp7)
30474 delete arg7;
30475 }
30476 return resultobj;
30477 fail:
30478 {
30479 if (temp3)
30480 delete arg3;
30481 }
30482 {
30483 if (temp7)
30484 delete arg7;
30485 }
30486 return NULL;
30487 }
30488
30489
30490 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30491 PyObject *resultobj = 0;
30492 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30493 PyObject *arg2 = (PyObject *) 0 ;
30494 PyObject *arg3 = (PyObject *) 0 ;
30495 void *argp1 = 0 ;
30496 int res1 = 0 ;
30497 PyObject * obj0 = 0 ;
30498 PyObject * obj1 = 0 ;
30499 PyObject * obj2 = 0 ;
30500 char * kwnames[] = {
30501 (char *) "self",(char *) "self",(char *) "_class", NULL
30502 };
30503
30504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30506 if (!SWIG_IsOK(res1)) {
30507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30508 }
30509 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30510 arg2 = obj1;
30511 arg3 = obj2;
30512 {
30513 PyThreadState* __tstate = wxPyBeginAllowThreads();
30514 (arg1)->_setCallbackInfo(arg2,arg3);
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 resultobj = SWIG_Py_Void();
30519 return resultobj;
30520 fail:
30521 return NULL;
30522 }
30523
30524
30525 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj = 0;
30527 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30528 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30529 void *argp1 = 0 ;
30530 int res1 = 0 ;
30531 void *argp2 = 0 ;
30532 int res2 = 0 ;
30533 PyObject * obj0 = 0 ;
30534 PyObject * obj1 = 0 ;
30535 char * kwnames[] = {
30536 (char *) "self",(char *) "canvas", NULL
30537 };
30538
30539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30541 if (!SWIG_IsOK(res1)) {
30542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30543 }
30544 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30545 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30546 if (!SWIG_IsOK(res2)) {
30547 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30548 }
30549 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30550 {
30551 PyThreadState* __tstate = wxPyBeginAllowThreads();
30552 (arg1)->SetPreviewCanvas(arg2);
30553 wxPyEndAllowThreads(__tstate);
30554 if (PyErr_Occurred()) SWIG_fail;
30555 }
30556 resultobj = SWIG_Py_Void();
30557 return resultobj;
30558 fail:
30559 return NULL;
30560 }
30561
30562
30563 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30564 PyObject *resultobj = 0;
30565 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30566 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30567 void *argp1 = 0 ;
30568 int res1 = 0 ;
30569 void *argp2 = 0 ;
30570 int res2 = 0 ;
30571 PyObject * obj0 = 0 ;
30572 PyObject * obj1 = 0 ;
30573 char * kwnames[] = {
30574 (char *) "self",(char *) "bar", NULL
30575 };
30576
30577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30579 if (!SWIG_IsOK(res1)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30581 }
30582 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30584 if (!SWIG_IsOK(res2)) {
30585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30586 }
30587 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 (arg1)->SetControlBar(arg2);
30591 wxPyEndAllowThreads(__tstate);
30592 if (PyErr_Occurred()) SWIG_fail;
30593 }
30594 resultobj = SWIG_Py_Void();
30595 return resultobj;
30596 fail:
30597 return NULL;
30598 }
30599
30600
30601 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30602 PyObject *resultobj = 0;
30603 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30604 void *argp1 = 0 ;
30605 int res1 = 0 ;
30606 PyObject *swig_obj[1] ;
30607
30608 if (!args) SWIG_fail;
30609 swig_obj[0] = args;
30610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30611 if (!SWIG_IsOK(res1)) {
30612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30613 }
30614 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30615 {
30616 PyThreadState* __tstate = wxPyBeginAllowThreads();
30617 (arg1)->Initialize();
30618 wxPyEndAllowThreads(__tstate);
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 resultobj = SWIG_Py_Void();
30622 return resultobj;
30623 fail:
30624 return NULL;
30625 }
30626
30627
30628 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30629 PyObject *resultobj = 0;
30630 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30631 void *argp1 = 0 ;
30632 int res1 = 0 ;
30633 PyObject *swig_obj[1] ;
30634
30635 if (!args) SWIG_fail;
30636 swig_obj[0] = args;
30637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30638 if (!SWIG_IsOK(res1)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30640 }
30641 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30642 {
30643 PyThreadState* __tstate = wxPyBeginAllowThreads();
30644 (arg1)->CreateCanvas();
30645 wxPyEndAllowThreads(__tstate);
30646 if (PyErr_Occurred()) SWIG_fail;
30647 }
30648 resultobj = SWIG_Py_Void();
30649 return resultobj;
30650 fail:
30651 return NULL;
30652 }
30653
30654
30655 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30656 PyObject *resultobj = 0;
30657 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30658 void *argp1 = 0 ;
30659 int res1 = 0 ;
30660 PyObject *swig_obj[1] ;
30661
30662 if (!args) SWIG_fail;
30663 swig_obj[0] = args;
30664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30665 if (!SWIG_IsOK(res1)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30667 }
30668 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30669 {
30670 PyThreadState* __tstate = wxPyBeginAllowThreads();
30671 (arg1)->CreateControlBar();
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 resultobj = SWIG_Py_Void();
30676 return resultobj;
30677 fail:
30678 return NULL;
30679 }
30680
30681
30682 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30683 PyObject *obj;
30684 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30686 return SWIG_Py_Void();
30687 }
30688
30689 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30690 return SWIG_Python_InitShadowInstance(args);
30691 }
30692
30693 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30694 PyObject *resultobj = 0;
30695 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30696 long arg2 ;
30697 wxWindow *arg3 = (wxWindow *) 0 ;
30698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30700 wxSize const &arg5_defvalue = wxDefaultSize ;
30701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30702 long arg6 = (long) 0 ;
30703 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30704 wxString *arg7 = (wxString *) &arg7_defvalue ;
30705 wxPyPreviewControlBar *result = 0 ;
30706 void *argp1 = 0 ;
30707 int res1 = 0 ;
30708 long val2 ;
30709 int ecode2 = 0 ;
30710 void *argp3 = 0 ;
30711 int res3 = 0 ;
30712 wxPoint temp4 ;
30713 wxSize temp5 ;
30714 long val6 ;
30715 int ecode6 = 0 ;
30716 bool temp7 = false ;
30717 PyObject * obj0 = 0 ;
30718 PyObject * obj1 = 0 ;
30719 PyObject * obj2 = 0 ;
30720 PyObject * obj3 = 0 ;
30721 PyObject * obj4 = 0 ;
30722 PyObject * obj5 = 0 ;
30723 PyObject * obj6 = 0 ;
30724 char * kwnames[] = {
30725 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30726 };
30727
30728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30730 if (!SWIG_IsOK(res1)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30732 }
30733 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30734 ecode2 = SWIG_AsVal_long(obj1, &val2);
30735 if (!SWIG_IsOK(ecode2)) {
30736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30737 }
30738 arg2 = static_cast< long >(val2);
30739 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30740 if (!SWIG_IsOK(res3)) {
30741 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30742 }
30743 arg3 = reinterpret_cast< wxWindow * >(argp3);
30744 if (obj3) {
30745 {
30746 arg4 = &temp4;
30747 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30748 }
30749 }
30750 if (obj4) {
30751 {
30752 arg5 = &temp5;
30753 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30754 }
30755 }
30756 if (obj5) {
30757 ecode6 = SWIG_AsVal_long(obj5, &val6);
30758 if (!SWIG_IsOK(ecode6)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30760 }
30761 arg6 = static_cast< long >(val6);
30762 }
30763 if (obj6) {
30764 {
30765 arg7 = wxString_in_helper(obj6);
30766 if (arg7 == NULL) SWIG_fail;
30767 temp7 = true;
30768 }
30769 }
30770 {
30771 if (!wxPyCheckForApp()) SWIG_fail;
30772 PyThreadState* __tstate = wxPyBeginAllowThreads();
30773 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30774 wxPyEndAllowThreads(__tstate);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
30777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30778 {
30779 if (temp7)
30780 delete arg7;
30781 }
30782 return resultobj;
30783 fail:
30784 {
30785 if (temp7)
30786 delete arg7;
30787 }
30788 return NULL;
30789 }
30790
30791
30792 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30793 PyObject *resultobj = 0;
30794 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30795 PyObject *arg2 = (PyObject *) 0 ;
30796 PyObject *arg3 = (PyObject *) 0 ;
30797 void *argp1 = 0 ;
30798 int res1 = 0 ;
30799 PyObject * obj0 = 0 ;
30800 PyObject * obj1 = 0 ;
30801 PyObject * obj2 = 0 ;
30802 char * kwnames[] = {
30803 (char *) "self",(char *) "self",(char *) "_class", NULL
30804 };
30805
30806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30810 }
30811 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30812 arg2 = obj1;
30813 arg3 = obj2;
30814 {
30815 PyThreadState* __tstate = wxPyBeginAllowThreads();
30816 (arg1)->_setCallbackInfo(arg2,arg3);
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 resultobj = SWIG_Py_Void();
30821 return resultobj;
30822 fail:
30823 return NULL;
30824 }
30825
30826
30827 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30828 PyObject *resultobj = 0;
30829 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30830 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30831 void *argp1 = 0 ;
30832 int res1 = 0 ;
30833 void *argp2 = 0 ;
30834 int res2 = 0 ;
30835 PyObject * obj0 = 0 ;
30836 PyObject * obj1 = 0 ;
30837 char * kwnames[] = {
30838 (char *) "self",(char *) "preview", NULL
30839 };
30840
30841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30843 if (!SWIG_IsOK(res1)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30845 }
30846 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30848 if (!SWIG_IsOK(res2)) {
30849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30850 }
30851 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30852 {
30853 PyThreadState* __tstate = wxPyBeginAllowThreads();
30854 (arg1)->SetPrintPreview(arg2);
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 resultobj = SWIG_Py_Void();
30859 return resultobj;
30860 fail:
30861 return NULL;
30862 }
30863
30864
30865 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30866 PyObject *resultobj = 0;
30867 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30868 void *argp1 = 0 ;
30869 int res1 = 0 ;
30870 PyObject *swig_obj[1] ;
30871
30872 if (!args) SWIG_fail;
30873 swig_obj[0] = args;
30874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30875 if (!SWIG_IsOK(res1)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30877 }
30878 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30879 {
30880 PyThreadState* __tstate = wxPyBeginAllowThreads();
30881 (arg1)->CreateButtons();
30882 wxPyEndAllowThreads(__tstate);
30883 if (PyErr_Occurred()) SWIG_fail;
30884 }
30885 resultobj = SWIG_Py_Void();
30886 return resultobj;
30887 fail:
30888 return NULL;
30889 }
30890
30891
30892 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30893 PyObject *resultobj = 0;
30894 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30895 int arg2 ;
30896 void *argp1 = 0 ;
30897 int res1 = 0 ;
30898 int val2 ;
30899 int ecode2 = 0 ;
30900 PyObject * obj0 = 0 ;
30901 PyObject * obj1 = 0 ;
30902 char * kwnames[] = {
30903 (char *) "self",(char *) "zoom", NULL
30904 };
30905
30906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30908 if (!SWIG_IsOK(res1)) {
30909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30910 }
30911 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30912 ecode2 = SWIG_AsVal_int(obj1, &val2);
30913 if (!SWIG_IsOK(ecode2)) {
30914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30915 }
30916 arg2 = static_cast< int >(val2);
30917 {
30918 PyThreadState* __tstate = wxPyBeginAllowThreads();
30919 (arg1)->SetZoomControl(arg2);
30920 wxPyEndAllowThreads(__tstate);
30921 if (PyErr_Occurred()) SWIG_fail;
30922 }
30923 resultobj = SWIG_Py_Void();
30924 return resultobj;
30925 fail:
30926 return NULL;
30927 }
30928
30929
30930 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30931 PyObject *obj;
30932 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30933 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30934 return SWIG_Py_Void();
30935 }
30936
30937 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30938 return SWIG_Python_InitShadowInstance(args);
30939 }
30940
30941 static PyMethodDef SwigMethods[] = {
30942 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30944 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30946 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30948 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30949 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30951 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30958 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30960 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30962 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30963 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30964 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30965 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30966 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30969 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30972 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30973 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30975 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30977 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30978 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30979 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30980 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30984 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30986 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30989 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30991 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
30994 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
30997 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30998 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31000 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31002 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31004 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31007 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31014 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31016 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31021 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31022 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31024 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31027 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31029 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31031 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31036 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31037 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31040 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31041 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31043 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31045 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31046 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31049 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31050 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31051 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31053 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31054 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31055 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31056 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31057 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31059 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31062 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31071 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31072 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31074 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31075 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31077 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31079 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31080 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31082 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31088 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31089 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31092 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31093 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31095 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31097 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31099 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31101 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31103 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31105 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31106 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31109 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31110 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31111 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31112 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31113 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31114 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31116 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31124 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31126 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31129 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31130 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31133 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31134 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31136 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31137 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31138 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31141 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31143 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31145 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31146 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31147 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31150 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31152 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31154 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31156 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31158 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31159 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31160 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31163 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31165 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31166 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31167 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31169 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31171 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31172 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31176 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31177 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31178 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31179 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31183 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31184 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31186 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31189 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31190 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31192 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31195 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31196 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31197 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31200 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31201 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31202 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31204 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31213 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31214 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31215 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31216 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31218 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31219 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31222 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31223 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31225 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31228 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31229 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31230 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31233 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31234 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31236 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31237 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31239 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31244 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31245 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31251 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31252 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31254 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31258 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31260 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31261 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31262 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31263 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31265 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31266 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31267 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31269 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31271 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31272 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31274 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31275 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31276 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31277 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31278 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31279 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31284 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31285 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31287 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31288 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31289 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31292 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31293 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31296 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31297 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31305 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31306 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31307 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31308 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31309 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31310 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31311 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31312 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31313 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31314 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31317 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31318 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31319 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31321 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31322 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31324 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31325 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31327 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31329 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31330 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31332 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31333 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31335 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31336 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31337 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31338 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31339 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31341 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31342 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31343 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31344 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31345 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31346 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31347 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31348 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31349 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31353 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31354 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31356 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31357 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31358 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31361 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31362 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31363 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31366 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31367 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31368 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31370 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31371 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31372 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31373 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31377 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31378 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31380 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31381 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31382 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31383 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31387 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31388 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31390 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31392 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31394 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31395 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31396 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31397 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31399 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31400 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31401 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31402 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31403 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31404 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31406 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31407 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31409 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31411 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31412 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31413 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31414 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31415 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31417 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31418 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31420 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31428 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31429 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31430 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31431 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31432 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31433 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31434 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31435 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31436 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31438 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31446 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31447 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31448 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31449 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31450 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31451 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31452 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31453 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31454 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31456 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31464 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31465 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31466 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31467 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31468 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31469 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31470 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31471 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31472 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31473 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31474 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31475 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31476 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31477 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31478 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31479 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31480 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31481 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31482 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31483 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31484 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31485 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31486 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31498 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31500 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31502 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31503 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31504 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31505 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31511 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31512 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31513 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31514 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31515 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31516 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31517 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31518 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31519 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31520 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31521 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31522 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31523 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31524 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
31525 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31535 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31536 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31537 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31538 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31540 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31541 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31542 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31543 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31544 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31545 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31546 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31547 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31548 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31549 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31550 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31551 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31552 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31553 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31554 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31555 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31556 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31570 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31571 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31572 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31573 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
31574 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31575 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31577 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31578 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31580 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31581 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31582 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31583 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31584 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31585 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31586 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31588 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31594 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31595 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31596 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31597 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31598 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31600 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31602 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31603 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31606 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31608 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31609 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31610 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31612 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31613 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31616 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31617 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31618 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31619 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31621 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31622 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31623 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31625 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31626 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31628 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31629 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31630 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31631 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31632 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31633 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31635 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31637 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31638 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31639 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31640 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31641 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31642 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31643 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31644 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31645 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31646 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31648 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31650 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31651 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31654 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31655 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31660 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31662 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31663 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31664 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
31665 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31668 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31669 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31670 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31671 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31673 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31674 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31679 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31680 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31681 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31682 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31683 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31687 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31689 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31690 { NULL, NULL, 0, NULL }
31691 };
31692
31693
31694 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31695
31696 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31697 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31698 }
31699 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31700 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31701 }
31702 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31703 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31704 }
31705 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31706 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31707 }
31708 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31709 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31710 }
31711 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31712 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31713 }
31714 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31715 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31716 }
31717 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31718 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31719 }
31720 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31721 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31722 }
31723 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31724 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31725 }
31726 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31727 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31728 }
31729 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31730 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31731 }
31732 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31733 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31734 }
31735 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31736 return (void *)((wxEvent *) ((wxPyEvent *) x));
31737 }
31738 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31739 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31740 }
31741 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31742 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31743 }
31744 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31745 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31746 }
31747 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31748 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31749 }
31750 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31751 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31752 }
31753 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31754 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31755 }
31756 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31757 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31758 }
31759 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31760 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31761 }
31762 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31763 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31764 }
31765 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31766 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31767 }
31768 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31769 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31770 }
31771 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31772 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31773 }
31774 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31775 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31776 }
31777 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31778 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31779 }
31780 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31781 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31782 }
31783 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31784 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31785 }
31786 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31787 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31788 }
31789 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31790 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31791 }
31792 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31793 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31794 }
31795 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31796 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31797 }
31798 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31799 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31800 }
31801 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31802 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31803 }
31804 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31805 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31806 }
31807 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31808 return (void *)((wxEvent *) ((wxShowEvent *) x));
31809 }
31810 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31811 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31812 }
31813 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31814 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31815 }
31816 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31818 }
31819 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31820 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31821 }
31822 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31823 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31824 }
31825 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31826 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31827 }
31828 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31829 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31830 }
31831 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31832 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31833 }
31834 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31835 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31836 }
31837 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31838 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31839 }
31840 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31841 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31842 }
31843 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31844 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31845 }
31846 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31847 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31848 }
31849 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31850 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31851 }
31852 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31853 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31854 }
31855 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31856 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31857 }
31858 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31859 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31860 }
31861 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31863 }
31864 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31866 }
31867 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31869 }
31870 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31872 }
31873 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31875 }
31876 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31878 }
31879 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31881 }
31882 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31884 }
31885 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31886 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31887 }
31888 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31889 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31890 }
31891 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31892 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31893 }
31894 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31895 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31896 }
31897 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31898 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31899 }
31900 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31901 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31902 }
31903 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31904 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31905 }
31906 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31907 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31908 }
31909 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31910 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31911 }
31912 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31913 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31914 }
31915 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31916 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31917 }
31918 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31919 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31920 }
31921 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31922 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31923 }
31924 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31925 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31926 }
31927 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31928 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31929 }
31930 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31931 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31932 }
31933 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31934 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31935 }
31936 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31938 }
31939 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31941 }
31942 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31943 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31944 }
31945 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31946 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31947 }
31948 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31949 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31950 }
31951 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31952 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31953 }
31954 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31955 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31956 }
31957 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31959 }
31960 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31961 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31962 }
31963 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31964 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31965 }
31966 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31967 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31968 }
31969 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31970 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31971 }
31972 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31973 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31974 }
31975 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31976 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31977 }
31978 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31979 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31980 }
31981 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31982 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31983 }
31984 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31985 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31986 }
31987 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31988 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31989 }
31990 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31991 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31992 }
31993 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31994 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31995 }
31996 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31997 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31998 }
31999 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32000 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32001 }
32002 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32003 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32004 }
32005 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32006 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32007 }
32008 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32009 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32010 }
32011 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32013 }
32014 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32016 }
32017 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32019 }
32020 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32022 }
32023 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) ((wxSizerItem *) x));
32025 }
32026 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32028 }
32029 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32031 }
32032 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32034 }
32035 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32037 }
32038 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32040 }
32041 static void *_p_wxSizerTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) ((wxSizer *) x));
32043 }
32044 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32046 }
32047 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32049 }
32050 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32052 }
32053 static void *_p_wxEventTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) ((wxEvent *) x));
32055 }
32056 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) ((wxFontData *) x));
32058 }
32059 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) ((wxPrintData *) x));
32061 }
32062 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32064 }
32065 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32067 }
32068 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32070 }
32071 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32073 }
32074 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32076 }
32077 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32079 }
32080 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32082 }
32083 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32085 }
32086 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32088 }
32089 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32091 }
32092 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32094 }
32095 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32097 }
32098 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32100 }
32101 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32103 }
32104 static void *_p_wxControlTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32106 }
32107 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32109 }
32110 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32112 }
32113 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) ((wxFSFile *) x));
32115 }
32116 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32118 }
32119 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32121 }
32122 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32124 }
32125 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) ((wxColourData *) x));
32127 }
32128 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32130 }
32131 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32133 }
32134 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32136 }
32137 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32139 }
32140 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32142 }
32143 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32145 }
32146 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32148 }
32149 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32151 }
32152 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32154 }
32155 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32157 }
32158 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32160 }
32161 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32163 }
32164 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32166 }
32167 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32169 }
32170 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) ((wxPrinter *) x));
32172 }
32173 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) ((wxMenuItem *) x));
32175 }
32176 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32178 }
32179 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32180 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32181 }
32182 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32183 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32184 }
32185 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32186 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32187 }
32188 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32189 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32190 }
32191 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32192 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32193 }
32194 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32195 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32196 }
32197 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32198 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32199 }
32200 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32201 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32202 }
32203 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32204 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32205 }
32206 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32207 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32208 }
32209 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32210 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32211 }
32212 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32213 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32214 }
32215 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32216 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32217 }
32218 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32219 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32220 }
32221 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32222 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32223 }
32224 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32225 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32226 }
32227 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32228 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32229 }
32230 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32231 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32232 }
32233 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32234 return (void *)((wxObject *) ((wxImageHandler *) x));
32235 }
32236 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32237 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32238 }
32239 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32240 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32241 }
32242 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32243 return (void *)((wxObject *) ((wxEvtHandler *) x));
32244 }
32245 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32246 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32247 }
32248 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32249 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32250 }
32251 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32253 }
32254 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32256 }
32257 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32258 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32259 }
32260 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32261 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32262 }
32263 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32265 }
32266 static void *_p_wxImageTo_p_wxObject(void *x) {
32267 return (void *)((wxObject *) ((wxImage *) x));
32268 }
32269 static void *_p_wxFrameTo_p_wxObject(void *x) {
32270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32271 }
32272 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32273 return (void *)((wxObject *) ((wxPyPrintout *) x));
32274 }
32275 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32276 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32277 }
32278 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32279 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32280 }
32281 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32283 }
32284 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32286 }
32287 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32288 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32289 }
32290 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32291 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32292 }
32293 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32294 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32295 }
32296 static void *_p_wxWindowTo_p_wxObject(void *x) {
32297 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32298 }
32299 static void *_p_wxMenuTo_p_wxObject(void *x) {
32300 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32301 }
32302 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32304 }
32305 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32307 }
32308 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32310 }
32311 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32313 }
32314 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32316 }
32317 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32319 }
32320 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32322 }
32323 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32325 }
32326 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32328 }
32329 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32331 }
32332 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32334 }
32335 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32337 }
32338 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32340 }
32341 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32342 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32343 }
32344 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32345 return (void *)((wxObject *) ((wxPrintPreview *) x));
32346 }
32347 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32348 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32349 }
32350 static void *_p_wxPanelTo_p_wxObject(void *x) {
32351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32352 }
32353 static void *_p_wxDialogTo_p_wxObject(void *x) {
32354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32355 }
32356 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32358 }
32359 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32361 }
32362 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32364 }
32365 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32366 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32367 }
32368 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32369 return (void *)((wxObject *) ((wxPrintDialog *) x));
32370 }
32371 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32372 return (void *)((wxObject *) ((wxFileSystem *) x));
32373 }
32374 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32375 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32376 }
32377 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32378 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32379 }
32380 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32381 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32382 }
32383 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32384 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32385 }
32386 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32387 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32388 }
32389 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32390 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32391 }
32392 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32394 }
32395 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32396 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32397 }
32398 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32400 }
32401 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32403 }
32404 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32405 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32406 }
32407 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32408 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32409 }
32410 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32411 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32412 }
32413 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32415 }
32416 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32417 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32418 }
32419 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32420 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32421 }
32422 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32423 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32424 }
32425 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32426 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32427 }
32428 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32429 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32430 }
32431 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32432 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32433 }
32434 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32435 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32436 }
32437 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32438 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32439 }
32440 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32441 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32442 }
32443 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32444 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32445 }
32446 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32447 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32448 }
32449 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32450 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32451 }
32452 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32453 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32454 }
32455 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32456 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32457 }
32458 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32459 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32460 }
32461 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32462 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32463 }
32464 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32465 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32466 }
32467 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32468 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32469 }
32470 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32471 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32472 }
32473 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32474 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32475 }
32476 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32477 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32478 }
32479 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32480 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32481 }
32482 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32483 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32484 }
32485 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32486 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32487 }
32488 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32489 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32490 }
32491 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32492 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32493 }
32494 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32495 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32496 }
32497 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32498 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32499 }
32500 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32501 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32502 }
32503 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32504 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32505 }
32506 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32508 }
32509 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32511 }
32512 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32513 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32514 }
32515 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32516 return (void *)((wxWindow *) ((wxMenuBar *) x));
32517 }
32518 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32519 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32520 }
32521 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32523 }
32524 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32525 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32526 }
32527 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32528 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32529 }
32530 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32531 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32532 }
32533 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32534 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32535 }
32536 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32537 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32538 }
32539 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32540 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32541 }
32542 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32543 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32544 }
32545 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32546 return (void *)((wxWindow *) ((wxPanel *) x));
32547 }
32548 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32549 return (void *)((wxWindow *) ((wxStatusBar *) x));
32550 }
32551 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32552 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32553 }
32554 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32555 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32556 }
32557 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32558 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32559 }
32560 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32561 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32562 }
32563 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32564 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32565 }
32566 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32567 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32568 }
32569 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32570 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32571 }
32572 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32573 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32574 }
32575 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32576 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32577 }
32578 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32579 return (void *)((wxWindow *) ((wxSashWindow *) x));
32580 }
32581 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32582 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32583 }
32584 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32585 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32586 }
32587 static void *_p_wxControlTo_p_wxWindow(void *x) {
32588 return (void *)((wxWindow *) ((wxControl *) x));
32589 }
32590 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32591 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32592 }
32593 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32594 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32595 }
32596 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32597 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32598 }
32599 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32600 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32601 }
32602 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32603 return (void *)((wxWindow *) ((wxPyWindow *) x));
32604 }
32605 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32606 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32607 }
32608 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32609 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32610 }
32611 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32612 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32613 }
32614 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32615 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32616 }
32617 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32618 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32619 }
32620 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32621 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32622 }
32623 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32624 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32625 }
32626 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32627 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32628 }
32629 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32630 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32631 }
32632 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32633 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32634 }
32635 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32637 }
32638 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32639 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32640 }
32641 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32642 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32643 }
32644 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32645 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32646 }
32647 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32648 return (void *)((wxDialog *) ((wxColourDialog *) x));
32649 }
32650 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32651 return (void *)((wxDialog *) ((wxDirDialog *) x));
32652 }
32653 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32654 return (void *)((wxDialog *) ((wxFontDialog *) x));
32655 }
32656 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32657 return (void *)((wxDialog *) ((wxFileDialog *) x));
32658 }
32659 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32660 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32661 }
32662 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32663 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32664 }
32665 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32666 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32667 }
32668 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32669 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32670 }
32671 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32672 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32673 }
32674 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32675 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32676 }
32677 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32678 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32679 }
32680 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32681 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32682 }
32683 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32684 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32685 }
32686 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32687 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32688 }
32689 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32690 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32691 }
32692 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32693 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32694 }
32695 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32696 return (void *)((wxPanel *) ((wxPyPanel *) x));
32697 }
32698 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32699 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32700 }
32701 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32702 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32703 }
32704 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32705 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32706 }
32707 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32708 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32709 }
32710 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32711 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32712 }
32713 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32714 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32715 }
32716 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32717 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32718 }
32719 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32720 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32721 }
32722 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32723 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32724 }
32725 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32726 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32727 }
32728 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32729 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32730 }
32731 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32732 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32733 }
32734 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32735 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32736 }
32737 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32738 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32739 }
32740 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32741 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32742 }
32743 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32744 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32745 }
32746 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32747 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32748 }
32749 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32751 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};
32752 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32764 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32765 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32766 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32767 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32768 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32769 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32770 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32771 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32772 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32778 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32779 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32780 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32781 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32782 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32783 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32784 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32785 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32786 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32787 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32788 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32789 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32790 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32791 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32792 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32793 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32794 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32796 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32797 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32798 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32799 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32800 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32810 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32811 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32812 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32813 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32814 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32815 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32816 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32817 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32818 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32819 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32820 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32821 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32822 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32823 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32824 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32825 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32826 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32827 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32828 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32829 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32830 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32831 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32832 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32833 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32834 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32835 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32836 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32837 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32838 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32839 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32840 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32841 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32842 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32843 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32844 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32845 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32846 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32847 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32848 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32849 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32850 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32851 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32852 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32853 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32854 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32855 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32856 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32857 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32858 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32859 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32860 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32861 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32862 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32863 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32864 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32865 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32866 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32867 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32868 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32869 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32870 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32871 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32872 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32873 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32874 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32875 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32876 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32877 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32878 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32879 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32880 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32881 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32882 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32883 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32884 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32885 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32886 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32887 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32888 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32889 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32890 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32891 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32914
32915 static swig_type_info *swig_type_initial[] = {
32916 &_swigt__p_bool,
32917 &_swigt__p_char,
32918 &_swigt__p_form_ops_t,
32919 &_swigt__p_int,
32920 &_swigt__p_unsigned_char,
32921 &_swigt__p_unsigned_int,
32922 &_swigt__p_unsigned_long,
32923 &_swigt__p_wxANIHandler,
32924 &_swigt__p_wxAcceleratorTable,
32925 &_swigt__p_wxActivateEvent,
32926 &_swigt__p_wxArrayInt,
32927 &_swigt__p_wxBMPHandler,
32928 &_swigt__p_wxBitmap,
32929 &_swigt__p_wxBoxSizer,
32930 &_swigt__p_wxCURHandler,
32931 &_swigt__p_wxCalculateLayoutEvent,
32932 &_swigt__p_wxChildFocusEvent,
32933 &_swigt__p_wxClipboardTextEvent,
32934 &_swigt__p_wxCloseEvent,
32935 &_swigt__p_wxColour,
32936 &_swigt__p_wxColourData,
32937 &_swigt__p_wxColourDialog,
32938 &_swigt__p_wxCommandEvent,
32939 &_swigt__p_wxContextMenuEvent,
32940 &_swigt__p_wxControl,
32941 &_swigt__p_wxControlWithItems,
32942 &_swigt__p_wxDC,
32943 &_swigt__p_wxDateEvent,
32944 &_swigt__p_wxDialog,
32945 &_swigt__p_wxDirDialog,
32946 &_swigt__p_wxDisplayChangedEvent,
32947 &_swigt__p_wxDropFilesEvent,
32948 &_swigt__p_wxDuplexMode,
32949 &_swigt__p_wxEraseEvent,
32950 &_swigt__p_wxEvent,
32951 &_swigt__p_wxEvtHandler,
32952 &_swigt__p_wxFSFile,
32953 &_swigt__p_wxFileDialog,
32954 &_swigt__p_wxFileSystem,
32955 &_swigt__p_wxFindDialogEvent,
32956 &_swigt__p_wxFindReplaceData,
32957 &_swigt__p_wxFindReplaceDialog,
32958 &_swigt__p_wxFlexGridSizer,
32959 &_swigt__p_wxFocusEvent,
32960 &_swigt__p_wxFont,
32961 &_swigt__p_wxFontData,
32962 &_swigt__p_wxFontDialog,
32963 &_swigt__p_wxFrame,
32964 &_swigt__p_wxGBSizerItem,
32965 &_swigt__p_wxGIFHandler,
32966 &_swigt__p_wxGridBagSizer,
32967 &_swigt__p_wxGridSizer,
32968 &_swigt__p_wxHtmlLinkInfo,
32969 &_swigt__p_wxICOHandler,
32970 &_swigt__p_wxIcon,
32971 &_swigt__p_wxIconBundle,
32972 &_swigt__p_wxIconizeEvent,
32973 &_swigt__p_wxIdleEvent,
32974 &_swigt__p_wxImage,
32975 &_swigt__p_wxImageHandler,
32976 &_swigt__p_wxIndividualLayoutConstraint,
32977 &_swigt__p_wxInitDialogEvent,
32978 &_swigt__p_wxJPEGHandler,
32979 &_swigt__p_wxKeyEvent,
32980 &_swigt__p_wxLayoutAlgorithm,
32981 &_swigt__p_wxLayoutConstraints,
32982 &_swigt__p_wxMDIChildFrame,
32983 &_swigt__p_wxMDIClientWindow,
32984 &_swigt__p_wxMDIParentFrame,
32985 &_swigt__p_wxMaximizeEvent,
32986 &_swigt__p_wxMenu,
32987 &_swigt__p_wxMenuBar,
32988 &_swigt__p_wxMenuEvent,
32989 &_swigt__p_wxMenuItem,
32990 &_swigt__p_wxMessageDialog,
32991 &_swigt__p_wxMiniFrame,
32992 &_swigt__p_wxMouseCaptureChangedEvent,
32993 &_swigt__p_wxMouseCaptureLostEvent,
32994 &_swigt__p_wxMouseEvent,
32995 &_swigt__p_wxMoveEvent,
32996 &_swigt__p_wxMultiChoiceDialog,
32997 &_swigt__p_wxNavigationKeyEvent,
32998 &_swigt__p_wxNcPaintEvent,
32999 &_swigt__p_wxNotifyEvent,
33000 &_swigt__p_wxNumberEntryDialog,
33001 &_swigt__p_wxObject,
33002 &_swigt__p_wxPCXHandler,
33003 &_swigt__p_wxPNGHandler,
33004 &_swigt__p_wxPNMHandler,
33005 &_swigt__p_wxPageSetupDialog,
33006 &_swigt__p_wxPageSetupDialogData,
33007 &_swigt__p_wxPaintEvent,
33008 &_swigt__p_wxPaletteChangedEvent,
33009 &_swigt__p_wxPanel,
33010 &_swigt__p_wxPaperSize,
33011 &_swigt__p_wxPasswordEntryDialog,
33012 &_swigt__p_wxPoint,
33013 &_swigt__p_wxPopupWindow,
33014 &_swigt__p_wxPreviewCanvas,
33015 &_swigt__p_wxPreviewControlBar,
33016 &_swigt__p_wxPreviewFrame,
33017 &_swigt__p_wxPrintData,
33018 &_swigt__p_wxPrintDialog,
33019 &_swigt__p_wxPrintDialogData,
33020 &_swigt__p_wxPrintPreview,
33021 &_swigt__p_wxPrinter,
33022 &_swigt__p_wxProgressDialog,
33023 &_swigt__p_wxPyApp,
33024 &_swigt__p_wxPyCommandEvent,
33025 &_swigt__p_wxPyEvent,
33026 &_swigt__p_wxPyHtmlListBox,
33027 &_swigt__p_wxPyImageHandler,
33028 &_swigt__p_wxPyPanel,
33029 &_swigt__p_wxPyPopupTransientWindow,
33030 &_swigt__p_wxPyPreviewControlBar,
33031 &_swigt__p_wxPyPreviewFrame,
33032 &_swigt__p_wxPyPrintPreview,
33033 &_swigt__p_wxPyPrintout,
33034 &_swigt__p_wxPyScrolledWindow,
33035 &_swigt__p_wxPySizer,
33036 &_swigt__p_wxPyTaskBarIcon,
33037 &_swigt__p_wxPyVListBox,
33038 &_swigt__p_wxPyVScrolledWindow,
33039 &_swigt__p_wxPyValidator,
33040 &_swigt__p_wxPyWindow,
33041 &_swigt__p_wxQueryLayoutInfoEvent,
33042 &_swigt__p_wxQueryNewPaletteEvent,
33043 &_swigt__p_wxRect,
33044 &_swigt__p_wxRegion,
33045 &_swigt__p_wxSashEvent,
33046 &_swigt__p_wxSashLayoutWindow,
33047 &_swigt__p_wxSashWindow,
33048 &_swigt__p_wxScrollEvent,
33049 &_swigt__p_wxScrollWinEvent,
33050 &_swigt__p_wxScrolledWindow,
33051 &_swigt__p_wxSetCursorEvent,
33052 &_swigt__p_wxShowEvent,
33053 &_swigt__p_wxSingleChoiceDialog,
33054 &_swigt__p_wxSize,
33055 &_swigt__p_wxSizeEvent,
33056 &_swigt__p_wxSizer,
33057 &_swigt__p_wxSizerItem,
33058 &_swigt__p_wxSplashScreen,
33059 &_swigt__p_wxSplashScreenWindow,
33060 &_swigt__p_wxSplitterEvent,
33061 &_swigt__p_wxSplitterWindow,
33062 &_swigt__p_wxStaticBoxSizer,
33063 &_swigt__p_wxStatusBar,
33064 &_swigt__p_wxStdDialogButtonSizer,
33065 &_swigt__p_wxString,
33066 &_swigt__p_wxSysColourChangedEvent,
33067 &_swigt__p_wxTIFFHandler,
33068 &_swigt__p_wxTaskBarIcon,
33069 &_swigt__p_wxTaskBarIconEvent,
33070 &_swigt__p_wxTextEntryDialog,
33071 &_swigt__p_wxTipWindow,
33072 &_swigt__p_wxToolBar,
33073 &_swigt__p_wxTopLevelWindow,
33074 &_swigt__p_wxUpdateUIEvent,
33075 &_swigt__p_wxValidator,
33076 &_swigt__p_wxVisualAttributes,
33077 &_swigt__p_wxWindow,
33078 &_swigt__p_wxWindowCreateEvent,
33079 &_swigt__p_wxWindowDestroyEvent,
33080 &_swigt__p_wxXPMHandler,
33081 };
33082
33083 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33092 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33105 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}};
33106 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33107 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}};
33108 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33142 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
33143 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33157 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33162 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33163 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33164 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}};
33165 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33171 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33180 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33192 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33197 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}};
33198 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33203 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}};
33204 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}};
33205 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33208 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}};
33209 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
33214 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33215 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33217 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33218 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33220 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}};
33221 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}};
33222 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33223 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33224 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33225 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33228 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}};
33229 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33230 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}};
33231 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33232 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33233 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33240 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33241 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33242 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}};
33243 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_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}};
33246 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33247 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33248
33249 static swig_cast_info *swig_cast_initial[] = {
33250 _swigc__p_bool,
33251 _swigc__p_char,
33252 _swigc__p_form_ops_t,
33253 _swigc__p_int,
33254 _swigc__p_unsigned_char,
33255 _swigc__p_unsigned_int,
33256 _swigc__p_unsigned_long,
33257 _swigc__p_wxANIHandler,
33258 _swigc__p_wxAcceleratorTable,
33259 _swigc__p_wxActivateEvent,
33260 _swigc__p_wxArrayInt,
33261 _swigc__p_wxBMPHandler,
33262 _swigc__p_wxBitmap,
33263 _swigc__p_wxBoxSizer,
33264 _swigc__p_wxCURHandler,
33265 _swigc__p_wxCalculateLayoutEvent,
33266 _swigc__p_wxChildFocusEvent,
33267 _swigc__p_wxClipboardTextEvent,
33268 _swigc__p_wxCloseEvent,
33269 _swigc__p_wxColour,
33270 _swigc__p_wxColourData,
33271 _swigc__p_wxColourDialog,
33272 _swigc__p_wxCommandEvent,
33273 _swigc__p_wxContextMenuEvent,
33274 _swigc__p_wxControl,
33275 _swigc__p_wxControlWithItems,
33276 _swigc__p_wxDC,
33277 _swigc__p_wxDateEvent,
33278 _swigc__p_wxDialog,
33279 _swigc__p_wxDirDialog,
33280 _swigc__p_wxDisplayChangedEvent,
33281 _swigc__p_wxDropFilesEvent,
33282 _swigc__p_wxDuplexMode,
33283 _swigc__p_wxEraseEvent,
33284 _swigc__p_wxEvent,
33285 _swigc__p_wxEvtHandler,
33286 _swigc__p_wxFSFile,
33287 _swigc__p_wxFileDialog,
33288 _swigc__p_wxFileSystem,
33289 _swigc__p_wxFindDialogEvent,
33290 _swigc__p_wxFindReplaceData,
33291 _swigc__p_wxFindReplaceDialog,
33292 _swigc__p_wxFlexGridSizer,
33293 _swigc__p_wxFocusEvent,
33294 _swigc__p_wxFont,
33295 _swigc__p_wxFontData,
33296 _swigc__p_wxFontDialog,
33297 _swigc__p_wxFrame,
33298 _swigc__p_wxGBSizerItem,
33299 _swigc__p_wxGIFHandler,
33300 _swigc__p_wxGridBagSizer,
33301 _swigc__p_wxGridSizer,
33302 _swigc__p_wxHtmlLinkInfo,
33303 _swigc__p_wxICOHandler,
33304 _swigc__p_wxIcon,
33305 _swigc__p_wxIconBundle,
33306 _swigc__p_wxIconizeEvent,
33307 _swigc__p_wxIdleEvent,
33308 _swigc__p_wxImage,
33309 _swigc__p_wxImageHandler,
33310 _swigc__p_wxIndividualLayoutConstraint,
33311 _swigc__p_wxInitDialogEvent,
33312 _swigc__p_wxJPEGHandler,
33313 _swigc__p_wxKeyEvent,
33314 _swigc__p_wxLayoutAlgorithm,
33315 _swigc__p_wxLayoutConstraints,
33316 _swigc__p_wxMDIChildFrame,
33317 _swigc__p_wxMDIClientWindow,
33318 _swigc__p_wxMDIParentFrame,
33319 _swigc__p_wxMaximizeEvent,
33320 _swigc__p_wxMenu,
33321 _swigc__p_wxMenuBar,
33322 _swigc__p_wxMenuEvent,
33323 _swigc__p_wxMenuItem,
33324 _swigc__p_wxMessageDialog,
33325 _swigc__p_wxMiniFrame,
33326 _swigc__p_wxMouseCaptureChangedEvent,
33327 _swigc__p_wxMouseCaptureLostEvent,
33328 _swigc__p_wxMouseEvent,
33329 _swigc__p_wxMoveEvent,
33330 _swigc__p_wxMultiChoiceDialog,
33331 _swigc__p_wxNavigationKeyEvent,
33332 _swigc__p_wxNcPaintEvent,
33333 _swigc__p_wxNotifyEvent,
33334 _swigc__p_wxNumberEntryDialog,
33335 _swigc__p_wxObject,
33336 _swigc__p_wxPCXHandler,
33337 _swigc__p_wxPNGHandler,
33338 _swigc__p_wxPNMHandler,
33339 _swigc__p_wxPageSetupDialog,
33340 _swigc__p_wxPageSetupDialogData,
33341 _swigc__p_wxPaintEvent,
33342 _swigc__p_wxPaletteChangedEvent,
33343 _swigc__p_wxPanel,
33344 _swigc__p_wxPaperSize,
33345 _swigc__p_wxPasswordEntryDialog,
33346 _swigc__p_wxPoint,
33347 _swigc__p_wxPopupWindow,
33348 _swigc__p_wxPreviewCanvas,
33349 _swigc__p_wxPreviewControlBar,
33350 _swigc__p_wxPreviewFrame,
33351 _swigc__p_wxPrintData,
33352 _swigc__p_wxPrintDialog,
33353 _swigc__p_wxPrintDialogData,
33354 _swigc__p_wxPrintPreview,
33355 _swigc__p_wxPrinter,
33356 _swigc__p_wxProgressDialog,
33357 _swigc__p_wxPyApp,
33358 _swigc__p_wxPyCommandEvent,
33359 _swigc__p_wxPyEvent,
33360 _swigc__p_wxPyHtmlListBox,
33361 _swigc__p_wxPyImageHandler,
33362 _swigc__p_wxPyPanel,
33363 _swigc__p_wxPyPopupTransientWindow,
33364 _swigc__p_wxPyPreviewControlBar,
33365 _swigc__p_wxPyPreviewFrame,
33366 _swigc__p_wxPyPrintPreview,
33367 _swigc__p_wxPyPrintout,
33368 _swigc__p_wxPyScrolledWindow,
33369 _swigc__p_wxPySizer,
33370 _swigc__p_wxPyTaskBarIcon,
33371 _swigc__p_wxPyVListBox,
33372 _swigc__p_wxPyVScrolledWindow,
33373 _swigc__p_wxPyValidator,
33374 _swigc__p_wxPyWindow,
33375 _swigc__p_wxQueryLayoutInfoEvent,
33376 _swigc__p_wxQueryNewPaletteEvent,
33377 _swigc__p_wxRect,
33378 _swigc__p_wxRegion,
33379 _swigc__p_wxSashEvent,
33380 _swigc__p_wxSashLayoutWindow,
33381 _swigc__p_wxSashWindow,
33382 _swigc__p_wxScrollEvent,
33383 _swigc__p_wxScrollWinEvent,
33384 _swigc__p_wxScrolledWindow,
33385 _swigc__p_wxSetCursorEvent,
33386 _swigc__p_wxShowEvent,
33387 _swigc__p_wxSingleChoiceDialog,
33388 _swigc__p_wxSize,
33389 _swigc__p_wxSizeEvent,
33390 _swigc__p_wxSizer,
33391 _swigc__p_wxSizerItem,
33392 _swigc__p_wxSplashScreen,
33393 _swigc__p_wxSplashScreenWindow,
33394 _swigc__p_wxSplitterEvent,
33395 _swigc__p_wxSplitterWindow,
33396 _swigc__p_wxStaticBoxSizer,
33397 _swigc__p_wxStatusBar,
33398 _swigc__p_wxStdDialogButtonSizer,
33399 _swigc__p_wxString,
33400 _swigc__p_wxSysColourChangedEvent,
33401 _swigc__p_wxTIFFHandler,
33402 _swigc__p_wxTaskBarIcon,
33403 _swigc__p_wxTaskBarIconEvent,
33404 _swigc__p_wxTextEntryDialog,
33405 _swigc__p_wxTipWindow,
33406 _swigc__p_wxToolBar,
33407 _swigc__p_wxTopLevelWindow,
33408 _swigc__p_wxUpdateUIEvent,
33409 _swigc__p_wxValidator,
33410 _swigc__p_wxVisualAttributes,
33411 _swigc__p_wxWindow,
33412 _swigc__p_wxWindowCreateEvent,
33413 _swigc__p_wxWindowDestroyEvent,
33414 _swigc__p_wxXPMHandler,
33415 };
33416
33417
33418 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33419
33420 static swig_const_info swig_const_table[] = {
33421 {0, 0, 0, 0.0, 0, 0}};
33422
33423 #ifdef __cplusplus
33424 }
33425 #endif
33426 /* -----------------------------------------------------------------------------
33427 * Type initialization:
33428 * This problem is tough by the requirement that no dynamic
33429 * memory is used. Also, since swig_type_info structures store pointers to
33430 * swig_cast_info structures and swig_cast_info structures store pointers back
33431 * to swig_type_info structures, we need some lookup code at initialization.
33432 * The idea is that swig generates all the structures that are needed.
33433 * The runtime then collects these partially filled structures.
33434 * The SWIG_InitializeModule function takes these initial arrays out of
33435 * swig_module, and does all the lookup, filling in the swig_module.types
33436 * array with the correct data and linking the correct swig_cast_info
33437 * structures together.
33438 *
33439 * The generated swig_type_info structures are assigned staticly to an initial
33440 * array. We just loop though that array, and handle each type individually.
33441 * First we lookup if this type has been already loaded, and if so, use the
33442 * loaded structure instead of the generated one. Then we have to fill in the
33443 * cast linked list. The cast data is initially stored in something like a
33444 * two-dimensional array. Each row corresponds to a type (there are the same
33445 * number of rows as there are in the swig_type_initial array). Each entry in
33446 * a column is one of the swig_cast_info structures for that type.
33447 * The cast_initial array is actually an array of arrays, because each row has
33448 * a variable number of columns. So to actually build the cast linked list,
33449 * we find the array of casts associated with the type, and loop through it
33450 * adding the casts to the list. The one last trick we need to do is making
33451 * sure the type pointer in the swig_cast_info struct is correct.
33452 *
33453 * First off, we lookup the cast->type name to see if it is already loaded.
33454 * There are three cases to handle:
33455 * 1) If the cast->type has already been loaded AND the type we are adding
33456 * casting info to has not been loaded (it is in this module), THEN we
33457 * replace the cast->type pointer with the type pointer that has already
33458 * been loaded.
33459 * 2) If BOTH types (the one we are adding casting info to, and the
33460 * cast->type) are loaded, THEN the cast info has already been loaded by
33461 * the previous module so we just ignore it.
33462 * 3) Finally, if cast->type has not already been loaded, then we add that
33463 * swig_cast_info to the linked list (because the cast->type) pointer will
33464 * be correct.
33465 * ----------------------------------------------------------------------------- */
33466
33467 #ifdef __cplusplus
33468 extern "C" {
33469 #if 0
33470 } /* c-mode */
33471 #endif
33472 #endif
33473
33474 #if 0
33475 #define SWIGRUNTIME_DEBUG
33476 #endif
33477
33478 SWIGRUNTIME void
33479 SWIG_InitializeModule(void *clientdata) {
33480 size_t i;
33481 swig_module_info *module_head;
33482 static int init_run = 0;
33483
33484 clientdata = clientdata;
33485
33486 if (init_run) return;
33487 init_run = 1;
33488
33489 /* Initialize the swig_module */
33490 swig_module.type_initial = swig_type_initial;
33491 swig_module.cast_initial = swig_cast_initial;
33492
33493 /* Try and load any already created modules */
33494 module_head = SWIG_GetModule(clientdata);
33495 if (module_head) {
33496 swig_module.next = module_head->next;
33497 module_head->next = &swig_module;
33498 } else {
33499 /* This is the first module loaded */
33500 swig_module.next = &swig_module;
33501 SWIG_SetModule(clientdata, &swig_module);
33502 }
33503
33504 /* Now work on filling in swig_module.types */
33505 #ifdef SWIGRUNTIME_DEBUG
33506 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33507 #endif
33508 for (i = 0; i < swig_module.size; ++i) {
33509 swig_type_info *type = 0;
33510 swig_type_info *ret;
33511 swig_cast_info *cast;
33512
33513 #ifdef SWIGRUNTIME_DEBUG
33514 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33515 #endif
33516
33517 /* if there is another module already loaded */
33518 if (swig_module.next != &swig_module) {
33519 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33520 }
33521 if (type) {
33522 /* Overwrite clientdata field */
33523 #ifdef SWIGRUNTIME_DEBUG
33524 printf("SWIG_InitializeModule: found type %s\n", type->name);
33525 #endif
33526 if (swig_module.type_initial[i]->clientdata) {
33527 type->clientdata = swig_module.type_initial[i]->clientdata;
33528 #ifdef SWIGRUNTIME_DEBUG
33529 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33530 #endif
33531 }
33532 } else {
33533 type = swig_module.type_initial[i];
33534 }
33535
33536 /* Insert casting types */
33537 cast = swig_module.cast_initial[i];
33538 while (cast->type) {
33539 /* Don't need to add information already in the list */
33540 ret = 0;
33541 #ifdef SWIGRUNTIME_DEBUG
33542 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33543 #endif
33544 if (swig_module.next != &swig_module) {
33545 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33546 #ifdef SWIGRUNTIME_DEBUG
33547 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33548 #endif
33549 }
33550 if (ret) {
33551 if (type == swig_module.type_initial[i]) {
33552 #ifdef SWIGRUNTIME_DEBUG
33553 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33554 #endif
33555 cast->type = ret;
33556 ret = 0;
33557 } else {
33558 /* Check for casting already in the list */
33559 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33560 #ifdef SWIGRUNTIME_DEBUG
33561 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33562 #endif
33563 if (!ocast) ret = 0;
33564 }
33565 }
33566
33567 if (!ret) {
33568 #ifdef SWIGRUNTIME_DEBUG
33569 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33570 #endif
33571 if (type->cast) {
33572 type->cast->prev = cast;
33573 cast->next = type->cast;
33574 }
33575 type->cast = cast;
33576 }
33577 cast++;
33578 }
33579 /* Set entry in modules->types array equal to the type */
33580 swig_module.types[i] = type;
33581 }
33582 swig_module.types[i] = 0;
33583
33584 #ifdef SWIGRUNTIME_DEBUG
33585 printf("**** SWIG_InitializeModule: Cast List ******\n");
33586 for (i = 0; i < swig_module.size; ++i) {
33587 int j = 0;
33588 swig_cast_info *cast = swig_module.cast_initial[i];
33589 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33590 while (cast->type) {
33591 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33592 cast++;
33593 ++j;
33594 }
33595 printf("---- Total casts: %d\n",j);
33596 }
33597 printf("**** SWIG_InitializeModule: Cast List ******\n");
33598 #endif
33599 }
33600
33601 /* This function will propagate the clientdata field of type to
33602 * any new swig_type_info structures that have been added into the list
33603 * of equivalent types. It is like calling
33604 * SWIG_TypeClientData(type, clientdata) a second time.
33605 */
33606 SWIGRUNTIME void
33607 SWIG_PropagateClientData(void) {
33608 size_t i;
33609 swig_cast_info *equiv;
33610 static int init_run = 0;
33611
33612 if (init_run) return;
33613 init_run = 1;
33614
33615 for (i = 0; i < swig_module.size; i++) {
33616 if (swig_module.types[i]->clientdata) {
33617 equiv = swig_module.types[i]->cast;
33618 while (equiv) {
33619 if (!equiv->converter) {
33620 if (equiv->type && !equiv->type->clientdata)
33621 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33622 }
33623 equiv = equiv->next;
33624 }
33625 }
33626 }
33627 }
33628
33629 #ifdef __cplusplus
33630 #if 0
33631 {
33632 /* c-mode */
33633 #endif
33634 }
33635 #endif
33636
33637
33638
33639 #ifdef __cplusplus
33640 extern "C" {
33641 #endif
33642
33643 /* Python-specific SWIG API */
33644 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33645 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33646 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33647
33648 /* -----------------------------------------------------------------------------
33649 * global variable support code.
33650 * ----------------------------------------------------------------------------- */
33651
33652 typedef struct swig_globalvar {
33653 char *name; /* Name of global variable */
33654 PyObject *(*get_attr)(void); /* Return the current value */
33655 int (*set_attr)(PyObject *); /* Set the value */
33656 struct swig_globalvar *next;
33657 } swig_globalvar;
33658
33659 typedef struct swig_varlinkobject {
33660 PyObject_HEAD
33661 swig_globalvar *vars;
33662 } swig_varlinkobject;
33663
33664 SWIGINTERN PyObject *
33665 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33666 return PyString_FromString("<Swig global variables>");
33667 }
33668
33669 SWIGINTERN PyObject *
33670 swig_varlink_str(swig_varlinkobject *v) {
33671 PyObject *str = PyString_FromString("(");
33672 swig_globalvar *var;
33673 for (var = v->vars; var; var=var->next) {
33674 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33675 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33676 }
33677 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33678 return str;
33679 }
33680
33681 SWIGINTERN int
33682 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33683 PyObject *str = swig_varlink_str(v);
33684 fprintf(fp,"Swig global variables ");
33685 fprintf(fp,"%s\n", PyString_AsString(str));
33686 Py_DECREF(str);
33687 return 0;
33688 }
33689
33690 SWIGINTERN void
33691 swig_varlink_dealloc(swig_varlinkobject *v) {
33692 swig_globalvar *var = v->vars;
33693 while (var) {
33694 swig_globalvar *n = var->next;
33695 free(var->name);
33696 free(var);
33697 var = n;
33698 }
33699 }
33700
33701 SWIGINTERN PyObject *
33702 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33703 PyObject *res = NULL;
33704 swig_globalvar *var = v->vars;
33705 while (var) {
33706 if (strcmp(var->name,n) == 0) {
33707 res = (*var->get_attr)();
33708 break;
33709 }
33710 var = var->next;
33711 }
33712 if (res == NULL && !PyErr_Occurred()) {
33713 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33714 }
33715 return res;
33716 }
33717
33718 SWIGINTERN int
33719 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33720 int res = 1;
33721 swig_globalvar *var = v->vars;
33722 while (var) {
33723 if (strcmp(var->name,n) == 0) {
33724 res = (*var->set_attr)(p);
33725 break;
33726 }
33727 var = var->next;
33728 }
33729 if (res == 1 && !PyErr_Occurred()) {
33730 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33731 }
33732 return res;
33733 }
33734
33735 SWIGINTERN PyTypeObject*
33736 swig_varlink_type(void) {
33737 static char varlink__doc__[] = "Swig var link object";
33738 static PyTypeObject varlink_type;
33739 static int type_init = 0;
33740 if (!type_init) {
33741 const PyTypeObject tmp
33742 = {
33743 PyObject_HEAD_INIT(NULL)
33744 0, /* Number of items in variable part (ob_size) */
33745 (char *)"swigvarlink", /* Type name (tp_name) */
33746 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33747 0, /* Itemsize (tp_itemsize) */
33748 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33749 (printfunc) swig_varlink_print, /* Print (tp_print) */
33750 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33751 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33752 0, /* tp_compare */
33753 (reprfunc) swig_varlink_repr, /* tp_repr */
33754 0, /* tp_as_number */
33755 0, /* tp_as_sequence */
33756 0, /* tp_as_mapping */
33757 0, /* tp_hash */
33758 0, /* tp_call */
33759 (reprfunc)swig_varlink_str, /* tp_str */
33760 0, /* tp_getattro */
33761 0, /* tp_setattro */
33762 0, /* tp_as_buffer */
33763 0, /* tp_flags */
33764 varlink__doc__, /* tp_doc */
33765 0, /* tp_traverse */
33766 0, /* tp_clear */
33767 0, /* tp_richcompare */
33768 0, /* tp_weaklistoffset */
33769 #if PY_VERSION_HEX >= 0x02020000
33770 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33771 #endif
33772 #if PY_VERSION_HEX >= 0x02030000
33773 0, /* tp_del */
33774 #endif
33775 #ifdef COUNT_ALLOCS
33776 0,0,0,0 /* tp_alloc -> tp_next */
33777 #endif
33778 };
33779 varlink_type = tmp;
33780 varlink_type.ob_type = &PyType_Type;
33781 type_init = 1;
33782 }
33783 return &varlink_type;
33784 }
33785
33786 /* Create a variable linking object for use later */
33787 SWIGINTERN PyObject *
33788 SWIG_Python_newvarlink(void) {
33789 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33790 if (result) {
33791 result->vars = 0;
33792 }
33793 return ((PyObject*) result);
33794 }
33795
33796 SWIGINTERN void
33797 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33798 swig_varlinkobject *v = (swig_varlinkobject *) p;
33799 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33800 if (gv) {
33801 size_t size = strlen(name)+1;
33802 gv->name = (char *)malloc(size);
33803 if (gv->name) {
33804 strncpy(gv->name,name,size);
33805 gv->get_attr = get_attr;
33806 gv->set_attr = set_attr;
33807 gv->next = v->vars;
33808 }
33809 }
33810 v->vars = gv;
33811 }
33812
33813 SWIGINTERN PyObject *
33814 SWIG_globals() {
33815 static PyObject *_SWIG_globals = 0;
33816 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33817 return _SWIG_globals;
33818 }
33819
33820 /* -----------------------------------------------------------------------------
33821 * constants/methods manipulation
33822 * ----------------------------------------------------------------------------- */
33823
33824 /* Install Constants */
33825 SWIGINTERN void
33826 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33827 PyObject *obj = 0;
33828 size_t i;
33829 for (i = 0; constants[i].type; ++i) {
33830 switch(constants[i].type) {
33831 case SWIG_PY_POINTER:
33832 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33833 break;
33834 case SWIG_PY_BINARY:
33835 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33836 break;
33837 default:
33838 obj = 0;
33839 break;
33840 }
33841 if (obj) {
33842 PyDict_SetItemString(d, constants[i].name, obj);
33843 Py_DECREF(obj);
33844 }
33845 }
33846 }
33847
33848 /* -----------------------------------------------------------------------------*/
33849 /* Fix SwigMethods to carry the callback ptrs when needed */
33850 /* -----------------------------------------------------------------------------*/
33851
33852 SWIGINTERN void
33853 SWIG_Python_FixMethods(PyMethodDef *methods,
33854 swig_const_info *const_table,
33855 swig_type_info **types,
33856 swig_type_info **types_initial) {
33857 size_t i;
33858 for (i = 0; methods[i].ml_name; ++i) {
33859 const char *c = methods[i].ml_doc;
33860 if (c && (c = strstr(c, "swig_ptr: "))) {
33861 int j;
33862 swig_const_info *ci = 0;
33863 const char *name = c + 10;
33864 for (j = 0; const_table[j].type; ++j) {
33865 if (strncmp(const_table[j].name, name,
33866 strlen(const_table[j].name)) == 0) {
33867 ci = &(const_table[j]);
33868 break;
33869 }
33870 }
33871 if (ci) {
33872 size_t shift = (ci->ptype) - types;
33873 swig_type_info *ty = types_initial[shift];
33874 size_t ldoc = (c - methods[i].ml_doc);
33875 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33876 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33877 if (ndoc) {
33878 char *buff = ndoc;
33879 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33880 if (ptr) {
33881 strncpy(buff, methods[i].ml_doc, ldoc);
33882 buff += ldoc;
33883 strncpy(buff, "swig_ptr: ", 10);
33884 buff += 10;
33885 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33886 methods[i].ml_doc = ndoc;
33887 }
33888 }
33889 }
33890 }
33891 }
33892 }
33893
33894 #ifdef __cplusplus
33895 }
33896 #endif
33897
33898 /* -----------------------------------------------------------------------------*
33899 * Partial Init method
33900 * -----------------------------------------------------------------------------*/
33901
33902 #ifdef __cplusplus
33903 extern "C"
33904 #endif
33905 SWIGEXPORT void SWIG_init(void) {
33906 PyObject *m, *d;
33907
33908 /* Fix SwigMethods to carry the callback ptrs when needed */
33909 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33910
33911 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33912 d = PyModule_GetDict(m);
33913
33914 SWIG_InitializeModule(0);
33915 SWIG_InstallConstants(d,swig_const_table);
33916
33917
33918 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33919 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33920 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33921 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33922 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33923 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33924 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33925 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33926 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33927 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33928 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33929 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33930 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33931 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33932 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33933 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33934 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33935 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33936 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33937 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33938 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33939 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33940 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33941 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33942 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33943 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33944 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33945 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33946 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33947 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
33948 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33949 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33950 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33951 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33952 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
33953 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
33954 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33955 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33956 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33957 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33958 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33959 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33960 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33961 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33962 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33963 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33964 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33965 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33966 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33967 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33968 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33969 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33970 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33971 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33972 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33973 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33974 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33975 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33976 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33977 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33978 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33979 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33980 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33981 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33982 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33983 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33984 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33985 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33986 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33987 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33988 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33989 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33990 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33991 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33992 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33993 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33994 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33995 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33996 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33997 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33998 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33999 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34000 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34001 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34002 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34003 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34004 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34005 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34006 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34007 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34008 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34009 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34010 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34011 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34012 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34013 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34014 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34015 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34016 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34017 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34018 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34019 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34020 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34021 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34022 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34023
34024 // Map renamed classes back to their common name for OOR
34025 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34026 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34027 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34028
34029 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34030 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34031 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34032 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34033 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34034 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34035 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34036 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34037 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34038 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34039 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34040 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34041 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34042 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34043 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34044 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34045 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34046 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34047 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34048 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34049 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34050 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34051 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34052 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34053 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34054 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34055 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34056 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34057 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34058 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34059 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34060 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34061 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34062 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34063 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34064 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34065 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34066 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34067 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34068 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34069 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34070 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34071 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34072 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34073 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34074 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34075 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34076 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34077 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34078 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34079 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34080 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34081 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34082 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34083 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34084 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34085 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34086 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34087 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34088 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34089 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34090 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34091 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34092 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34093 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34094 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34095 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34096 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34097 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34098 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34099 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34100 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34101 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34102 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34103 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34104 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34105 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34106 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34107 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34108 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34109 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34110 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34111 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34112 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34113 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34114 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34115 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34116 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34117 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34118 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34119 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34120 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34121 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34122 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34123 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34124 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34125 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34126 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34127 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34128 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34129 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34130 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34131 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34132 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34133
34134 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34135
34136 }
34137