]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
remove unused any more wxArrayHandlers
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_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){
2824 int style = self->GetExtraStyle();
2825 if ( on )
2826 style |= wxFRAME_EX_METAL;
2827 else
2828 style &= ~wxFRAME_EX_METAL;
2829 self->SetExtraStyle(style);
2830 }
2831 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2832
2833
2834 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843 #include <wx/popupwin.h>
2844
2845
2846 class wxPopupWindow : public wxWindow {
2847 public:
2848 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2850 };
2851
2852 class wxPyPopupTransientWindow : public wxPopupWindow
2853 {
2854 public:
2855 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2857 };
2858
2859
2860 #include <wx/tipwin.h>
2861
2862 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2863 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2864 }
2865
2866 #include <wx/tipwin.h>
2867
2868
2869 #include <wx/vscroll.h>
2870
2871
2872 class wxPyVScrolledWindow : public wxVScrolledWindow
2873 {
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2875 public:
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877
2878 wxPyVScrolledWindow(wxWindow *parent,
2879 wxWindowID id = wxID_ANY,
2880 const wxPoint& pos = wxDefaultPosition,
2881 const wxSize& size = wxDefaultSize,
2882 long style = 0,
2883 const wxString& name = wxPyPanelNameStr)
2884 : wxVScrolledWindow(parent, id, pos, size, style, name)
2885 {}
2886
2887 // Overridable virtuals
2888
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2892
2893
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2897 // once
2898 //
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2904 //
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 // usual
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2908
2909
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2914 // its own logic
2915 //
2916 // this function should return the best guess for the total height it may
2917 // make
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2919
2920
2921 // Also expose some other interesting protected methods
2922
2923
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2928
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2933
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2939
2940 PYPRIVATE;
2941 };
2942
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2944
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2948
2949
2950 SWIGINTERN int
2951 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2952 {
2953 long v = 0;
2954 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2955 return SWIG_TypeError;
2956 }
2957 else if (val)
2958 *val = (unsigned long)v;
2959 return SWIG_OK;
2960 }
2961
2962
2963 SWIGINTERNINLINE int
2964 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2965 {
2966 unsigned long v;
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject*
2974 SWIG_From_unsigned_SS_long (unsigned long value)
2975 {
2976 return (value > LONG_MAX) ?
2977 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2978 }
2979
2980
2981 SWIGINTERNINLINE PyObject *
2982 SWIG_From_size_t (size_t value)
2983 {
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2985 }
2986
2987
2988 #include <wx/vlbox.h>
2989
2990 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2991
2992 class wxPyVListBox : public wxVListBox
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2995 public:
2996 wxPyVListBox() : wxVListBox() {}
2997
2998 wxPyVListBox(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyVListBoxNameStr)
3004 : wxVListBox(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3013
3014
3015 // the derived class must implement this method to return the height of the
3016 // specified item
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3019
3020
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3024 //
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3028
3029
3030 // this method is used to draw the items background and, maybe, a border
3031 // around it
3032 //
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3036 // current
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3039
3040
3041 PYPRIVATE;
3042 };
3043
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3045
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3050
3051
3052 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3053 unsigned long cookie = 0;
3054 int selected = self->GetFirstSelected(cookie);
3055 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3056 PyObject* tup = PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3058 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3059 wxPyEndBlockThreads(blocked);
3060 return tup;
3061 }
3062 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3063 int selected = self->GetNextSelected(cookie);
3064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3065 PyObject* tup = PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3067 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3068 wxPyEndBlockThreads(blocked);
3069 return tup;
3070 }
3071
3072 #include <wx/htmllbox.h>
3073
3074
3075 class wxPyHtmlListBox : public wxHtmlListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3078 public:
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3080
3081 wxPyHtmlListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxHtmlListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3095
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3098
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3102
3103 // TODO:
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3107 // //
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116
3117
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n,
3121 const wxHtmlLinkInfo& link);
3122
3123 PYPRIVATE;
3124 };
3125
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3128
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3133
3134
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link) {
3137 bool found;
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3140 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3142 Py_DECREF(obj);
3143 }
3144 wxPyEndBlockThreads(blocked);
3145 if (! found)
3146 wxPyHtmlListBox::OnLinkClicked(n, link);
3147 }
3148
3149
3150
3151
3152
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3155
3156 class wxTaskBarIcon : public wxEvtHandler
3157 {
3158 public:
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3160 };
3161
3162
3163 class wxTaskBarIconEvent : public wxEvent
3164 {
3165 public:
3166 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent* Clone() const { return NULL; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu *menu) { return false; }
3174 };
3175
3176 enum {
3177 wxEVT_TASKBAR_MOVE = 0,
3178 wxEVT_TASKBAR_LEFT_DOWN = 0,
3179 wxEVT_TASKBAR_LEFT_UP = 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3181 wxEVT_TASKBAR_RIGHT_UP = 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3184 };
3185
3186
3187 #else
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon : public wxTaskBarIcon
3190 {
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3192 public:
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 {}
3195
3196 wxMenu* CreatePopupMenu() {
3197 wxMenu *rval = NULL;
3198 bool found;
3199 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3200 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3201 PyObject* ro;
3202 wxMenu* ptr;
3203 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3204 if (ro) {
3205 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3206 rval = ptr;
3207 Py_DECREF(ro);
3208 }
3209 }
3210 wxPyEndBlockThreads(blocked);
3211 if (! found)
3212 rval = wxTaskBarIcon::CreatePopupMenu();
3213 return rval;
3214 }
3215
3216 PYPRIVATE;
3217 };
3218
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3220
3221 #endif
3222
3223 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3224 self->RemoveIcon();
3225 delete self;
3226 }
3227 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3228 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3229 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3230 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3231 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3232 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3233
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3236
3237 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3238 wxArrayString arr;
3239 self->GetFilenames(arr);
3240 return wxArrayString2PyList_helper(arr);
3241 }
3242 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3243 wxArrayString arr;
3244 self->GetPaths(arr);
3245 return wxArrayString2PyList_helper(arr);
3246 }
3247 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3248 return wxArrayInt2PyList_helper(self->GetSelections());
3249 }
3250 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3251 return new wxSingleChoiceDialog(parent, message, caption,
3252 choices, choices_array, NULL, style, pos);
3253 }
3254 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3255
3256 SWIGINTERNINLINE PyObject*
3257 SWIG_From_bool (bool value)
3258 {
3259 return PyBool_FromLong(value ? 1 : 0);
3260 }
3261
3262
3263 #include <wx/mdi.h>
3264
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow : public wxWindow
3267 {
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3269 public:
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow* parent, const wxWindowID id,
3272 const wxPoint& pos = wxDefaultPosition,
3273 const wxSize& size = wxDefaultSize,
3274 long style = 0,
3275 const wxString& name = wxPyPanelNameStr)
3276 : wxWindow(parent, id, pos, size, style, name) {}
3277
3278 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3279
3280 bool DoEraseBackground(wxDC* dc) {
3281 #ifdef __WXMSW__
3282 return wxWindow::DoEraseBackground(dc->GetHDC());
3283 #else
3284 dc->SetBackground(wxBrush(GetBackgroundColour()));
3285 dc->Clear();
3286 return true;
3287 #endif
3288 }
3289
3290 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3291 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3294
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3298
3299 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3300 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3301
3302 DEC_PYCALLBACK__(InitDialog);
3303 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3304 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3305 DEC_PYCALLBACK_BOOL_(Validate);
3306
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3309 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3310
3311 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3313
3314 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3315 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3316
3317 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3318
3319 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3320
3321 PYPRIVATE;
3322 };
3323
3324 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3325
3326 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3327 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3330
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3334
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3337
3338 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3342
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3346
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3349
3350 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3351 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3352
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3354
3355 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3356
3357 // C++ version of Python aware wxPanel
3358 class wxPyPanel : public wxPanel
3359 {
3360 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3361 public:
3362 wxPyPanel() : wxPanel() {}
3363 wxPyPanel(wxWindow* parent, const wxWindowID id,
3364 const wxPoint& pos = wxDefaultPosition,
3365 const wxSize& size = wxDefaultSize,
3366 long style = 0,
3367 const wxString& name = wxPyPanelNameStr)
3368 : wxPanel(parent, id, pos, size, style, name) {}
3369
3370 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3371 bool DoEraseBackground(wxDC* dc) {
3372 #ifdef __WXMSW__
3373 return wxWindow::DoEraseBackground(dc->GetHDC());
3374 #else
3375 dc->SetBackground(wxBrush(GetBackgroundColour()));
3376 dc->Clear();
3377 return true;
3378 #endif
3379 }
3380
3381
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3386
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3390
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3393
3394 DEC_PYCALLBACK__(InitDialog);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3397 DEC_PYCALLBACK_BOOL_(Validate);
3398
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3402
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3405
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3408
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3410
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3412
3413 PYPRIVATE;
3414 };
3415
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3417
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3422
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3426
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3429
3430 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3434
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3438
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3444
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3446
3447 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3448
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow : public wxScrolledWindow
3451 {
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3453 public:
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3456 const wxPoint& pos = wxDefaultPosition,
3457 const wxSize& size = wxDefaultSize,
3458 long style = 0,
3459 const wxString& name = wxPyPanelNameStr)
3460 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3461
3462 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3463 bool DoEraseBackground(wxDC* dc) {
3464 #ifdef __WXMSW__
3465 return wxWindow::DoEraseBackground(dc->GetHDC());
3466 #else
3467 dc->SetBackground(wxBrush(GetBackgroundColour()));
3468 dc->Clear();
3469 return true;
3470 #endif
3471 }
3472
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3477
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3481
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3484
3485 DEC_PYCALLBACK__(InitDialog);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3488 DEC_PYCALLBACK_BOOL_(Validate);
3489
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3493
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3496
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3499
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3501
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3503
3504 PYPRIVATE;
3505 };
3506
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3508
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3513
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3517
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3520
3521 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3525
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3529
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3535
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3537
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3539
3540
3541 #include "wx/wxPython/printfw.h"
3542
3543
3544 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3547 PyObject* data;
3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3549 data = PyString_FromStringAndSize(self->GetPrivData(),
3550 self->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked);
3552 return data;
3553 }
3554 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3555 if (! PyString_Check(data)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3557 "Expected string object"));
3558 return /* NULL */ ;
3559 }
3560
3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3562 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3563 wxPyEndBlockThreads(blocked);
3564 }
3565
3566
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3568
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3571 bool hadErr = false;
3572 bool found;
3573
3574 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3575 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3576 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3577 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3578 PyObject* val;
3579
3580 val = PyTuple_GetItem(result, 0);
3581 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 1);
3585 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3586 else hadErr = true;
3587
3588 val = PyTuple_GetItem(result, 2);
3589 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3590 else hadErr = true;
3591
3592 val = PyTuple_GetItem(result, 3);
3593 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3594 else hadErr = true;
3595 }
3596 else
3597 hadErr = true;
3598
3599 if (hadErr) {
3600 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3601 PyErr_Print();
3602 }
3603 Py_DECREF(result);
3604 }
3605 wxPyEndBlockThreads(blocked);
3606 if (! found)
3607 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3608 }
3609
3610
3611
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3616 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3619
3620
3621
3622
3623
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626
3627
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 bool rval=false; \
3631 bool found; \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 Py_DECREF(win); \
3638 Py_DECREF(dc); \
3639 } \
3640 wxPyEndBlockThreads(blocked); \
3641 if (! found) \
3642 rval = PCLASS::CBNAME(a, b); \
3643 return rval; \
3644 }
3645
3646
3647
3648
3649 class wxPyPrintPreview : public wxPrintPreview
3650 {
3651 DECLARE_CLASS(wxPyPrintPreview)
3652 public:
3653 wxPyPrintPreview(wxPyPrintout* printout,
3654 wxPyPrintout* printoutForPrinting,
3655 wxPrintDialogData* data=NULL)
3656 : wxPrintPreview(printout, printoutForPrinting, data)
3657 {}
3658 wxPyPrintPreview(wxPyPrintout* printout,
3659 wxPyPrintout* printoutForPrinting,
3660 wxPrintData* data)
3661 : wxPrintPreview(printout, printoutForPrinting, data)
3662 {}
3663
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling);
3671
3672 PYPRIVATE;
3673 };
3674
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3680 #else
3681 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3682 #endif
3683
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3691
3692
3693 class wxPyPreviewFrame : public wxPreviewFrame
3694 {
3695 DECLARE_CLASS(wxPyPreviewFrame)
3696 public:
3697 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3698 const wxString& title,
3699 const wxPoint& pos = wxDefaultPosition,
3700 const wxSize& size = wxDefaultSize,
3701 long style = wxDEFAULT_FRAME_STYLE,
3702 const wxString& name = wxPyFrameNameStr)
3703 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3704 {}
3705
3706 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3707 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3708
3709 DEC_PYCALLBACK_VOID_(Initialize);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar);
3712
3713 PYPRIVATE;
3714 };
3715
3716 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3717
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3721
3722
3723 class wxPyPreviewControlBar : public wxPreviewControlBar
3724 {
3725 DECLARE_CLASS(wxPyPreviewControlBar)
3726 public:
3727 wxPyPreviewControlBar(wxPrintPreview *preview,
3728 long buttons,
3729 wxWindow *parent,
3730 const wxPoint& pos = wxDefaultPosition,
3731 const wxSize& size = wxDefaultSize,
3732 long style = 0,
3733 const wxString& name = wxPyPanelNameStr)
3734 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3735 {}
3736
3737 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3738
3739 DEC_PYCALLBACK_VOID_(CreateButtons);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3741
3742 PYPRIVATE;
3743 };
3744
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3748
3749 #ifdef __cplusplus
3750 extern "C" {
3751 #endif
3752 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj = 0;
3754 wxWindow *arg1 = (wxWindow *) 0 ;
3755 int arg2 = (int) (int)-1 ;
3756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3758 wxSize const &arg4_defvalue = wxDefaultSize ;
3759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3760 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3761 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3762 wxString *arg6 = (wxString *) &arg6_defvalue ;
3763 wxPanel *result = 0 ;
3764 void *argp1 = 0 ;
3765 int res1 = 0 ;
3766 int val2 ;
3767 int ecode2 = 0 ;
3768 wxPoint temp3 ;
3769 wxSize temp4 ;
3770 long val5 ;
3771 int ecode5 = 0 ;
3772 bool temp6 = false ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 PyObject * obj2 = 0 ;
3776 PyObject * obj3 = 0 ;
3777 PyObject * obj4 = 0 ;
3778 PyObject * obj5 = 0 ;
3779 char * kwnames[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 };
3782
3783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3785 if (!SWIG_IsOK(res1)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 }
3788 arg1 = reinterpret_cast< wxWindow * >(argp1);
3789 if (obj1) {
3790 ecode2 = SWIG_AsVal_int(obj1, &val2);
3791 if (!SWIG_IsOK(ecode2)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 }
3794 arg2 = static_cast< int >(val2);
3795 }
3796 if (obj2) {
3797 {
3798 arg3 = &temp3;
3799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3800 }
3801 }
3802 if (obj3) {
3803 {
3804 arg4 = &temp4;
3805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3806 }
3807 }
3808 if (obj4) {
3809 ecode5 = SWIG_AsVal_long(obj4, &val5);
3810 if (!SWIG_IsOK(ecode5)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 }
3813 arg5 = static_cast< long >(val5);
3814 }
3815 if (obj5) {
3816 {
3817 arg6 = wxString_in_helper(obj5);
3818 if (arg6 == NULL) SWIG_fail;
3819 temp6 = true;
3820 }
3821 }
3822 {
3823 if (!wxPyCheckForApp()) SWIG_fail;
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3830 {
3831 if (temp6)
3832 delete arg6;
3833 }
3834 return resultobj;
3835 fail:
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return NULL;
3841 }
3842
3843
3844 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3845 PyObject *resultobj = 0;
3846 wxPanel *result = 0 ;
3847
3848 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3849 {
3850 if (!wxPyCheckForApp()) SWIG_fail;
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxPanel *)new wxPanel();
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj = 0;
3865 wxPanel *arg1 = (wxPanel *) 0 ;
3866 wxWindow *arg2 = (wxWindow *) 0 ;
3867 int arg3 = (int) (int)-1 ;
3868 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3869 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3870 wxSize const &arg5_defvalue = wxDefaultSize ;
3871 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3872 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3873 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3874 wxString *arg7 = (wxString *) &arg7_defvalue ;
3875 bool result;
3876 void *argp1 = 0 ;
3877 int res1 = 0 ;
3878 void *argp2 = 0 ;
3879 int res2 = 0 ;
3880 int val3 ;
3881 int ecode3 = 0 ;
3882 wxPoint temp4 ;
3883 wxSize temp5 ;
3884 long val6 ;
3885 int ecode6 = 0 ;
3886 bool temp7 = false ;
3887 PyObject * obj0 = 0 ;
3888 PyObject * obj1 = 0 ;
3889 PyObject * obj2 = 0 ;
3890 PyObject * obj3 = 0 ;
3891 PyObject * obj4 = 0 ;
3892 PyObject * obj5 = 0 ;
3893 PyObject * obj6 = 0 ;
3894 char * kwnames[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 };
3897
3898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3900 if (!SWIG_IsOK(res1)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 }
3903 arg1 = reinterpret_cast< wxPanel * >(argp1);
3904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3905 if (!SWIG_IsOK(res2)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 }
3908 arg2 = reinterpret_cast< wxWindow * >(argp2);
3909 if (obj2) {
3910 ecode3 = SWIG_AsVal_int(obj2, &val3);
3911 if (!SWIG_IsOK(ecode3)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 }
3914 arg3 = static_cast< int >(val3);
3915 }
3916 if (obj3) {
3917 {
3918 arg4 = &temp4;
3919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3920 }
3921 }
3922 if (obj4) {
3923 {
3924 arg5 = &temp5;
3925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3926 }
3927 }
3928 if (obj5) {
3929 ecode6 = SWIG_AsVal_long(obj5, &val6);
3930 if (!SWIG_IsOK(ecode6)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 }
3933 arg6 = static_cast< long >(val6);
3934 }
3935 if (obj6) {
3936 {
3937 arg7 = wxString_in_helper(obj6);
3938 if (arg7 == NULL) SWIG_fail;
3939 temp7 = true;
3940 }
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
3949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3950 }
3951 {
3952 if (temp7)
3953 delete arg7;
3954 }
3955 return resultobj;
3956 fail:
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return NULL;
3962 }
3963
3964
3965 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3966 PyObject *resultobj = 0;
3967 wxPanel *arg1 = (wxPanel *) 0 ;
3968 void *argp1 = 0 ;
3969 int res1 = 0 ;
3970 PyObject *swig_obj[1] ;
3971
3972 if (!args) SWIG_fail;
3973 swig_obj[0] = args;
3974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3975 if (!SWIG_IsOK(res1)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 }
3978 arg1 = reinterpret_cast< wxPanel * >(argp1);
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 (arg1)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_Py_Void();
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj = 0;
3994 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3995 SwigValueWrapper<wxVisualAttributes > result;
3996 int val1 ;
3997 int ecode1 = 0 ;
3998 PyObject * obj0 = 0 ;
3999 char * kwnames[] = {
4000 (char *) "variant", NULL
4001 };
4002
4003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4004 if (obj0) {
4005 ecode1 = SWIG_AsVal_int(obj0, &val1);
4006 if (!SWIG_IsOK(ecode1)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 }
4009 arg1 = static_cast< wxWindowVariant >(val1);
4010 }
4011 {
4012 if (!wxPyCheckForApp()) SWIG_fail;
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = wxPanel::GetClassDefaultAttributes(arg1);
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4026 PyObject *obj;
4027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4029 return SWIG_Py_Void();
4030 }
4031
4032 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 return SWIG_Python_InitShadowInstance(args);
4034 }
4035
4036 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj = 0;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 = (int) (int)-1 ;
4040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4042 wxSize const &arg4_defvalue = wxDefaultSize ;
4043 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4044 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4045 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4046 wxString *arg6 = (wxString *) &arg6_defvalue ;
4047 wxScrolledWindow *result = 0 ;
4048 void *argp1 = 0 ;
4049 int res1 = 0 ;
4050 int val2 ;
4051 int ecode2 = 0 ;
4052 wxPoint temp3 ;
4053 wxSize temp4 ;
4054 long val5 ;
4055 int ecode5 = 0 ;
4056 bool temp6 = false ;
4057 PyObject * obj0 = 0 ;
4058 PyObject * obj1 = 0 ;
4059 PyObject * obj2 = 0 ;
4060 PyObject * obj3 = 0 ;
4061 PyObject * obj4 = 0 ;
4062 PyObject * obj5 = 0 ;
4063 char * kwnames[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 };
4066
4067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 }
4072 arg1 = reinterpret_cast< wxWindow * >(argp1);
4073 if (obj1) {
4074 ecode2 = SWIG_AsVal_int(obj1, &val2);
4075 if (!SWIG_IsOK(ecode2)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 }
4078 arg2 = static_cast< int >(val2);
4079 }
4080 if (obj2) {
4081 {
4082 arg3 = &temp3;
4083 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4084 }
4085 }
4086 if (obj3) {
4087 {
4088 arg4 = &temp4;
4089 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4090 }
4091 }
4092 if (obj4) {
4093 ecode5 = SWIG_AsVal_long(obj4, &val5);
4094 if (!SWIG_IsOK(ecode5)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 }
4097 arg5 = static_cast< long >(val5);
4098 }
4099 if (obj5) {
4100 {
4101 arg6 = wxString_in_helper(obj5);
4102 if (arg6 == NULL) SWIG_fail;
4103 temp6 = true;
4104 }
4105 }
4106 {
4107 if (!wxPyCheckForApp()) SWIG_fail;
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4114 {
4115 if (temp6)
4116 delete arg6;
4117 }
4118 return resultobj;
4119 fail:
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxScrolledWindow *result = 0 ;
4131
4132 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4133 {
4134 if (!wxPyCheckForApp()) SWIG_fail;
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (wxScrolledWindow *)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj = 0;
4149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4150 wxWindow *arg2 = (wxWindow *) 0 ;
4151 int arg3 = (int) (int)-1 ;
4152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4154 wxSize const &arg5_defvalue = wxDefaultSize ;
4155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4156 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4157 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4158 wxString *arg7 = (wxString *) &arg7_defvalue ;
4159 bool result;
4160 void *argp1 = 0 ;
4161 int res1 = 0 ;
4162 void *argp2 = 0 ;
4163 int res2 = 0 ;
4164 int val3 ;
4165 int ecode3 = 0 ;
4166 wxPoint temp4 ;
4167 wxSize temp5 ;
4168 long val6 ;
4169 int ecode6 = 0 ;
4170 bool temp7 = false ;
4171 PyObject * obj0 = 0 ;
4172 PyObject * obj1 = 0 ;
4173 PyObject * obj2 = 0 ;
4174 PyObject * obj3 = 0 ;
4175 PyObject * obj4 = 0 ;
4176 PyObject * obj5 = 0 ;
4177 PyObject * obj6 = 0 ;
4178 char * kwnames[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 };
4181
4182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4184 if (!SWIG_IsOK(res1)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 }
4187 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4189 if (!SWIG_IsOK(res2)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 }
4192 arg2 = reinterpret_cast< wxWindow * >(argp2);
4193 if (obj2) {
4194 ecode3 = SWIG_AsVal_int(obj2, &val3);
4195 if (!SWIG_IsOK(ecode3)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 }
4198 arg3 = static_cast< int >(val3);
4199 }
4200 if (obj3) {
4201 {
4202 arg4 = &temp4;
4203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4204 }
4205 }
4206 if (obj4) {
4207 {
4208 arg5 = &temp5;
4209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4210 }
4211 }
4212 if (obj5) {
4213 ecode6 = SWIG_AsVal_long(obj5, &val6);
4214 if (!SWIG_IsOK(ecode6)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 }
4217 arg6 = static_cast< long >(val6);
4218 }
4219 if (obj6) {
4220 {
4221 arg7 = wxString_in_helper(obj6);
4222 if (arg7 == NULL) SWIG_fail;
4223 temp7 = true;
4224 }
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 {
4233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4234 }
4235 {
4236 if (temp7)
4237 delete arg7;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj = 0;
4251 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4252 int arg2 ;
4253 int arg3 ;
4254 int arg4 ;
4255 int arg5 ;
4256 int arg6 = (int) 0 ;
4257 int arg7 = (int) 0 ;
4258 bool arg8 = (bool) false ;
4259 void *argp1 = 0 ;
4260 int res1 = 0 ;
4261 int val2 ;
4262 int ecode2 = 0 ;
4263 int val3 ;
4264 int ecode3 = 0 ;
4265 int val4 ;
4266 int ecode4 = 0 ;
4267 int val5 ;
4268 int ecode5 = 0 ;
4269 int val6 ;
4270 int ecode6 = 0 ;
4271 int val7 ;
4272 int ecode7 = 0 ;
4273 bool val8 ;
4274 int ecode8 = 0 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 PyObject * obj2 = 0 ;
4278 PyObject * obj3 = 0 ;
4279 PyObject * obj4 = 0 ;
4280 PyObject * obj5 = 0 ;
4281 PyObject * obj6 = 0 ;
4282 PyObject * obj7 = 0 ;
4283 char * kwnames[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 };
4286
4287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4289 if (!SWIG_IsOK(res1)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 }
4292 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4293 ecode2 = SWIG_AsVal_int(obj1, &val2);
4294 if (!SWIG_IsOK(ecode2)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 }
4297 arg2 = static_cast< int >(val2);
4298 ecode3 = SWIG_AsVal_int(obj2, &val3);
4299 if (!SWIG_IsOK(ecode3)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 }
4302 arg3 = static_cast< int >(val3);
4303 ecode4 = SWIG_AsVal_int(obj3, &val4);
4304 if (!SWIG_IsOK(ecode4)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 }
4307 arg4 = static_cast< int >(val4);
4308 ecode5 = SWIG_AsVal_int(obj4, &val5);
4309 if (!SWIG_IsOK(ecode5)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 }
4312 arg5 = static_cast< int >(val5);
4313 if (obj5) {
4314 ecode6 = SWIG_AsVal_int(obj5, &val6);
4315 if (!SWIG_IsOK(ecode6)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 }
4318 arg6 = static_cast< int >(val6);
4319 }
4320 if (obj6) {
4321 ecode7 = SWIG_AsVal_int(obj6, &val7);
4322 if (!SWIG_IsOK(ecode7)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 }
4325 arg7 = static_cast< int >(val7);
4326 }
4327 if (obj7) {
4328 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4329 if (!SWIG_IsOK(ecode8)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 }
4332 arg8 = static_cast< bool >(val8);
4333 }
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_Py_Void();
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj = 0;
4349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4350 int arg2 ;
4351 int arg3 ;
4352 void *argp1 = 0 ;
4353 int res1 = 0 ;
4354 int val2 ;
4355 int ecode2 = 0 ;
4356 int val3 ;
4357 int ecode3 = 0 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 char * kwnames[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4363 };
4364
4365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4367 if (!SWIG_IsOK(res1)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 }
4370 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4371 ecode2 = SWIG_AsVal_int(obj1, &val2);
4372 if (!SWIG_IsOK(ecode2)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 }
4375 arg2 = static_cast< int >(val2);
4376 ecode3 = SWIG_AsVal_int(obj2, &val3);
4377 if (!SWIG_IsOK(ecode3)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 }
4380 arg3 = static_cast< int >(val3);
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->Scroll(arg2,arg3);
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_Py_Void();
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj = 0;
4396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4397 int arg2 ;
4398 int result;
4399 void *argp1 = 0 ;
4400 int res1 = 0 ;
4401 int val2 ;
4402 int ecode2 = 0 ;
4403 PyObject * obj0 = 0 ;
4404 PyObject * obj1 = 0 ;
4405 char * kwnames[] = {
4406 (char *) "self",(char *) "orient", NULL
4407 };
4408
4409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4411 if (!SWIG_IsOK(res1)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 }
4414 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4415 ecode2 = SWIG_AsVal_int(obj1, &val2);
4416 if (!SWIG_IsOK(ecode2)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 }
4419 arg2 = static_cast< int >(val2);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_From_int(static_cast< int >(result));
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 void *argp1 = 0 ;
4439 int res1 = 0 ;
4440 int val2 ;
4441 int ecode2 = 0 ;
4442 int val3 ;
4443 int ecode3 = 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 PyObject * obj2 = 0 ;
4447 char * kwnames[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 };
4450
4451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 }
4456 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4457 ecode2 = SWIG_AsVal_int(obj1, &val2);
4458 if (!SWIG_IsOK(ecode2)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 }
4461 arg2 = static_cast< int >(val2);
4462 ecode3 = SWIG_AsVal_int(obj2, &val3);
4463 if (!SWIG_IsOK(ecode3)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 }
4466 arg3 = static_cast< int >(val3);
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 (arg1)->SetScrollPageSize(arg2,arg3);
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_Py_Void();
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4481 PyObject *resultobj = 0;
4482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4483 int arg2 ;
4484 int arg3 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 int val2 ;
4488 int ecode2 = 0 ;
4489 int val3 ;
4490 int ecode3 = 0 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 PyObject * obj2 = 0 ;
4494 char * kwnames[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 };
4497
4498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4500 if (!SWIG_IsOK(res1)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 }
4503 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4504 ecode2 = SWIG_AsVal_int(obj1, &val2);
4505 if (!SWIG_IsOK(ecode2)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 }
4508 arg2 = static_cast< int >(val2);
4509 ecode3 = SWIG_AsVal_int(obj2, &val3);
4510 if (!SWIG_IsOK(ecode3)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 }
4513 arg3 = static_cast< int >(val3);
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->SetScrollRate(arg2,arg3);
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_Py_Void();
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4528 PyObject *resultobj = 0;
4529 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4530 int *arg2 = (int *) 0 ;
4531 int *arg3 = (int *) 0 ;
4532 void *argp1 = 0 ;
4533 int res1 = 0 ;
4534 int temp2 ;
4535 int res2 = SWIG_TMPOBJ ;
4536 int temp3 ;
4537 int res3 = SWIG_TMPOBJ ;
4538 PyObject *swig_obj[1] ;
4539
4540 arg2 = &temp2;
4541 arg3 = &temp3;
4542 if (!args) SWIG_fail;
4543 swig_obj[0] = args;
4544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4545 if (!SWIG_IsOK(res1)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 }
4548 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 resultobj = SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2)) {
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4558 } else {
4559 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4561 }
4562 if (SWIG_IsTmpObj(res3)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4567 }
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj = 0;
4576 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4577 bool arg2 ;
4578 bool arg3 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 bool val2 ;
4582 int ecode2 = 0 ;
4583 bool val3 ;
4584 int ecode3 = 0 ;
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj1 = 0 ;
4587 PyObject * obj2 = 0 ;
4588 char * kwnames[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 };
4591
4592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4594 if (!SWIG_IsOK(res1)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 }
4597 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4599 if (!SWIG_IsOK(ecode2)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 }
4602 arg2 = static_cast< bool >(val2);
4603 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4604 if (!SWIG_IsOK(ecode3)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 }
4607 arg3 = static_cast< bool >(val3);
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->EnableScrolling(arg2,arg3);
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_Py_Void();
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4622 PyObject *resultobj = 0;
4623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4624 int *arg2 = (int *) 0 ;
4625 int *arg3 = (int *) 0 ;
4626 void *argp1 = 0 ;
4627 int res1 = 0 ;
4628 int temp2 ;
4629 int res2 = SWIG_TMPOBJ ;
4630 int temp3 ;
4631 int res3 = SWIG_TMPOBJ ;
4632 PyObject *swig_obj[1] ;
4633
4634 arg2 = &temp2;
4635 arg3 = &temp3;
4636 if (!args) SWIG_fail;
4637 swig_obj[0] = args;
4638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4639 if (!SWIG_IsOK(res1)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 }
4642 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 resultobj = SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2)) {
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4652 } else {
4653 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4655 }
4656 if (SWIG_IsTmpObj(res3)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4661 }
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj = 0;
4670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4671 double arg2 ;
4672 double arg3 ;
4673 void *argp1 = 0 ;
4674 int res1 = 0 ;
4675 double val2 ;
4676 int ecode2 = 0 ;
4677 double val3 ;
4678 int ecode3 = 0 ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 PyObject * obj2 = 0 ;
4682 char * kwnames[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 };
4685
4686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4688 if (!SWIG_IsOK(res1)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 }
4691 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4692 ecode2 = SWIG_AsVal_double(obj1, &val2);
4693 if (!SWIG_IsOK(ecode2)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 }
4696 arg2 = static_cast< double >(val2);
4697 ecode3 = SWIG_AsVal_double(obj2, &val3);
4698 if (!SWIG_IsOK(ecode3)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 }
4701 arg3 = static_cast< double >(val3);
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 (arg1)->SetScale(arg2,arg3);
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 resultobj = SWIG_Py_Void();
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4716 PyObject *resultobj = 0;
4717 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4718 double result;
4719 void *argp1 = 0 ;
4720 int res1 = 0 ;
4721 PyObject *swig_obj[1] ;
4722
4723 if (!args) SWIG_fail;
4724 swig_obj[0] = args;
4725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4726 if (!SWIG_IsOK(res1)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 }
4729 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 resultobj = SWIG_From_double(static_cast< double >(result));
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4744 PyObject *resultobj = 0;
4745 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4746 double result;
4747 void *argp1 = 0 ;
4748 int res1 = 0 ;
4749 PyObject *swig_obj[1] ;
4750
4751 if (!args) SWIG_fail;
4752 swig_obj[0] = args;
4753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4754 if (!SWIG_IsOK(res1)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 }
4757 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 resultobj = SWIG_From_double(static_cast< double >(result));
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4772 PyObject *resultobj = 0;
4773 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4774 wxPoint *arg2 = 0 ;
4775 wxPoint result;
4776 void *argp1 = 0 ;
4777 int res1 = 0 ;
4778 wxPoint temp2 ;
4779
4780 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4782 if (!SWIG_IsOK(res1)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 }
4785 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4786 {
4787 arg2 = &temp2;
4788 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4797 return resultobj;
4798 fail:
4799 return NULL;
4800 }
4801
4802
4803 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4804 PyObject *resultobj = 0;
4805 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4806 int arg2 ;
4807 int arg3 ;
4808 int *arg4 = (int *) 0 ;
4809 int *arg5 = (int *) 0 ;
4810 void *argp1 = 0 ;
4811 int res1 = 0 ;
4812 int val2 ;
4813 int ecode2 = 0 ;
4814 int val3 ;
4815 int ecode3 = 0 ;
4816 int temp4 ;
4817 int res4 = SWIG_TMPOBJ ;
4818 int temp5 ;
4819 int res5 = SWIG_TMPOBJ ;
4820
4821 arg4 = &temp4;
4822 arg5 = &temp5;
4823 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4825 if (!SWIG_IsOK(res1)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 }
4828 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4829 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4830 if (!SWIG_IsOK(ecode2)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 }
4833 arg2 = static_cast< int >(val2);
4834 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4835 if (!SWIG_IsOK(ecode3)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 }
4838 arg3 = static_cast< int >(val3);
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 resultobj = SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4)) {
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4848 } else {
4849 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4851 }
4852 if (SWIG_IsTmpObj(res5)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4857 }
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4865 int argc;
4866 PyObject *argv[4];
4867
4868 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4869 --argc;
4870 if (argc == 2) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4872 }
4873 if (argc == 3) {
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4875 }
4876
4877 fail:
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 return NULL;
4880 }
4881
4882
4883 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4884 PyObject *resultobj = 0;
4885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4886 wxPoint *arg2 = 0 ;
4887 wxPoint result;
4888 void *argp1 = 0 ;
4889 int res1 = 0 ;
4890 wxPoint temp2 ;
4891
4892 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4894 if (!SWIG_IsOK(res1)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 }
4897 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4898 {
4899 arg2 = &temp2;
4900 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4909 return resultobj;
4910 fail:
4911 return NULL;
4912 }
4913
4914
4915 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4916 PyObject *resultobj = 0;
4917 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4918 int arg2 ;
4919 int arg3 ;
4920 int *arg4 = (int *) 0 ;
4921 int *arg5 = (int *) 0 ;
4922 void *argp1 = 0 ;
4923 int res1 = 0 ;
4924 int val2 ;
4925 int ecode2 = 0 ;
4926 int val3 ;
4927 int ecode3 = 0 ;
4928 int temp4 ;
4929 int res4 = SWIG_TMPOBJ ;
4930 int temp5 ;
4931 int res5 = SWIG_TMPOBJ ;
4932
4933 arg4 = &temp4;
4934 arg5 = &temp5;
4935 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4937 if (!SWIG_IsOK(res1)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 }
4940 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4941 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4942 if (!SWIG_IsOK(ecode2)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 }
4945 arg2 = static_cast< int >(val2);
4946 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4947 if (!SWIG_IsOK(ecode3)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 }
4950 arg3 = static_cast< int >(val3);
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4)) {
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4960 } else {
4961 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4963 }
4964 if (SWIG_IsTmpObj(res5)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4969 }
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4977 int argc;
4978 PyObject *argv[4];
4979
4980 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4981 --argc;
4982 if (argc == 2) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4984 }
4985 if (argc == 3) {
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4987 }
4988
4989 fail:
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 return NULL;
4992 }
4993
4994
4995 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 }
5008 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 (arg1)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 resultobj = SWIG_Py_Void();
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj = 0;
5024 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5025 wxScrollWinEvent *arg2 = 0 ;
5026 int result;
5027 void *argp1 = 0 ;
5028 int res1 = 0 ;
5029 void *argp2 = 0 ;
5030 int res2 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 char * kwnames[] = {
5034 (char *) "self",(char *) "event", NULL
5035 };
5036
5037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5039 if (!SWIG_IsOK(res1)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 }
5042 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5044 if (!SWIG_IsOK(res2)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 if (!argp2) {
5048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 }
5050 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (int)(arg1)->CalcScrollInc(*arg2);
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_From_int(static_cast< int >(result));
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj = 0;
5066 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5067 wxWindow *arg2 = (wxWindow *) 0 ;
5068 void *argp1 = 0 ;
5069 int res1 = 0 ;
5070 void *argp2 = 0 ;
5071 int res2 = 0 ;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 char * kwnames[] = {
5075 (char *) "self",(char *) "target", NULL
5076 };
5077
5078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5080 if (!SWIG_IsOK(res1)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 }
5083 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5085 if (!SWIG_IsOK(res2)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 }
5088 arg2 = reinterpret_cast< wxWindow * >(argp2);
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetTargetWindow(arg2);
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 resultobj = SWIG_Py_Void();
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5103 PyObject *resultobj = 0;
5104 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5105 wxWindow *result = 0 ;
5106 void *argp1 = 0 ;
5107 int res1 = 0 ;
5108 PyObject *swig_obj[1] ;
5109
5110 if (!args) SWIG_fail;
5111 swig_obj[0] = args;
5112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5113 if (!SWIG_IsOK(res1)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 }
5116 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
5123 {
5124 resultobj = wxPyMake_wxObject(result, 0);
5125 }
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj = 0;
5134 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5135 wxRect *arg2 = 0 ;
5136 void *argp1 = 0 ;
5137 int res1 = 0 ;
5138 wxRect temp2 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "rect", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",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_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 {
5152 arg2 = &temp2;
5153 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->SetTargetRect((wxRect const &)*arg2);
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = SWIG_Py_Void();
5162 return resultobj;
5163 fail:
5164 return NULL;
5165 }
5166
5167
5168 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5169 PyObject *resultobj = 0;
5170 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5171 wxRect result;
5172 void *argp1 = 0 ;
5173 int res1 = 0 ;
5174 PyObject *swig_obj[1] ;
5175
5176 if (!args) SWIG_fail;
5177 swig_obj[0] = args;
5178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5179 if (!SWIG_IsOK(res1)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5181 }
5182 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5190 return resultobj;
5191 fail:
5192 return NULL;
5193 }
5194
5195
5196 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj = 0;
5198 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5199 wxDC *arg2 = 0 ;
5200 void *argp1 = 0 ;
5201 int res1 = 0 ;
5202 void *argp2 = 0 ;
5203 int res2 = 0 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char * kwnames[] = {
5207 (char *) "self",(char *) "dc", NULL
5208 };
5209
5210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5212 if (!SWIG_IsOK(res1)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5214 }
5215 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5216 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5217 if (!SWIG_IsOK(res2)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 if (!argp2) {
5221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5222 }
5223 arg2 = reinterpret_cast< wxDC * >(argp2);
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->DoPrepareDC(*arg2);
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_Py_Void();
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj = 0;
5239 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5240 SwigValueWrapper<wxVisualAttributes > result;
5241 int val1 ;
5242 int ecode1 = 0 ;
5243 PyObject * obj0 = 0 ;
5244 char * kwnames[] = {
5245 (char *) "variant", NULL
5246 };
5247
5248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5249 if (obj0) {
5250 ecode1 = SWIG_AsVal_int(obj0, &val1);
5251 if (!SWIG_IsOK(ecode1)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5253 }
5254 arg1 = static_cast< wxWindowVariant >(val1);
5255 }
5256 {
5257 if (!wxPyCheckForApp()) SWIG_fail;
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *obj;
5272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5274 return SWIG_Py_Void();
5275 }
5276
5277 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 return SWIG_Python_InitShadowInstance(args);
5279 }
5280
5281 SWIGINTERN int FrameNameStr_set(PyObject *) {
5282 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5283 return 1;
5284 }
5285
5286
5287 SWIGINTERN PyObject *FrameNameStr_get(void) {
5288 PyObject *pyobj = 0;
5289
5290 {
5291 #if wxUSE_UNICODE
5292 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293 #else
5294 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5295 #endif
5296 }
5297 return pyobj;
5298 }
5299
5300
5301 SWIGINTERN int DialogNameStr_set(PyObject *) {
5302 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5303 return 1;
5304 }
5305
5306
5307 SWIGINTERN PyObject *DialogNameStr_get(void) {
5308 PyObject *pyobj = 0;
5309
5310 {
5311 #if wxUSE_UNICODE
5312 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313 #else
5314 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5315 #endif
5316 }
5317 return pyobj;
5318 }
5319
5320
5321 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5322 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5323 return 1;
5324 }
5325
5326
5327 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5328 PyObject *pyobj = 0;
5329
5330 {
5331 #if wxUSE_UNICODE
5332 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333 #else
5334 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5335 #endif
5336 }
5337 return pyobj;
5338 }
5339
5340
5341 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5342 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5343 return 1;
5344 }
5345
5346
5347 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5348 PyObject *pyobj = 0;
5349
5350 {
5351 #if wxUSE_UNICODE
5352 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353 #else
5354 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5355 #endif
5356 }
5357 return pyobj;
5358 }
5359
5360
5361 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj = 0;
5363 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5364 bool arg2 = (bool) true ;
5365 void *argp1 = 0 ;
5366 int res1 = 0 ;
5367 bool val2 ;
5368 int ecode2 = 0 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char * kwnames[] = {
5372 (char *) "self",(char *) "maximize", NULL
5373 };
5374
5375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5381 if (obj1) {
5382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5383 if (!SWIG_IsOK(ecode2)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5385 }
5386 arg2 = static_cast< bool >(val2);
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->Maximize(arg2);
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 resultobj = SWIG_Py_Void();
5395 return resultobj;
5396 fail:
5397 return NULL;
5398 }
5399
5400
5401 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5402 PyObject *resultobj = 0;
5403 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5413 }
5414 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 (arg1)->Restore();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 resultobj = SWIG_Py_Void();
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj = 0;
5430 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5431 bool arg2 = (bool) true ;
5432 void *argp1 = 0 ;
5433 int res1 = 0 ;
5434 bool val2 ;
5435 int ecode2 = 0 ;
5436 PyObject * obj0 = 0 ;
5437 PyObject * obj1 = 0 ;
5438 char * kwnames[] = {
5439 (char *) "self",(char *) "iconize", NULL
5440 };
5441
5442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 if (obj1) {
5449 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5450 if (!SWIG_IsOK(ecode2)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5452 }
5453 arg2 = static_cast< bool >(val2);
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->Iconize(arg2);
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 resultobj = SWIG_Py_Void();
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5469 PyObject *resultobj = 0;
5470 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5471 bool result;
5472 void *argp1 = 0 ;
5473 int res1 = 0 ;
5474 PyObject *swig_obj[1] ;
5475
5476 if (!args) SWIG_fail;
5477 swig_obj[0] = args;
5478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5479 if (!SWIG_IsOK(res1)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5481 }
5482 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 {
5490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5491 }
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5499 PyObject *resultobj = 0;
5500 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5501 bool result;
5502 void *argp1 = 0 ;
5503 int res1 = 0 ;
5504 PyObject *swig_obj[1] ;
5505
5506 if (!args) SWIG_fail;
5507 swig_obj[0] = args;
5508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5509 if (!SWIG_IsOK(res1)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5511 }
5512 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5521 }
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5529 PyObject *resultobj = 0;
5530 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5531 bool result;
5532 void *argp1 = 0 ;
5533 int res1 = 0 ;
5534 PyObject *swig_obj[1] ;
5535
5536 if (!args) SWIG_fail;
5537 swig_obj[0] = args;
5538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5539 if (!SWIG_IsOK(res1)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5541 }
5542 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 {
5550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5551 }
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5559 PyObject *resultobj = 0;
5560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5561 wxIcon result;
5562 void *argp1 = 0 ;
5563 int res1 = 0 ;
5564 PyObject *swig_obj[1] ;
5565
5566 if (!args) SWIG_fail;
5567 swig_obj[0] = args;
5568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5569 if (!SWIG_IsOK(res1)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5571 }
5572 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj = 0;
5588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5589 wxIcon *arg2 = 0 ;
5590 void *argp1 = 0 ;
5591 int res1 = 0 ;
5592 void *argp2 = 0 ;
5593 int res2 = 0 ;
5594 PyObject * obj0 = 0 ;
5595 PyObject * obj1 = 0 ;
5596 char * kwnames[] = {
5597 (char *) "self",(char *) "icon", NULL
5598 };
5599
5600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5602 if (!SWIG_IsOK(res1)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5604 }
5605 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5606 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5607 if (!SWIG_IsOK(res2)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 if (!argp2) {
5611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5612 }
5613 arg2 = reinterpret_cast< wxIcon * >(argp2);
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 (arg1)->SetIcon((wxIcon const &)*arg2);
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = SWIG_Py_Void();
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj = 0;
5629 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5630 wxIconBundle *arg2 = 0 ;
5631 void *argp1 = 0 ;
5632 int res1 = 0 ;
5633 void *argp2 = 0 ;
5634 int res2 = 0 ;
5635 PyObject * obj0 = 0 ;
5636 PyObject * obj1 = 0 ;
5637 char * kwnames[] = {
5638 (char *) "self",(char *) "icons", NULL
5639 };
5640
5641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5643 if (!SWIG_IsOK(res1)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5645 }
5646 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5647 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5648 if (!SWIG_IsOK(res2)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 if (!argp2) {
5652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5653 }
5654 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = SWIG_Py_Void();
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5671 bool arg2 ;
5672 long arg3 = (long) wxFULLSCREEN_ALL ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 bool val2 ;
5677 int ecode2 = 0 ;
5678 long val3 ;
5679 int ecode3 = 0 ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 PyObject * obj2 = 0 ;
5683 char * kwnames[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5685 };
5686
5687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5689 if (!SWIG_IsOK(res1)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5691 }
5692 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5693 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5694 if (!SWIG_IsOK(ecode2)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5696 }
5697 arg2 = static_cast< bool >(val2);
5698 if (obj2) {
5699 ecode3 = SWIG_AsVal_long(obj2, &val3);
5700 if (!SWIG_IsOK(ecode3)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5702 }
5703 arg3 = static_cast< long >(val3);
5704 }
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 {
5712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5713 }
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5721 PyObject *resultobj = 0;
5722 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5723 bool result;
5724 void *argp1 = 0 ;
5725 int res1 = 0 ;
5726 PyObject *swig_obj[1] ;
5727
5728 if (!args) SWIG_fail;
5729 swig_obj[0] = args;
5730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5731 if (!SWIG_IsOK(res1)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 }
5734 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 {
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 }
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj = 0;
5752 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5753 wxString *arg2 = 0 ;
5754 void *argp1 = 0 ;
5755 int res1 = 0 ;
5756 bool temp2 = false ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 char * kwnames[] = {
5760 (char *) "self",(char *) "title", NULL
5761 };
5762
5763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5765 if (!SWIG_IsOK(res1)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5767 }
5768 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5769 {
5770 arg2 = wxString_in_helper(obj1);
5771 if (arg2 == NULL) SWIG_fail;
5772 temp2 = true;
5773 }
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->SetTitle((wxString const &)*arg2);
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 resultobj = SWIG_Py_Void();
5781 {
5782 if (temp2)
5783 delete arg2;
5784 }
5785 return resultobj;
5786 fail:
5787 {
5788 if (temp2)
5789 delete arg2;
5790 }
5791 return NULL;
5792 }
5793
5794
5795 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5796 PyObject *resultobj = 0;
5797 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5798 wxString result;
5799 void *argp1 = 0 ;
5800 int res1 = 0 ;
5801 PyObject *swig_obj[1] ;
5802
5803 if (!args) SWIG_fail;
5804 swig_obj[0] = args;
5805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5808 }
5809 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 {
5817 #if wxUSE_UNICODE
5818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5819 #else
5820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5821 #endif
5822 }
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj = 0;
5831 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5832 wxRegion *arg2 = 0 ;
5833 bool result;
5834 void *argp1 = 0 ;
5835 int res1 = 0 ;
5836 void *argp2 = 0 ;
5837 int res2 = 0 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char * kwnames[] = {
5841 (char *) "self",(char *) "region", NULL
5842 };
5843
5844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5846 if (!SWIG_IsOK(res1)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5848 }
5849 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5850 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5851 if (!SWIG_IsOK(res2)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 }
5854 if (!argp2) {
5855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5856 }
5857 arg2 = reinterpret_cast< wxRegion * >(argp2);
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 {
5865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5866 }
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj = 0;
5875 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5876 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5877 void *argp1 = 0 ;
5878 int res1 = 0 ;
5879 int val2 ;
5880 int ecode2 = 0 ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 char * kwnames[] = {
5884 (char *) "self",(char *) "flags", NULL
5885 };
5886
5887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5889 if (!SWIG_IsOK(res1)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5891 }
5892 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5893 if (obj1) {
5894 ecode2 = SWIG_AsVal_int(obj1, &val2);
5895 if (!SWIG_IsOK(ecode2)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5897 }
5898 arg2 = static_cast< int >(val2);
5899 }
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 (arg1)->RequestUserAttention(arg2);
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_Py_Void();
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 bool result;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 PyObject *swig_obj[1] ;
5920
5921 if (!args) SWIG_fail;
5922 swig_obj[0] = args;
5923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5924 if (!SWIG_IsOK(res1)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5926 }
5927 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)(arg1)->IsActive();
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5936 }
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj = 0;
5945 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5946 bool arg2 ;
5947 void *argp1 = 0 ;
5948 int res1 = 0 ;
5949 bool val2 ;
5950 int ecode2 = 0 ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char * kwnames[] = {
5954 (char *) "self",(char *) "on", NULL
5955 };
5956
5957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5959 if (!SWIG_IsOK(res1)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5961 }
5962 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5963 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5964 if (!SWIG_IsOK(ecode2)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5966 }
5967 arg2 = static_cast< bool >(val2);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5982 PyObject *resultobj = 0;
5983 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5984 bool result;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 PyObject *swig_obj[1] ;
5988
5989 if (!args) SWIG_fail;
5990 swig_obj[0] = args;
5991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5992 if (!SWIG_IsOK(res1)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5994 }
5995 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 {
6003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004 }
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj = 0;
6013 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6014 int arg2 = (int) wxBOTH ;
6015 void *argp1 = 0 ;
6016 int res1 = 0 ;
6017 int val2 ;
6018 int ecode2 = 0 ;
6019 PyObject * obj0 = 0 ;
6020 PyObject * obj1 = 0 ;
6021 char * kwnames[] = {
6022 (char *) "self",(char *) "dir", NULL
6023 };
6024
6025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6027 if (!SWIG_IsOK(res1)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6029 }
6030 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6031 if (obj1) {
6032 ecode2 = SWIG_AsVal_int(obj1, &val2);
6033 if (!SWIG_IsOK(ecode2)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6035 }
6036 arg2 = static_cast< int >(val2);
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 (arg1)->CenterOnScreen(arg2);
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 resultobj = SWIG_Py_Void();
6045 return resultobj;
6046 fail:
6047 return NULL;
6048 }
6049
6050
6051 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj = 0;
6053 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6054 bool arg2 = (bool) true ;
6055 bool result;
6056 void *argp1 = 0 ;
6057 int res1 = 0 ;
6058 bool val2 ;
6059 int ecode2 = 0 ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 char * kwnames[] = {
6063 (char *) "self",(char *) "enable", NULL
6064 };
6065
6066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6068 if (!SWIG_IsOK(res1)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6070 }
6071 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6072 if (obj1) {
6073 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6074 if (!SWIG_IsOK(ecode2)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6076 }
6077 arg2 = static_cast< bool >(val2);
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6082 wxPyEndAllowThreads(__tstate);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 }
6085 {
6086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6087 }
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6095 PyObject *resultobj = 0;
6096 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6097 wxWindow *result = 0 ;
6098 void *argp1 = 0 ;
6099 int res1 = 0 ;
6100 PyObject *swig_obj[1] ;
6101
6102 if (!args) SWIG_fail;
6103 swig_obj[0] = args;
6104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6105 if (!SWIG_IsOK(res1)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6107 }
6108 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 resultobj = wxPyMake_wxObject(result, 0);
6117 }
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj = 0;
6126 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6127 wxWindow *arg2 = (wxWindow *) 0 ;
6128 wxWindow *result = 0 ;
6129 void *argp1 = 0 ;
6130 int res1 = 0 ;
6131 void *argp2 = 0 ;
6132 int res2 = 0 ;
6133 PyObject * obj0 = 0 ;
6134 PyObject * obj1 = 0 ;
6135 char * kwnames[] = {
6136 (char *) "self",(char *) "child", NULL
6137 };
6138
6139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6141 if (!SWIG_IsOK(res1)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6143 }
6144 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res2)) {
6147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6148 }
6149 arg2 = reinterpret_cast< wxWindow * >(argp2);
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157 resultobj = wxPyMake_wxObject(result, 0);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj = 0;
6167 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6168 wxWindow *arg2 = (wxWindow *) 0 ;
6169 void *argp1 = 0 ;
6170 int res1 = 0 ;
6171 void *argp2 = 0 ;
6172 int res2 = 0 ;
6173 PyObject * obj0 = 0 ;
6174 PyObject * obj1 = 0 ;
6175 char * kwnames[] = {
6176 (char *) "self",(char *) "win", NULL
6177 };
6178
6179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6183 }
6184 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6186 if (!SWIG_IsOK(res2)) {
6187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6188 }
6189 arg2 = reinterpret_cast< wxWindow * >(argp2);
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->SetTmpDefaultItem(arg2);
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = SWIG_Py_Void();
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6204 PyObject *resultobj = 0;
6205 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6206 wxWindow *result = 0 ;
6207 void *argp1 = 0 ;
6208 int res1 = 0 ;
6209 PyObject *swig_obj[1] ;
6210
6211 if (!args) SWIG_fail;
6212 swig_obj[0] = args;
6213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6214 if (!SWIG_IsOK(res1)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6216 }
6217 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 {
6225 resultobj = wxPyMake_wxObject(result, 0);
6226 }
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *obj;
6235 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6236 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6237 return SWIG_Py_Void();
6238 }
6239
6240 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj = 0;
6242 wxWindow *arg1 = (wxWindow *) 0 ;
6243 int arg2 = (int) (int)-1 ;
6244 wxString const &arg3_defvalue = wxPyEmptyString ;
6245 wxString *arg3 = (wxString *) &arg3_defvalue ;
6246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6248 wxSize const &arg5_defvalue = wxDefaultSize ;
6249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6250 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6251 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6252 wxString *arg7 = (wxString *) &arg7_defvalue ;
6253 wxFrame *result = 0 ;
6254 void *argp1 = 0 ;
6255 int res1 = 0 ;
6256 int val2 ;
6257 int ecode2 = 0 ;
6258 bool temp3 = false ;
6259 wxPoint temp4 ;
6260 wxSize temp5 ;
6261 long val6 ;
6262 int ecode6 = 0 ;
6263 bool temp7 = false ;
6264 PyObject * obj0 = 0 ;
6265 PyObject * obj1 = 0 ;
6266 PyObject * obj2 = 0 ;
6267 PyObject * obj3 = 0 ;
6268 PyObject * obj4 = 0 ;
6269 PyObject * obj5 = 0 ;
6270 PyObject * obj6 = 0 ;
6271 char * kwnames[] = {
6272 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6273 };
6274
6275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6277 if (!SWIG_IsOK(res1)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6279 }
6280 arg1 = reinterpret_cast< wxWindow * >(argp1);
6281 if (obj1) {
6282 ecode2 = SWIG_AsVal_int(obj1, &val2);
6283 if (!SWIG_IsOK(ecode2)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6285 }
6286 arg2 = static_cast< int >(val2);
6287 }
6288 if (obj2) {
6289 {
6290 arg3 = wxString_in_helper(obj2);
6291 if (arg3 == NULL) SWIG_fail;
6292 temp3 = true;
6293 }
6294 }
6295 if (obj3) {
6296 {
6297 arg4 = &temp4;
6298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6299 }
6300 }
6301 if (obj4) {
6302 {
6303 arg5 = &temp5;
6304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6305 }
6306 }
6307 if (obj5) {
6308 ecode6 = SWIG_AsVal_long(obj5, &val6);
6309 if (!SWIG_IsOK(ecode6)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6311 }
6312 arg6 = static_cast< long >(val6);
6313 }
6314 if (obj6) {
6315 {
6316 arg7 = wxString_in_helper(obj6);
6317 if (arg7 == NULL) SWIG_fail;
6318 temp7 = true;
6319 }
6320 }
6321 {
6322 if (!wxPyCheckForApp()) SWIG_fail;
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6329 {
6330 if (temp3)
6331 delete arg3;
6332 }
6333 {
6334 if (temp7)
6335 delete arg7;
6336 }
6337 return resultobj;
6338 fail:
6339 {
6340 if (temp3)
6341 delete arg3;
6342 }
6343 {
6344 if (temp7)
6345 delete arg7;
6346 }
6347 return NULL;
6348 }
6349
6350
6351 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6352 PyObject *resultobj = 0;
6353 wxFrame *result = 0 ;
6354
6355 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6356 {
6357 if (!wxPyCheckForApp()) SWIG_fail;
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxFrame *)new wxFrame();
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6371 PyObject *resultobj = 0;
6372 wxFrame *arg1 = (wxFrame *) 0 ;
6373 wxWindow *arg2 = (wxWindow *) 0 ;
6374 int arg3 = (int) (int)-1 ;
6375 wxString const &arg4_defvalue = wxPyEmptyString ;
6376 wxString *arg4 = (wxString *) &arg4_defvalue ;
6377 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6378 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6379 wxSize const &arg6_defvalue = wxDefaultSize ;
6380 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6381 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6382 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6383 wxString *arg8 = (wxString *) &arg8_defvalue ;
6384 bool result;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 void *argp2 = 0 ;
6388 int res2 = 0 ;
6389 int val3 ;
6390 int ecode3 = 0 ;
6391 bool temp4 = false ;
6392 wxPoint temp5 ;
6393 wxSize temp6 ;
6394 long val7 ;
6395 int ecode7 = 0 ;
6396 bool temp8 = false ;
6397 PyObject * obj0 = 0 ;
6398 PyObject * obj1 = 0 ;
6399 PyObject * obj2 = 0 ;
6400 PyObject * obj3 = 0 ;
6401 PyObject * obj4 = 0 ;
6402 PyObject * obj5 = 0 ;
6403 PyObject * obj6 = 0 ;
6404 PyObject * obj7 = 0 ;
6405 char * kwnames[] = {
6406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6407 };
6408
6409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6411 if (!SWIG_IsOK(res1)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6413 }
6414 arg1 = reinterpret_cast< wxFrame * >(argp1);
6415 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6416 if (!SWIG_IsOK(res2)) {
6417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6418 }
6419 arg2 = reinterpret_cast< wxWindow * >(argp2);
6420 if (obj2) {
6421 ecode3 = SWIG_AsVal_int(obj2, &val3);
6422 if (!SWIG_IsOK(ecode3)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6424 }
6425 arg3 = static_cast< int >(val3);
6426 }
6427 if (obj3) {
6428 {
6429 arg4 = wxString_in_helper(obj3);
6430 if (arg4 == NULL) SWIG_fail;
6431 temp4 = true;
6432 }
6433 }
6434 if (obj4) {
6435 {
6436 arg5 = &temp5;
6437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6438 }
6439 }
6440 if (obj5) {
6441 {
6442 arg6 = &temp6;
6443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6444 }
6445 }
6446 if (obj6) {
6447 ecode7 = SWIG_AsVal_long(obj6, &val7);
6448 if (!SWIG_IsOK(ecode7)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6450 }
6451 arg7 = static_cast< long >(val7);
6452 }
6453 if (obj7) {
6454 {
6455 arg8 = wxString_in_helper(obj7);
6456 if (arg8 == NULL) SWIG_fail;
6457 temp8 = true;
6458 }
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6468 }
6469 {
6470 if (temp4)
6471 delete arg4;
6472 }
6473 {
6474 if (temp8)
6475 delete arg8;
6476 }
6477 return resultobj;
6478 fail:
6479 {
6480 if (temp4)
6481 delete arg4;
6482 }
6483 {
6484 if (temp8)
6485 delete arg8;
6486 }
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6492 PyObject *resultobj = 0;
6493 wxFrame *arg1 = (wxFrame *) 0 ;
6494 void *argp1 = 0 ;
6495 int res1 = 0 ;
6496 PyObject *swig_obj[1] ;
6497
6498 if (!args) SWIG_fail;
6499 swig_obj[0] = args;
6500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6501 if (!SWIG_IsOK(res1)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6503 }
6504 arg1 = reinterpret_cast< wxFrame * >(argp1);
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 (arg1)->SendSizeEvent();
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = SWIG_Py_Void();
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj = 0;
6520 wxFrame *arg1 = (wxFrame *) 0 ;
6521 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6522 void *argp1 = 0 ;
6523 int res1 = 0 ;
6524 void *argp2 = 0 ;
6525 int res2 = 0 ;
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 char * kwnames[] = {
6529 (char *) "self",(char *) "menubar", NULL
6530 };
6531
6532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6534 if (!SWIG_IsOK(res1)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6536 }
6537 arg1 = reinterpret_cast< wxFrame * >(argp1);
6538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6539 if (!SWIG_IsOK(res2)) {
6540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6541 }
6542 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 (arg1)->SetMenuBar(arg2);
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = SWIG_Py_Void();
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6557 PyObject *resultobj = 0;
6558 wxFrame *arg1 = (wxFrame *) 0 ;
6559 wxMenuBar *result = 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 PyObject *swig_obj[1] ;
6563
6564 if (!args) SWIG_fail;
6565 swig_obj[0] = args;
6566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6569 }
6570 arg1 = reinterpret_cast< wxFrame * >(argp1);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 resultobj = wxPyMake_wxObject(result, 0);
6579 }
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = 0;
6588 wxFrame *arg1 = (wxFrame *) 0 ;
6589 int arg2 ;
6590 bool result;
6591 void *argp1 = 0 ;
6592 int res1 = 0 ;
6593 int val2 ;
6594 int ecode2 = 0 ;
6595 PyObject * obj0 = 0 ;
6596 PyObject * obj1 = 0 ;
6597 char * kwnames[] = {
6598 (char *) "self",(char *) "winid", NULL
6599 };
6600
6601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6605 }
6606 arg1 = reinterpret_cast< wxFrame * >(argp1);
6607 ecode2 = SWIG_AsVal_int(obj1, &val2);
6608 if (!SWIG_IsOK(ecode2)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6610 }
6611 arg2 = static_cast< int >(val2);
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = (bool)(arg1)->ProcessCommand(arg2);
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6620 }
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj = 0;
6629 wxFrame *arg1 = (wxFrame *) 0 ;
6630 int arg2 = (int) 1 ;
6631 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6632 int arg4 = (int) 0 ;
6633 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6634 wxString *arg5 = (wxString *) &arg5_defvalue ;
6635 wxStatusBar *result = 0 ;
6636 void *argp1 = 0 ;
6637 int res1 = 0 ;
6638 int val2 ;
6639 int ecode2 = 0 ;
6640 long val3 ;
6641 int ecode3 = 0 ;
6642 int val4 ;
6643 int ecode4 = 0 ;
6644 bool temp5 = false ;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
6647 PyObject * obj2 = 0 ;
6648 PyObject * obj3 = 0 ;
6649 PyObject * obj4 = 0 ;
6650 char * kwnames[] = {
6651 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6652 };
6653
6654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6658 }
6659 arg1 = reinterpret_cast< wxFrame * >(argp1);
6660 if (obj1) {
6661 ecode2 = SWIG_AsVal_int(obj1, &val2);
6662 if (!SWIG_IsOK(ecode2)) {
6663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6664 }
6665 arg2 = static_cast< int >(val2);
6666 }
6667 if (obj2) {
6668 ecode3 = SWIG_AsVal_long(obj2, &val3);
6669 if (!SWIG_IsOK(ecode3)) {
6670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6671 }
6672 arg3 = static_cast< long >(val3);
6673 }
6674 if (obj3) {
6675 ecode4 = SWIG_AsVal_int(obj3, &val4);
6676 if (!SWIG_IsOK(ecode4)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6678 }
6679 arg4 = static_cast< int >(val4);
6680 }
6681 if (obj4) {
6682 {
6683 arg5 = wxString_in_helper(obj4);
6684 if (arg5 == NULL) SWIG_fail;
6685 temp5 = true;
6686 }
6687 }
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 resultobj = wxPyMake_wxObject(result, (bool)0);
6696 }
6697 {
6698 if (temp5)
6699 delete arg5;
6700 }
6701 return resultobj;
6702 fail:
6703 {
6704 if (temp5)
6705 delete arg5;
6706 }
6707 return NULL;
6708 }
6709
6710
6711 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6712 PyObject *resultobj = 0;
6713 wxFrame *arg1 = (wxFrame *) 0 ;
6714 wxStatusBar *result = 0 ;
6715 void *argp1 = 0 ;
6716 int res1 = 0 ;
6717 PyObject *swig_obj[1] ;
6718
6719 if (!args) SWIG_fail;
6720 swig_obj[0] = args;
6721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6722 if (!SWIG_IsOK(res1)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6724 }
6725 arg1 = reinterpret_cast< wxFrame * >(argp1);
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733 resultobj = wxPyMake_wxObject(result, (bool)0);
6734 }
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj = 0;
6743 wxFrame *arg1 = (wxFrame *) 0 ;
6744 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6745 void *argp1 = 0 ;
6746 int res1 = 0 ;
6747 void *argp2 = 0 ;
6748 int res2 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char * kwnames[] = {
6752 (char *) "self",(char *) "statBar", NULL
6753 };
6754
6755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6757 if (!SWIG_IsOK(res1)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6759 }
6760 arg1 = reinterpret_cast< wxFrame * >(argp1);
6761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6762 if (!SWIG_IsOK(res2)) {
6763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6764 }
6765 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 (arg1)->SetStatusBar(arg2);
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 resultobj = SWIG_Py_Void();
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj = 0;
6781 wxFrame *arg1 = (wxFrame *) 0 ;
6782 wxString *arg2 = 0 ;
6783 int arg3 = (int) 0 ;
6784 void *argp1 = 0 ;
6785 int res1 = 0 ;
6786 bool temp2 = false ;
6787 int val3 ;
6788 int ecode3 = 0 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 PyObject * obj2 = 0 ;
6792 char * kwnames[] = {
6793 (char *) "self",(char *) "text",(char *) "number", NULL
6794 };
6795
6796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6798 if (!SWIG_IsOK(res1)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6800 }
6801 arg1 = reinterpret_cast< wxFrame * >(argp1);
6802 {
6803 arg2 = wxString_in_helper(obj1);
6804 if (arg2 == NULL) SWIG_fail;
6805 temp2 = true;
6806 }
6807 if (obj2) {
6808 ecode3 = SWIG_AsVal_int(obj2, &val3);
6809 if (!SWIG_IsOK(ecode3)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6811 }
6812 arg3 = static_cast< int >(val3);
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_Py_Void();
6821 {
6822 if (temp2)
6823 delete arg2;
6824 }
6825 return resultobj;
6826 fail:
6827 {
6828 if (temp2)
6829 delete arg2;
6830 }
6831 return NULL;
6832 }
6833
6834
6835 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6836 PyObject *resultobj = 0;
6837 wxFrame *arg1 = (wxFrame *) 0 ;
6838 int arg2 ;
6839 int *arg3 = (int *) 0 ;
6840 void *argp1 = 0 ;
6841 int res1 = 0 ;
6842 PyObject * obj0 = 0 ;
6843 PyObject * obj1 = 0 ;
6844 char * kwnames[] = {
6845 (char *) "self",(char *) "widths", NULL
6846 };
6847
6848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6850 if (!SWIG_IsOK(res1)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6852 }
6853 arg1 = reinterpret_cast< wxFrame * >(argp1);
6854 {
6855 arg2 = PyList_Size(obj1);
6856 arg3 = int_LIST_helper(obj1);
6857 if (arg3 == NULL) SWIG_fail;
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 resultobj = SWIG_Py_Void();
6866 {
6867 if (arg3) delete [] arg3;
6868 }
6869 return resultobj;
6870 fail:
6871 {
6872 if (arg3) delete [] arg3;
6873 }
6874 return NULL;
6875 }
6876
6877
6878 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj = 0;
6880 wxFrame *arg1 = (wxFrame *) 0 ;
6881 wxString *arg2 = 0 ;
6882 int arg3 = (int) 0 ;
6883 void *argp1 = 0 ;
6884 int res1 = 0 ;
6885 bool temp2 = false ;
6886 int val3 ;
6887 int ecode3 = 0 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 PyObject * obj2 = 0 ;
6891 char * kwnames[] = {
6892 (char *) "self",(char *) "text",(char *) "number", NULL
6893 };
6894
6895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6897 if (!SWIG_IsOK(res1)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6899 }
6900 arg1 = reinterpret_cast< wxFrame * >(argp1);
6901 {
6902 arg2 = wxString_in_helper(obj1);
6903 if (arg2 == NULL) SWIG_fail;
6904 temp2 = true;
6905 }
6906 if (obj2) {
6907 ecode3 = SWIG_AsVal_int(obj2, &val3);
6908 if (!SWIG_IsOK(ecode3)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6910 }
6911 arg3 = static_cast< int >(val3);
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_Py_Void();
6920 {
6921 if (temp2)
6922 delete arg2;
6923 }
6924 return resultobj;
6925 fail:
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return NULL;
6931 }
6932
6933
6934 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj = 0;
6936 wxFrame *arg1 = (wxFrame *) 0 ;
6937 int arg2 = (int) 0 ;
6938 void *argp1 = 0 ;
6939 int res1 = 0 ;
6940 int val2 ;
6941 int ecode2 = 0 ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char * kwnames[] = {
6945 (char *) "self",(char *) "number", NULL
6946 };
6947
6948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6950 if (!SWIG_IsOK(res1)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6952 }
6953 arg1 = reinterpret_cast< wxFrame * >(argp1);
6954 if (obj1) {
6955 ecode2 = SWIG_AsVal_int(obj1, &val2);
6956 if (!SWIG_IsOK(ecode2)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6958 }
6959 arg2 = static_cast< int >(val2);
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->PopStatusText(arg2);
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 resultobj = SWIG_Py_Void();
6968 return resultobj;
6969 fail:
6970 return NULL;
6971 }
6972
6973
6974 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj = 0;
6976 wxFrame *arg1 = (wxFrame *) 0 ;
6977 int arg2 ;
6978 void *argp1 = 0 ;
6979 int res1 = 0 ;
6980 int val2 ;
6981 int ecode2 = 0 ;
6982 PyObject * obj0 = 0 ;
6983 PyObject * obj1 = 0 ;
6984 char * kwnames[] = {
6985 (char *) "self",(char *) "n", NULL
6986 };
6987
6988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6990 if (!SWIG_IsOK(res1)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6992 }
6993 arg1 = reinterpret_cast< wxFrame * >(argp1);
6994 ecode2 = SWIG_AsVal_int(obj1, &val2);
6995 if (!SWIG_IsOK(ecode2)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6997 }
6998 arg2 = static_cast< int >(val2);
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 (arg1)->SetStatusBarPane(arg2);
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_Py_Void();
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7013 PyObject *resultobj = 0;
7014 wxFrame *arg1 = (wxFrame *) 0 ;
7015 int result;
7016 void *argp1 = 0 ;
7017 int res1 = 0 ;
7018 PyObject *swig_obj[1] ;
7019
7020 if (!args) SWIG_fail;
7021 swig_obj[0] = args;
7022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7023 if (!SWIG_IsOK(res1)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7025 }
7026 arg1 = reinterpret_cast< wxFrame * >(argp1);
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = SWIG_From_int(static_cast< int >(result));
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj = 0;
7042 wxFrame *arg1 = (wxFrame *) 0 ;
7043 long arg2 = (long) -1 ;
7044 int arg3 = (int) -1 ;
7045 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7046 wxString *arg4 = (wxString *) &arg4_defvalue ;
7047 wxToolBar *result = 0 ;
7048 void *argp1 = 0 ;
7049 int res1 = 0 ;
7050 long val2 ;
7051 int ecode2 = 0 ;
7052 int val3 ;
7053 int ecode3 = 0 ;
7054 bool temp4 = false ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 PyObject * obj2 = 0 ;
7058 PyObject * obj3 = 0 ;
7059 char * kwnames[] = {
7060 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7061 };
7062
7063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrame * >(argp1);
7069 if (obj1) {
7070 ecode2 = SWIG_AsVal_long(obj1, &val2);
7071 if (!SWIG_IsOK(ecode2)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7073 }
7074 arg2 = static_cast< long >(val2);
7075 }
7076 if (obj2) {
7077 ecode3 = SWIG_AsVal_int(obj2, &val3);
7078 if (!SWIG_IsOK(ecode3)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7080 }
7081 arg3 = static_cast< int >(val3);
7082 }
7083 if (obj3) {
7084 {
7085 arg4 = wxString_in_helper(obj3);
7086 if (arg4 == NULL) SWIG_fail;
7087 temp4 = true;
7088 }
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 resultobj = wxPyMake_wxObject(result, (bool)0);
7098 }
7099 {
7100 if (temp4)
7101 delete arg4;
7102 }
7103 return resultobj;
7104 fail:
7105 {
7106 if (temp4)
7107 delete arg4;
7108 }
7109 return NULL;
7110 }
7111
7112
7113 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7114 PyObject *resultobj = 0;
7115 wxFrame *arg1 = (wxFrame *) 0 ;
7116 wxToolBar *result = 0 ;
7117 void *argp1 = 0 ;
7118 int res1 = 0 ;
7119 PyObject *swig_obj[1] ;
7120
7121 if (!args) SWIG_fail;
7122 swig_obj[0] = args;
7123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7124 if (!SWIG_IsOK(res1)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7126 }
7127 arg1 = reinterpret_cast< wxFrame * >(argp1);
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 {
7135 resultobj = wxPyMake_wxObject(result, (bool)0);
7136 }
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj = 0;
7145 wxFrame *arg1 = (wxFrame *) 0 ;
7146 wxToolBar *arg2 = (wxToolBar *) 0 ;
7147 void *argp1 = 0 ;
7148 int res1 = 0 ;
7149 void *argp2 = 0 ;
7150 int res2 = 0 ;
7151 PyObject * obj0 = 0 ;
7152 PyObject * obj1 = 0 ;
7153 char * kwnames[] = {
7154 (char *) "self",(char *) "toolbar", NULL
7155 };
7156
7157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7159 if (!SWIG_IsOK(res1)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7161 }
7162 arg1 = reinterpret_cast< wxFrame * >(argp1);
7163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7164 if (!SWIG_IsOK(res2)) {
7165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7166 }
7167 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 (arg1)->SetToolBar(arg2);
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = SWIG_Py_Void();
7175 return resultobj;
7176 fail:
7177 return NULL;
7178 }
7179
7180
7181 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7182 PyObject *resultobj = 0;
7183 wxFrame *arg1 = (wxFrame *) 0 ;
7184 wxString *arg2 = 0 ;
7185 bool arg3 ;
7186 void *argp1 = 0 ;
7187 int res1 = 0 ;
7188 bool temp2 = false ;
7189 bool val3 ;
7190 int ecode3 = 0 ;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 char * kwnames[] = {
7195 (char *) "self",(char *) "text",(char *) "show", NULL
7196 };
7197
7198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7200 if (!SWIG_IsOK(res1)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7202 }
7203 arg1 = reinterpret_cast< wxFrame * >(argp1);
7204 {
7205 arg2 = wxString_in_helper(obj1);
7206 if (arg2 == NULL) SWIG_fail;
7207 temp2 = true;
7208 }
7209 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7210 if (!SWIG_IsOK(ecode3)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7212 }
7213 arg3 = static_cast< bool >(val3);
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 resultobj = SWIG_Py_Void();
7221 {
7222 if (temp2)
7223 delete arg2;
7224 }
7225 return resultobj;
7226 fail:
7227 {
7228 if (temp2)
7229 delete arg2;
7230 }
7231 return NULL;
7232 }
7233
7234
7235 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj = 0;
7237 wxFrame *arg1 = (wxFrame *) 0 ;
7238 wxMenu *arg2 = (wxMenu *) NULL ;
7239 void *argp1 = 0 ;
7240 int res1 = 0 ;
7241 void *argp2 = 0 ;
7242 int res2 = 0 ;
7243 PyObject * obj0 = 0 ;
7244 PyObject * obj1 = 0 ;
7245 char * kwnames[] = {
7246 (char *) "self",(char *) "menu", NULL
7247 };
7248
7249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7251 if (!SWIG_IsOK(res1)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7253 }
7254 arg1 = reinterpret_cast< wxFrame * >(argp1);
7255 if (obj1) {
7256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7257 if (!SWIG_IsOK(res2)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7259 }
7260 arg2 = reinterpret_cast< wxMenu * >(argp2);
7261 }
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 (arg1)->DoMenuUpdates(arg2);
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 resultobj = SWIG_Py_Void();
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = 0;
7277 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7278 SwigValueWrapper<wxVisualAttributes > result;
7279 int val1 ;
7280 int ecode1 = 0 ;
7281 PyObject * obj0 = 0 ;
7282 char * kwnames[] = {
7283 (char *) "variant", NULL
7284 };
7285
7286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7287 if (obj0) {
7288 ecode1 = SWIG_AsVal_int(obj0, &val1);
7289 if (!SWIG_IsOK(ecode1)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7291 }
7292 arg1 = static_cast< wxWindowVariant >(val1);
7293 }
7294 {
7295 if (!wxPyCheckForApp()) SWIG_fail;
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = wxFrame::GetClassDefaultAttributes(arg1);
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7309 PyObject *obj;
7310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7311 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7312 return SWIG_Py_Void();
7313 }
7314
7315 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7316 return SWIG_Python_InitShadowInstance(args);
7317 }
7318
7319 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxWindow *arg1 = (wxWindow *) 0 ;
7322 int arg2 = (int) (int)-1 ;
7323 wxString const &arg3_defvalue = wxPyEmptyString ;
7324 wxString *arg3 = (wxString *) &arg3_defvalue ;
7325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7327 wxSize const &arg5_defvalue = wxDefaultSize ;
7328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7329 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7330 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7331 wxString *arg7 = (wxString *) &arg7_defvalue ;
7332 wxDialog *result = 0 ;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 int val2 ;
7336 int ecode2 = 0 ;
7337 bool temp3 = false ;
7338 wxPoint temp4 ;
7339 wxSize temp5 ;
7340 long val6 ;
7341 int ecode6 = 0 ;
7342 bool temp7 = false ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 PyObject * obj2 = 0 ;
7346 PyObject * obj3 = 0 ;
7347 PyObject * obj4 = 0 ;
7348 PyObject * obj5 = 0 ;
7349 PyObject * obj6 = 0 ;
7350 char * kwnames[] = {
7351 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7352 };
7353
7354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7356 if (!SWIG_IsOK(res1)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7358 }
7359 arg1 = reinterpret_cast< wxWindow * >(argp1);
7360 if (obj1) {
7361 ecode2 = SWIG_AsVal_int(obj1, &val2);
7362 if (!SWIG_IsOK(ecode2)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7364 }
7365 arg2 = static_cast< int >(val2);
7366 }
7367 if (obj2) {
7368 {
7369 arg3 = wxString_in_helper(obj2);
7370 if (arg3 == NULL) SWIG_fail;
7371 temp3 = true;
7372 }
7373 }
7374 if (obj3) {
7375 {
7376 arg4 = &temp4;
7377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7378 }
7379 }
7380 if (obj4) {
7381 {
7382 arg5 = &temp5;
7383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7384 }
7385 }
7386 if (obj5) {
7387 ecode6 = SWIG_AsVal_long(obj5, &val6);
7388 if (!SWIG_IsOK(ecode6)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7390 }
7391 arg6 = static_cast< long >(val6);
7392 }
7393 if (obj6) {
7394 {
7395 arg7 = wxString_in_helper(obj6);
7396 if (arg7 == NULL) SWIG_fail;
7397 temp7 = true;
7398 }
7399 }
7400 {
7401 if (!wxPyCheckForApp()) SWIG_fail;
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7408 {
7409 if (temp3)
7410 delete arg3;
7411 }
7412 {
7413 if (temp7)
7414 delete arg7;
7415 }
7416 return resultobj;
7417 fail:
7418 {
7419 if (temp3)
7420 delete arg3;
7421 }
7422 {
7423 if (temp7)
7424 delete arg7;
7425 }
7426 return NULL;
7427 }
7428
7429
7430 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7431 PyObject *resultobj = 0;
7432 wxDialog *result = 0 ;
7433
7434 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7435 {
7436 if (!wxPyCheckForApp()) SWIG_fail;
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (wxDialog *)new wxDialog();
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7443 return resultobj;
7444 fail:
7445 return NULL;
7446 }
7447
7448
7449 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj = 0;
7451 wxDialog *arg1 = (wxDialog *) 0 ;
7452 wxWindow *arg2 = (wxWindow *) 0 ;
7453 int arg3 = (int) (int)-1 ;
7454 wxString const &arg4_defvalue = wxPyEmptyString ;
7455 wxString *arg4 = (wxString *) &arg4_defvalue ;
7456 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7457 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7458 wxSize const &arg6_defvalue = wxDefaultSize ;
7459 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7460 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7461 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7462 wxString *arg8 = (wxString *) &arg8_defvalue ;
7463 bool result;
7464 void *argp1 = 0 ;
7465 int res1 = 0 ;
7466 void *argp2 = 0 ;
7467 int res2 = 0 ;
7468 int val3 ;
7469 int ecode3 = 0 ;
7470 bool temp4 = false ;
7471 wxPoint temp5 ;
7472 wxSize temp6 ;
7473 long val7 ;
7474 int ecode7 = 0 ;
7475 bool temp8 = false ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 PyObject * obj2 = 0 ;
7479 PyObject * obj3 = 0 ;
7480 PyObject * obj4 = 0 ;
7481 PyObject * obj5 = 0 ;
7482 PyObject * obj6 = 0 ;
7483 PyObject * obj7 = 0 ;
7484 char * kwnames[] = {
7485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7486 };
7487
7488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7490 if (!SWIG_IsOK(res1)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7492 }
7493 arg1 = reinterpret_cast< wxDialog * >(argp1);
7494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7495 if (!SWIG_IsOK(res2)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7497 }
7498 arg2 = reinterpret_cast< wxWindow * >(argp2);
7499 if (obj2) {
7500 ecode3 = SWIG_AsVal_int(obj2, &val3);
7501 if (!SWIG_IsOK(ecode3)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7503 }
7504 arg3 = static_cast< int >(val3);
7505 }
7506 if (obj3) {
7507 {
7508 arg4 = wxString_in_helper(obj3);
7509 if (arg4 == NULL) SWIG_fail;
7510 temp4 = true;
7511 }
7512 }
7513 if (obj4) {
7514 {
7515 arg5 = &temp5;
7516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7517 }
7518 }
7519 if (obj5) {
7520 {
7521 arg6 = &temp6;
7522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7523 }
7524 }
7525 if (obj6) {
7526 ecode7 = SWIG_AsVal_long(obj6, &val7);
7527 if (!SWIG_IsOK(ecode7)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7529 }
7530 arg7 = static_cast< long >(val7);
7531 }
7532 if (obj7) {
7533 {
7534 arg8 = wxString_in_helper(obj7);
7535 if (arg8 == NULL) SWIG_fail;
7536 temp8 = true;
7537 }
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7547 }
7548 {
7549 if (temp4)
7550 delete arg4;
7551 }
7552 {
7553 if (temp8)
7554 delete arg8;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp4)
7560 delete arg4;
7561 }
7562 {
7563 if (temp8)
7564 delete arg8;
7565 }
7566 return NULL;
7567 }
7568
7569
7570 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj = 0;
7572 wxDialog *arg1 = (wxDialog *) 0 ;
7573 int arg2 ;
7574 void *argp1 = 0 ;
7575 int res1 = 0 ;
7576 int val2 ;
7577 int ecode2 = 0 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 char * kwnames[] = {
7581 (char *) "self",(char *) "returnCode", NULL
7582 };
7583
7584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7586 if (!SWIG_IsOK(res1)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7588 }
7589 arg1 = reinterpret_cast< wxDialog * >(argp1);
7590 ecode2 = SWIG_AsVal_int(obj1, &val2);
7591 if (!SWIG_IsOK(ecode2)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7593 }
7594 arg2 = static_cast< int >(val2);
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 (arg1)->SetReturnCode(arg2);
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 resultobj = SWIG_Py_Void();
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7609 PyObject *resultobj = 0;
7610 wxDialog *arg1 = (wxDialog *) 0 ;
7611 int result;
7612 void *argp1 = 0 ;
7613 int res1 = 0 ;
7614 PyObject *swig_obj[1] ;
7615
7616 if (!args) SWIG_fail;
7617 swig_obj[0] = args;
7618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7619 if (!SWIG_IsOK(res1)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7621 }
7622 arg1 = reinterpret_cast< wxDialog * >(argp1);
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 resultobj = SWIG_From_int(static_cast< int >(result));
7630 return resultobj;
7631 fail:
7632 return NULL;
7633 }
7634
7635
7636 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7637 PyObject *resultobj = 0;
7638 wxDialog *arg1 = (wxDialog *) 0 ;
7639 int arg2 ;
7640 void *argp1 = 0 ;
7641 int res1 = 0 ;
7642 int val2 ;
7643 int ecode2 = 0 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char * kwnames[] = {
7647 (char *) "self",(char *) "affirmativeId", NULL
7648 };
7649
7650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7652 if (!SWIG_IsOK(res1)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 }
7655 arg1 = reinterpret_cast< wxDialog * >(argp1);
7656 ecode2 = SWIG_AsVal_int(obj1, &val2);
7657 if (!SWIG_IsOK(ecode2)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7659 }
7660 arg2 = static_cast< int >(val2);
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 (arg1)->SetAffirmativeId(arg2);
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_Py_Void();
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7675 PyObject *resultobj = 0;
7676 wxDialog *arg1 = (wxDialog *) 0 ;
7677 int result;
7678 void *argp1 = 0 ;
7679 int res1 = 0 ;
7680 PyObject *swig_obj[1] ;
7681
7682 if (!args) SWIG_fail;
7683 swig_obj[0] = args;
7684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7685 if (!SWIG_IsOK(res1)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7687 }
7688 arg1 = reinterpret_cast< wxDialog * >(argp1);
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 resultobj = SWIG_From_int(static_cast< int >(result));
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj = 0;
7704 wxDialog *arg1 = (wxDialog *) 0 ;
7705 int arg2 ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 int val2 ;
7709 int ecode2 = 0 ;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 char * kwnames[] = {
7713 (char *) "self",(char *) "escapeId", NULL
7714 };
7715
7716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7718 if (!SWIG_IsOK(res1)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7720 }
7721 arg1 = reinterpret_cast< wxDialog * >(argp1);
7722 ecode2 = SWIG_AsVal_int(obj1, &val2);
7723 if (!SWIG_IsOK(ecode2)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7725 }
7726 arg2 = static_cast< int >(val2);
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 (arg1)->SetEscapeId(arg2);
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 resultobj = SWIG_Py_Void();
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7741 PyObject *resultobj = 0;
7742 wxDialog *arg1 = (wxDialog *) 0 ;
7743 int result;
7744 void *argp1 = 0 ;
7745 int res1 = 0 ;
7746 PyObject *swig_obj[1] ;
7747
7748 if (!args) SWIG_fail;
7749 swig_obj[0] = args;
7750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7751 if (!SWIG_IsOK(res1)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7753 }
7754 arg1 = reinterpret_cast< wxDialog * >(argp1);
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 resultobj = SWIG_From_int(static_cast< int >(result));
7762 return resultobj;
7763 fail:
7764 return NULL;
7765 }
7766
7767
7768 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj = 0;
7770 wxDialog *arg1 = (wxDialog *) 0 ;
7771 wxString *arg2 = 0 ;
7772 wxSizer *result = 0 ;
7773 void *argp1 = 0 ;
7774 int res1 = 0 ;
7775 bool temp2 = false ;
7776 PyObject * obj0 = 0 ;
7777 PyObject * obj1 = 0 ;
7778 char * kwnames[] = {
7779 (char *) "self",(char *) "message", NULL
7780 };
7781
7782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7784 if (!SWIG_IsOK(res1)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7786 }
7787 arg1 = reinterpret_cast< wxDialog * >(argp1);
7788 {
7789 arg2 = wxString_in_helper(obj1);
7790 if (arg2 == NULL) SWIG_fail;
7791 temp2 = true;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 {
7800 resultobj = wxPyMake_wxObject(result, (bool)0);
7801 }
7802 {
7803 if (temp2)
7804 delete arg2;
7805 }
7806 return resultobj;
7807 fail:
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return NULL;
7813 }
7814
7815
7816 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7817 PyObject *resultobj = 0;
7818 wxDialog *arg1 = (wxDialog *) 0 ;
7819 long arg2 ;
7820 bool arg3 = (bool) false ;
7821 int arg4 = (int) 0 ;
7822 wxSizer *result = 0 ;
7823 void *argp1 = 0 ;
7824 int res1 = 0 ;
7825 long val2 ;
7826 int ecode2 = 0 ;
7827 bool val3 ;
7828 int ecode3 = 0 ;
7829 int val4 ;
7830 int ecode4 = 0 ;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 PyObject * obj2 = 0 ;
7834 PyObject * obj3 = 0 ;
7835 char * kwnames[] = {
7836 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7837 };
7838
7839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7841 if (!SWIG_IsOK(res1)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7843 }
7844 arg1 = reinterpret_cast< wxDialog * >(argp1);
7845 ecode2 = SWIG_AsVal_long(obj1, &val2);
7846 if (!SWIG_IsOK(ecode2)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7848 }
7849 arg2 = static_cast< long >(val2);
7850 if (obj2) {
7851 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7852 if (!SWIG_IsOK(ecode3)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7854 }
7855 arg3 = static_cast< bool >(val3);
7856 }
7857 if (obj3) {
7858 ecode4 = SWIG_AsVal_int(obj3, &val4);
7859 if (!SWIG_IsOK(ecode4)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7861 }
7862 arg4 = static_cast< int >(val4);
7863 }
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 {
7871 resultobj = wxPyMake_wxObject(result, (bool)0);
7872 }
7873 return resultobj;
7874 fail:
7875 return NULL;
7876 }
7877
7878
7879 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj = 0;
7881 wxDialog *arg1 = (wxDialog *) 0 ;
7882 long arg2 ;
7883 wxStdDialogButtonSizer *result = 0 ;
7884 void *argp1 = 0 ;
7885 int res1 = 0 ;
7886 long val2 ;
7887 int ecode2 = 0 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char * kwnames[] = {
7891 (char *) "self",(char *) "flags", NULL
7892 };
7893
7894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7896 if (!SWIG_IsOK(res1)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7898 }
7899 arg1 = reinterpret_cast< wxDialog * >(argp1);
7900 ecode2 = SWIG_AsVal_long(obj1, &val2);
7901 if (!SWIG_IsOK(ecode2)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7903 }
7904 arg2 = static_cast< long >(val2);
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7919 PyObject *resultobj = 0;
7920 wxDialog *arg1 = (wxDialog *) 0 ;
7921 bool result;
7922 void *argp1 = 0 ;
7923 int res1 = 0 ;
7924 PyObject *swig_obj[1] ;
7925
7926 if (!args) SWIG_fail;
7927 swig_obj[0] = args;
7928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7929 if (!SWIG_IsOK(res1)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7931 }
7932 arg1 = reinterpret_cast< wxDialog * >(argp1);
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (bool)((wxDialog const *)arg1)->IsModal();
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 {
7940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7949 PyObject *resultobj = 0;
7950 wxDialog *arg1 = (wxDialog *) 0 ;
7951 int result;
7952 void *argp1 = 0 ;
7953 int res1 = 0 ;
7954 PyObject *swig_obj[1] ;
7955
7956 if (!args) SWIG_fail;
7957 swig_obj[0] = args;
7958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7959 if (!SWIG_IsOK(res1)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7961 }
7962 arg1 = reinterpret_cast< wxDialog * >(argp1);
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (int)(arg1)->ShowModal();
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = SWIG_From_int(static_cast< int >(result));
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj = 0;
7978 wxDialog *arg1 = (wxDialog *) 0 ;
7979 int arg2 ;
7980 void *argp1 = 0 ;
7981 int res1 = 0 ;
7982 int val2 ;
7983 int ecode2 = 0 ;
7984 PyObject * obj0 = 0 ;
7985 PyObject * obj1 = 0 ;
7986 char * kwnames[] = {
7987 (char *) "self",(char *) "retCode", NULL
7988 };
7989
7990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7992 if (!SWIG_IsOK(res1)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7994 }
7995 arg1 = reinterpret_cast< wxDialog * >(argp1);
7996 ecode2 = SWIG_AsVal_int(obj1, &val2);
7997 if (!SWIG_IsOK(ecode2)) {
7998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7999 }
8000 arg2 = static_cast< int >(val2);
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 (arg1)->EndModal(arg2);
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 resultobj = SWIG_Py_Void();
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj = 0;
8016 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8017 SwigValueWrapper<wxVisualAttributes > result;
8018 int val1 ;
8019 int ecode1 = 0 ;
8020 PyObject * obj0 = 0 ;
8021 char * kwnames[] = {
8022 (char *) "variant", NULL
8023 };
8024
8025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8026 if (obj0) {
8027 ecode1 = SWIG_AsVal_int(obj0, &val1);
8028 if (!SWIG_IsOK(ecode1)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8030 }
8031 arg1 = static_cast< wxWindowVariant >(val1);
8032 }
8033 {
8034 if (!wxPyCheckForApp()) SWIG_fail;
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 result = wxDialog::GetClassDefaultAttributes(arg1);
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8048 PyObject *obj;
8049 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8051 return SWIG_Py_Void();
8052 }
8053
8054 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8055 return SWIG_Python_InitShadowInstance(args);
8056 }
8057
8058 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj = 0;
8060 wxWindow *arg1 = (wxWindow *) 0 ;
8061 int arg2 = (int) (int)-1 ;
8062 wxString const &arg3_defvalue = wxPyEmptyString ;
8063 wxString *arg3 = (wxString *) &arg3_defvalue ;
8064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8066 wxSize const &arg5_defvalue = wxDefaultSize ;
8067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8068 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8069 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8070 wxString *arg7 = (wxString *) &arg7_defvalue ;
8071 wxMiniFrame *result = 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 int val2 ;
8075 int ecode2 = 0 ;
8076 bool temp3 = false ;
8077 wxPoint temp4 ;
8078 wxSize temp5 ;
8079 long val6 ;
8080 int ecode6 = 0 ;
8081 bool temp7 = false ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 PyObject * obj4 = 0 ;
8087 PyObject * obj5 = 0 ;
8088 PyObject * obj6 = 0 ;
8089 char * kwnames[] = {
8090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8091 };
8092
8093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8097 }
8098 arg1 = reinterpret_cast< wxWindow * >(argp1);
8099 if (obj1) {
8100 ecode2 = SWIG_AsVal_int(obj1, &val2);
8101 if (!SWIG_IsOK(ecode2)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8103 }
8104 arg2 = static_cast< int >(val2);
8105 }
8106 if (obj2) {
8107 {
8108 arg3 = wxString_in_helper(obj2);
8109 if (arg3 == NULL) SWIG_fail;
8110 temp3 = true;
8111 }
8112 }
8113 if (obj3) {
8114 {
8115 arg4 = &temp4;
8116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8117 }
8118 }
8119 if (obj4) {
8120 {
8121 arg5 = &temp5;
8122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8123 }
8124 }
8125 if (obj5) {
8126 ecode6 = SWIG_AsVal_long(obj5, &val6);
8127 if (!SWIG_IsOK(ecode6)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8129 }
8130 arg6 = static_cast< long >(val6);
8131 }
8132 if (obj6) {
8133 {
8134 arg7 = wxString_in_helper(obj6);
8135 if (arg7 == NULL) SWIG_fail;
8136 temp7 = true;
8137 }
8138 }
8139 {
8140 if (!wxPyCheckForApp()) SWIG_fail;
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8147 {
8148 if (temp3)
8149 delete arg3;
8150 }
8151 {
8152 if (temp7)
8153 delete arg7;
8154 }
8155 return resultobj;
8156 fail:
8157 {
8158 if (temp3)
8159 delete arg3;
8160 }
8161 {
8162 if (temp7)
8163 delete arg7;
8164 }
8165 return NULL;
8166 }
8167
8168
8169 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8170 PyObject *resultobj = 0;
8171 wxMiniFrame *result = 0 ;
8172
8173 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8174 {
8175 if (!wxPyCheckForApp()) SWIG_fail;
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (wxMiniFrame *)new wxMiniFrame();
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8182 return resultobj;
8183 fail:
8184 return NULL;
8185 }
8186
8187
8188 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8189 PyObject *resultobj = 0;
8190 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8191 wxWindow *arg2 = (wxWindow *) 0 ;
8192 int arg3 = (int) (int)-1 ;
8193 wxString const &arg4_defvalue = wxPyEmptyString ;
8194 wxString *arg4 = (wxString *) &arg4_defvalue ;
8195 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8196 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8197 wxSize const &arg6_defvalue = wxDefaultSize ;
8198 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8199 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8200 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8201 wxString *arg8 = (wxString *) &arg8_defvalue ;
8202 bool result;
8203 void *argp1 = 0 ;
8204 int res1 = 0 ;
8205 void *argp2 = 0 ;
8206 int res2 = 0 ;
8207 int val3 ;
8208 int ecode3 = 0 ;
8209 bool temp4 = false ;
8210 wxPoint temp5 ;
8211 wxSize temp6 ;
8212 long val7 ;
8213 int ecode7 = 0 ;
8214 bool temp8 = false ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 PyObject * obj3 = 0 ;
8219 PyObject * obj4 = 0 ;
8220 PyObject * obj5 = 0 ;
8221 PyObject * obj6 = 0 ;
8222 PyObject * obj7 = 0 ;
8223 char * kwnames[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8225 };
8226
8227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8229 if (!SWIG_IsOK(res1)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8231 }
8232 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8234 if (!SWIG_IsOK(res2)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8236 }
8237 arg2 = reinterpret_cast< wxWindow * >(argp2);
8238 if (obj2) {
8239 ecode3 = SWIG_AsVal_int(obj2, &val3);
8240 if (!SWIG_IsOK(ecode3)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8242 }
8243 arg3 = static_cast< int >(val3);
8244 }
8245 if (obj3) {
8246 {
8247 arg4 = wxString_in_helper(obj3);
8248 if (arg4 == NULL) SWIG_fail;
8249 temp4 = true;
8250 }
8251 }
8252 if (obj4) {
8253 {
8254 arg5 = &temp5;
8255 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8256 }
8257 }
8258 if (obj5) {
8259 {
8260 arg6 = &temp6;
8261 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8262 }
8263 }
8264 if (obj6) {
8265 ecode7 = SWIG_AsVal_long(obj6, &val7);
8266 if (!SWIG_IsOK(ecode7)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8268 }
8269 arg7 = static_cast< long >(val7);
8270 }
8271 if (obj7) {
8272 {
8273 arg8 = wxString_in_helper(obj7);
8274 if (arg8 == NULL) SWIG_fail;
8275 temp8 = true;
8276 }
8277 }
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8286 }
8287 {
8288 if (temp4)
8289 delete arg4;
8290 }
8291 {
8292 if (temp8)
8293 delete arg8;
8294 }
8295 return resultobj;
8296 fail:
8297 {
8298 if (temp4)
8299 delete arg4;
8300 }
8301 {
8302 if (temp8)
8303 delete arg8;
8304 }
8305 return NULL;
8306 }
8307
8308
8309 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8310 PyObject *obj;
8311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8312 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8313 return SWIG_Py_Void();
8314 }
8315
8316 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8317 return SWIG_Python_InitShadowInstance(args);
8318 }
8319
8320 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8321 PyObject *resultobj = 0;
8322 wxBitmap *arg1 = 0 ;
8323 wxWindow *arg2 = (wxWindow *) 0 ;
8324 int arg3 ;
8325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8327 wxSize const &arg5_defvalue = wxDefaultSize ;
8328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8329 long arg6 = (long) wxNO_BORDER ;
8330 wxSplashScreenWindow *result = 0 ;
8331 void *argp1 = 0 ;
8332 int res1 = 0 ;
8333 void *argp2 = 0 ;
8334 int res2 = 0 ;
8335 int val3 ;
8336 int ecode3 = 0 ;
8337 wxPoint temp4 ;
8338 wxSize temp5 ;
8339 long val6 ;
8340 int ecode6 = 0 ;
8341 PyObject * obj0 = 0 ;
8342 PyObject * obj1 = 0 ;
8343 PyObject * obj2 = 0 ;
8344 PyObject * obj3 = 0 ;
8345 PyObject * obj4 = 0 ;
8346 PyObject * obj5 = 0 ;
8347 char * kwnames[] = {
8348 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8349 };
8350
8351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8352 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8353 if (!SWIG_IsOK(res1)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8355 }
8356 if (!argp1) {
8357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8358 }
8359 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8361 if (!SWIG_IsOK(res2)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8363 }
8364 arg2 = reinterpret_cast< wxWindow * >(argp2);
8365 ecode3 = SWIG_AsVal_int(obj2, &val3);
8366 if (!SWIG_IsOK(ecode3)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8368 }
8369 arg3 = static_cast< int >(val3);
8370 if (obj3) {
8371 {
8372 arg4 = &temp4;
8373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8374 }
8375 }
8376 if (obj4) {
8377 {
8378 arg5 = &temp5;
8379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8380 }
8381 }
8382 if (obj5) {
8383 ecode6 = SWIG_AsVal_long(obj5, &val6);
8384 if (!SWIG_IsOK(ecode6)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8386 }
8387 arg6 = static_cast< long >(val6);
8388 }
8389 {
8390 if (!wxPyCheckForApp()) SWIG_fail;
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj = 0;
8405 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8406 wxBitmap *arg2 = 0 ;
8407 void *argp1 = 0 ;
8408 int res1 = 0 ;
8409 void *argp2 = 0 ;
8410 int res2 = 0 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char * kwnames[] = {
8414 (char *) "self",(char *) "bitmap", NULL
8415 };
8416
8417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8419 if (!SWIG_IsOK(res1)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8421 }
8422 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8423 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8424 if (!SWIG_IsOK(res2)) {
8425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8426 }
8427 if (!argp2) {
8428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8429 }
8430 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 resultobj = SWIG_Py_Void();
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8445 PyObject *resultobj = 0;
8446 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8447 wxBitmap *result = 0 ;
8448 void *argp1 = 0 ;
8449 int res1 = 0 ;
8450 PyObject *swig_obj[1] ;
8451
8452 if (!args) SWIG_fail;
8453 swig_obj[0] = args;
8454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8455 if (!SWIG_IsOK(res1)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8457 }
8458 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 {
8462 wxBitmap &_result_ref = (arg1)->GetBitmap();
8463 result = (wxBitmap *) &_result_ref;
8464 }
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 {
8469 wxBitmap* resultptr = new wxBitmap(*result);
8470 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8471 }
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8479 PyObject *obj;
8480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8481 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8482 return SWIG_Py_Void();
8483 }
8484
8485 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8486 return SWIG_Python_InitShadowInstance(args);
8487 }
8488
8489 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj = 0;
8491 wxBitmap *arg1 = 0 ;
8492 long arg2 ;
8493 int arg3 ;
8494 wxWindow *arg4 = (wxWindow *) 0 ;
8495 int arg5 = (int) -1 ;
8496 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8497 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8498 wxSize const &arg7_defvalue = wxDefaultSize ;
8499 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8500 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8501 wxSplashScreen *result = 0 ;
8502 void *argp1 = 0 ;
8503 int res1 = 0 ;
8504 long val2 ;
8505 int ecode2 = 0 ;
8506 int val3 ;
8507 int ecode3 = 0 ;
8508 void *argp4 = 0 ;
8509 int res4 = 0 ;
8510 int val5 ;
8511 int ecode5 = 0 ;
8512 wxPoint temp6 ;
8513 wxSize temp7 ;
8514 long val8 ;
8515 int ecode8 = 0 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 PyObject * obj3 = 0 ;
8520 PyObject * obj4 = 0 ;
8521 PyObject * obj5 = 0 ;
8522 PyObject * obj6 = 0 ;
8523 PyObject * obj7 = 0 ;
8524 char * kwnames[] = {
8525 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8526 };
8527
8528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8529 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8530 if (!SWIG_IsOK(res1)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8532 }
8533 if (!argp1) {
8534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8535 }
8536 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8537 ecode2 = SWIG_AsVal_long(obj1, &val2);
8538 if (!SWIG_IsOK(ecode2)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8540 }
8541 arg2 = static_cast< long >(val2);
8542 ecode3 = SWIG_AsVal_int(obj2, &val3);
8543 if (!SWIG_IsOK(ecode3)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8545 }
8546 arg3 = static_cast< int >(val3);
8547 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8548 if (!SWIG_IsOK(res4)) {
8549 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8550 }
8551 arg4 = reinterpret_cast< wxWindow * >(argp4);
8552 if (obj4) {
8553 ecode5 = SWIG_AsVal_int(obj4, &val5);
8554 if (!SWIG_IsOK(ecode5)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8556 }
8557 arg5 = static_cast< int >(val5);
8558 }
8559 if (obj5) {
8560 {
8561 arg6 = &temp6;
8562 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8563 }
8564 }
8565 if (obj6) {
8566 {
8567 arg7 = &temp7;
8568 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8569 }
8570 }
8571 if (obj7) {
8572 ecode8 = SWIG_AsVal_long(obj7, &val8);
8573 if (!SWIG_IsOK(ecode8)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8575 }
8576 arg8 = static_cast< long >(val8);
8577 }
8578 {
8579 if (!wxPyCheckForApp()) SWIG_fail;
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8593 PyObject *resultobj = 0;
8594 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8595 long result;
8596 void *argp1 = 0 ;
8597 int res1 = 0 ;
8598 PyObject *swig_obj[1] ;
8599
8600 if (!args) SWIG_fail;
8601 swig_obj[0] = args;
8602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8603 if (!SWIG_IsOK(res1)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8605 }
8606 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_From_long(static_cast< long >(result));
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8621 PyObject *resultobj = 0;
8622 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8623 wxSplashScreenWindow *result = 0 ;
8624 void *argp1 = 0 ;
8625 int res1 = 0 ;
8626 PyObject *swig_obj[1] ;
8627
8628 if (!args) SWIG_fail;
8629 swig_obj[0] = args;
8630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8631 if (!SWIG_IsOK(res1)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8633 }
8634 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8649 PyObject *resultobj = 0;
8650 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8651 int result;
8652 void *argp1 = 0 ;
8653 int res1 = 0 ;
8654 PyObject *swig_obj[1] ;
8655
8656 if (!args) SWIG_fail;
8657 swig_obj[0] = args;
8658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8659 if (!SWIG_IsOK(res1)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8661 }
8662 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 resultobj = SWIG_From_int(static_cast< int >(result));
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8677 PyObject *obj;
8678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8680 return SWIG_Py_Void();
8681 }
8682
8683 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8684 return SWIG_Python_InitShadowInstance(args);
8685 }
8686
8687 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj = 0;
8689 wxWindow *arg1 = (wxWindow *) 0 ;
8690 int arg2 = (int) -1 ;
8691 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8692 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8693 wxString *arg4 = (wxString *) &arg4_defvalue ;
8694 wxStatusBar *result = 0 ;
8695 void *argp1 = 0 ;
8696 int res1 = 0 ;
8697 int val2 ;
8698 int ecode2 = 0 ;
8699 long val3 ;
8700 int ecode3 = 0 ;
8701 bool temp4 = false ;
8702 PyObject * obj0 = 0 ;
8703 PyObject * obj1 = 0 ;
8704 PyObject * obj2 = 0 ;
8705 PyObject * obj3 = 0 ;
8706 char * kwnames[] = {
8707 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8708 };
8709
8710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8712 if (!SWIG_IsOK(res1)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8714 }
8715 arg1 = reinterpret_cast< wxWindow * >(argp1);
8716 if (obj1) {
8717 ecode2 = SWIG_AsVal_int(obj1, &val2);
8718 if (!SWIG_IsOK(ecode2)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8720 }
8721 arg2 = static_cast< int >(val2);
8722 }
8723 if (obj2) {
8724 ecode3 = SWIG_AsVal_long(obj2, &val3);
8725 if (!SWIG_IsOK(ecode3)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8727 }
8728 arg3 = static_cast< long >(val3);
8729 }
8730 if (obj3) {
8731 {
8732 arg4 = wxString_in_helper(obj3);
8733 if (arg4 == NULL) SWIG_fail;
8734 temp4 = true;
8735 }
8736 }
8737 {
8738 if (!wxPyCheckForApp()) SWIG_fail;
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8745 {
8746 if (temp4)
8747 delete arg4;
8748 }
8749 return resultobj;
8750 fail:
8751 {
8752 if (temp4)
8753 delete arg4;
8754 }
8755 return NULL;
8756 }
8757
8758
8759 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8760 PyObject *resultobj = 0;
8761 wxStatusBar *result = 0 ;
8762
8763 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8764 {
8765 if (!wxPyCheckForApp()) SWIG_fail;
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (wxStatusBar *)new wxStatusBar();
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj = 0;
8780 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8781 wxWindow *arg2 = (wxWindow *) 0 ;
8782 int arg3 = (int) -1 ;
8783 long arg4 = (long) wxST_SIZEGRIP ;
8784 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8785 wxString *arg5 = (wxString *) &arg5_defvalue ;
8786 bool result;
8787 void *argp1 = 0 ;
8788 int res1 = 0 ;
8789 void *argp2 = 0 ;
8790 int res2 = 0 ;
8791 int val3 ;
8792 int ecode3 = 0 ;
8793 long val4 ;
8794 int ecode4 = 0 ;
8795 bool temp5 = false ;
8796 PyObject * obj0 = 0 ;
8797 PyObject * obj1 = 0 ;
8798 PyObject * obj2 = 0 ;
8799 PyObject * obj3 = 0 ;
8800 PyObject * obj4 = 0 ;
8801 char * kwnames[] = {
8802 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8803 };
8804
8805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8807 if (!SWIG_IsOK(res1)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8809 }
8810 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8812 if (!SWIG_IsOK(res2)) {
8813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8814 }
8815 arg2 = reinterpret_cast< wxWindow * >(argp2);
8816 if (obj2) {
8817 ecode3 = SWIG_AsVal_int(obj2, &val3);
8818 if (!SWIG_IsOK(ecode3)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8820 }
8821 arg3 = static_cast< int >(val3);
8822 }
8823 if (obj3) {
8824 ecode4 = SWIG_AsVal_long(obj3, &val4);
8825 if (!SWIG_IsOK(ecode4)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8827 }
8828 arg4 = static_cast< long >(val4);
8829 }
8830 if (obj4) {
8831 {
8832 arg5 = wxString_in_helper(obj4);
8833 if (arg5 == NULL) SWIG_fail;
8834 temp5 = true;
8835 }
8836 }
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
8843 {
8844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8845 }
8846 {
8847 if (temp5)
8848 delete arg5;
8849 }
8850 return resultobj;
8851 fail:
8852 {
8853 if (temp5)
8854 delete arg5;
8855 }
8856 return NULL;
8857 }
8858
8859
8860 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj = 0;
8862 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8863 int arg2 = (int) 1 ;
8864 void *argp1 = 0 ;
8865 int res1 = 0 ;
8866 int val2 ;
8867 int ecode2 = 0 ;
8868 PyObject * obj0 = 0 ;
8869 PyObject * obj1 = 0 ;
8870 char * kwnames[] = {
8871 (char *) "self",(char *) "number", NULL
8872 };
8873
8874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8876 if (!SWIG_IsOK(res1)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8878 }
8879 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8880 if (obj1) {
8881 ecode2 = SWIG_AsVal_int(obj1, &val2);
8882 if (!SWIG_IsOK(ecode2)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8884 }
8885 arg2 = static_cast< int >(val2);
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 (arg1)->SetFieldsCount(arg2);
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_Py_Void();
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8901 PyObject *resultobj = 0;
8902 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8903 int result;
8904 void *argp1 = 0 ;
8905 int res1 = 0 ;
8906 PyObject *swig_obj[1] ;
8907
8908 if (!args) SWIG_fail;
8909 swig_obj[0] = args;
8910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8911 if (!SWIG_IsOK(res1)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8913 }
8914 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = SWIG_From_int(static_cast< int >(result));
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj = 0;
8930 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8931 wxString *arg2 = 0 ;
8932 int arg3 = (int) 0 ;
8933 void *argp1 = 0 ;
8934 int res1 = 0 ;
8935 bool temp2 = false ;
8936 int val3 ;
8937 int ecode3 = 0 ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 char * kwnames[] = {
8942 (char *) "self",(char *) "text",(char *) "number", NULL
8943 };
8944
8945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8947 if (!SWIG_IsOK(res1)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8949 }
8950 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8951 {
8952 arg2 = wxString_in_helper(obj1);
8953 if (arg2 == NULL) SWIG_fail;
8954 temp2 = true;
8955 }
8956 if (obj2) {
8957 ecode3 = SWIG_AsVal_int(obj2, &val3);
8958 if (!SWIG_IsOK(ecode3)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8960 }
8961 arg3 = static_cast< int >(val3);
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 resultobj = SWIG_Py_Void();
8970 {
8971 if (temp2)
8972 delete arg2;
8973 }
8974 return resultobj;
8975 fail:
8976 {
8977 if (temp2)
8978 delete arg2;
8979 }
8980 return NULL;
8981 }
8982
8983
8984 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj = 0;
8986 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8987 int arg2 = (int) 0 ;
8988 wxString result;
8989 void *argp1 = 0 ;
8990 int res1 = 0 ;
8991 int val2 ;
8992 int ecode2 = 0 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 char * kwnames[] = {
8996 (char *) "self",(char *) "number", NULL
8997 };
8998
8999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9001 if (!SWIG_IsOK(res1)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9003 }
9004 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9005 if (obj1) {
9006 ecode2 = SWIG_AsVal_int(obj1, &val2);
9007 if (!SWIG_IsOK(ecode2)) {
9008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9009 }
9010 arg2 = static_cast< int >(val2);
9011 }
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 {
9019 #if wxUSE_UNICODE
9020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9021 #else
9022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9023 #endif
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj = 0;
9033 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9034 wxString *arg2 = 0 ;
9035 int arg3 = (int) 0 ;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 bool temp2 = false ;
9039 int val3 ;
9040 int ecode3 = 0 ;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 PyObject * obj2 = 0 ;
9044 char * kwnames[] = {
9045 (char *) "self",(char *) "text",(char *) "number", NULL
9046 };
9047
9048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9050 if (!SWIG_IsOK(res1)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9052 }
9053 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9054 {
9055 arg2 = wxString_in_helper(obj1);
9056 if (arg2 == NULL) SWIG_fail;
9057 temp2 = true;
9058 }
9059 if (obj2) {
9060 ecode3 = SWIG_AsVal_int(obj2, &val3);
9061 if (!SWIG_IsOK(ecode3)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9063 }
9064 arg3 = static_cast< int >(val3);
9065 }
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_Py_Void();
9073 {
9074 if (temp2)
9075 delete arg2;
9076 }
9077 return resultobj;
9078 fail:
9079 {
9080 if (temp2)
9081 delete arg2;
9082 }
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9090 int arg2 = (int) 0 ;
9091 void *argp1 = 0 ;
9092 int res1 = 0 ;
9093 int val2 ;
9094 int ecode2 = 0 ;
9095 PyObject * obj0 = 0 ;
9096 PyObject * obj1 = 0 ;
9097 char * kwnames[] = {
9098 (char *) "self",(char *) "number", NULL
9099 };
9100
9101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9103 if (!SWIG_IsOK(res1)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9105 }
9106 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9107 if (obj1) {
9108 ecode2 = SWIG_AsVal_int(obj1, &val2);
9109 if (!SWIG_IsOK(ecode2)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9111 }
9112 arg2 = static_cast< int >(val2);
9113 }
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 (arg1)->PopStatusText(arg2);
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 resultobj = SWIG_Py_Void();
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj = 0;
9129 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9130 int arg2 ;
9131 int *arg3 = (int *) 0 ;
9132 void *argp1 = 0 ;
9133 int res1 = 0 ;
9134 PyObject * obj0 = 0 ;
9135 PyObject * obj1 = 0 ;
9136 char * kwnames[] = {
9137 (char *) "self",(char *) "widths", NULL
9138 };
9139
9140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9142 if (!SWIG_IsOK(res1)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9144 }
9145 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9146 {
9147 arg2 = PyList_Size(obj1);
9148 arg3 = int_LIST_helper(obj1);
9149 if (arg3 == NULL) SWIG_fail;
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_Py_Void();
9158 {
9159 if (arg3) delete [] arg3;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (arg3) delete [] arg3;
9165 }
9166 return NULL;
9167 }
9168
9169
9170 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj = 0;
9172 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9173 int arg2 ;
9174 int *arg3 = (int *) 0 ;
9175 void *argp1 = 0 ;
9176 int res1 = 0 ;
9177 PyObject * obj0 = 0 ;
9178 PyObject * obj1 = 0 ;
9179 char * kwnames[] = {
9180 (char *) "self",(char *) "styles", NULL
9181 };
9182
9183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9185 if (!SWIG_IsOK(res1)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9187 }
9188 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9189 {
9190 arg2 = PyList_Size(obj1);
9191 arg3 = int_LIST_helper(obj1);
9192 if (arg3 == NULL) SWIG_fail;
9193 }
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_Py_Void();
9201 {
9202 if (arg3) delete [] arg3;
9203 }
9204 return resultobj;
9205 fail:
9206 {
9207 if (arg3) delete [] arg3;
9208 }
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9216 int arg2 ;
9217 wxRect result;
9218 void *argp1 = 0 ;
9219 int res1 = 0 ;
9220 int val2 ;
9221 int ecode2 = 0 ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj1 = 0 ;
9224 char * kwnames[] = {
9225 (char *) "self",(char *) "i", NULL
9226 };
9227
9228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9230 if (!SWIG_IsOK(res1)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9232 }
9233 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9234 ecode2 = SWIG_AsVal_int(obj1, &val2);
9235 if (!SWIG_IsOK(ecode2)) {
9236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9237 }
9238 arg2 = static_cast< int >(val2);
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 result = wxStatusBar_GetFieldRect(arg1,arg2);
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj = 0;
9254 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9255 int arg2 ;
9256 void *argp1 = 0 ;
9257 int res1 = 0 ;
9258 int val2 ;
9259 int ecode2 = 0 ;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 char * kwnames[] = {
9263 (char *) "self",(char *) "height", NULL
9264 };
9265
9266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9268 if (!SWIG_IsOK(res1)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9270 }
9271 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9272 ecode2 = SWIG_AsVal_int(obj1, &val2);
9273 if (!SWIG_IsOK(ecode2)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9275 }
9276 arg2 = static_cast< int >(val2);
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->SetMinHeight(arg2);
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 resultobj = SWIG_Py_Void();
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9291 PyObject *resultobj = 0;
9292 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9293 int result;
9294 void *argp1 = 0 ;
9295 int res1 = 0 ;
9296 PyObject *swig_obj[1] ;
9297
9298 if (!args) SWIG_fail;
9299 swig_obj[0] = args;
9300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9301 if (!SWIG_IsOK(res1)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9303 }
9304 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 resultobj = SWIG_From_int(static_cast< int >(result));
9312 return resultobj;
9313 fail:
9314 return NULL;
9315 }
9316
9317
9318 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9319 PyObject *resultobj = 0;
9320 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9321 int result;
9322 void *argp1 = 0 ;
9323 int res1 = 0 ;
9324 PyObject *swig_obj[1] ;
9325
9326 if (!args) SWIG_fail;
9327 swig_obj[0] = args;
9328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9329 if (!SWIG_IsOK(res1)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9331 }
9332 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 resultobj = SWIG_From_int(static_cast< int >(result));
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj = 0;
9348 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9349 SwigValueWrapper<wxVisualAttributes > result;
9350 int val1 ;
9351 int ecode1 = 0 ;
9352 PyObject * obj0 = 0 ;
9353 char * kwnames[] = {
9354 (char *) "variant", NULL
9355 };
9356
9357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9358 if (obj0) {
9359 ecode1 = SWIG_AsVal_int(obj0, &val1);
9360 if (!SWIG_IsOK(ecode1)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9362 }
9363 arg1 = static_cast< wxWindowVariant >(val1);
9364 }
9365 {
9366 if (!wxPyCheckForApp()) SWIG_fail;
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9373 return resultobj;
9374 fail:
9375 return NULL;
9376 }
9377
9378
9379 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9380 PyObject *obj;
9381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9382 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9383 return SWIG_Py_Void();
9384 }
9385
9386 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9387 return SWIG_Python_InitShadowInstance(args);
9388 }
9389
9390 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9391 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9392 return 1;
9393 }
9394
9395
9396 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9397 PyObject *pyobj = 0;
9398
9399 {
9400 #if wxUSE_UNICODE
9401 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9402 #else
9403 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9404 #endif
9405 }
9406 return pyobj;
9407 }
9408
9409
9410 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj = 0;
9412 wxWindow *arg1 = (wxWindow *) 0 ;
9413 int arg2 = (int) -1 ;
9414 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9415 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9416 wxSize const &arg4_defvalue = wxDefaultSize ;
9417 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9418 long arg5 = (long) wxSP_3D ;
9419 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9420 wxString *arg6 = (wxString *) &arg6_defvalue ;
9421 wxSplitterWindow *result = 0 ;
9422 void *argp1 = 0 ;
9423 int res1 = 0 ;
9424 int val2 ;
9425 int ecode2 = 0 ;
9426 wxPoint temp3 ;
9427 wxSize temp4 ;
9428 long val5 ;
9429 int ecode5 = 0 ;
9430 bool temp6 = false ;
9431 PyObject * obj0 = 0 ;
9432 PyObject * obj1 = 0 ;
9433 PyObject * obj2 = 0 ;
9434 PyObject * obj3 = 0 ;
9435 PyObject * obj4 = 0 ;
9436 PyObject * obj5 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9443 if (!SWIG_IsOK(res1)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9445 }
9446 arg1 = reinterpret_cast< wxWindow * >(argp1);
9447 if (obj1) {
9448 ecode2 = SWIG_AsVal_int(obj1, &val2);
9449 if (!SWIG_IsOK(ecode2)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9451 }
9452 arg2 = static_cast< int >(val2);
9453 }
9454 if (obj2) {
9455 {
9456 arg3 = &temp3;
9457 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9458 }
9459 }
9460 if (obj3) {
9461 {
9462 arg4 = &temp4;
9463 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9464 }
9465 }
9466 if (obj4) {
9467 ecode5 = SWIG_AsVal_long(obj4, &val5);
9468 if (!SWIG_IsOK(ecode5)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9470 }
9471 arg5 = static_cast< long >(val5);
9472 }
9473 if (obj5) {
9474 {
9475 arg6 = wxString_in_helper(obj5);
9476 if (arg6 == NULL) SWIG_fail;
9477 temp6 = true;
9478 }
9479 }
9480 {
9481 if (!wxPyCheckForApp()) SWIG_fail;
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9488 {
9489 if (temp6)
9490 delete arg6;
9491 }
9492 return resultobj;
9493 fail:
9494 {
9495 if (temp6)
9496 delete arg6;
9497 }
9498 return NULL;
9499 }
9500
9501
9502 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9503 PyObject *resultobj = 0;
9504 wxSplitterWindow *result = 0 ;
9505
9506 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9507 {
9508 if (!wxPyCheckForApp()) SWIG_fail;
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (wxSplitterWindow *)new wxSplitterWindow();
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9515 return resultobj;
9516 fail:
9517 return NULL;
9518 }
9519
9520
9521 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj = 0;
9523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9524 wxWindow *arg2 = (wxWindow *) 0 ;
9525 int arg3 = (int) -1 ;
9526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9528 wxSize const &arg5_defvalue = wxDefaultSize ;
9529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9530 long arg6 = (long) wxSP_3D ;
9531 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9532 wxString *arg7 = (wxString *) &arg7_defvalue ;
9533 bool result;
9534 void *argp1 = 0 ;
9535 int res1 = 0 ;
9536 void *argp2 = 0 ;
9537 int res2 = 0 ;
9538 int val3 ;
9539 int ecode3 = 0 ;
9540 wxPoint temp4 ;
9541 wxSize temp5 ;
9542 long val6 ;
9543 int ecode6 = 0 ;
9544 bool temp7 = false ;
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
9547 PyObject * obj2 = 0 ;
9548 PyObject * obj3 = 0 ;
9549 PyObject * obj4 = 0 ;
9550 PyObject * obj5 = 0 ;
9551 PyObject * obj6 = 0 ;
9552 char * kwnames[] = {
9553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9554 };
9555
9556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9558 if (!SWIG_IsOK(res1)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9560 }
9561 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9563 if (!SWIG_IsOK(res2)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9565 }
9566 arg2 = reinterpret_cast< wxWindow * >(argp2);
9567 if (obj2) {
9568 ecode3 = SWIG_AsVal_int(obj2, &val3);
9569 if (!SWIG_IsOK(ecode3)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9571 }
9572 arg3 = static_cast< int >(val3);
9573 }
9574 if (obj3) {
9575 {
9576 arg4 = &temp4;
9577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9578 }
9579 }
9580 if (obj4) {
9581 {
9582 arg5 = &temp5;
9583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9584 }
9585 }
9586 if (obj5) {
9587 ecode6 = SWIG_AsVal_long(obj5, &val6);
9588 if (!SWIG_IsOK(ecode6)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9590 }
9591 arg6 = static_cast< long >(val6);
9592 }
9593 if (obj6) {
9594 {
9595 arg7 = wxString_in_helper(obj6);
9596 if (arg7 == NULL) SWIG_fail;
9597 temp7 = true;
9598 }
9599 }
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 {
9607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9608 }
9609 {
9610 if (temp7)
9611 delete arg7;
9612 }
9613 return resultobj;
9614 fail:
9615 {
9616 if (temp7)
9617 delete arg7;
9618 }
9619 return NULL;
9620 }
9621
9622
9623 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9624 PyObject *resultobj = 0;
9625 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9626 wxWindow *result = 0 ;
9627 void *argp1 = 0 ;
9628 int res1 = 0 ;
9629 PyObject *swig_obj[1] ;
9630
9631 if (!args) SWIG_fail;
9632 swig_obj[0] = args;
9633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9634 if (!SWIG_IsOK(res1)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9636 }
9637 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 resultobj = wxPyMake_wxObject(result, 0);
9646 }
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9654 PyObject *resultobj = 0;
9655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9656 wxWindow *result = 0 ;
9657 void *argp1 = 0 ;
9658 int res1 = 0 ;
9659 PyObject *swig_obj[1] ;
9660
9661 if (!args) SWIG_fail;
9662 swig_obj[0] = args;
9663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9666 }
9667 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 {
9675 resultobj = wxPyMake_wxObject(result, 0);
9676 }
9677 return resultobj;
9678 fail:
9679 return NULL;
9680 }
9681
9682
9683 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj = 0;
9685 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9686 int arg2 ;
9687 void *argp1 = 0 ;
9688 int res1 = 0 ;
9689 int val2 ;
9690 int ecode2 = 0 ;
9691 PyObject * obj0 = 0 ;
9692 PyObject * obj1 = 0 ;
9693 char * kwnames[] = {
9694 (char *) "self",(char *) "mode", NULL
9695 };
9696
9697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9699 if (!SWIG_IsOK(res1)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9701 }
9702 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9703 ecode2 = SWIG_AsVal_int(obj1, &val2);
9704 if (!SWIG_IsOK(ecode2)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9706 }
9707 arg2 = static_cast< int >(val2);
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->SetSplitMode(arg2);
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 resultobj = SWIG_Py_Void();
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9722 PyObject *resultobj = 0;
9723 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9724 wxSplitMode result;
9725 void *argp1 = 0 ;
9726 int res1 = 0 ;
9727 PyObject *swig_obj[1] ;
9728
9729 if (!args) SWIG_fail;
9730 swig_obj[0] = args;
9731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9732 if (!SWIG_IsOK(res1)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9734 }
9735 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = SWIG_From_int(static_cast< int >(result));
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj = 0;
9751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9752 wxWindow *arg2 = (wxWindow *) 0 ;
9753 void *argp1 = 0 ;
9754 int res1 = 0 ;
9755 void *argp2 = 0 ;
9756 int res2 = 0 ;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 char * kwnames[] = {
9760 (char *) "self",(char *) "window", NULL
9761 };
9762
9763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9765 if (!SWIG_IsOK(res1)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9767 }
9768 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9770 if (!SWIG_IsOK(res2)) {
9771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9772 }
9773 arg2 = reinterpret_cast< wxWindow * >(argp2);
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->Initialize(arg2);
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 resultobj = SWIG_Py_Void();
9781 return resultobj;
9782 fail:
9783 return NULL;
9784 }
9785
9786
9787 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9788 PyObject *resultobj = 0;
9789 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9790 wxWindow *arg2 = (wxWindow *) 0 ;
9791 wxWindow *arg3 = (wxWindow *) 0 ;
9792 int arg4 = (int) 0 ;
9793 bool result;
9794 void *argp1 = 0 ;
9795 int res1 = 0 ;
9796 void *argp2 = 0 ;
9797 int res2 = 0 ;
9798 void *argp3 = 0 ;
9799 int res3 = 0 ;
9800 int val4 ;
9801 int ecode4 = 0 ;
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 PyObject * obj2 = 0 ;
9805 PyObject * obj3 = 0 ;
9806 char * kwnames[] = {
9807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9808 };
9809
9810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9812 if (!SWIG_IsOK(res1)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9814 }
9815 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9816 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9817 if (!SWIG_IsOK(res2)) {
9818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9819 }
9820 arg2 = reinterpret_cast< wxWindow * >(argp2);
9821 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9822 if (!SWIG_IsOK(res3)) {
9823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9824 }
9825 arg3 = reinterpret_cast< wxWindow * >(argp3);
9826 if (obj3) {
9827 ecode4 = SWIG_AsVal_int(obj3, &val4);
9828 if (!SWIG_IsOK(ecode4)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9830 }
9831 arg4 = static_cast< int >(val4);
9832 }
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 {
9840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9841 }
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj = 0;
9850 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9851 wxWindow *arg2 = (wxWindow *) 0 ;
9852 wxWindow *arg3 = (wxWindow *) 0 ;
9853 int arg4 = (int) 0 ;
9854 bool result;
9855 void *argp1 = 0 ;
9856 int res1 = 0 ;
9857 void *argp2 = 0 ;
9858 int res2 = 0 ;
9859 void *argp3 = 0 ;
9860 int res3 = 0 ;
9861 int val4 ;
9862 int ecode4 = 0 ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 PyObject * obj2 = 0 ;
9866 PyObject * obj3 = 0 ;
9867 char * kwnames[] = {
9868 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9869 };
9870
9871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9873 if (!SWIG_IsOK(res1)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9875 }
9876 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9878 if (!SWIG_IsOK(res2)) {
9879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9880 }
9881 arg2 = reinterpret_cast< wxWindow * >(argp2);
9882 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9883 if (!SWIG_IsOK(res3)) {
9884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9885 }
9886 arg3 = reinterpret_cast< wxWindow * >(argp3);
9887 if (obj3) {
9888 ecode4 = SWIG_AsVal_int(obj3, &val4);
9889 if (!SWIG_IsOK(ecode4)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9891 }
9892 arg4 = static_cast< int >(val4);
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 {
9901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9902 }
9903 return resultobj;
9904 fail:
9905 return NULL;
9906 }
9907
9908
9909 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj = 0;
9911 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9912 wxWindow *arg2 = (wxWindow *) NULL ;
9913 bool result;
9914 void *argp1 = 0 ;
9915 int res1 = 0 ;
9916 void *argp2 = 0 ;
9917 int res2 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char * kwnames[] = {
9921 (char *) "self",(char *) "toRemove", NULL
9922 };
9923
9924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9926 if (!SWIG_IsOK(res1)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9928 }
9929 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9930 if (obj1) {
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_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9934 }
9935 arg2 = reinterpret_cast< wxWindow * >(argp2);
9936 }
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (bool)(arg1)->Unsplit(arg2);
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 {
9944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9945 }
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj = 0;
9954 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9955 wxWindow *arg2 = (wxWindow *) 0 ;
9956 wxWindow *arg3 = (wxWindow *) 0 ;
9957 bool result;
9958 void *argp1 = 0 ;
9959 int res1 = 0 ;
9960 void *argp2 = 0 ;
9961 int res2 = 0 ;
9962 void *argp3 = 0 ;
9963 int res3 = 0 ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 char * kwnames[] = {
9968 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9969 };
9970
9971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9973 if (!SWIG_IsOK(res1)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9975 }
9976 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9978 if (!SWIG_IsOK(res2)) {
9979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9980 }
9981 arg2 = reinterpret_cast< wxWindow * >(argp2);
9982 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9983 if (!SWIG_IsOK(res3)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9985 }
9986 arg3 = reinterpret_cast< wxWindow * >(argp3);
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9995 }
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10003 PyObject *resultobj = 0;
10004 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10005 void *argp1 = 0 ;
10006 int res1 = 0 ;
10007 PyObject *swig_obj[1] ;
10008
10009 if (!args) SWIG_fail;
10010 swig_obj[0] = args;
10011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10012 if (!SWIG_IsOK(res1)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10014 }
10015 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 (arg1)->UpdateSize();
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 resultobj = SWIG_Py_Void();
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10030 PyObject *resultobj = 0;
10031 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10032 bool result;
10033 void *argp1 = 0 ;
10034 int res1 = 0 ;
10035 PyObject *swig_obj[1] ;
10036
10037 if (!args) SWIG_fail;
10038 swig_obj[0] = args;
10039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10040 if (!SWIG_IsOK(res1)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10042 }
10043 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 {
10051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10052 }
10053 return resultobj;
10054 fail:
10055 return NULL;
10056 }
10057
10058
10059 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10060 PyObject *resultobj = 0;
10061 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10062 int arg2 ;
10063 void *argp1 = 0 ;
10064 int res1 = 0 ;
10065 int val2 ;
10066 int ecode2 = 0 ;
10067 PyObject * obj0 = 0 ;
10068 PyObject * obj1 = 0 ;
10069 char * kwnames[] = {
10070 (char *) "self",(char *) "width", NULL
10071 };
10072
10073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10075 if (!SWIG_IsOK(res1)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10077 }
10078 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10079 ecode2 = SWIG_AsVal_int(obj1, &val2);
10080 if (!SWIG_IsOK(ecode2)) {
10081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10082 }
10083 arg2 = static_cast< int >(val2);
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetSashSize(arg2);
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 resultobj = SWIG_Py_Void();
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj = 0;
10099 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10100 int arg2 ;
10101 void *argp1 = 0 ;
10102 int res1 = 0 ;
10103 int val2 ;
10104 int ecode2 = 0 ;
10105 PyObject * obj0 = 0 ;
10106 PyObject * obj1 = 0 ;
10107 char * kwnames[] = {
10108 (char *) "self",(char *) "width", NULL
10109 };
10110
10111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10113 if (!SWIG_IsOK(res1)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10115 }
10116 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10117 ecode2 = SWIG_AsVal_int(obj1, &val2);
10118 if (!SWIG_IsOK(ecode2)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10120 }
10121 arg2 = static_cast< int >(val2);
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 (arg1)->SetBorderSize(arg2);
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_Py_Void();
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10136 PyObject *resultobj = 0;
10137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10138 int result;
10139 void *argp1 = 0 ;
10140 int res1 = 0 ;
10141 PyObject *swig_obj[1] ;
10142
10143 if (!args) SWIG_fail;
10144 swig_obj[0] = args;
10145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10146 if (!SWIG_IsOK(res1)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10148 }
10149 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 resultobj = SWIG_From_int(static_cast< int >(result));
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10164 PyObject *resultobj = 0;
10165 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10166 int result;
10167 void *argp1 = 0 ;
10168 int res1 = 0 ;
10169 PyObject *swig_obj[1] ;
10170
10171 if (!args) SWIG_fail;
10172 swig_obj[0] = args;
10173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10174 if (!SWIG_IsOK(res1)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10176 }
10177 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_From_int(static_cast< int >(result));
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj = 0;
10193 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10194 int arg2 ;
10195 bool arg3 = (bool) true ;
10196 void *argp1 = 0 ;
10197 int res1 = 0 ;
10198 int val2 ;
10199 int ecode2 = 0 ;
10200 bool val3 ;
10201 int ecode3 = 0 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 PyObject * obj2 = 0 ;
10205 char * kwnames[] = {
10206 (char *) "self",(char *) "position",(char *) "redraw", NULL
10207 };
10208
10209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10211 if (!SWIG_IsOK(res1)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10213 }
10214 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10215 ecode2 = SWIG_AsVal_int(obj1, &val2);
10216 if (!SWIG_IsOK(ecode2)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10218 }
10219 arg2 = static_cast< int >(val2);
10220 if (obj2) {
10221 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10222 if (!SWIG_IsOK(ecode3)) {
10223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10224 }
10225 arg3 = static_cast< bool >(val3);
10226 }
10227 {
10228 PyThreadState* __tstate = wxPyBeginAllowThreads();
10229 (arg1)->SetSashPosition(arg2,arg3);
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 resultobj = SWIG_Py_Void();
10234 return resultobj;
10235 fail:
10236 return NULL;
10237 }
10238
10239
10240 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10241 PyObject *resultobj = 0;
10242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10243 int result;
10244 void *argp1 = 0 ;
10245 int res1 = 0 ;
10246 PyObject *swig_obj[1] ;
10247
10248 if (!args) SWIG_fail;
10249 swig_obj[0] = args;
10250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10251 if (!SWIG_IsOK(res1)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10253 }
10254 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = SWIG_From_int(static_cast< int >(result));
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 double arg2 ;
10272 void *argp1 = 0 ;
10273 int res1 = 0 ;
10274 double val2 ;
10275 int ecode2 = 0 ;
10276 PyObject * obj0 = 0 ;
10277 PyObject * obj1 = 0 ;
10278 char * kwnames[] = {
10279 (char *) "self",(char *) "gravity", NULL
10280 };
10281
10282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10284 if (!SWIG_IsOK(res1)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10286 }
10287 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10288 ecode2 = SWIG_AsVal_double(obj1, &val2);
10289 if (!SWIG_IsOK(ecode2)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10291 }
10292 arg2 = static_cast< double >(val2);
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 (arg1)->SetSashGravity(arg2);
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = SWIG_Py_Void();
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10307 PyObject *resultobj = 0;
10308 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10309 double result;
10310 void *argp1 = 0 ;
10311 int res1 = 0 ;
10312 PyObject *swig_obj[1] ;
10313
10314 if (!args) SWIG_fail;
10315 swig_obj[0] = args;
10316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10317 if (!SWIG_IsOK(res1)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10319 }
10320 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 resultobj = SWIG_From_double(static_cast< double >(result));
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj = 0;
10336 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10337 int arg2 ;
10338 void *argp1 = 0 ;
10339 int res1 = 0 ;
10340 int val2 ;
10341 int ecode2 = 0 ;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 char * kwnames[] = {
10345 (char *) "self",(char *) "min", NULL
10346 };
10347
10348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10350 if (!SWIG_IsOK(res1)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10352 }
10353 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10354 ecode2 = SWIG_AsVal_int(obj1, &val2);
10355 if (!SWIG_IsOK(ecode2)) {
10356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10357 }
10358 arg2 = static_cast< int >(val2);
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 (arg1)->SetMinimumPaneSize(arg2);
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = SWIG_Py_Void();
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10373 PyObject *resultobj = 0;
10374 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10375 int result;
10376 void *argp1 = 0 ;
10377 int res1 = 0 ;
10378 PyObject *swig_obj[1] ;
10379
10380 if (!args) SWIG_fail;
10381 swig_obj[0] = args;
10382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10383 if (!SWIG_IsOK(res1)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10385 }
10386 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 resultobj = SWIG_From_int(static_cast< int >(result));
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj = 0;
10402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10403 int arg2 ;
10404 int arg3 ;
10405 int arg4 = (int) 5 ;
10406 bool result;
10407 void *argp1 = 0 ;
10408 int res1 = 0 ;
10409 int val2 ;
10410 int ecode2 = 0 ;
10411 int val3 ;
10412 int ecode3 = 0 ;
10413 int val4 ;
10414 int ecode4 = 0 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 PyObject * obj2 = 0 ;
10418 PyObject * obj3 = 0 ;
10419 char * kwnames[] = {
10420 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10421 };
10422
10423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10425 if (!SWIG_IsOK(res1)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10427 }
10428 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10429 ecode2 = SWIG_AsVal_int(obj1, &val2);
10430 if (!SWIG_IsOK(ecode2)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10432 }
10433 arg2 = static_cast< int >(val2);
10434 ecode3 = SWIG_AsVal_int(obj2, &val3);
10435 if (!SWIG_IsOK(ecode3)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10437 }
10438 arg3 = static_cast< int >(val3);
10439 if (obj3) {
10440 ecode4 = SWIG_AsVal_int(obj3, &val4);
10441 if (!SWIG_IsOK(ecode4)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10443 }
10444 arg4 = static_cast< int >(val4);
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10462 PyObject *resultobj = 0;
10463 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10464 void *argp1 = 0 ;
10465 int res1 = 0 ;
10466 PyObject *swig_obj[1] ;
10467
10468 if (!args) SWIG_fail;
10469 swig_obj[0] = args;
10470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10471 if (!SWIG_IsOK(res1)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10473 }
10474 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SizeWindows();
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_Py_Void();
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj = 0;
10490 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10491 bool arg2 ;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 bool val2 ;
10495 int ecode2 = 0 ;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "self",(char *) "needUpdating", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10504 if (!SWIG_IsOK(res1)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10506 }
10507 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10508 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10509 if (!SWIG_IsOK(ecode2)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10511 }
10512 arg2 = static_cast< bool >(val2);
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 (arg1)->SetNeedUpdating(arg2);
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_Py_Void();
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10527 PyObject *resultobj = 0;
10528 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10529 bool result;
10530 void *argp1 = 0 ;
10531 int res1 = 0 ;
10532 PyObject *swig_obj[1] ;
10533
10534 if (!args) SWIG_fail;
10535 swig_obj[0] = args;
10536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10537 if (!SWIG_IsOK(res1)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10539 }
10540 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 {
10548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10549 }
10550 return resultobj;
10551 fail:
10552 return NULL;
10553 }
10554
10555
10556 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10557 PyObject *resultobj = 0;
10558 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10559 SwigValueWrapper<wxVisualAttributes > result;
10560 int val1 ;
10561 int ecode1 = 0 ;
10562 PyObject * obj0 = 0 ;
10563 char * kwnames[] = {
10564 (char *) "variant", NULL
10565 };
10566
10567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10568 if (obj0) {
10569 ecode1 = SWIG_AsVal_int(obj0, &val1);
10570 if (!SWIG_IsOK(ecode1)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10572 }
10573 arg1 = static_cast< wxWindowVariant >(val1);
10574 }
10575 {
10576 if (!wxPyCheckForApp()) SWIG_fail;
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10590 PyObject *obj;
10591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10592 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10593 return SWIG_Py_Void();
10594 }
10595
10596 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10597 return SWIG_Python_InitShadowInstance(args);
10598 }
10599
10600 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10603 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10604 wxSplitterEvent *result = 0 ;
10605 int val1 ;
10606 int ecode1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "type",(char *) "splitter", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10616 if (obj0) {
10617 ecode1 = SWIG_AsVal_int(obj0, &val1);
10618 if (!SWIG_IsOK(ecode1)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10620 }
10621 arg1 = static_cast< wxEventType >(val1);
10622 }
10623 if (obj1) {
10624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10627 }
10628 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10629 }
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10637 return resultobj;
10638 fail:
10639 return NULL;
10640 }
10641
10642
10643 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj = 0;
10645 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10646 int arg2 ;
10647 void *argp1 = 0 ;
10648 int res1 = 0 ;
10649 int val2 ;
10650 int ecode2 = 0 ;
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 char * kwnames[] = {
10654 (char *) "self",(char *) "pos", NULL
10655 };
10656
10657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10659 if (!SWIG_IsOK(res1)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10661 }
10662 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10663 ecode2 = SWIG_AsVal_int(obj1, &val2);
10664 if (!SWIG_IsOK(ecode2)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10666 }
10667 arg2 = static_cast< int >(val2);
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetSashPosition(arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10682 PyObject *resultobj = 0;
10683 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10684 int result;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 PyObject *swig_obj[1] ;
10688
10689 if (!args) SWIG_fail;
10690 swig_obj[0] = args;
10691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10692 if (!SWIG_IsOK(res1)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10694 }
10695 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = SWIG_From_int(static_cast< int >(result));
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10710 PyObject *resultobj = 0;
10711 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10712 wxWindow *result = 0 ;
10713 void *argp1 = 0 ;
10714 int res1 = 0 ;
10715 PyObject *swig_obj[1] ;
10716
10717 if (!args) SWIG_fail;
10718 swig_obj[0] = args;
10719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10720 if (!SWIG_IsOK(res1)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10722 }
10723 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 {
10731 resultobj = wxPyMake_wxObject(result, 0);
10732 }
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10740 PyObject *resultobj = 0;
10741 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10742 int result;
10743 void *argp1 = 0 ;
10744 int res1 = 0 ;
10745 PyObject *swig_obj[1] ;
10746
10747 if (!args) SWIG_fail;
10748 swig_obj[0] = args;
10749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10750 if (!SWIG_IsOK(res1)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10752 }
10753 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = SWIG_From_int(static_cast< int >(result));
10761 return resultobj;
10762 fail:
10763 return NULL;
10764 }
10765
10766
10767 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10768 PyObject *resultobj = 0;
10769 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10770 int result;
10771 void *argp1 = 0 ;
10772 int res1 = 0 ;
10773 PyObject *swig_obj[1] ;
10774
10775 if (!args) SWIG_fail;
10776 swig_obj[0] = args;
10777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10778 if (!SWIG_IsOK(res1)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10780 }
10781 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = SWIG_From_int(static_cast< int >(result));
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10796 PyObject *obj;
10797 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10799 return SWIG_Py_Void();
10800 }
10801
10802 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10803 return SWIG_Python_InitShadowInstance(args);
10804 }
10805
10806 SWIGINTERN int SashNameStr_set(PyObject *) {
10807 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10808 return 1;
10809 }
10810
10811
10812 SWIGINTERN PyObject *SashNameStr_get(void) {
10813 PyObject *pyobj = 0;
10814
10815 {
10816 #if wxUSE_UNICODE
10817 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10818 #else
10819 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10820 #endif
10821 }
10822 return pyobj;
10823 }
10824
10825
10826 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10827 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10828 return 1;
10829 }
10830
10831
10832 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10833 PyObject *pyobj = 0;
10834
10835 {
10836 #if wxUSE_UNICODE
10837 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10838 #else
10839 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10840 #endif
10841 }
10842 return pyobj;
10843 }
10844
10845
10846 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj = 0;
10848 wxWindow *arg1 = (wxWindow *) 0 ;
10849 int arg2 = (int) -1 ;
10850 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10851 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10852 wxSize const &arg4_defvalue = wxDefaultSize ;
10853 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10854 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10855 wxString const &arg6_defvalue = wxPySashNameStr ;
10856 wxString *arg6 = (wxString *) &arg6_defvalue ;
10857 wxSashWindow *result = 0 ;
10858 void *argp1 = 0 ;
10859 int res1 = 0 ;
10860 int val2 ;
10861 int ecode2 = 0 ;
10862 wxPoint temp3 ;
10863 wxSize temp4 ;
10864 long val5 ;
10865 int ecode5 = 0 ;
10866 bool temp6 = false ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 PyObject * obj3 = 0 ;
10871 PyObject * obj4 = 0 ;
10872 PyObject * obj5 = 0 ;
10873 char * kwnames[] = {
10874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10875 };
10876
10877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10879 if (!SWIG_IsOK(res1)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10881 }
10882 arg1 = reinterpret_cast< wxWindow * >(argp1);
10883 if (obj1) {
10884 ecode2 = SWIG_AsVal_int(obj1, &val2);
10885 if (!SWIG_IsOK(ecode2)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10887 }
10888 arg2 = static_cast< int >(val2);
10889 }
10890 if (obj2) {
10891 {
10892 arg3 = &temp3;
10893 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10894 }
10895 }
10896 if (obj3) {
10897 {
10898 arg4 = &temp4;
10899 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10900 }
10901 }
10902 if (obj4) {
10903 ecode5 = SWIG_AsVal_long(obj4, &val5);
10904 if (!SWIG_IsOK(ecode5)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10906 }
10907 arg5 = static_cast< long >(val5);
10908 }
10909 if (obj5) {
10910 {
10911 arg6 = wxString_in_helper(obj5);
10912 if (arg6 == NULL) SWIG_fail;
10913 temp6 = true;
10914 }
10915 }
10916 {
10917 if (!wxPyCheckForApp()) SWIG_fail;
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10924 {
10925 if (temp6)
10926 delete arg6;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp6)
10932 delete arg6;
10933 }
10934 return NULL;
10935 }
10936
10937
10938 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10939 PyObject *resultobj = 0;
10940 wxSashWindow *result = 0 ;
10941
10942 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10943 {
10944 if (!wxPyCheckForApp()) SWIG_fail;
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (wxSashWindow *)new wxSashWindow();
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj = 0;
10959 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10960 wxWindow *arg2 = (wxWindow *) 0 ;
10961 int arg3 = (int) -1 ;
10962 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10963 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10964 wxSize const &arg5_defvalue = wxDefaultSize ;
10965 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10966 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10967 wxString const &arg7_defvalue = wxPySashNameStr ;
10968 wxString *arg7 = (wxString *) &arg7_defvalue ;
10969 bool result;
10970 void *argp1 = 0 ;
10971 int res1 = 0 ;
10972 void *argp2 = 0 ;
10973 int res2 = 0 ;
10974 int val3 ;
10975 int ecode3 = 0 ;
10976 wxPoint temp4 ;
10977 wxSize temp5 ;
10978 long val6 ;
10979 int ecode6 = 0 ;
10980 bool temp7 = false ;
10981 PyObject * obj0 = 0 ;
10982 PyObject * obj1 = 0 ;
10983 PyObject * obj2 = 0 ;
10984 PyObject * obj3 = 0 ;
10985 PyObject * obj4 = 0 ;
10986 PyObject * obj5 = 0 ;
10987 PyObject * obj6 = 0 ;
10988 char * kwnames[] = {
10989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10990 };
10991
10992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10994 if (!SWIG_IsOK(res1)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10996 }
10997 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10999 if (!SWIG_IsOK(res2)) {
11000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11001 }
11002 arg2 = reinterpret_cast< wxWindow * >(argp2);
11003 if (obj2) {
11004 ecode3 = SWIG_AsVal_int(obj2, &val3);
11005 if (!SWIG_IsOK(ecode3)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11007 }
11008 arg3 = static_cast< int >(val3);
11009 }
11010 if (obj3) {
11011 {
11012 arg4 = &temp4;
11013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11014 }
11015 }
11016 if (obj4) {
11017 {
11018 arg5 = &temp5;
11019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11020 }
11021 }
11022 if (obj5) {
11023 ecode6 = SWIG_AsVal_long(obj5, &val6);
11024 if (!SWIG_IsOK(ecode6)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11026 }
11027 arg6 = static_cast< long >(val6);
11028 }
11029 if (obj6) {
11030 {
11031 arg7 = wxString_in_helper(obj6);
11032 if (arg7 == NULL) SWIG_fail;
11033 temp7 = true;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 {
11043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11044 }
11045 {
11046 if (temp7)
11047 delete arg7;
11048 }
11049 return resultobj;
11050 fail:
11051 {
11052 if (temp7)
11053 delete arg7;
11054 }
11055 return NULL;
11056 }
11057
11058
11059 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj = 0;
11061 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11062 wxSashEdgePosition arg2 ;
11063 bool arg3 ;
11064 void *argp1 = 0 ;
11065 int res1 = 0 ;
11066 int val2 ;
11067 int ecode2 = 0 ;
11068 bool val3 ;
11069 int ecode3 = 0 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 PyObject * obj2 = 0 ;
11073 char * kwnames[] = {
11074 (char *) "self",(char *) "edge",(char *) "sash", NULL
11075 };
11076
11077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11079 if (!SWIG_IsOK(res1)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11081 }
11082 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11083 ecode2 = SWIG_AsVal_int(obj1, &val2);
11084 if (!SWIG_IsOK(ecode2)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11086 }
11087 arg2 = static_cast< wxSashEdgePosition >(val2);
11088 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11089 if (!SWIG_IsOK(ecode3)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11091 }
11092 arg3 = static_cast< bool >(val3);
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 (arg1)->SetSashVisible(arg2,arg3);
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 resultobj = SWIG_Py_Void();
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj = 0;
11108 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11109 wxSashEdgePosition arg2 ;
11110 bool result;
11111 void *argp1 = 0 ;
11112 int res1 = 0 ;
11113 int val2 ;
11114 int ecode2 = 0 ;
11115 PyObject * obj0 = 0 ;
11116 PyObject * obj1 = 0 ;
11117 char * kwnames[] = {
11118 (char *) "self",(char *) "edge", NULL
11119 };
11120
11121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11123 if (!SWIG_IsOK(res1)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11125 }
11126 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11127 ecode2 = SWIG_AsVal_int(obj1, &val2);
11128 if (!SWIG_IsOK(ecode2)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11130 }
11131 arg2 = static_cast< wxSashEdgePosition >(val2);
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 {
11139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11140 }
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 wxSashEdgePosition arg2 ;
11151 bool arg3 ;
11152 void *argp1 = 0 ;
11153 int res1 = 0 ;
11154 int val2 ;
11155 int ecode2 = 0 ;
11156 bool val3 ;
11157 int ecode3 = 0 ;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 PyObject * obj2 = 0 ;
11161 char * kwnames[] = {
11162 (char *) "self",(char *) "edge",(char *) "border", NULL
11163 };
11164
11165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11167 if (!SWIG_IsOK(res1)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11169 }
11170 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11171 ecode2 = SWIG_AsVal_int(obj1, &val2);
11172 if (!SWIG_IsOK(ecode2)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11174 }
11175 arg2 = static_cast< wxSashEdgePosition >(val2);
11176 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11177 if (!SWIG_IsOK(ecode3)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11179 }
11180 arg3 = static_cast< bool >(val3);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetSashBorder(arg2,arg3);
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_Py_Void();
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = 0;
11196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11197 wxSashEdgePosition arg2 ;
11198 bool result;
11199 void *argp1 = 0 ;
11200 int res1 = 0 ;
11201 int val2 ;
11202 int ecode2 = 0 ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 char * kwnames[] = {
11206 (char *) "self",(char *) "edge", NULL
11207 };
11208
11209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11211 if (!SWIG_IsOK(res1)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11213 }
11214 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11215 ecode2 = SWIG_AsVal_int(obj1, &val2);
11216 if (!SWIG_IsOK(ecode2)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11218 }
11219 arg2 = static_cast< wxSashEdgePosition >(val2);
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 {
11227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11228 }
11229 return resultobj;
11230 fail:
11231 return NULL;
11232 }
11233
11234
11235 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11236 PyObject *resultobj = 0;
11237 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11238 wxSashEdgePosition arg2 ;
11239 int result;
11240 void *argp1 = 0 ;
11241 int res1 = 0 ;
11242 int val2 ;
11243 int ecode2 = 0 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char * kwnames[] = {
11247 (char *) "self",(char *) "edge", NULL
11248 };
11249
11250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11254 }
11255 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11256 ecode2 = SWIG_AsVal_int(obj1, &val2);
11257 if (!SWIG_IsOK(ecode2)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11259 }
11260 arg2 = static_cast< wxSashEdgePosition >(val2);
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_From_int(static_cast< int >(result));
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj = 0;
11276 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11277 int arg2 ;
11278 void *argp1 = 0 ;
11279 int res1 = 0 ;
11280 int val2 ;
11281 int ecode2 = 0 ;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char * kwnames[] = {
11285 (char *) "self",(char *) "width", NULL
11286 };
11287
11288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11290 if (!SWIG_IsOK(res1)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11292 }
11293 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11294 ecode2 = SWIG_AsVal_int(obj1, &val2);
11295 if (!SWIG_IsOK(ecode2)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11297 }
11298 arg2 = static_cast< int >(val2);
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetDefaultBorderSize(arg2);
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 resultobj = SWIG_Py_Void();
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11313 PyObject *resultobj = 0;
11314 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11315 int result;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 PyObject *swig_obj[1] ;
11319
11320 if (!args) SWIG_fail;
11321 swig_obj[0] = args;
11322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11323 if (!SWIG_IsOK(res1)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11325 }
11326 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = SWIG_From_int(static_cast< int >(result));
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj = 0;
11342 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11343 int arg2 ;
11344 void *argp1 = 0 ;
11345 int res1 = 0 ;
11346 int val2 ;
11347 int ecode2 = 0 ;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 char * kwnames[] = {
11351 (char *) "self",(char *) "width", NULL
11352 };
11353
11354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11356 if (!SWIG_IsOK(res1)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11358 }
11359 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11360 ecode2 = SWIG_AsVal_int(obj1, &val2);
11361 if (!SWIG_IsOK(ecode2)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11363 }
11364 arg2 = static_cast< int >(val2);
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 (arg1)->SetExtraBorderSize(arg2);
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_Py_Void();
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11379 PyObject *resultobj = 0;
11380 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11381 int result;
11382 void *argp1 = 0 ;
11383 int res1 = 0 ;
11384 PyObject *swig_obj[1] ;
11385
11386 if (!args) SWIG_fail;
11387 swig_obj[0] = args;
11388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11389 if (!SWIG_IsOK(res1)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11391 }
11392 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_From_int(static_cast< int >(result));
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj = 0;
11408 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11409 int arg2 ;
11410 void *argp1 = 0 ;
11411 int res1 = 0 ;
11412 int val2 ;
11413 int ecode2 = 0 ;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char * kwnames[] = {
11417 (char *) "self",(char *) "min", NULL
11418 };
11419
11420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11422 if (!SWIG_IsOK(res1)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11424 }
11425 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11426 ecode2 = SWIG_AsVal_int(obj1, &val2);
11427 if (!SWIG_IsOK(ecode2)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11429 }
11430 arg2 = static_cast< int >(val2);
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetMinimumSizeX(arg2);
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_Py_Void();
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj = 0;
11446 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11447 int arg2 ;
11448 void *argp1 = 0 ;
11449 int res1 = 0 ;
11450 int val2 ;
11451 int ecode2 = 0 ;
11452 PyObject * obj0 = 0 ;
11453 PyObject * obj1 = 0 ;
11454 char * kwnames[] = {
11455 (char *) "self",(char *) "min", NULL
11456 };
11457
11458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11460 if (!SWIG_IsOK(res1)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11462 }
11463 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11464 ecode2 = SWIG_AsVal_int(obj1, &val2);
11465 if (!SWIG_IsOK(ecode2)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11467 }
11468 arg2 = static_cast< int >(val2);
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SetMinimumSizeY(arg2);
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 resultobj = SWIG_Py_Void();
11476 return resultobj;
11477 fail:
11478 return NULL;
11479 }
11480
11481
11482 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11483 PyObject *resultobj = 0;
11484 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11485 int result;
11486 void *argp1 = 0 ;
11487 int res1 = 0 ;
11488 PyObject *swig_obj[1] ;
11489
11490 if (!args) SWIG_fail;
11491 swig_obj[0] = args;
11492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11493 if (!SWIG_IsOK(res1)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11495 }
11496 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_From_int(static_cast< int >(result));
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *resultobj = 0;
11512 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11513 int result;
11514 void *argp1 = 0 ;
11515 int res1 = 0 ;
11516 PyObject *swig_obj[1] ;
11517
11518 if (!args) SWIG_fail;
11519 swig_obj[0] = args;
11520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11521 if (!SWIG_IsOK(res1)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11523 }
11524 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 resultobj = SWIG_From_int(static_cast< int >(result));
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj = 0;
11540 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11541 int arg2 ;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 int val2 ;
11545 int ecode2 = 0 ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char * kwnames[] = {
11549 (char *) "self",(char *) "max", NULL
11550 };
11551
11552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11554 if (!SWIG_IsOK(res1)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11556 }
11557 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11558 ecode2 = SWIG_AsVal_int(obj1, &val2);
11559 if (!SWIG_IsOK(ecode2)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11561 }
11562 arg2 = static_cast< int >(val2);
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 (arg1)->SetMaximumSizeX(arg2);
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 resultobj = SWIG_Py_Void();
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj = 0;
11578 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11579 int arg2 ;
11580 void *argp1 = 0 ;
11581 int res1 = 0 ;
11582 int val2 ;
11583 int ecode2 = 0 ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 char * kwnames[] = {
11587 (char *) "self",(char *) "max", NULL
11588 };
11589
11590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11592 if (!SWIG_IsOK(res1)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11594 }
11595 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11596 ecode2 = SWIG_AsVal_int(obj1, &val2);
11597 if (!SWIG_IsOK(ecode2)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11599 }
11600 arg2 = static_cast< int >(val2);
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 (arg1)->SetMaximumSizeY(arg2);
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_Py_Void();
11608 return resultobj;
11609 fail:
11610 return NULL;
11611 }
11612
11613
11614 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11615 PyObject *resultobj = 0;
11616 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11617 int result;
11618 void *argp1 = 0 ;
11619 int res1 = 0 ;
11620 PyObject *swig_obj[1] ;
11621
11622 if (!args) SWIG_fail;
11623 swig_obj[0] = args;
11624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11625 if (!SWIG_IsOK(res1)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11627 }
11628 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 resultobj = SWIG_From_int(static_cast< int >(result));
11636 return resultobj;
11637 fail:
11638 return NULL;
11639 }
11640
11641
11642 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11643 PyObject *resultobj = 0;
11644 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11645 int result;
11646 void *argp1 = 0 ;
11647 int res1 = 0 ;
11648 PyObject *swig_obj[1] ;
11649
11650 if (!args) SWIG_fail;
11651 swig_obj[0] = args;
11652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11653 if (!SWIG_IsOK(res1)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11655 }
11656 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_From_int(static_cast< int >(result));
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj = 0;
11672 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11673 int arg2 ;
11674 int arg3 ;
11675 int arg4 = (int) 2 ;
11676 wxSashEdgePosition result;
11677 void *argp1 = 0 ;
11678 int res1 = 0 ;
11679 int val2 ;
11680 int ecode2 = 0 ;
11681 int val3 ;
11682 int ecode3 = 0 ;
11683 int val4 ;
11684 int ecode4 = 0 ;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 char * kwnames[] = {
11690 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11691 };
11692
11693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11695 if (!SWIG_IsOK(res1)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11697 }
11698 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11699 ecode2 = SWIG_AsVal_int(obj1, &val2);
11700 if (!SWIG_IsOK(ecode2)) {
11701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11702 }
11703 arg2 = static_cast< int >(val2);
11704 ecode3 = SWIG_AsVal_int(obj2, &val3);
11705 if (!SWIG_IsOK(ecode3)) {
11706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11707 }
11708 arg3 = static_cast< int >(val3);
11709 if (obj3) {
11710 ecode4 = SWIG_AsVal_int(obj3, &val4);
11711 if (!SWIG_IsOK(ecode4)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11713 }
11714 arg4 = static_cast< int >(val4);
11715 }
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = SWIG_From_int(static_cast< int >(result));
11723 return resultobj;
11724 fail:
11725 return NULL;
11726 }
11727
11728
11729 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11730 PyObject *resultobj = 0;
11731 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11732 void *argp1 = 0 ;
11733 int res1 = 0 ;
11734 PyObject *swig_obj[1] ;
11735
11736 if (!args) SWIG_fail;
11737 swig_obj[0] = args;
11738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11739 if (!SWIG_IsOK(res1)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11741 }
11742 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->SizeWindows();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_Py_Void();
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11757 PyObject *obj;
11758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11760 return SWIG_Py_Void();
11761 }
11762
11763 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11764 return SWIG_Python_InitShadowInstance(args);
11765 }
11766
11767 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj = 0;
11769 int arg1 = (int) 0 ;
11770 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11771 wxSashEvent *result = 0 ;
11772 int val1 ;
11773 int ecode1 = 0 ;
11774 int val2 ;
11775 int ecode2 = 0 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 char * kwnames[] = {
11779 (char *) "id",(char *) "edge", NULL
11780 };
11781
11782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11783 if (obj0) {
11784 ecode1 = SWIG_AsVal_int(obj0, &val1);
11785 if (!SWIG_IsOK(ecode1)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11787 }
11788 arg1 = static_cast< int >(val1);
11789 }
11790 if (obj1) {
11791 ecode2 = SWIG_AsVal_int(obj1, &val2);
11792 if (!SWIG_IsOK(ecode2)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11794 }
11795 arg2 = static_cast< wxSashEdgePosition >(val2);
11796 }
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj = 0;
11812 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11813 wxSashEdgePosition arg2 ;
11814 void *argp1 = 0 ;
11815 int res1 = 0 ;
11816 int val2 ;
11817 int ecode2 = 0 ;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 char * kwnames[] = {
11821 (char *) "self",(char *) "edge", NULL
11822 };
11823
11824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11826 if (!SWIG_IsOK(res1)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11828 }
11829 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11830 ecode2 = SWIG_AsVal_int(obj1, &val2);
11831 if (!SWIG_IsOK(ecode2)) {
11832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11833 }
11834 arg2 = static_cast< wxSashEdgePosition >(val2);
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 (arg1)->SetEdge(arg2);
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 resultobj = SWIG_Py_Void();
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11849 PyObject *resultobj = 0;
11850 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11851 wxSashEdgePosition result;
11852 void *argp1 = 0 ;
11853 int res1 = 0 ;
11854 PyObject *swig_obj[1] ;
11855
11856 if (!args) SWIG_fail;
11857 swig_obj[0] = args;
11858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11859 if (!SWIG_IsOK(res1)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11861 }
11862 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_From_int(static_cast< int >(result));
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj = 0;
11878 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11879 wxRect *arg2 = 0 ;
11880 void *argp1 = 0 ;
11881 int res1 = 0 ;
11882 wxRect temp2 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char * kwnames[] = {
11886 (char *) "self",(char *) "rect", NULL
11887 };
11888
11889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11891 if (!SWIG_IsOK(res1)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11893 }
11894 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11895 {
11896 arg2 = &temp2;
11897 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 (arg1)->SetDragRect((wxRect const &)*arg2);
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 resultobj = SWIG_Py_Void();
11906 return resultobj;
11907 fail:
11908 return NULL;
11909 }
11910
11911
11912 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11913 PyObject *resultobj = 0;
11914 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11915 wxRect result;
11916 void *argp1 = 0 ;
11917 int res1 = 0 ;
11918 PyObject *swig_obj[1] ;
11919
11920 if (!args) SWIG_fail;
11921 swig_obj[0] = args;
11922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11923 if (!SWIG_IsOK(res1)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11925 }
11926 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = ((wxSashEvent const *)arg1)->GetDragRect();
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11934 return resultobj;
11935 fail:
11936 return NULL;
11937 }
11938
11939
11940 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11941 PyObject *resultobj = 0;
11942 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11943 wxSashDragStatus arg2 ;
11944 void *argp1 = 0 ;
11945 int res1 = 0 ;
11946 int val2 ;
11947 int ecode2 = 0 ;
11948 PyObject * obj0 = 0 ;
11949 PyObject * obj1 = 0 ;
11950 char * kwnames[] = {
11951 (char *) "self",(char *) "status", NULL
11952 };
11953
11954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11956 if (!SWIG_IsOK(res1)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11958 }
11959 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11960 ecode2 = SWIG_AsVal_int(obj1, &val2);
11961 if (!SWIG_IsOK(ecode2)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11963 }
11964 arg2 = static_cast< wxSashDragStatus >(val2);
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 (arg1)->SetDragStatus(arg2);
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 resultobj = SWIG_Py_Void();
11972 return resultobj;
11973 fail:
11974 return NULL;
11975 }
11976
11977
11978 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11979 PyObject *resultobj = 0;
11980 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11981 wxSashDragStatus result;
11982 void *argp1 = 0 ;
11983 int res1 = 0 ;
11984 PyObject *swig_obj[1] ;
11985
11986 if (!args) SWIG_fail;
11987 swig_obj[0] = args;
11988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11989 if (!SWIG_IsOK(res1)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11991 }
11992 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_From_int(static_cast< int >(result));
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12007 PyObject *obj;
12008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12010 return SWIG_Py_Void();
12011 }
12012
12013 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12014 return SWIG_Python_InitShadowInstance(args);
12015 }
12016
12017 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12018 PyObject *resultobj = 0;
12019 int arg1 = (int) 0 ;
12020 wxQueryLayoutInfoEvent *result = 0 ;
12021 int val1 ;
12022 int ecode1 = 0 ;
12023 PyObject * obj0 = 0 ;
12024 char * kwnames[] = {
12025 (char *) "id", NULL
12026 };
12027
12028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12029 if (obj0) {
12030 ecode1 = SWIG_AsVal_int(obj0, &val1);
12031 if (!SWIG_IsOK(ecode1)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12033 }
12034 arg1 = static_cast< int >(val1);
12035 }
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj = 0;
12051 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12052 int arg2 ;
12053 void *argp1 = 0 ;
12054 int res1 = 0 ;
12055 int val2 ;
12056 int ecode2 = 0 ;
12057 PyObject * obj0 = 0 ;
12058 PyObject * obj1 = 0 ;
12059 char * kwnames[] = {
12060 (char *) "self",(char *) "length", NULL
12061 };
12062
12063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12065 if (!SWIG_IsOK(res1)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12067 }
12068 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12069 ecode2 = SWIG_AsVal_int(obj1, &val2);
12070 if (!SWIG_IsOK(ecode2)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12072 }
12073 arg2 = static_cast< int >(val2);
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 (arg1)->SetRequestedLength(arg2);
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 resultobj = SWIG_Py_Void();
12081 return resultobj;
12082 fail:
12083 return NULL;
12084 }
12085
12086
12087 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12088 PyObject *resultobj = 0;
12089 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12090 int result;
12091 void *argp1 = 0 ;
12092 int res1 = 0 ;
12093 PyObject *swig_obj[1] ;
12094
12095 if (!args) SWIG_fail;
12096 swig_obj[0] = args;
12097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12098 if (!SWIG_IsOK(res1)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12100 }
12101 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12105 wxPyEndAllowThreads(__tstate);
12106 if (PyErr_Occurred()) SWIG_fail;
12107 }
12108 resultobj = SWIG_From_int(static_cast< int >(result));
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj = 0;
12117 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12118 int arg2 ;
12119 void *argp1 = 0 ;
12120 int res1 = 0 ;
12121 int val2 ;
12122 int ecode2 = 0 ;
12123 PyObject * obj0 = 0 ;
12124 PyObject * obj1 = 0 ;
12125 char * kwnames[] = {
12126 (char *) "self",(char *) "flags", NULL
12127 };
12128
12129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12131 if (!SWIG_IsOK(res1)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12133 }
12134 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12135 ecode2 = SWIG_AsVal_int(obj1, &val2);
12136 if (!SWIG_IsOK(ecode2)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12138 }
12139 arg2 = static_cast< int >(val2);
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->SetFlags(arg2);
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_Py_Void();
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12154 PyObject *resultobj = 0;
12155 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12156 int result;
12157 void *argp1 = 0 ;
12158 int res1 = 0 ;
12159 PyObject *swig_obj[1] ;
12160
12161 if (!args) SWIG_fail;
12162 swig_obj[0] = args;
12163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12164 if (!SWIG_IsOK(res1)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12166 }
12167 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = SWIG_From_int(static_cast< int >(result));
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj = 0;
12183 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12184 wxSize *arg2 = 0 ;
12185 void *argp1 = 0 ;
12186 int res1 = 0 ;
12187 wxSize temp2 ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 char * kwnames[] = {
12191 (char *) "self",(char *) "size", NULL
12192 };
12193
12194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12196 if (!SWIG_IsOK(res1)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12198 }
12199 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12200 {
12201 arg2 = &temp2;
12202 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12203 }
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 (arg1)->SetSize((wxSize const &)*arg2);
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 resultobj = SWIG_Py_Void();
12211 return resultobj;
12212 fail:
12213 return NULL;
12214 }
12215
12216
12217 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12218 PyObject *resultobj = 0;
12219 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12220 wxSize result;
12221 void *argp1 = 0 ;
12222 int res1 = 0 ;
12223 PyObject *swig_obj[1] ;
12224
12225 if (!args) SWIG_fail;
12226 swig_obj[0] = args;
12227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12228 if (!SWIG_IsOK(res1)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12230 }
12231 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj = 0;
12247 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12248 wxLayoutOrientation arg2 ;
12249 void *argp1 = 0 ;
12250 int res1 = 0 ;
12251 int val2 ;
12252 int ecode2 = 0 ;
12253 PyObject * obj0 = 0 ;
12254 PyObject * obj1 = 0 ;
12255 char * kwnames[] = {
12256 (char *) "self",(char *) "orient", NULL
12257 };
12258
12259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12261 if (!SWIG_IsOK(res1)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12263 }
12264 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12265 ecode2 = SWIG_AsVal_int(obj1, &val2);
12266 if (!SWIG_IsOK(ecode2)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12268 }
12269 arg2 = static_cast< wxLayoutOrientation >(val2);
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 (arg1)->SetOrientation(arg2);
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 resultobj = SWIG_Py_Void();
12277 return resultobj;
12278 fail:
12279 return NULL;
12280 }
12281
12282
12283 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12284 PyObject *resultobj = 0;
12285 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12286 wxLayoutOrientation result;
12287 void *argp1 = 0 ;
12288 int res1 = 0 ;
12289 PyObject *swig_obj[1] ;
12290
12291 if (!args) SWIG_fail;
12292 swig_obj[0] = args;
12293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12294 if (!SWIG_IsOK(res1)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12296 }
12297 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_From_int(static_cast< int >(result));
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj = 0;
12313 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12314 wxLayoutAlignment arg2 ;
12315 void *argp1 = 0 ;
12316 int res1 = 0 ;
12317 int val2 ;
12318 int ecode2 = 0 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 char * kwnames[] = {
12322 (char *) "self",(char *) "align", NULL
12323 };
12324
12325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12327 if (!SWIG_IsOK(res1)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12329 }
12330 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12331 ecode2 = SWIG_AsVal_int(obj1, &val2);
12332 if (!SWIG_IsOK(ecode2)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12334 }
12335 arg2 = static_cast< wxLayoutAlignment >(val2);
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->SetAlignment(arg2);
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_Py_Void();
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12350 PyObject *resultobj = 0;
12351 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12352 wxLayoutAlignment result;
12353 void *argp1 = 0 ;
12354 int res1 = 0 ;
12355 PyObject *swig_obj[1] ;
12356
12357 if (!args) SWIG_fail;
12358 swig_obj[0] = args;
12359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12360 if (!SWIG_IsOK(res1)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12362 }
12363 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 resultobj = SWIG_From_int(static_cast< int >(result));
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12378 PyObject *obj;
12379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12380 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12381 return SWIG_Py_Void();
12382 }
12383
12384 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12385 return SWIG_Python_InitShadowInstance(args);
12386 }
12387
12388 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj = 0;
12390 int arg1 = (int) 0 ;
12391 wxCalculateLayoutEvent *result = 0 ;
12392 int val1 ;
12393 int ecode1 = 0 ;
12394 PyObject * obj0 = 0 ;
12395 char * kwnames[] = {
12396 (char *) "id", NULL
12397 };
12398
12399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12400 if (obj0) {
12401 ecode1 = SWIG_AsVal_int(obj0, &val1);
12402 if (!SWIG_IsOK(ecode1)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12404 }
12405 arg1 = static_cast< int >(val1);
12406 }
12407 {
12408 PyThreadState* __tstate = wxPyBeginAllowThreads();
12409 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12410 wxPyEndAllowThreads(__tstate);
12411 if (PyErr_Occurred()) SWIG_fail;
12412 }
12413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12414 return resultobj;
12415 fail:
12416 return NULL;
12417 }
12418
12419
12420 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj = 0;
12422 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12423 int arg2 ;
12424 void *argp1 = 0 ;
12425 int res1 = 0 ;
12426 int val2 ;
12427 int ecode2 = 0 ;
12428 PyObject * obj0 = 0 ;
12429 PyObject * obj1 = 0 ;
12430 char * kwnames[] = {
12431 (char *) "self",(char *) "flags", NULL
12432 };
12433
12434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12436 if (!SWIG_IsOK(res1)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12438 }
12439 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12440 ecode2 = SWIG_AsVal_int(obj1, &val2);
12441 if (!SWIG_IsOK(ecode2)) {
12442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12443 }
12444 arg2 = static_cast< int >(val2);
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 (arg1)->SetFlags(arg2);
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = SWIG_Py_Void();
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12459 PyObject *resultobj = 0;
12460 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12461 int result;
12462 void *argp1 = 0 ;
12463 int res1 = 0 ;
12464 PyObject *swig_obj[1] ;
12465
12466 if (!args) SWIG_fail;
12467 swig_obj[0] = args;
12468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12469 if (!SWIG_IsOK(res1)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12471 }
12472 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 resultobj = SWIG_From_int(static_cast< int >(result));
12480 return resultobj;
12481 fail:
12482 return NULL;
12483 }
12484
12485
12486 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj = 0;
12488 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12489 wxRect *arg2 = 0 ;
12490 void *argp1 = 0 ;
12491 int res1 = 0 ;
12492 wxRect temp2 ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 char * kwnames[] = {
12496 (char *) "self",(char *) "rect", NULL
12497 };
12498
12499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12501 if (!SWIG_IsOK(res1)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12503 }
12504 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12505 {
12506 arg2 = &temp2;
12507 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12508 }
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetRect((wxRect const &)*arg2);
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_Py_Void();
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12523 PyObject *resultobj = 0;
12524 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12525 wxRect result;
12526 void *argp1 = 0 ;
12527 int res1 = 0 ;
12528 PyObject *swig_obj[1] ;
12529
12530 if (!args) SWIG_fail;
12531 swig_obj[0] = args;
12532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12533 if (!SWIG_IsOK(res1)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12535 }
12536 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12537 {
12538 PyThreadState* __tstate = wxPyBeginAllowThreads();
12539 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12551 PyObject *obj;
12552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12553 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12554 return SWIG_Py_Void();
12555 }
12556
12557 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12558 return SWIG_Python_InitShadowInstance(args);
12559 }
12560
12561 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj = 0;
12563 wxWindow *arg1 = (wxWindow *) 0 ;
12564 int arg2 = (int) -1 ;
12565 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12566 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12567 wxSize const &arg4_defvalue = wxDefaultSize ;
12568 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12569 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12570 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12571 wxString *arg6 = (wxString *) &arg6_defvalue ;
12572 wxSashLayoutWindow *result = 0 ;
12573 void *argp1 = 0 ;
12574 int res1 = 0 ;
12575 int val2 ;
12576 int ecode2 = 0 ;
12577 wxPoint temp3 ;
12578 wxSize temp4 ;
12579 long val5 ;
12580 int ecode5 = 0 ;
12581 bool temp6 = false ;
12582 PyObject * obj0 = 0 ;
12583 PyObject * obj1 = 0 ;
12584 PyObject * obj2 = 0 ;
12585 PyObject * obj3 = 0 ;
12586 PyObject * obj4 = 0 ;
12587 PyObject * obj5 = 0 ;
12588 char * kwnames[] = {
12589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12590 };
12591
12592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12594 if (!SWIG_IsOK(res1)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12596 }
12597 arg1 = reinterpret_cast< wxWindow * >(argp1);
12598 if (obj1) {
12599 ecode2 = SWIG_AsVal_int(obj1, &val2);
12600 if (!SWIG_IsOK(ecode2)) {
12601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12602 }
12603 arg2 = static_cast< int >(val2);
12604 }
12605 if (obj2) {
12606 {
12607 arg3 = &temp3;
12608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12609 }
12610 }
12611 if (obj3) {
12612 {
12613 arg4 = &temp4;
12614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12615 }
12616 }
12617 if (obj4) {
12618 ecode5 = SWIG_AsVal_long(obj4, &val5);
12619 if (!SWIG_IsOK(ecode5)) {
12620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12621 }
12622 arg5 = static_cast< long >(val5);
12623 }
12624 if (obj5) {
12625 {
12626 arg6 = wxString_in_helper(obj5);
12627 if (arg6 == NULL) SWIG_fail;
12628 temp6 = true;
12629 }
12630 }
12631 {
12632 if (!wxPyCheckForApp()) SWIG_fail;
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12639 {
12640 if (temp6)
12641 delete arg6;
12642 }
12643 return resultobj;
12644 fail:
12645 {
12646 if (temp6)
12647 delete arg6;
12648 }
12649 return NULL;
12650 }
12651
12652
12653 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12654 PyObject *resultobj = 0;
12655 wxSashLayoutWindow *result = 0 ;
12656
12657 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12658 {
12659 if (!wxPyCheckForApp()) SWIG_fail;
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12666 return resultobj;
12667 fail:
12668 return NULL;
12669 }
12670
12671
12672 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj = 0;
12674 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12675 wxWindow *arg2 = (wxWindow *) 0 ;
12676 int arg3 = (int) -1 ;
12677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12679 wxSize const &arg5_defvalue = wxDefaultSize ;
12680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12681 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12682 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12683 wxString *arg7 = (wxString *) &arg7_defvalue ;
12684 bool result;
12685 void *argp1 = 0 ;
12686 int res1 = 0 ;
12687 void *argp2 = 0 ;
12688 int res2 = 0 ;
12689 int val3 ;
12690 int ecode3 = 0 ;
12691 wxPoint temp4 ;
12692 wxSize temp5 ;
12693 long val6 ;
12694 int ecode6 = 0 ;
12695 bool temp7 = false ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 PyObject * obj2 = 0 ;
12699 PyObject * obj3 = 0 ;
12700 PyObject * obj4 = 0 ;
12701 PyObject * obj5 = 0 ;
12702 PyObject * obj6 = 0 ;
12703 char * kwnames[] = {
12704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12705 };
12706
12707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12709 if (!SWIG_IsOK(res1)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12711 }
12712 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12714 if (!SWIG_IsOK(res2)) {
12715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12716 }
12717 arg2 = reinterpret_cast< wxWindow * >(argp2);
12718 if (obj2) {
12719 ecode3 = SWIG_AsVal_int(obj2, &val3);
12720 if (!SWIG_IsOK(ecode3)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12722 }
12723 arg3 = static_cast< int >(val3);
12724 }
12725 if (obj3) {
12726 {
12727 arg4 = &temp4;
12728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12729 }
12730 }
12731 if (obj4) {
12732 {
12733 arg5 = &temp5;
12734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12735 }
12736 }
12737 if (obj5) {
12738 ecode6 = SWIG_AsVal_long(obj5, &val6);
12739 if (!SWIG_IsOK(ecode6)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12741 }
12742 arg6 = static_cast< long >(val6);
12743 }
12744 if (obj6) {
12745 {
12746 arg7 = wxString_in_helper(obj6);
12747 if (arg7 == NULL) SWIG_fail;
12748 temp7 = true;
12749 }
12750 }
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 {
12758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12759 }
12760 {
12761 if (temp7)
12762 delete arg7;
12763 }
12764 return resultobj;
12765 fail:
12766 {
12767 if (temp7)
12768 delete arg7;
12769 }
12770 return NULL;
12771 }
12772
12773
12774 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12775 PyObject *resultobj = 0;
12776 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12777 wxLayoutAlignment result;
12778 void *argp1 = 0 ;
12779 int res1 = 0 ;
12780 PyObject *swig_obj[1] ;
12781
12782 if (!args) SWIG_fail;
12783 swig_obj[0] = args;
12784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12785 if (!SWIG_IsOK(res1)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12787 }
12788 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 resultobj = SWIG_From_int(static_cast< int >(result));
12796 return resultobj;
12797 fail:
12798 return NULL;
12799 }
12800
12801
12802 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12803 PyObject *resultobj = 0;
12804 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12805 wxLayoutOrientation result;
12806 void *argp1 = 0 ;
12807 int res1 = 0 ;
12808 PyObject *swig_obj[1] ;
12809
12810 if (!args) SWIG_fail;
12811 swig_obj[0] = args;
12812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12813 if (!SWIG_IsOK(res1)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12815 }
12816 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 resultobj = SWIG_From_int(static_cast< int >(result));
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj = 0;
12832 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12833 wxLayoutAlignment arg2 ;
12834 void *argp1 = 0 ;
12835 int res1 = 0 ;
12836 int val2 ;
12837 int ecode2 = 0 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 char * kwnames[] = {
12841 (char *) "self",(char *) "alignment", NULL
12842 };
12843
12844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12846 if (!SWIG_IsOK(res1)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12848 }
12849 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12850 ecode2 = SWIG_AsVal_int(obj1, &val2);
12851 if (!SWIG_IsOK(ecode2)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12853 }
12854 arg2 = static_cast< wxLayoutAlignment >(val2);
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->SetAlignment(arg2);
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 resultobj = SWIG_Py_Void();
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj = 0;
12870 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12871 wxSize *arg2 = 0 ;
12872 void *argp1 = 0 ;
12873 int res1 = 0 ;
12874 wxSize temp2 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 char * kwnames[] = {
12878 (char *) "self",(char *) "size", NULL
12879 };
12880
12881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12883 if (!SWIG_IsOK(res1)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12885 }
12886 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12887 {
12888 arg2 = &temp2;
12889 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12890 }
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 resultobj = SWIG_Py_Void();
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj = 0;
12906 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12907 wxLayoutOrientation arg2 ;
12908 void *argp1 = 0 ;
12909 int res1 = 0 ;
12910 int val2 ;
12911 int ecode2 = 0 ;
12912 PyObject * obj0 = 0 ;
12913 PyObject * obj1 = 0 ;
12914 char * kwnames[] = {
12915 (char *) "self",(char *) "orientation", NULL
12916 };
12917
12918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12920 if (!SWIG_IsOK(res1)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12922 }
12923 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12924 ecode2 = SWIG_AsVal_int(obj1, &val2);
12925 if (!SWIG_IsOK(ecode2)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12927 }
12928 arg2 = static_cast< wxLayoutOrientation >(val2);
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 (arg1)->SetOrientation(arg2);
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_Py_Void();
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12943 PyObject *obj;
12944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12946 return SWIG_Py_Void();
12947 }
12948
12949 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 return SWIG_Python_InitShadowInstance(args);
12951 }
12952
12953 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12954 PyObject *resultobj = 0;
12955 wxLayoutAlgorithm *result = 0 ;
12956
12957 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12961 wxPyEndAllowThreads(__tstate);
12962 if (PyErr_Occurred()) SWIG_fail;
12963 }
12964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12965 return resultobj;
12966 fail:
12967 return NULL;
12968 }
12969
12970
12971 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12972 PyObject *resultobj = 0;
12973 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12974 void *argp1 = 0 ;
12975 int res1 = 0 ;
12976 PyObject *swig_obj[1] ;
12977
12978 if (!args) SWIG_fail;
12979 swig_obj[0] = args;
12980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12981 if (!SWIG_IsOK(res1)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12983 }
12984 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 delete arg1;
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_Py_Void();
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj = 0;
13001 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13002 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13003 wxRect *arg3 = (wxRect *) NULL ;
13004 bool result;
13005 void *argp1 = 0 ;
13006 int res1 = 0 ;
13007 void *argp2 = 0 ;
13008 int res2 = 0 ;
13009 void *argp3 = 0 ;
13010 int res3 = 0 ;
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 PyObject * obj2 = 0 ;
13014 char * kwnames[] = {
13015 (char *) "self",(char *) "frame",(char *) "rect", NULL
13016 };
13017
13018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13020 if (!SWIG_IsOK(res1)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13022 }
13023 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13024 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13025 if (!SWIG_IsOK(res2)) {
13026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13027 }
13028 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13029 if (obj2) {
13030 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13031 if (!SWIG_IsOK(res3)) {
13032 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13033 }
13034 arg3 = reinterpret_cast< wxRect * >(argp3);
13035 }
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 {
13043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13044 }
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj = 0;
13053 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13054 wxFrame *arg2 = (wxFrame *) 0 ;
13055 wxWindow *arg3 = (wxWindow *) NULL ;
13056 bool result;
13057 void *argp1 = 0 ;
13058 int res1 = 0 ;
13059 void *argp2 = 0 ;
13060 int res2 = 0 ;
13061 void *argp3 = 0 ;
13062 int res3 = 0 ;
13063 PyObject * obj0 = 0 ;
13064 PyObject * obj1 = 0 ;
13065 PyObject * obj2 = 0 ;
13066 char * kwnames[] = {
13067 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13068 };
13069
13070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13072 if (!SWIG_IsOK(res1)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13074 }
13075 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13077 if (!SWIG_IsOK(res2)) {
13078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13079 }
13080 arg2 = reinterpret_cast< wxFrame * >(argp2);
13081 if (obj2) {
13082 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13083 if (!SWIG_IsOK(res3)) {
13084 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13085 }
13086 arg3 = reinterpret_cast< wxWindow * >(argp3);
13087 }
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13096 }
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj = 0;
13105 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13106 wxWindow *arg2 = (wxWindow *) 0 ;
13107 wxWindow *arg3 = (wxWindow *) NULL ;
13108 bool result;
13109 void *argp1 = 0 ;
13110 int res1 = 0 ;
13111 void *argp2 = 0 ;
13112 int res2 = 0 ;
13113 void *argp3 = 0 ;
13114 int res3 = 0 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 PyObject * obj2 = 0 ;
13118 char * kwnames[] = {
13119 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13120 };
13121
13122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13124 if (!SWIG_IsOK(res1)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13126 }
13127 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13129 if (!SWIG_IsOK(res2)) {
13130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13131 }
13132 arg2 = reinterpret_cast< wxWindow * >(argp2);
13133 if (obj2) {
13134 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13135 if (!SWIG_IsOK(res3)) {
13136 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13137 }
13138 arg3 = reinterpret_cast< wxWindow * >(argp3);
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 {
13147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13148 }
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13156 PyObject *obj;
13157 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13158 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13159 return SWIG_Py_Void();
13160 }
13161
13162 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13163 return SWIG_Python_InitShadowInstance(args);
13164 }
13165
13166 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj = 0;
13168 wxWindow *arg1 = (wxWindow *) 0 ;
13169 int arg2 = (int) wxBORDER_NONE ;
13170 wxPopupWindow *result = 0 ;
13171 void *argp1 = 0 ;
13172 int res1 = 0 ;
13173 int val2 ;
13174 int ecode2 = 0 ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 char * kwnames[] = {
13178 (char *) "parent",(char *) "flags", NULL
13179 };
13180
13181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13183 if (!SWIG_IsOK(res1)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13185 }
13186 arg1 = reinterpret_cast< wxWindow * >(argp1);
13187 if (obj1) {
13188 ecode2 = SWIG_AsVal_int(obj1, &val2);
13189 if (!SWIG_IsOK(ecode2)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13191 }
13192 arg2 = static_cast< int >(val2);
13193 }
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13197 wxPyEndAllowThreads(__tstate);
13198 if (PyErr_Occurred()) SWIG_fail;
13199 }
13200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13201 return resultobj;
13202 fail:
13203 return NULL;
13204 }
13205
13206
13207 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13208 PyObject *resultobj = 0;
13209 wxPopupWindow *result = 0 ;
13210
13211 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxPopupWindow *)new wxPopupWindow();
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13226 PyObject *obj;
13227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13229 return SWIG_Py_Void();
13230 }
13231
13232 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 return SWIG_Python_InitShadowInstance(args);
13234 }
13235
13236 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj = 0;
13238 wxWindow *arg1 = (wxWindow *) 0 ;
13239 int arg2 = (int) wxBORDER_NONE ;
13240 wxPyPopupTransientWindow *result = 0 ;
13241 void *argp1 = 0 ;
13242 int res1 = 0 ;
13243 int val2 ;
13244 int ecode2 = 0 ;
13245 PyObject * obj0 = 0 ;
13246 PyObject * obj1 = 0 ;
13247 char * kwnames[] = {
13248 (char *) "parent",(char *) "style", NULL
13249 };
13250
13251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13253 if (!SWIG_IsOK(res1)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13255 }
13256 arg1 = reinterpret_cast< wxWindow * >(argp1);
13257 if (obj1) {
13258 ecode2 = SWIG_AsVal_int(obj1, &val2);
13259 if (!SWIG_IsOK(ecode2)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13261 }
13262 arg2 = static_cast< int >(val2);
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13278 PyObject *resultobj = 0;
13279 wxPyPopupTransientWindow *result = 0 ;
13280
13281 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13285 wxPyEndAllowThreads(__tstate);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 }
13288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13289 return resultobj;
13290 fail:
13291 return NULL;
13292 }
13293
13294
13295 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13296 PyObject *obj;
13297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13299 return SWIG_Py_Void();
13300 }
13301
13302 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13303 return SWIG_Python_InitShadowInstance(args);
13304 }
13305
13306 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj = 0;
13308 wxWindow *arg1 = (wxWindow *) 0 ;
13309 wxString *arg2 = 0 ;
13310 int arg3 = (int) 100 ;
13311 wxRect *arg4 = (wxRect *) NULL ;
13312 wxTipWindow *result = 0 ;
13313 void *argp1 = 0 ;
13314 int res1 = 0 ;
13315 bool temp2 = false ;
13316 int val3 ;
13317 int ecode3 = 0 ;
13318 void *argp4 = 0 ;
13319 int res4 = 0 ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 PyObject * obj3 = 0 ;
13324 char * kwnames[] = {
13325 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13326 };
13327
13328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13330 if (!SWIG_IsOK(res1)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13332 }
13333 arg1 = reinterpret_cast< wxWindow * >(argp1);
13334 {
13335 arg2 = wxString_in_helper(obj1);
13336 if (arg2 == NULL) SWIG_fail;
13337 temp2 = true;
13338 }
13339 if (obj2) {
13340 ecode3 = SWIG_AsVal_int(obj2, &val3);
13341 if (!SWIG_IsOK(ecode3)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13343 }
13344 arg3 = static_cast< int >(val3);
13345 }
13346 if (obj3) {
13347 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13348 if (!SWIG_IsOK(res4)) {
13349 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13350 }
13351 arg4 = reinterpret_cast< wxRect * >(argp4);
13352 }
13353 {
13354 if (!wxPyCheckForApp()) SWIG_fail;
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13361 {
13362 if (temp2)
13363 delete arg2;
13364 }
13365 return resultobj;
13366 fail:
13367 {
13368 if (temp2)
13369 delete arg2;
13370 }
13371 return NULL;
13372 }
13373
13374
13375 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj = 0;
13377 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13378 wxRect *arg2 = 0 ;
13379 void *argp1 = 0 ;
13380 int res1 = 0 ;
13381 wxRect temp2 ;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 char * kwnames[] = {
13385 (char *) "self",(char *) "rectBound", NULL
13386 };
13387
13388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13390 if (!SWIG_IsOK(res1)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13392 }
13393 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13394 {
13395 arg2 = &temp2;
13396 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13397 }
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_Py_Void();
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13412 PyObject *resultobj = 0;
13413 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13414 void *argp1 = 0 ;
13415 int res1 = 0 ;
13416 PyObject *swig_obj[1] ;
13417
13418 if (!args) SWIG_fail;
13419 swig_obj[0] = args;
13420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13421 if (!SWIG_IsOK(res1)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13423 }
13424 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 (arg1)->Close();
13428 wxPyEndAllowThreads(__tstate);
13429 if (PyErr_Occurred()) SWIG_fail;
13430 }
13431 resultobj = SWIG_Py_Void();
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13439 PyObject *obj;
13440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13442 return SWIG_Py_Void();
13443 }
13444
13445 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13446 return SWIG_Python_InitShadowInstance(args);
13447 }
13448
13449 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj = 0;
13451 wxWindow *arg1 = (wxWindow *) 0 ;
13452 int arg2 = (int) wxID_ANY ;
13453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13455 wxSize const &arg4_defvalue = wxDefaultSize ;
13456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13457 long arg5 = (long) 0 ;
13458 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13459 wxString *arg6 = (wxString *) &arg6_defvalue ;
13460 wxPyVScrolledWindow *result = 0 ;
13461 void *argp1 = 0 ;
13462 int res1 = 0 ;
13463 int val2 ;
13464 int ecode2 = 0 ;
13465 wxPoint temp3 ;
13466 wxSize temp4 ;
13467 long val5 ;
13468 int ecode5 = 0 ;
13469 bool temp6 = false ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 PyObject * obj4 = 0 ;
13475 PyObject * obj5 = 0 ;
13476 char * kwnames[] = {
13477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13478 };
13479
13480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13482 if (!SWIG_IsOK(res1)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13484 }
13485 arg1 = reinterpret_cast< wxWindow * >(argp1);
13486 if (obj1) {
13487 ecode2 = SWIG_AsVal_int(obj1, &val2);
13488 if (!SWIG_IsOK(ecode2)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13490 }
13491 arg2 = static_cast< int >(val2);
13492 }
13493 if (obj2) {
13494 {
13495 arg3 = &temp3;
13496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13497 }
13498 }
13499 if (obj3) {
13500 {
13501 arg4 = &temp4;
13502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13503 }
13504 }
13505 if (obj4) {
13506 ecode5 = SWIG_AsVal_long(obj4, &val5);
13507 if (!SWIG_IsOK(ecode5)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13509 }
13510 arg5 = static_cast< long >(val5);
13511 }
13512 if (obj5) {
13513 {
13514 arg6 = wxString_in_helper(obj5);
13515 if (arg6 == NULL) SWIG_fail;
13516 temp6 = true;
13517 }
13518 }
13519 {
13520 if (!wxPyCheckForApp()) SWIG_fail;
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13527 {
13528 if (temp6)
13529 delete arg6;
13530 }
13531 return resultobj;
13532 fail:
13533 {
13534 if (temp6)
13535 delete arg6;
13536 }
13537 return NULL;
13538 }
13539
13540
13541 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13542 PyObject *resultobj = 0;
13543 wxPyVScrolledWindow *result = 0 ;
13544
13545 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13546 {
13547 if (!wxPyCheckForApp()) SWIG_fail;
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj = 0;
13562 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13563 PyObject *arg2 = (PyObject *) 0 ;
13564 PyObject *arg3 = (PyObject *) 0 ;
13565 void *argp1 = 0 ;
13566 int res1 = 0 ;
13567 PyObject * obj0 = 0 ;
13568 PyObject * obj1 = 0 ;
13569 PyObject * obj2 = 0 ;
13570 char * kwnames[] = {
13571 (char *) "self",(char *) "self",(char *) "_class", NULL
13572 };
13573
13574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13576 if (!SWIG_IsOK(res1)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13578 }
13579 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13580 arg2 = obj1;
13581 arg3 = obj2;
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 (arg1)->_setCallbackInfo(arg2,arg3);
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 resultobj = SWIG_Py_Void();
13589 return resultobj;
13590 fail:
13591 return NULL;
13592 }
13593
13594
13595 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13596 PyObject *resultobj = 0;
13597 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13598 wxWindow *arg2 = (wxWindow *) 0 ;
13599 int arg3 = (int) wxID_ANY ;
13600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13602 wxSize const &arg5_defvalue = wxDefaultSize ;
13603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13604 long arg6 = (long) 0 ;
13605 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13606 wxString *arg7 = (wxString *) &arg7_defvalue ;
13607 bool result;
13608 void *argp1 = 0 ;
13609 int res1 = 0 ;
13610 void *argp2 = 0 ;
13611 int res2 = 0 ;
13612 int val3 ;
13613 int ecode3 = 0 ;
13614 wxPoint temp4 ;
13615 wxSize temp5 ;
13616 long val6 ;
13617 int ecode6 = 0 ;
13618 bool temp7 = false ;
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 PyObject * obj2 = 0 ;
13622 PyObject * obj3 = 0 ;
13623 PyObject * obj4 = 0 ;
13624 PyObject * obj5 = 0 ;
13625 PyObject * obj6 = 0 ;
13626 char * kwnames[] = {
13627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13628 };
13629
13630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13632 if (!SWIG_IsOK(res1)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13634 }
13635 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13637 if (!SWIG_IsOK(res2)) {
13638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13639 }
13640 arg2 = reinterpret_cast< wxWindow * >(argp2);
13641 if (obj2) {
13642 ecode3 = SWIG_AsVal_int(obj2, &val3);
13643 if (!SWIG_IsOK(ecode3)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13645 }
13646 arg3 = static_cast< int >(val3);
13647 }
13648 if (obj3) {
13649 {
13650 arg4 = &temp4;
13651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13652 }
13653 }
13654 if (obj4) {
13655 {
13656 arg5 = &temp5;
13657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13658 }
13659 }
13660 if (obj5) {
13661 ecode6 = SWIG_AsVal_long(obj5, &val6);
13662 if (!SWIG_IsOK(ecode6)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13664 }
13665 arg6 = static_cast< long >(val6);
13666 }
13667 if (obj6) {
13668 {
13669 arg7 = wxString_in_helper(obj6);
13670 if (arg7 == NULL) SWIG_fail;
13671 temp7 = true;
13672 }
13673 }
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 {
13681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13682 }
13683 {
13684 if (temp7)
13685 delete arg7;
13686 }
13687 return resultobj;
13688 fail:
13689 {
13690 if (temp7)
13691 delete arg7;
13692 }
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj = 0;
13699 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13700 size_t arg2 ;
13701 void *argp1 = 0 ;
13702 int res1 = 0 ;
13703 size_t val2 ;
13704 int ecode2 = 0 ;
13705 PyObject * obj0 = 0 ;
13706 PyObject * obj1 = 0 ;
13707 char * kwnames[] = {
13708 (char *) "self",(char *) "count", NULL
13709 };
13710
13711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13713 if (!SWIG_IsOK(res1)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13715 }
13716 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13717 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13718 if (!SWIG_IsOK(ecode2)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13720 }
13721 arg2 = static_cast< size_t >(val2);
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 (arg1)->SetLineCount(arg2);
13725 wxPyEndAllowThreads(__tstate);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 resultobj = SWIG_Py_Void();
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj = 0;
13737 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13738 size_t arg2 ;
13739 bool result;
13740 void *argp1 = 0 ;
13741 int res1 = 0 ;
13742 size_t val2 ;
13743 int ecode2 = 0 ;
13744 PyObject * obj0 = 0 ;
13745 PyObject * obj1 = 0 ;
13746 char * kwnames[] = {
13747 (char *) "self",(char *) "line", NULL
13748 };
13749
13750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13752 if (!SWIG_IsOK(res1)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13754 }
13755 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13756 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13757 if (!SWIG_IsOK(ecode2)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13759 }
13760 arg2 = static_cast< size_t >(val2);
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)(arg1)->ScrollToLine(arg2);
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj = 0;
13778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13779 size_t arg2 ;
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
13782 size_t val2 ;
13783 int ecode2 = 0 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 char * kwnames[] = {
13787 (char *) "self",(char *) "line", NULL
13788 };
13789
13790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13794 }
13795 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13796 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13797 if (!SWIG_IsOK(ecode2)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13799 }
13800 arg2 = static_cast< size_t >(val2);
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->RefreshLine(arg2);
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 resultobj = SWIG_Py_Void();
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj = 0;
13816 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13817 size_t arg2 ;
13818 size_t arg3 ;
13819 void *argp1 = 0 ;
13820 int res1 = 0 ;
13821 size_t val2 ;
13822 int ecode2 = 0 ;
13823 size_t val3 ;
13824 int ecode3 = 0 ;
13825 PyObject * obj0 = 0 ;
13826 PyObject * obj1 = 0 ;
13827 PyObject * obj2 = 0 ;
13828 char * kwnames[] = {
13829 (char *) "self",(char *) "from",(char *) "to", NULL
13830 };
13831
13832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13834 if (!SWIG_IsOK(res1)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13836 }
13837 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13838 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13839 if (!SWIG_IsOK(ecode2)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13841 }
13842 arg2 = static_cast< size_t >(val2);
13843 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13844 if (!SWIG_IsOK(ecode3)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13846 }
13847 arg3 = static_cast< size_t >(val3);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 (arg1)->RefreshLines(arg2,arg3);
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 resultobj = SWIG_Py_Void();
13855 return resultobj;
13856 fail:
13857 return NULL;
13858 }
13859
13860
13861 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj = 0;
13863 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13864 int arg2 ;
13865 int arg3 ;
13866 int result;
13867 void *argp1 = 0 ;
13868 int res1 = 0 ;
13869 int val2 ;
13870 int ecode2 = 0 ;
13871 int val3 ;
13872 int ecode3 = 0 ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 PyObject * obj2 = 0 ;
13876 char * kwnames[] = {
13877 (char *) "self",(char *) "x",(char *) "y", NULL
13878 };
13879
13880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13882 if (!SWIG_IsOK(res1)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13884 }
13885 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13886 ecode2 = SWIG_AsVal_int(obj1, &val2);
13887 if (!SWIG_IsOK(ecode2)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13889 }
13890 arg2 = static_cast< int >(val2);
13891 ecode3 = SWIG_AsVal_int(obj2, &val3);
13892 if (!SWIG_IsOK(ecode3)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13894 }
13895 arg3 = static_cast< int >(val3);
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_From_int(static_cast< int >(result));
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj = 0;
13911 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13912 wxPoint *arg2 = 0 ;
13913 int result;
13914 void *argp1 = 0 ;
13915 int res1 = 0 ;
13916 wxPoint temp2 ;
13917 PyObject * obj0 = 0 ;
13918 PyObject * obj1 = 0 ;
13919 char * kwnames[] = {
13920 (char *) "self",(char *) "pt", NULL
13921 };
13922
13923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13927 }
13928 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13929 {
13930 arg2 = &temp2;
13931 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13932 }
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = SWIG_From_int(static_cast< int >(result));
13940 return resultobj;
13941 fail:
13942 return NULL;
13943 }
13944
13945
13946 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13947 PyObject *resultobj = 0;
13948 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13949 void *argp1 = 0 ;
13950 int res1 = 0 ;
13951 PyObject *swig_obj[1] ;
13952
13953 if (!args) SWIG_fail;
13954 swig_obj[0] = args;
13955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13956 if (!SWIG_IsOK(res1)) {
13957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13958 }
13959 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->RefreshAll();
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 resultobj = SWIG_Py_Void();
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13974 PyObject *resultobj = 0;
13975 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13976 size_t result;
13977 void *argp1 = 0 ;
13978 int res1 = 0 ;
13979 PyObject *swig_obj[1] ;
13980
13981 if (!args) SWIG_fail;
13982 swig_obj[0] = args;
13983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13984 if (!SWIG_IsOK(res1)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13986 }
13987 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13995 return resultobj;
13996 fail:
13997 return NULL;
13998 }
13999
14000
14001 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14002 PyObject *resultobj = 0;
14003 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14004 size_t result;
14005 void *argp1 = 0 ;
14006 int res1 = 0 ;
14007 PyObject *swig_obj[1] ;
14008
14009 if (!args) SWIG_fail;
14010 swig_obj[0] = args;
14011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14012 if (!SWIG_IsOK(res1)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14014 }
14015 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14030 PyObject *resultobj = 0;
14031 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14032 size_t result;
14033 void *argp1 = 0 ;
14034 int res1 = 0 ;
14035 PyObject *swig_obj[1] ;
14036
14037 if (!args) SWIG_fail;
14038 swig_obj[0] = args;
14039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14040 if (!SWIG_IsOK(res1)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14042 }
14043 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj = 0;
14059 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14060 size_t arg2 ;
14061 bool result;
14062 void *argp1 = 0 ;
14063 int res1 = 0 ;
14064 size_t val2 ;
14065 int ecode2 = 0 ;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 char * kwnames[] = {
14069 (char *) "self",(char *) "line", NULL
14070 };
14071
14072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14074 if (!SWIG_IsOK(res1)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14076 }
14077 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14079 if (!SWIG_IsOK(ecode2)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14081 }
14082 arg2 = static_cast< size_t >(val2);
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 {
14090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14091 }
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14099 PyObject *resultobj = 0;
14100 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14101 size_t result;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 PyObject *swig_obj[1] ;
14105
14106 if (!args) SWIG_fail;
14107 swig_obj[0] = args;
14108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14109 if (!SWIG_IsOK(res1)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14111 }
14112 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14127 PyObject *resultobj = 0;
14128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14129 size_t result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 PyObject *swig_obj[1] ;
14133
14134 if (!args) SWIG_fail;
14135 swig_obj[0] = args;
14136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14139 }
14140 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14148 return resultobj;
14149 fail:
14150 return NULL;
14151 }
14152
14153
14154 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj = 0;
14156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14157 size_t arg2 ;
14158 bool arg3 = (bool) false ;
14159 size_t result;
14160 void *argp1 = 0 ;
14161 int res1 = 0 ;
14162 size_t val2 ;
14163 int ecode2 = 0 ;
14164 bool val3 ;
14165 int ecode3 = 0 ;
14166 PyObject * obj0 = 0 ;
14167 PyObject * obj1 = 0 ;
14168 PyObject * obj2 = 0 ;
14169 char * kwnames[] = {
14170 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14171 };
14172
14173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14175 if (!SWIG_IsOK(res1)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14177 }
14178 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14179 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14180 if (!SWIG_IsOK(ecode2)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14182 }
14183 arg2 = static_cast< size_t >(val2);
14184 if (obj2) {
14185 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14186 if (!SWIG_IsOK(ecode3)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14188 }
14189 arg3 = static_cast< bool >(val3);
14190 }
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14198 return resultobj;
14199 fail:
14200 return NULL;
14201 }
14202
14203
14204 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj = 0;
14206 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14207 size_t arg2 ;
14208 size_t arg3 ;
14209 int result;
14210 void *argp1 = 0 ;
14211 int res1 = 0 ;
14212 size_t val2 ;
14213 int ecode2 = 0 ;
14214 size_t val3 ;
14215 int ecode3 = 0 ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 PyObject * obj2 = 0 ;
14219 char * kwnames[] = {
14220 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14221 };
14222
14223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14225 if (!SWIG_IsOK(res1)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14227 }
14228 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14229 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14230 if (!SWIG_IsOK(ecode2)) {
14231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14232 }
14233 arg2 = static_cast< size_t >(val2);
14234 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14235 if (!SWIG_IsOK(ecode3)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14237 }
14238 arg3 = static_cast< size_t >(val3);
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = SWIG_From_int(static_cast< int >(result));
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14253 PyObject *obj;
14254 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14256 return SWIG_Py_Void();
14257 }
14258
14259 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 return SWIG_Python_InitShadowInstance(args);
14261 }
14262
14263 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14264 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14265 return 1;
14266 }
14267
14268
14269 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14270 PyObject *pyobj = 0;
14271
14272 {
14273 #if wxUSE_UNICODE
14274 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14275 #else
14276 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14277 #endif
14278 }
14279 return pyobj;
14280 }
14281
14282
14283 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = 0;
14285 wxWindow *arg1 = (wxWindow *) 0 ;
14286 int arg2 = (int) wxID_ANY ;
14287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14289 wxSize const &arg4_defvalue = wxDefaultSize ;
14290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14291 long arg5 = (long) 0 ;
14292 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14293 wxString *arg6 = (wxString *) &arg6_defvalue ;
14294 wxPyVListBox *result = 0 ;
14295 void *argp1 = 0 ;
14296 int res1 = 0 ;
14297 int val2 ;
14298 int ecode2 = 0 ;
14299 wxPoint temp3 ;
14300 wxSize temp4 ;
14301 long val5 ;
14302 int ecode5 = 0 ;
14303 bool temp6 = false ;
14304 PyObject * obj0 = 0 ;
14305 PyObject * obj1 = 0 ;
14306 PyObject * obj2 = 0 ;
14307 PyObject * obj3 = 0 ;
14308 PyObject * obj4 = 0 ;
14309 PyObject * obj5 = 0 ;
14310 char * kwnames[] = {
14311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14312 };
14313
14314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14316 if (!SWIG_IsOK(res1)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14318 }
14319 arg1 = reinterpret_cast< wxWindow * >(argp1);
14320 if (obj1) {
14321 ecode2 = SWIG_AsVal_int(obj1, &val2);
14322 if (!SWIG_IsOK(ecode2)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14324 }
14325 arg2 = static_cast< int >(val2);
14326 }
14327 if (obj2) {
14328 {
14329 arg3 = &temp3;
14330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14331 }
14332 }
14333 if (obj3) {
14334 {
14335 arg4 = &temp4;
14336 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14337 }
14338 }
14339 if (obj4) {
14340 ecode5 = SWIG_AsVal_long(obj4, &val5);
14341 if (!SWIG_IsOK(ecode5)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14343 }
14344 arg5 = static_cast< long >(val5);
14345 }
14346 if (obj5) {
14347 {
14348 arg6 = wxString_in_helper(obj5);
14349 if (arg6 == NULL) SWIG_fail;
14350 temp6 = true;
14351 }
14352 }
14353 {
14354 if (!wxPyCheckForApp()) SWIG_fail;
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14361 {
14362 if (temp6)
14363 delete arg6;
14364 }
14365 return resultobj;
14366 fail:
14367 {
14368 if (temp6)
14369 delete arg6;
14370 }
14371 return NULL;
14372 }
14373
14374
14375 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14376 PyObject *resultobj = 0;
14377 wxPyVListBox *result = 0 ;
14378
14379 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14380 {
14381 if (!wxPyCheckForApp()) SWIG_fail;
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (wxPyVListBox *)new wxPyVListBox();
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj = 0;
14396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14397 PyObject *arg2 = (PyObject *) 0 ;
14398 PyObject *arg3 = (PyObject *) 0 ;
14399 void *argp1 = 0 ;
14400 int res1 = 0 ;
14401 PyObject * obj0 = 0 ;
14402 PyObject * obj1 = 0 ;
14403 PyObject * obj2 = 0 ;
14404 char * kwnames[] = {
14405 (char *) "self",(char *) "self",(char *) "_class", NULL
14406 };
14407
14408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14410 if (!SWIG_IsOK(res1)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14412 }
14413 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14414 arg2 = obj1;
14415 arg3 = obj2;
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 (arg1)->_setCallbackInfo(arg2,arg3);
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 resultobj = SWIG_Py_Void();
14423 return resultobj;
14424 fail:
14425 return NULL;
14426 }
14427
14428
14429 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14430 PyObject *resultobj = 0;
14431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14432 wxWindow *arg2 = (wxWindow *) 0 ;
14433 int arg3 = (int) wxID_ANY ;
14434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14436 wxSize const &arg5_defvalue = wxDefaultSize ;
14437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14438 long arg6 = (long) 0 ;
14439 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14440 wxString *arg7 = (wxString *) &arg7_defvalue ;
14441 bool result;
14442 void *argp1 = 0 ;
14443 int res1 = 0 ;
14444 void *argp2 = 0 ;
14445 int res2 = 0 ;
14446 int val3 ;
14447 int ecode3 = 0 ;
14448 wxPoint temp4 ;
14449 wxSize temp5 ;
14450 long val6 ;
14451 int ecode6 = 0 ;
14452 bool temp7 = false ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 PyObject * obj3 = 0 ;
14457 PyObject * obj4 = 0 ;
14458 PyObject * obj5 = 0 ;
14459 PyObject * obj6 = 0 ;
14460 char * kwnames[] = {
14461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14462 };
14463
14464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14466 if (!SWIG_IsOK(res1)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14468 }
14469 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14471 if (!SWIG_IsOK(res2)) {
14472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14473 }
14474 arg2 = reinterpret_cast< wxWindow * >(argp2);
14475 if (obj2) {
14476 ecode3 = SWIG_AsVal_int(obj2, &val3);
14477 if (!SWIG_IsOK(ecode3)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14479 }
14480 arg3 = static_cast< int >(val3);
14481 }
14482 if (obj3) {
14483 {
14484 arg4 = &temp4;
14485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14486 }
14487 }
14488 if (obj4) {
14489 {
14490 arg5 = &temp5;
14491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14492 }
14493 }
14494 if (obj5) {
14495 ecode6 = SWIG_AsVal_long(obj5, &val6);
14496 if (!SWIG_IsOK(ecode6)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14498 }
14499 arg6 = static_cast< long >(val6);
14500 }
14501 if (obj6) {
14502 {
14503 arg7 = wxString_in_helper(obj6);
14504 if (arg7 == NULL) SWIG_fail;
14505 temp7 = true;
14506 }
14507 }
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 {
14515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14516 }
14517 {
14518 if (temp7)
14519 delete arg7;
14520 }
14521 return resultobj;
14522 fail:
14523 {
14524 if (temp7)
14525 delete arg7;
14526 }
14527 return NULL;
14528 }
14529
14530
14531 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14532 PyObject *resultobj = 0;
14533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14534 size_t result;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 PyObject *swig_obj[1] ;
14538
14539 if (!args) SWIG_fail;
14540 swig_obj[0] = args;
14541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14542 if (!SWIG_IsOK(res1)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14544 }
14545 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14553 return resultobj;
14554 fail:
14555 return NULL;
14556 }
14557
14558
14559 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14560 PyObject *resultobj = 0;
14561 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14562 bool result;
14563 void *argp1 = 0 ;
14564 int res1 = 0 ;
14565 PyObject *swig_obj[1] ;
14566
14567 if (!args) SWIG_fail;
14568 swig_obj[0] = args;
14569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14570 if (!SWIG_IsOK(res1)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14572 }
14573 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 {
14581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14582 }
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14590 PyObject *resultobj = 0;
14591 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14592 int result;
14593 void *argp1 = 0 ;
14594 int res1 = 0 ;
14595 PyObject *swig_obj[1] ;
14596
14597 if (!args) SWIG_fail;
14598 swig_obj[0] = args;
14599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14600 if (!SWIG_IsOK(res1)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14602 }
14603 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 resultobj = SWIG_From_int(static_cast< int >(result));
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj = 0;
14619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14620 size_t arg2 ;
14621 bool result;
14622 void *argp1 = 0 ;
14623 int res1 = 0 ;
14624 size_t val2 ;
14625 int ecode2 = 0 ;
14626 PyObject * obj0 = 0 ;
14627 PyObject * obj1 = 0 ;
14628 char * kwnames[] = {
14629 (char *) "self",(char *) "item", NULL
14630 };
14631
14632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14634 if (!SWIG_IsOK(res1)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14636 }
14637 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14638 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14639 if (!SWIG_IsOK(ecode2)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14641 }
14642 arg2 = static_cast< size_t >(val2);
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 {
14650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14651 }
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj = 0;
14660 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14661 size_t arg2 ;
14662 bool result;
14663 void *argp1 = 0 ;
14664 int res1 = 0 ;
14665 size_t val2 ;
14666 int ecode2 = 0 ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 char * kwnames[] = {
14670 (char *) "self",(char *) "item", NULL
14671 };
14672
14673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14675 if (!SWIG_IsOK(res1)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14677 }
14678 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14679 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14680 if (!SWIG_IsOK(ecode2)) {
14681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14682 }
14683 arg2 = static_cast< size_t >(val2);
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 {
14691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14692 }
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14700 PyObject *resultobj = 0;
14701 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14702 size_t result;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 PyObject *swig_obj[1] ;
14706
14707 if (!args) SWIG_fail;
14708 swig_obj[0] = args;
14709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14710 if (!SWIG_IsOK(res1)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14712 }
14713 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14714 {
14715 PyThreadState* __tstate = wxPyBeginAllowThreads();
14716 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14721 return resultobj;
14722 fail:
14723 return NULL;
14724 }
14725
14726
14727 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14728 PyObject *resultobj = 0;
14729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14730 PyObject *result = 0 ;
14731 void *argp1 = 0 ;
14732 int res1 = 0 ;
14733 PyObject *swig_obj[1] ;
14734
14735 if (!args) SWIG_fail;
14736 swig_obj[0] = args;
14737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14738 if (!SWIG_IsOK(res1)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14740 }
14741 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 resultobj = result;
14749 return resultobj;
14750 fail:
14751 return NULL;
14752 }
14753
14754
14755 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj = 0;
14757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14758 unsigned long arg2 ;
14759 PyObject *result = 0 ;
14760 void *argp1 = 0 ;
14761 int res1 = 0 ;
14762 unsigned long val2 ;
14763 int ecode2 = 0 ;
14764 PyObject * obj0 = 0 ;
14765 PyObject * obj1 = 0 ;
14766 char * kwnames[] = {
14767 (char *) "self",(char *) "cookie", NULL
14768 };
14769
14770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14772 if (!SWIG_IsOK(res1)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14774 }
14775 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14776 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14777 if (!SWIG_IsOK(ecode2)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14779 }
14780 arg2 = static_cast< unsigned long >(val2);
14781 {
14782 PyThreadState* __tstate = wxPyBeginAllowThreads();
14783 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 resultobj = result;
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14795 PyObject *resultobj = 0;
14796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14797 wxPoint result;
14798 void *argp1 = 0 ;
14799 int res1 = 0 ;
14800 PyObject *swig_obj[1] ;
14801
14802 if (!args) SWIG_fail;
14803 swig_obj[0] = args;
14804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14805 if (!SWIG_IsOK(res1)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14807 }
14808 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = ((wxPyVListBox const *)arg1)->GetMargins();
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14823 PyObject *resultobj = 0;
14824 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14825 wxColour *result = 0 ;
14826 void *argp1 = 0 ;
14827 int res1 = 0 ;
14828 PyObject *swig_obj[1] ;
14829
14830 if (!args) SWIG_fail;
14831 swig_obj[0] = args;
14832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14833 if (!SWIG_IsOK(res1)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14835 }
14836 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 {
14840 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14841 result = (wxColour *) &_result_ref;
14842 }
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14847 return resultobj;
14848 fail:
14849 return NULL;
14850 }
14851
14852
14853 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj = 0;
14855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14856 size_t arg2 ;
14857 void *argp1 = 0 ;
14858 int res1 = 0 ;
14859 size_t val2 ;
14860 int ecode2 = 0 ;
14861 PyObject * obj0 = 0 ;
14862 PyObject * obj1 = 0 ;
14863 char * kwnames[] = {
14864 (char *) "self",(char *) "count", NULL
14865 };
14866
14867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14869 if (!SWIG_IsOK(res1)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14871 }
14872 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14873 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14874 if (!SWIG_IsOK(ecode2)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14876 }
14877 arg2 = static_cast< size_t >(val2);
14878 {
14879 PyThreadState* __tstate = wxPyBeginAllowThreads();
14880 (arg1)->SetItemCount(arg2);
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 resultobj = SWIG_Py_Void();
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14892 PyObject *resultobj = 0;
14893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14894 void *argp1 = 0 ;
14895 int res1 = 0 ;
14896 PyObject *swig_obj[1] ;
14897
14898 if (!args) SWIG_fail;
14899 swig_obj[0] = args;
14900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14901 if (!SWIG_IsOK(res1)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14903 }
14904 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 (arg1)->Clear();
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 resultobj = SWIG_Py_Void();
14912 return resultobj;
14913 fail:
14914 return NULL;
14915 }
14916
14917
14918 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14919 PyObject *resultobj = 0;
14920 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14921 int arg2 ;
14922 void *argp1 = 0 ;
14923 int res1 = 0 ;
14924 int val2 ;
14925 int ecode2 = 0 ;
14926 PyObject * obj0 = 0 ;
14927 PyObject * obj1 = 0 ;
14928 char * kwnames[] = {
14929 (char *) "self",(char *) "selection", NULL
14930 };
14931
14932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14934 if (!SWIG_IsOK(res1)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14936 }
14937 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14938 ecode2 = SWIG_AsVal_int(obj1, &val2);
14939 if (!SWIG_IsOK(ecode2)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14941 }
14942 arg2 = static_cast< int >(val2);
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->SetSelection(arg2);
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 resultobj = SWIG_Py_Void();
14950 return resultobj;
14951 fail:
14952 return NULL;
14953 }
14954
14955
14956 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj = 0;
14958 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14959 size_t arg2 ;
14960 bool arg3 = (bool) true ;
14961 bool result;
14962 void *argp1 = 0 ;
14963 int res1 = 0 ;
14964 size_t val2 ;
14965 int ecode2 = 0 ;
14966 bool val3 ;
14967 int ecode3 = 0 ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 PyObject * obj2 = 0 ;
14971 char * kwnames[] = {
14972 (char *) "self",(char *) "item",(char *) "select", NULL
14973 };
14974
14975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14977 if (!SWIG_IsOK(res1)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14979 }
14980 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14981 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14982 if (!SWIG_IsOK(ecode2)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14984 }
14985 arg2 = static_cast< size_t >(val2);
14986 if (obj2) {
14987 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14988 if (!SWIG_IsOK(ecode3)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14990 }
14991 arg3 = static_cast< bool >(val3);
14992 }
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (bool)(arg1)->Select(arg2,arg3);
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 {
15000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15001 }
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj = 0;
15010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15011 size_t arg2 ;
15012 size_t arg3 ;
15013 bool result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 size_t val2 ;
15017 int ecode2 = 0 ;
15018 size_t val3 ;
15019 int ecode3 = 0 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 PyObject * obj2 = 0 ;
15023 char * kwnames[] = {
15024 (char *) "self",(char *) "from",(char *) "to", NULL
15025 };
15026
15027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15029 if (!SWIG_IsOK(res1)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15031 }
15032 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15033 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15034 if (!SWIG_IsOK(ecode2)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15036 }
15037 arg2 = static_cast< size_t >(val2);
15038 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15039 if (!SWIG_IsOK(ecode3)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15041 }
15042 arg3 = static_cast< size_t >(val3);
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (bool)(arg1)->SelectRange(arg2,arg3);
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj = 0;
15060 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15061 size_t arg2 ;
15062 void *argp1 = 0 ;
15063 int res1 = 0 ;
15064 size_t val2 ;
15065 int ecode2 = 0 ;
15066 PyObject * obj0 = 0 ;
15067 PyObject * obj1 = 0 ;
15068 char * kwnames[] = {
15069 (char *) "self",(char *) "item", NULL
15070 };
15071
15072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15074 if (!SWIG_IsOK(res1)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15076 }
15077 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15079 if (!SWIG_IsOK(ecode2)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15081 }
15082 arg2 = static_cast< size_t >(val2);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->Toggle(arg2);
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_Py_Void();
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15097 PyObject *resultobj = 0;
15098 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15099 bool result;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 PyObject *swig_obj[1] ;
15103
15104 if (!args) SWIG_fail;
15105 swig_obj[0] = args;
15106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15107 if (!SWIG_IsOK(res1)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15109 }
15110 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (bool)(arg1)->SelectAll();
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 {
15118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15119 }
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15127 PyObject *resultobj = 0;
15128 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15129 bool result;
15130 void *argp1 = 0 ;
15131 int res1 = 0 ;
15132 PyObject *swig_obj[1] ;
15133
15134 if (!args) SWIG_fail;
15135 swig_obj[0] = args;
15136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15137 if (!SWIG_IsOK(res1)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15139 }
15140 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 result = (bool)(arg1)->DeselectAll();
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 {
15148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15149 }
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj = 0;
15158 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15159 wxPoint *arg2 = 0 ;
15160 void *argp1 = 0 ;
15161 int res1 = 0 ;
15162 wxPoint temp2 ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 char * kwnames[] = {
15166 (char *) "self",(char *) "pt", NULL
15167 };
15168
15169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15171 if (!SWIG_IsOK(res1)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15173 }
15174 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15175 {
15176 arg2 = &temp2;
15177 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15178 }
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->SetMargins((wxPoint const &)*arg2);
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_Py_Void();
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj = 0;
15194 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15195 int arg2 ;
15196 int arg3 ;
15197 void *argp1 = 0 ;
15198 int res1 = 0 ;
15199 int val2 ;
15200 int ecode2 = 0 ;
15201 int val3 ;
15202 int ecode3 = 0 ;
15203 PyObject * obj0 = 0 ;
15204 PyObject * obj1 = 0 ;
15205 PyObject * obj2 = 0 ;
15206 char * kwnames[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15208 };
15209
15210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15212 if (!SWIG_IsOK(res1)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15214 }
15215 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15216 ecode2 = SWIG_AsVal_int(obj1, &val2);
15217 if (!SWIG_IsOK(ecode2)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15219 }
15220 arg2 = static_cast< int >(val2);
15221 ecode3 = SWIG_AsVal_int(obj2, &val3);
15222 if (!SWIG_IsOK(ecode3)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15224 }
15225 arg3 = static_cast< int >(val3);
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->SetMargins(arg2,arg3);
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 resultobj = SWIG_Py_Void();
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj = 0;
15241 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15242 wxColour *arg2 = 0 ;
15243 void *argp1 = 0 ;
15244 int res1 = 0 ;
15245 wxColour temp2 ;
15246 PyObject * obj0 = 0 ;
15247 PyObject * obj1 = 0 ;
15248 char * kwnames[] = {
15249 (char *) "self",(char *) "col", NULL
15250 };
15251
15252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15254 if (!SWIG_IsOK(res1)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 }
15257 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15258 {
15259 arg2 = &temp2;
15260 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_Py_Void();
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj = 0;
15277 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15278 wxDC *arg2 = 0 ;
15279 wxRect *arg3 = 0 ;
15280 size_t arg4 ;
15281 void *argp1 = 0 ;
15282 int res1 = 0 ;
15283 void *argp2 = 0 ;
15284 int res2 = 0 ;
15285 wxRect temp3 ;
15286 size_t val4 ;
15287 int ecode4 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 PyObject * obj2 = 0 ;
15291 PyObject * obj3 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15303 if (!SWIG_IsOK(res2)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15305 }
15306 if (!argp2) {
15307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15308 }
15309 arg2 = reinterpret_cast< wxDC * >(argp2);
15310 {
15311 arg3 = &temp3;
15312 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15313 }
15314 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15315 if (!SWIG_IsOK(ecode4)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15317 }
15318 arg4 = static_cast< size_t >(val4);
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 resultobj = SWIG_Py_Void();
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj = 0;
15334 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15335 wxDC *arg2 = 0 ;
15336 wxRect *arg3 = 0 ;
15337 size_t arg4 ;
15338 void *argp1 = 0 ;
15339 int res1 = 0 ;
15340 void *argp2 = 0 ;
15341 int res2 = 0 ;
15342 wxRect temp3 ;
15343 size_t val4 ;
15344 int ecode4 = 0 ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 PyObject * obj2 = 0 ;
15348 PyObject * obj3 = 0 ;
15349 char * kwnames[] = {
15350 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15351 };
15352
15353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15355 if (!SWIG_IsOK(res1)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15357 }
15358 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15359 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15360 if (!SWIG_IsOK(res2)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15362 }
15363 if (!argp2) {
15364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15365 }
15366 arg2 = reinterpret_cast< wxDC * >(argp2);
15367 {
15368 arg3 = &temp3;
15369 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15370 }
15371 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15372 if (!SWIG_IsOK(ecode4)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15374 }
15375 arg4 = static_cast< size_t >(val4);
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 resultobj = SWIG_Py_Void();
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15390 PyObject *obj;
15391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15393 return SWIG_Py_Void();
15394 }
15395
15396 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15397 return SWIG_Python_InitShadowInstance(args);
15398 }
15399
15400 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj = 0;
15402 wxWindow *arg1 = (wxWindow *) 0 ;
15403 int arg2 = (int) wxID_ANY ;
15404 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15405 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15406 wxSize const &arg4_defvalue = wxDefaultSize ;
15407 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15408 long arg5 = (long) 0 ;
15409 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15410 wxString *arg6 = (wxString *) &arg6_defvalue ;
15411 wxPyHtmlListBox *result = 0 ;
15412 void *argp1 = 0 ;
15413 int res1 = 0 ;
15414 int val2 ;
15415 int ecode2 = 0 ;
15416 wxPoint temp3 ;
15417 wxSize temp4 ;
15418 long val5 ;
15419 int ecode5 = 0 ;
15420 bool temp6 = false ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 PyObject * obj3 = 0 ;
15425 PyObject * obj4 = 0 ;
15426 PyObject * obj5 = 0 ;
15427 char * kwnames[] = {
15428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15429 };
15430
15431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15433 if (!SWIG_IsOK(res1)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15435 }
15436 arg1 = reinterpret_cast< wxWindow * >(argp1);
15437 if (obj1) {
15438 ecode2 = SWIG_AsVal_int(obj1, &val2);
15439 if (!SWIG_IsOK(ecode2)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15441 }
15442 arg2 = static_cast< int >(val2);
15443 }
15444 if (obj2) {
15445 {
15446 arg3 = &temp3;
15447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15448 }
15449 }
15450 if (obj3) {
15451 {
15452 arg4 = &temp4;
15453 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15454 }
15455 }
15456 if (obj4) {
15457 ecode5 = SWIG_AsVal_long(obj4, &val5);
15458 if (!SWIG_IsOK(ecode5)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15460 }
15461 arg5 = static_cast< long >(val5);
15462 }
15463 if (obj5) {
15464 {
15465 arg6 = wxString_in_helper(obj5);
15466 if (arg6 == NULL) SWIG_fail;
15467 temp6 = true;
15468 }
15469 }
15470 {
15471 if (!wxPyCheckForApp()) SWIG_fail;
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15478 {
15479 if (temp6)
15480 delete arg6;
15481 }
15482 return resultobj;
15483 fail:
15484 {
15485 if (temp6)
15486 delete arg6;
15487 }
15488 return NULL;
15489 }
15490
15491
15492 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15493 PyObject *resultobj = 0;
15494 wxPyHtmlListBox *result = 0 ;
15495
15496 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15497 {
15498 if (!wxPyCheckForApp()) SWIG_fail;
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj = 0;
15513 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15514 PyObject *arg2 = (PyObject *) 0 ;
15515 PyObject *arg3 = (PyObject *) 0 ;
15516 void *argp1 = 0 ;
15517 int res1 = 0 ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 PyObject * obj2 = 0 ;
15521 char * kwnames[] = {
15522 (char *) "self",(char *) "self",(char *) "_class", NULL
15523 };
15524
15525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15527 if (!SWIG_IsOK(res1)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15529 }
15530 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15531 arg2 = obj1;
15532 arg3 = obj2;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->_setCallbackInfo(arg2,arg3);
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 resultobj = SWIG_Py_Void();
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj = 0;
15548 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15549 wxWindow *arg2 = (wxWindow *) 0 ;
15550 int arg3 = (int) wxID_ANY ;
15551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15553 wxSize const &arg5_defvalue = wxDefaultSize ;
15554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15555 long arg6 = (long) 0 ;
15556 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15557 wxString *arg7 = (wxString *) &arg7_defvalue ;
15558 bool result;
15559 void *argp1 = 0 ;
15560 int res1 = 0 ;
15561 void *argp2 = 0 ;
15562 int res2 = 0 ;
15563 int val3 ;
15564 int ecode3 = 0 ;
15565 wxPoint temp4 ;
15566 wxSize temp5 ;
15567 long val6 ;
15568 int ecode6 = 0 ;
15569 bool temp7 = false ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 PyObject * obj2 = 0 ;
15573 PyObject * obj3 = 0 ;
15574 PyObject * obj4 = 0 ;
15575 PyObject * obj5 = 0 ;
15576 PyObject * obj6 = 0 ;
15577 char * kwnames[] = {
15578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15579 };
15580
15581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15583 if (!SWIG_IsOK(res1)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15585 }
15586 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15588 if (!SWIG_IsOK(res2)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15590 }
15591 arg2 = reinterpret_cast< wxWindow * >(argp2);
15592 if (obj2) {
15593 ecode3 = SWIG_AsVal_int(obj2, &val3);
15594 if (!SWIG_IsOK(ecode3)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15596 }
15597 arg3 = static_cast< int >(val3);
15598 }
15599 if (obj3) {
15600 {
15601 arg4 = &temp4;
15602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15603 }
15604 }
15605 if (obj4) {
15606 {
15607 arg5 = &temp5;
15608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15609 }
15610 }
15611 if (obj5) {
15612 ecode6 = SWIG_AsVal_long(obj5, &val6);
15613 if (!SWIG_IsOK(ecode6)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15615 }
15616 arg6 = static_cast< long >(val6);
15617 }
15618 if (obj6) {
15619 {
15620 arg7 = wxString_in_helper(obj6);
15621 if (arg7 == NULL) SWIG_fail;
15622 temp7 = true;
15623 }
15624 }
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15633 }
15634 {
15635 if (temp7)
15636 delete arg7;
15637 }
15638 return resultobj;
15639 fail:
15640 {
15641 if (temp7)
15642 delete arg7;
15643 }
15644 return NULL;
15645 }
15646
15647
15648 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj = 0;
15650 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15651 size_t arg2 ;
15652 void *argp1 = 0 ;
15653 int res1 = 0 ;
15654 size_t val2 ;
15655 int ecode2 = 0 ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 char * kwnames[] = {
15659 (char *) "self",(char *) "count", NULL
15660 };
15661
15662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15664 if (!SWIG_IsOK(res1)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15666 }
15667 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15668 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15669 if (!SWIG_IsOK(ecode2)) {
15670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15671 }
15672 arg2 = static_cast< size_t >(val2);
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetItemCount(arg2);
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 resultobj = SWIG_Py_Void();
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15687 PyObject *resultobj = 0;
15688 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15689 wxFileSystem *result = 0 ;
15690 void *argp1 = 0 ;
15691 int res1 = 0 ;
15692 PyObject *swig_obj[1] ;
15693
15694 if (!args) SWIG_fail;
15695 swig_obj[0] = args;
15696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15697 if (!SWIG_IsOK(res1)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15699 }
15700 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 {
15704 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15705 result = (wxFileSystem *) &_result_ref;
15706 }
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj = 0;
15719 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15720 size_t arg2 ;
15721 wxHtmlLinkInfo *arg3 = 0 ;
15722 void *argp1 = 0 ;
15723 int res1 = 0 ;
15724 size_t val2 ;
15725 int ecode2 = 0 ;
15726 void *argp3 = 0 ;
15727 int res3 = 0 ;
15728 PyObject * obj0 = 0 ;
15729 PyObject * obj1 = 0 ;
15730 PyObject * obj2 = 0 ;
15731 char * kwnames[] = {
15732 (char *) "self",(char *) "n",(char *) "link", NULL
15733 };
15734
15735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15737 if (!SWIG_IsOK(res1)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15739 }
15740 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15741 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15742 if (!SWIG_IsOK(ecode2)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15744 }
15745 arg2 = static_cast< size_t >(val2);
15746 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15747 if (!SWIG_IsOK(res3)) {
15748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15749 }
15750 if (!argp3) {
15751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15752 }
15753 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = SWIG_Py_Void();
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15768 PyObject *obj;
15769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15771 return SWIG_Py_Void();
15772 }
15773
15774 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15775 return SWIG_Python_InitShadowInstance(args);
15776 }
15777
15778 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15779 PyObject *resultobj = 0;
15780 wxPyTaskBarIcon *result = 0 ;
15781
15782 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15783 {
15784 if (!wxPyCheckForApp()) SWIG_fail;
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15798 PyObject *resultobj = 0;
15799 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15800 void *argp1 = 0 ;
15801 int res1 = 0 ;
15802 PyObject *swig_obj[1] ;
15803
15804 if (!args) SWIG_fail;
15805 swig_obj[0] = args;
15806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15807 if (!SWIG_IsOK(res1)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15809 }
15810 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 delete arg1;
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_Py_Void();
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj = 0;
15827 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15828 PyObject *arg2 = (PyObject *) 0 ;
15829 PyObject *arg3 = (PyObject *) 0 ;
15830 int arg4 ;
15831 void *argp1 = 0 ;
15832 int res1 = 0 ;
15833 int val4 ;
15834 int ecode4 = 0 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 PyObject * obj2 = 0 ;
15838 PyObject * obj3 = 0 ;
15839 char * kwnames[] = {
15840 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15841 };
15842
15843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15845 if (!SWIG_IsOK(res1)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15847 }
15848 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15849 arg2 = obj1;
15850 arg3 = obj2;
15851 ecode4 = SWIG_AsVal_int(obj3, &val4);
15852 if (!SWIG_IsOK(ecode4)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15854 }
15855 arg4 = static_cast< int >(val4);
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = SWIG_Py_Void();
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15870 PyObject *resultobj = 0;
15871 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15872 void *argp1 = 0 ;
15873 int res1 = 0 ;
15874 PyObject *swig_obj[1] ;
15875
15876 if (!args) SWIG_fail;
15877 swig_obj[0] = args;
15878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15879 if (!SWIG_IsOK(res1)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15881 }
15882 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 wxPyTaskBarIcon_Destroy(arg1);
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = SWIG_Py_Void();
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15897 PyObject *resultobj = 0;
15898 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15899 bool result;
15900 void *argp1 = 0 ;
15901 int res1 = 0 ;
15902 PyObject *swig_obj[1] ;
15903
15904 if (!args) SWIG_fail;
15905 swig_obj[0] = args;
15906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15907 if (!SWIG_IsOK(res1)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15909 }
15910 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15919 }
15920 return resultobj;
15921 fail:
15922 return NULL;
15923 }
15924
15925
15926 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15927 PyObject *resultobj = 0;
15928 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15929 bool result;
15930 void *argp1 = 0 ;
15931 int res1 = 0 ;
15932 PyObject *swig_obj[1] ;
15933
15934 if (!args) SWIG_fail;
15935 swig_obj[0] = args;
15936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15937 if (!SWIG_IsOK(res1)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15939 }
15940 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 {
15948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15949 }
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj = 0;
15958 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15959 wxIcon *arg2 = 0 ;
15960 wxString const &arg3_defvalue = wxPyEmptyString ;
15961 wxString *arg3 = (wxString *) &arg3_defvalue ;
15962 bool result;
15963 void *argp1 = 0 ;
15964 int res1 = 0 ;
15965 void *argp2 = 0 ;
15966 int res2 = 0 ;
15967 bool temp3 = false ;
15968 PyObject * obj0 = 0 ;
15969 PyObject * obj1 = 0 ;
15970 PyObject * obj2 = 0 ;
15971 char * kwnames[] = {
15972 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15973 };
15974
15975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15977 if (!SWIG_IsOK(res1)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15979 }
15980 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15981 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15982 if (!SWIG_IsOK(res2)) {
15983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15984 }
15985 if (!argp2) {
15986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15987 }
15988 arg2 = reinterpret_cast< wxIcon * >(argp2);
15989 if (obj2) {
15990 {
15991 arg3 = wxString_in_helper(obj2);
15992 if (arg3 == NULL) SWIG_fail;
15993 temp3 = true;
15994 }
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 {
16003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16004 }
16005 {
16006 if (temp3)
16007 delete arg3;
16008 }
16009 return resultobj;
16010 fail:
16011 {
16012 if (temp3)
16013 delete arg3;
16014 }
16015 return NULL;
16016 }
16017
16018
16019 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16020 PyObject *resultobj = 0;
16021 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16022 bool result;
16023 void *argp1 = 0 ;
16024 int res1 = 0 ;
16025 PyObject *swig_obj[1] ;
16026
16027 if (!args) SWIG_fail;
16028 swig_obj[0] = args;
16029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16032 }
16033 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 result = (bool)(arg1)->RemoveIcon();
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16042 }
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj = 0;
16051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16052 wxMenu *arg2 = (wxMenu *) 0 ;
16053 bool result;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
16056 void *argp2 = 0 ;
16057 int res2 = 0 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char * kwnames[] = {
16061 (char *) "self",(char *) "menu", NULL
16062 };
16063
16064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16066 if (!SWIG_IsOK(res1)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16068 }
16069 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16071 if (!SWIG_IsOK(res2)) {
16072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16073 }
16074 arg2 = reinterpret_cast< wxMenu * >(argp2);
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (bool)(arg1)->PopupMenu(arg2);
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 {
16082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16083 }
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16091 PyObject *obj;
16092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16094 return SWIG_Py_Void();
16095 }
16096
16097 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16098 return SWIG_Python_InitShadowInstance(args);
16099 }
16100
16101 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj = 0;
16103 wxEventType arg1 ;
16104 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16105 wxTaskBarIconEvent *result = 0 ;
16106 int val1 ;
16107 int ecode1 = 0 ;
16108 void *argp2 = 0 ;
16109 int res2 = 0 ;
16110 PyObject * obj0 = 0 ;
16111 PyObject * obj1 = 0 ;
16112 char * kwnames[] = {
16113 (char *) "evtType",(char *) "tbIcon", NULL
16114 };
16115
16116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16117 ecode1 = SWIG_AsVal_int(obj0, &val1);
16118 if (!SWIG_IsOK(ecode1)) {
16119 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16120 }
16121 arg1 = static_cast< wxEventType >(val1);
16122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16123 if (!SWIG_IsOK(res2)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16125 }
16126 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16141 PyObject *obj;
16142 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16143 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16144 return SWIG_Py_Void();
16145 }
16146
16147 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16148 return SWIG_Python_InitShadowInstance(args);
16149 }
16150
16151 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16152 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16153 return 1;
16154 }
16155
16156
16157 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16158 PyObject *pyobj = 0;
16159
16160 {
16161 #if wxUSE_UNICODE
16162 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16163 #else
16164 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16165 #endif
16166 }
16167 return pyobj;
16168 }
16169
16170
16171 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16172 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16173 return 1;
16174 }
16175
16176
16177 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16178 PyObject *pyobj = 0;
16179
16180 {
16181 #if wxUSE_UNICODE
16182 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16183 #else
16184 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16185 #endif
16186 }
16187 return pyobj;
16188 }
16189
16190
16191 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16192 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16193 return 1;
16194 }
16195
16196
16197 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16198 PyObject *pyobj = 0;
16199
16200 {
16201 #if wxUSE_UNICODE
16202 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16203 #else
16204 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16205 #endif
16206 }
16207 return pyobj;
16208 }
16209
16210
16211 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16212 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16213 return 1;
16214 }
16215
16216
16217 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16218 PyObject *pyobj = 0;
16219
16220 {
16221 #if wxUSE_UNICODE
16222 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16223 #else
16224 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16225 #endif
16226 }
16227 return pyobj;
16228 }
16229
16230
16231 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16232 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16233 return 1;
16234 }
16235
16236
16237 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16238 PyObject *pyobj = 0;
16239
16240 {
16241 #if wxUSE_UNICODE
16242 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16243 #else
16244 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16245 #endif
16246 }
16247 return pyobj;
16248 }
16249
16250
16251 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16252 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16253 return 1;
16254 }
16255
16256
16257 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16258 PyObject *pyobj = 0;
16259
16260 {
16261 #if wxUSE_UNICODE
16262 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16263 #else
16264 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16265 #endif
16266 }
16267 return pyobj;
16268 }
16269
16270
16271 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16272 PyObject *resultobj = 0;
16273 wxColourData *result = 0 ;
16274
16275 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxColourData *)new wxColourData();
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16290 PyObject *resultobj = 0;
16291 wxColourData *arg1 = (wxColourData *) 0 ;
16292 void *argp1 = 0 ;
16293 int res1 = 0 ;
16294 PyObject *swig_obj[1] ;
16295
16296 if (!args) SWIG_fail;
16297 swig_obj[0] = args;
16298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16299 if (!SWIG_IsOK(res1)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16301 }
16302 arg1 = reinterpret_cast< wxColourData * >(argp1);
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 delete arg1;
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = SWIG_Py_Void();
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16318 PyObject *resultobj = 0;
16319 wxColourData *arg1 = (wxColourData *) 0 ;
16320 bool result;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 PyObject *swig_obj[1] ;
16324
16325 if (!args) SWIG_fail;
16326 swig_obj[0] = args;
16327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16328 if (!SWIG_IsOK(res1)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16330 }
16331 arg1 = reinterpret_cast< wxColourData * >(argp1);
16332 {
16333 PyThreadState* __tstate = wxPyBeginAllowThreads();
16334 result = (bool)(arg1)->GetChooseFull();
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16340 }
16341 return resultobj;
16342 fail:
16343 return NULL;
16344 }
16345
16346
16347 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16348 PyObject *resultobj = 0;
16349 wxColourData *arg1 = (wxColourData *) 0 ;
16350 wxColour result;
16351 void *argp1 = 0 ;
16352 int res1 = 0 ;
16353 PyObject *swig_obj[1] ;
16354
16355 if (!args) SWIG_fail;
16356 swig_obj[0] = args;
16357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16358 if (!SWIG_IsOK(res1)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16360 }
16361 arg1 = reinterpret_cast< wxColourData * >(argp1);
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (arg1)->GetColour();
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj = 0;
16377 wxColourData *arg1 = (wxColourData *) 0 ;
16378 int arg2 ;
16379 wxColour result;
16380 void *argp1 = 0 ;
16381 int res1 = 0 ;
16382 int val2 ;
16383 int ecode2 = 0 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char * kwnames[] = {
16387 (char *) "self",(char *) "i", NULL
16388 };
16389
16390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16392 if (!SWIG_IsOK(res1)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16394 }
16395 arg1 = reinterpret_cast< wxColourData * >(argp1);
16396 ecode2 = SWIG_AsVal_int(obj1, &val2);
16397 if (!SWIG_IsOK(ecode2)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16399 }
16400 arg2 = static_cast< int >(val2);
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 result = (arg1)->GetCustomColour(arg2);
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj = 0;
16416 wxColourData *arg1 = (wxColourData *) 0 ;
16417 int arg2 ;
16418 void *argp1 = 0 ;
16419 int res1 = 0 ;
16420 int val2 ;
16421 int ecode2 = 0 ;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 char * kwnames[] = {
16425 (char *) "self",(char *) "flag", NULL
16426 };
16427
16428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16430 if (!SWIG_IsOK(res1)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16432 }
16433 arg1 = reinterpret_cast< wxColourData * >(argp1);
16434 ecode2 = SWIG_AsVal_int(obj1, &val2);
16435 if (!SWIG_IsOK(ecode2)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16437 }
16438 arg2 = static_cast< int >(val2);
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 (arg1)->SetChooseFull(arg2);
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 resultobj = SWIG_Py_Void();
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj = 0;
16454 wxColourData *arg1 = (wxColourData *) 0 ;
16455 wxColour *arg2 = 0 ;
16456 void *argp1 = 0 ;
16457 int res1 = 0 ;
16458 wxColour temp2 ;
16459 PyObject * obj0 = 0 ;
16460 PyObject * obj1 = 0 ;
16461 char * kwnames[] = {
16462 (char *) "self",(char *) "colour", NULL
16463 };
16464
16465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16467 if (!SWIG_IsOK(res1)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16469 }
16470 arg1 = reinterpret_cast< wxColourData * >(argp1);
16471 {
16472 arg2 = &temp2;
16473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 (arg1)->SetColour((wxColour const &)*arg2);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_Py_Void();
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj = 0;
16490 wxColourData *arg1 = (wxColourData *) 0 ;
16491 int arg2 ;
16492 wxColour *arg3 = 0 ;
16493 void *argp1 = 0 ;
16494 int res1 = 0 ;
16495 int val2 ;
16496 int ecode2 = 0 ;
16497 wxColour temp3 ;
16498 PyObject * obj0 = 0 ;
16499 PyObject * obj1 = 0 ;
16500 PyObject * obj2 = 0 ;
16501 char * kwnames[] = {
16502 (char *) "self",(char *) "i",(char *) "colour", NULL
16503 };
16504
16505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16507 if (!SWIG_IsOK(res1)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16509 }
16510 arg1 = reinterpret_cast< wxColourData * >(argp1);
16511 ecode2 = SWIG_AsVal_int(obj1, &val2);
16512 if (!SWIG_IsOK(ecode2)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16514 }
16515 arg2 = static_cast< int >(val2);
16516 {
16517 arg3 = &temp3;
16518 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16519 }
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_Py_Void();
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *obj;
16535 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16536 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16537 return SWIG_Py_Void();
16538 }
16539
16540 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16541 return SWIG_Python_InitShadowInstance(args);
16542 }
16543
16544 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj = 0;
16546 wxWindow *arg1 = (wxWindow *) 0 ;
16547 wxColourData *arg2 = (wxColourData *) NULL ;
16548 wxColourDialog *result = 0 ;
16549 void *argp1 = 0 ;
16550 int res1 = 0 ;
16551 void *argp2 = 0 ;
16552 int res2 = 0 ;
16553 PyObject * obj0 = 0 ;
16554 PyObject * obj1 = 0 ;
16555 char * kwnames[] = {
16556 (char *) "parent",(char *) "data", NULL
16557 };
16558
16559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16561 if (!SWIG_IsOK(res1)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16563 }
16564 arg1 = reinterpret_cast< wxWindow * >(argp1);
16565 if (obj1) {
16566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16567 if (!SWIG_IsOK(res2)) {
16568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16569 }
16570 arg2 = reinterpret_cast< wxColourData * >(argp2);
16571 }
16572 {
16573 if (!wxPyCheckForApp()) SWIG_fail;
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16587 PyObject *resultobj = 0;
16588 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16589 wxColourData *result = 0 ;
16590 void *argp1 = 0 ;
16591 int res1 = 0 ;
16592 PyObject *swig_obj[1] ;
16593
16594 if (!args) SWIG_fail;
16595 swig_obj[0] = args;
16596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16597 if (!SWIG_IsOK(res1)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16599 }
16600 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 {
16604 wxColourData &_result_ref = (arg1)->GetColourData();
16605 result = (wxColourData *) &_result_ref;
16606 }
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16618 PyObject *obj;
16619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16620 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16621 return SWIG_Py_Void();
16622 }
16623
16624 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16625 return SWIG_Python_InitShadowInstance(args);
16626 }
16627
16628 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj = 0;
16630 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16631 wxColour const &arg2_defvalue = wxNullColour ;
16632 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16633 wxString const &arg3_defvalue = wxPyEmptyString ;
16634 wxString *arg3 = (wxString *) &arg3_defvalue ;
16635 wxColour result;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 wxColour temp2 ;
16639 bool temp3 = false ;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 PyObject * obj2 = 0 ;
16643 char * kwnames[] = {
16644 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16645 };
16646
16647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16648 if (obj0) {
16649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16650 if (!SWIG_IsOK(res1)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16652 }
16653 arg1 = reinterpret_cast< wxWindow * >(argp1);
16654 }
16655 if (obj1) {
16656 {
16657 arg2 = &temp2;
16658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16659 }
16660 }
16661 if (obj2) {
16662 {
16663 arg3 = wxString_in_helper(obj2);
16664 if (arg3 == NULL) SWIG_fail;
16665 temp3 = true;
16666 }
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16675 {
16676 if (temp3)
16677 delete arg3;
16678 }
16679 return resultobj;
16680 fail:
16681 {
16682 if (temp3)
16683 delete arg3;
16684 }
16685 return NULL;
16686 }
16687
16688
16689 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj = 0;
16691 wxWindow *arg1 = (wxWindow *) 0 ;
16692 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16693 wxString *arg2 = (wxString *) &arg2_defvalue ;
16694 wxString const &arg3_defvalue = wxPyEmptyString ;
16695 wxString *arg3 = (wxString *) &arg3_defvalue ;
16696 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16697 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16698 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16699 wxSize const &arg6_defvalue = wxDefaultSize ;
16700 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16701 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16702 wxString *arg7 = (wxString *) &arg7_defvalue ;
16703 wxDirDialog *result = 0 ;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 bool temp2 = false ;
16707 bool temp3 = false ;
16708 long val4 ;
16709 int ecode4 = 0 ;
16710 wxPoint temp5 ;
16711 wxSize temp6 ;
16712 bool temp7 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 PyObject * obj4 = 0 ;
16718 PyObject * obj5 = 0 ;
16719 PyObject * obj6 = 0 ;
16720 char * kwnames[] = {
16721 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16722 };
16723
16724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16726 if (!SWIG_IsOK(res1)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16728 }
16729 arg1 = reinterpret_cast< wxWindow * >(argp1);
16730 if (obj1) {
16731 {
16732 arg2 = wxString_in_helper(obj1);
16733 if (arg2 == NULL) SWIG_fail;
16734 temp2 = true;
16735 }
16736 }
16737 if (obj2) {
16738 {
16739 arg3 = wxString_in_helper(obj2);
16740 if (arg3 == NULL) SWIG_fail;
16741 temp3 = true;
16742 }
16743 }
16744 if (obj3) {
16745 ecode4 = SWIG_AsVal_long(obj3, &val4);
16746 if (!SWIG_IsOK(ecode4)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16748 }
16749 arg4 = static_cast< long >(val4);
16750 }
16751 if (obj4) {
16752 {
16753 arg5 = &temp5;
16754 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16755 }
16756 }
16757 if (obj5) {
16758 {
16759 arg6 = &temp6;
16760 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16761 }
16762 }
16763 if (obj6) {
16764 {
16765 arg7 = wxString_in_helper(obj6);
16766 if (arg7 == NULL) SWIG_fail;
16767 temp7 = true;
16768 }
16769 }
16770 {
16771 if (!wxPyCheckForApp()) SWIG_fail;
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16778 {
16779 if (temp2)
16780 delete arg2;
16781 }
16782 {
16783 if (temp3)
16784 delete arg3;
16785 }
16786 {
16787 if (temp7)
16788 delete arg7;
16789 }
16790 return resultobj;
16791 fail:
16792 {
16793 if (temp2)
16794 delete arg2;
16795 }
16796 {
16797 if (temp3)
16798 delete arg3;
16799 }
16800 {
16801 if (temp7)
16802 delete arg7;
16803 }
16804 return NULL;
16805 }
16806
16807
16808 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16809 PyObject *resultobj = 0;
16810 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16811 wxString result;
16812 void *argp1 = 0 ;
16813 int res1 = 0 ;
16814 PyObject *swig_obj[1] ;
16815
16816 if (!args) SWIG_fail;
16817 swig_obj[0] = args;
16818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16819 if (!SWIG_IsOK(res1)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16821 }
16822 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (arg1)->GetPath();
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 {
16830 #if wxUSE_UNICODE
16831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16832 #else
16833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16834 #endif
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16843 PyObject *resultobj = 0;
16844 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16845 wxString result;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 PyObject *swig_obj[1] ;
16849
16850 if (!args) SWIG_fail;
16851 swig_obj[0] = args;
16852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16853 if (!SWIG_IsOK(res1)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16855 }
16856 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (arg1)->GetMessage();
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 #if wxUSE_UNICODE
16865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16866 #else
16867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16868 #endif
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj = 0;
16878 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16879 wxString *arg2 = 0 ;
16880 void *argp1 = 0 ;
16881 int res1 = 0 ;
16882 bool temp2 = false ;
16883 PyObject * obj0 = 0 ;
16884 PyObject * obj1 = 0 ;
16885 char * kwnames[] = {
16886 (char *) "self",(char *) "message", NULL
16887 };
16888
16889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16891 if (!SWIG_IsOK(res1)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16893 }
16894 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16895 {
16896 arg2 = wxString_in_helper(obj1);
16897 if (arg2 == NULL) SWIG_fail;
16898 temp2 = true;
16899 }
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 (arg1)->SetMessage((wxString const &)*arg2);
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = SWIG_Py_Void();
16907 {
16908 if (temp2)
16909 delete arg2;
16910 }
16911 return resultobj;
16912 fail:
16913 {
16914 if (temp2)
16915 delete arg2;
16916 }
16917 return NULL;
16918 }
16919
16920
16921 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj = 0;
16923 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16924 wxString *arg2 = 0 ;
16925 void *argp1 = 0 ;
16926 int res1 = 0 ;
16927 bool temp2 = false ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 char * kwnames[] = {
16931 (char *) "self",(char *) "path", NULL
16932 };
16933
16934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16936 if (!SWIG_IsOK(res1)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16938 }
16939 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16940 {
16941 arg2 = wxString_in_helper(obj1);
16942 if (arg2 == NULL) SWIG_fail;
16943 temp2 = true;
16944 }
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 (arg1)->SetPath((wxString const &)*arg2);
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 resultobj = SWIG_Py_Void();
16952 {
16953 if (temp2)
16954 delete arg2;
16955 }
16956 return resultobj;
16957 fail:
16958 {
16959 if (temp2)
16960 delete arg2;
16961 }
16962 return NULL;
16963 }
16964
16965
16966 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16967 PyObject *obj;
16968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16969 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16970 return SWIG_Py_Void();
16971 }
16972
16973 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16974 return SWIG_Python_InitShadowInstance(args);
16975 }
16976
16977 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj = 0;
16979 wxWindow *arg1 = (wxWindow *) 0 ;
16980 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16981 wxString *arg2 = (wxString *) &arg2_defvalue ;
16982 wxString const &arg3_defvalue = wxPyEmptyString ;
16983 wxString *arg3 = (wxString *) &arg3_defvalue ;
16984 wxString const &arg4_defvalue = wxPyEmptyString ;
16985 wxString *arg4 = (wxString *) &arg4_defvalue ;
16986 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16987 wxString *arg5 = (wxString *) &arg5_defvalue ;
16988 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16989 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16990 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16991 wxFileDialog *result = 0 ;
16992 void *argp1 = 0 ;
16993 int res1 = 0 ;
16994 bool temp2 = false ;
16995 bool temp3 = false ;
16996 bool temp4 = false ;
16997 bool temp5 = false ;
16998 long val6 ;
16999 int ecode6 = 0 ;
17000 wxPoint temp7 ;
17001 PyObject * obj0 = 0 ;
17002 PyObject * obj1 = 0 ;
17003 PyObject * obj2 = 0 ;
17004 PyObject * obj3 = 0 ;
17005 PyObject * obj4 = 0 ;
17006 PyObject * obj5 = 0 ;
17007 PyObject * obj6 = 0 ;
17008 char * kwnames[] = {
17009 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17010 };
17011
17012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17014 if (!SWIG_IsOK(res1)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17016 }
17017 arg1 = reinterpret_cast< wxWindow * >(argp1);
17018 if (obj1) {
17019 {
17020 arg2 = wxString_in_helper(obj1);
17021 if (arg2 == NULL) SWIG_fail;
17022 temp2 = true;
17023 }
17024 }
17025 if (obj2) {
17026 {
17027 arg3 = wxString_in_helper(obj2);
17028 if (arg3 == NULL) SWIG_fail;
17029 temp3 = true;
17030 }
17031 }
17032 if (obj3) {
17033 {
17034 arg4 = wxString_in_helper(obj3);
17035 if (arg4 == NULL) SWIG_fail;
17036 temp4 = true;
17037 }
17038 }
17039 if (obj4) {
17040 {
17041 arg5 = wxString_in_helper(obj4);
17042 if (arg5 == NULL) SWIG_fail;
17043 temp5 = true;
17044 }
17045 }
17046 if (obj5) {
17047 ecode6 = SWIG_AsVal_long(obj5, &val6);
17048 if (!SWIG_IsOK(ecode6)) {
17049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17050 }
17051 arg6 = static_cast< long >(val6);
17052 }
17053 if (obj6) {
17054 {
17055 arg7 = &temp7;
17056 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17057 }
17058 }
17059 {
17060 if (!wxPyCheckForApp()) SWIG_fail;
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17067 {
17068 if (temp2)
17069 delete arg2;
17070 }
17071 {
17072 if (temp3)
17073 delete arg3;
17074 }
17075 {
17076 if (temp4)
17077 delete arg4;
17078 }
17079 {
17080 if (temp5)
17081 delete arg5;
17082 }
17083 return resultobj;
17084 fail:
17085 {
17086 if (temp2)
17087 delete arg2;
17088 }
17089 {
17090 if (temp3)
17091 delete arg3;
17092 }
17093 {
17094 if (temp4)
17095 delete arg4;
17096 }
17097 {
17098 if (temp5)
17099 delete arg5;
17100 }
17101 return NULL;
17102 }
17103
17104
17105 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj = 0;
17107 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17108 wxString *arg2 = 0 ;
17109 void *argp1 = 0 ;
17110 int res1 = 0 ;
17111 bool temp2 = false ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 char * kwnames[] = {
17115 (char *) "self",(char *) "message", NULL
17116 };
17117
17118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17120 if (!SWIG_IsOK(res1)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17122 }
17123 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17124 {
17125 arg2 = wxString_in_helper(obj1);
17126 if (arg2 == NULL) SWIG_fail;
17127 temp2 = true;
17128 }
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 (arg1)->SetMessage((wxString const &)*arg2);
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_Py_Void();
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 return resultobj;
17141 fail:
17142 {
17143 if (temp2)
17144 delete arg2;
17145 }
17146 return NULL;
17147 }
17148
17149
17150 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj = 0;
17152 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17153 wxString *arg2 = 0 ;
17154 void *argp1 = 0 ;
17155 int res1 = 0 ;
17156 bool temp2 = false ;
17157 PyObject * obj0 = 0 ;
17158 PyObject * obj1 = 0 ;
17159 char * kwnames[] = {
17160 (char *) "self",(char *) "path", NULL
17161 };
17162
17163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17165 if (!SWIG_IsOK(res1)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17167 }
17168 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17169 {
17170 arg2 = wxString_in_helper(obj1);
17171 if (arg2 == NULL) SWIG_fail;
17172 temp2 = true;
17173 }
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 (arg1)->SetPath((wxString const &)*arg2);
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 resultobj = SWIG_Py_Void();
17181 {
17182 if (temp2)
17183 delete arg2;
17184 }
17185 return resultobj;
17186 fail:
17187 {
17188 if (temp2)
17189 delete arg2;
17190 }
17191 return NULL;
17192 }
17193
17194
17195 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj = 0;
17197 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17198 wxString *arg2 = 0 ;
17199 void *argp1 = 0 ;
17200 int res1 = 0 ;
17201 bool temp2 = false ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char * kwnames[] = {
17205 (char *) "self",(char *) "dir", NULL
17206 };
17207
17208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17210 if (!SWIG_IsOK(res1)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17212 }
17213 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17214 {
17215 arg2 = wxString_in_helper(obj1);
17216 if (arg2 == NULL) SWIG_fail;
17217 temp2 = true;
17218 }
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 (arg1)->SetDirectory((wxString const &)*arg2);
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_Py_Void();
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 return resultobj;
17231 fail:
17232 {
17233 if (temp2)
17234 delete arg2;
17235 }
17236 return NULL;
17237 }
17238
17239
17240 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj = 0;
17242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17243 wxString *arg2 = 0 ;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 bool temp2 = false ;
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 char * kwnames[] = {
17250 (char *) "self",(char *) "name", NULL
17251 };
17252
17253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17255 if (!SWIG_IsOK(res1)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17257 }
17258 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17259 {
17260 arg2 = wxString_in_helper(obj1);
17261 if (arg2 == NULL) SWIG_fail;
17262 temp2 = true;
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 (arg1)->SetFilename((wxString const &)*arg2);
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 resultobj = SWIG_Py_Void();
17271 {
17272 if (temp2)
17273 delete arg2;
17274 }
17275 return resultobj;
17276 fail:
17277 {
17278 if (temp2)
17279 delete arg2;
17280 }
17281 return NULL;
17282 }
17283
17284
17285 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj = 0;
17287 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17288 wxString *arg2 = 0 ;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 bool temp2 = false ;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 char * kwnames[] = {
17295 (char *) "self",(char *) "wildCard", NULL
17296 };
17297
17298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17300 if (!SWIG_IsOK(res1)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17302 }
17303 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17304 {
17305 arg2 = wxString_in_helper(obj1);
17306 if (arg2 == NULL) SWIG_fail;
17307 temp2 = true;
17308 }
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 (arg1)->SetWildcard((wxString const &)*arg2);
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = SWIG_Py_Void();
17316 {
17317 if (temp2)
17318 delete arg2;
17319 }
17320 return resultobj;
17321 fail:
17322 {
17323 if (temp2)
17324 delete arg2;
17325 }
17326 return NULL;
17327 }
17328
17329
17330 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj = 0;
17332 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17333 int arg2 ;
17334 void *argp1 = 0 ;
17335 int res1 = 0 ;
17336 int val2 ;
17337 int ecode2 = 0 ;
17338 PyObject * obj0 = 0 ;
17339 PyObject * obj1 = 0 ;
17340 char * kwnames[] = {
17341 (char *) "self",(char *) "filterIndex", NULL
17342 };
17343
17344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17346 if (!SWIG_IsOK(res1)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17348 }
17349 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17350 ecode2 = SWIG_AsVal_int(obj1, &val2);
17351 if (!SWIG_IsOK(ecode2)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17353 }
17354 arg2 = static_cast< int >(val2);
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetFilterIndex(arg2);
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 resultobj = SWIG_Py_Void();
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17369 PyObject *resultobj = 0;
17370 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17371 wxString result;
17372 void *argp1 = 0 ;
17373 int res1 = 0 ;
17374 PyObject *swig_obj[1] ;
17375
17376 if (!args) SWIG_fail;
17377 swig_obj[0] = args;
17378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17379 if (!SWIG_IsOK(res1)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17381 }
17382 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = ((wxFileDialog const *)arg1)->GetMessage();
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 {
17390 #if wxUSE_UNICODE
17391 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17392 #else
17393 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17394 #endif
17395 }
17396 return resultobj;
17397 fail:
17398 return NULL;
17399 }
17400
17401
17402 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17403 PyObject *resultobj = 0;
17404 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17405 wxString result;
17406 void *argp1 = 0 ;
17407 int res1 = 0 ;
17408 PyObject *swig_obj[1] ;
17409
17410 if (!args) SWIG_fail;
17411 swig_obj[0] = args;
17412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17413 if (!SWIG_IsOK(res1)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17415 }
17416 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = ((wxFileDialog const *)arg1)->GetPath();
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 #if wxUSE_UNICODE
17425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17426 #else
17427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17428 #endif
17429 }
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17437 PyObject *resultobj = 0;
17438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17439 wxString result;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 PyObject *swig_obj[1] ;
17443
17444 if (!args) SWIG_fail;
17445 swig_obj[0] = args;
17446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17447 if (!SWIG_IsOK(res1)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17449 }
17450 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 result = ((wxFileDialog const *)arg1)->GetDirectory();
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 {
17458 #if wxUSE_UNICODE
17459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17460 #else
17461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17462 #endif
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17471 PyObject *resultobj = 0;
17472 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17473 wxString result;
17474 void *argp1 = 0 ;
17475 int res1 = 0 ;
17476 PyObject *swig_obj[1] ;
17477
17478 if (!args) SWIG_fail;
17479 swig_obj[0] = args;
17480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17481 if (!SWIG_IsOK(res1)) {
17482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17483 }
17484 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = ((wxFileDialog const *)arg1)->GetFilename();
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 {
17492 #if wxUSE_UNICODE
17493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17494 #else
17495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17496 #endif
17497 }
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17505 PyObject *resultobj = 0;
17506 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17507 wxString result;
17508 void *argp1 = 0 ;
17509 int res1 = 0 ;
17510 PyObject *swig_obj[1] ;
17511
17512 if (!args) SWIG_fail;
17513 swig_obj[0] = args;
17514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17515 if (!SWIG_IsOK(res1)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17517 }
17518 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = ((wxFileDialog const *)arg1)->GetWildcard();
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 {
17526 #if wxUSE_UNICODE
17527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17528 #else
17529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17530 #endif
17531 }
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17539 PyObject *resultobj = 0;
17540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17541 int result;
17542 void *argp1 = 0 ;
17543 int res1 = 0 ;
17544 PyObject *swig_obj[1] ;
17545
17546 if (!args) SWIG_fail;
17547 swig_obj[0] = args;
17548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17549 if (!SWIG_IsOK(res1)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17551 }
17552 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 resultobj = SWIG_From_int(static_cast< int >(result));
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17567 PyObject *resultobj = 0;
17568 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17569 PyObject *result = 0 ;
17570 void *argp1 = 0 ;
17571 int res1 = 0 ;
17572 PyObject *swig_obj[1] ;
17573
17574 if (!args) SWIG_fail;
17575 swig_obj[0] = args;
17576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17577 if (!SWIG_IsOK(res1)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17579 }
17580 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 resultobj = result;
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17595 PyObject *resultobj = 0;
17596 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17597 PyObject *result = 0 ;
17598 void *argp1 = 0 ;
17599 int res1 = 0 ;
17600 PyObject *swig_obj[1] ;
17601
17602 if (!args) SWIG_fail;
17603 swig_obj[0] = args;
17604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17605 if (!SWIG_IsOK(res1)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17607 }
17608 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = result;
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 PyObject *obj;
17624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17626 return SWIG_Py_Void();
17627 }
17628
17629 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17630 return SWIG_Python_InitShadowInstance(args);
17631 }
17632
17633 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj = 0;
17635 wxWindow *arg1 = (wxWindow *) 0 ;
17636 wxString *arg2 = 0 ;
17637 wxString *arg3 = 0 ;
17638 int arg4 = (int) 0 ;
17639 wxString *arg5 = (wxString *) NULL ;
17640 long arg6 = (long) wxCHOICEDLG_STYLE ;
17641 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17642 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17643 wxMultiChoiceDialog *result = 0 ;
17644 void *argp1 = 0 ;
17645 int res1 = 0 ;
17646 bool temp2 = false ;
17647 bool temp3 = false ;
17648 long val6 ;
17649 int ecode6 = 0 ;
17650 wxPoint temp7 ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 PyObject * obj2 = 0 ;
17654 PyObject * obj3 = 0 ;
17655 PyObject * obj4 = 0 ;
17656 PyObject * obj5 = 0 ;
17657 char * kwnames[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17659 };
17660
17661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17665 }
17666 arg1 = reinterpret_cast< wxWindow * >(argp1);
17667 {
17668 arg2 = wxString_in_helper(obj1);
17669 if (arg2 == NULL) SWIG_fail;
17670 temp2 = true;
17671 }
17672 {
17673 arg3 = wxString_in_helper(obj2);
17674 if (arg3 == NULL) SWIG_fail;
17675 temp3 = true;
17676 }
17677 if (obj3) {
17678 {
17679 arg4 = PyList_Size(obj3);
17680 arg5 = wxString_LIST_helper(obj3);
17681 if (arg5 == NULL) SWIG_fail;
17682 }
17683 }
17684 if (obj4) {
17685 ecode6 = SWIG_AsVal_long(obj4, &val6);
17686 if (!SWIG_IsOK(ecode6)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17688 }
17689 arg6 = static_cast< long >(val6);
17690 }
17691 if (obj5) {
17692 {
17693 arg7 = &temp7;
17694 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17695 }
17696 }
17697 {
17698 if (!wxPyCheckForApp()) SWIG_fail;
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17705 {
17706 if (temp2)
17707 delete arg2;
17708 }
17709 {
17710 if (temp3)
17711 delete arg3;
17712 }
17713 {
17714 if (arg5) delete [] arg5;
17715 }
17716 return resultobj;
17717 fail:
17718 {
17719 if (temp2)
17720 delete arg2;
17721 }
17722 {
17723 if (temp3)
17724 delete arg3;
17725 }
17726 {
17727 if (arg5) delete [] arg5;
17728 }
17729 return NULL;
17730 }
17731
17732
17733 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj = 0;
17735 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17736 wxArrayInt *arg2 = 0 ;
17737 void *argp1 = 0 ;
17738 int res1 = 0 ;
17739 bool temp2 = false ;
17740 PyObject * obj0 = 0 ;
17741 PyObject * obj1 = 0 ;
17742 char * kwnames[] = {
17743 (char *) "self",(char *) "selections", NULL
17744 };
17745
17746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17748 if (!SWIG_IsOK(res1)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17750 }
17751 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17752 {
17753 if (! PySequence_Check(obj1)) {
17754 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17755 SWIG_fail;
17756 }
17757 arg2 = new wxArrayInt;
17758 temp2 = true;
17759 int i, len=PySequence_Length(obj1);
17760 for (i=0; i<len; i++) {
17761 PyObject* item = PySequence_GetItem(obj1, i);
17762 PyObject* number = PyNumber_Int(item);
17763 arg2->Add(PyInt_AS_LONG(number));
17764 Py_DECREF(item);
17765 Py_DECREF(number);
17766 }
17767 }
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = SWIG_Py_Void();
17775 {
17776 if (temp2) delete arg2;
17777 }
17778 return resultobj;
17779 fail:
17780 {
17781 if (temp2) delete arg2;
17782 }
17783 return NULL;
17784 }
17785
17786
17787 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17788 PyObject *resultobj = 0;
17789 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17790 PyObject *result = 0 ;
17791 void *argp1 = 0 ;
17792 int res1 = 0 ;
17793 PyObject *swig_obj[1] ;
17794
17795 if (!args) SWIG_fail;
17796 swig_obj[0] = args;
17797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17798 if (!SWIG_IsOK(res1)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17800 }
17801 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 resultobj = result;
17809 return resultobj;
17810 fail:
17811 return NULL;
17812 }
17813
17814
17815 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17816 PyObject *obj;
17817 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17819 return SWIG_Py_Void();
17820 }
17821
17822 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17823 return SWIG_Python_InitShadowInstance(args);
17824 }
17825
17826 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17827 PyObject *resultobj = 0;
17828 wxWindow *arg1 = (wxWindow *) 0 ;
17829 wxString *arg2 = 0 ;
17830 wxString *arg3 = 0 ;
17831 int arg4 ;
17832 wxString *arg5 = (wxString *) 0 ;
17833 long arg6 = (long) wxCHOICEDLG_STYLE ;
17834 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17835 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17836 wxSingleChoiceDialog *result = 0 ;
17837 void *argp1 = 0 ;
17838 int res1 = 0 ;
17839 bool temp2 = false ;
17840 bool temp3 = false ;
17841 long val6 ;
17842 int ecode6 = 0 ;
17843 wxPoint temp7 ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 PyObject * obj2 = 0 ;
17847 PyObject * obj3 = 0 ;
17848 PyObject * obj4 = 0 ;
17849 PyObject * obj5 = 0 ;
17850 char * kwnames[] = {
17851 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17852 };
17853
17854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17856 if (!SWIG_IsOK(res1)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17858 }
17859 arg1 = reinterpret_cast< wxWindow * >(argp1);
17860 {
17861 arg2 = wxString_in_helper(obj1);
17862 if (arg2 == NULL) SWIG_fail;
17863 temp2 = true;
17864 }
17865 {
17866 arg3 = wxString_in_helper(obj2);
17867 if (arg3 == NULL) SWIG_fail;
17868 temp3 = true;
17869 }
17870 {
17871 arg4 = PyList_Size(obj3);
17872 arg5 = wxString_LIST_helper(obj3);
17873 if (arg5 == NULL) SWIG_fail;
17874 }
17875 if (obj4) {
17876 ecode6 = SWIG_AsVal_long(obj4, &val6);
17877 if (!SWIG_IsOK(ecode6)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17879 }
17880 arg6 = static_cast< long >(val6);
17881 }
17882 if (obj5) {
17883 {
17884 arg7 = &temp7;
17885 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17886 }
17887 }
17888 {
17889 if (!wxPyCheckForApp()) SWIG_fail;
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17896 {
17897 if (temp2)
17898 delete arg2;
17899 }
17900 {
17901 if (temp3)
17902 delete arg3;
17903 }
17904 {
17905 if (arg5) delete [] arg5;
17906 }
17907 return resultobj;
17908 fail:
17909 {
17910 if (temp2)
17911 delete arg2;
17912 }
17913 {
17914 if (temp3)
17915 delete arg3;
17916 }
17917 {
17918 if (arg5) delete [] arg5;
17919 }
17920 return NULL;
17921 }
17922
17923
17924 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17925 PyObject *resultobj = 0;
17926 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17927 int result;
17928 void *argp1 = 0 ;
17929 int res1 = 0 ;
17930 PyObject *swig_obj[1] ;
17931
17932 if (!args) SWIG_fail;
17933 swig_obj[0] = args;
17934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17935 if (!SWIG_IsOK(res1)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17937 }
17938 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (int)(arg1)->GetSelection();
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 resultobj = SWIG_From_int(static_cast< int >(result));
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17953 PyObject *resultobj = 0;
17954 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17955 wxString result;
17956 void *argp1 = 0 ;
17957 int res1 = 0 ;
17958 PyObject *swig_obj[1] ;
17959
17960 if (!args) SWIG_fail;
17961 swig_obj[0] = args;
17962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17963 if (!SWIG_IsOK(res1)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17965 }
17966 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (arg1)->GetStringSelection();
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 {
17974 #if wxUSE_UNICODE
17975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17976 #else
17977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17978 #endif
17979 }
17980 return resultobj;
17981 fail:
17982 return NULL;
17983 }
17984
17985
17986 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj = 0;
17988 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17989 int arg2 ;
17990 void *argp1 = 0 ;
17991 int res1 = 0 ;
17992 int val2 ;
17993 int ecode2 = 0 ;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 char * kwnames[] = {
17997 (char *) "self",(char *) "sel", NULL
17998 };
17999
18000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18002 if (!SWIG_IsOK(res1)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18004 }
18005 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18006 ecode2 = SWIG_AsVal_int(obj1, &val2);
18007 if (!SWIG_IsOK(ecode2)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18009 }
18010 arg2 = static_cast< int >(val2);
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 (arg1)->SetSelection(arg2);
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = SWIG_Py_Void();
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18025 PyObject *obj;
18026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18027 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18028 return SWIG_Py_Void();
18029 }
18030
18031 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18032 return SWIG_Python_InitShadowInstance(args);
18033 }
18034
18035 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj = 0;
18037 wxWindow *arg1 = (wxWindow *) 0 ;
18038 wxString *arg2 = 0 ;
18039 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18040 wxString *arg3 = (wxString *) &arg3_defvalue ;
18041 wxString const &arg4_defvalue = wxPyEmptyString ;
18042 wxString *arg4 = (wxString *) &arg4_defvalue ;
18043 long arg5 = (long) wxTextEntryDialogStyle ;
18044 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18045 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18046 wxTextEntryDialog *result = 0 ;
18047 void *argp1 = 0 ;
18048 int res1 = 0 ;
18049 bool temp2 = false ;
18050 bool temp3 = false ;
18051 bool temp4 = false ;
18052 long val5 ;
18053 int ecode5 = 0 ;
18054 wxPoint temp6 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 PyObject * obj2 = 0 ;
18058 PyObject * obj3 = 0 ;
18059 PyObject * obj4 = 0 ;
18060 PyObject * obj5 = 0 ;
18061 char * kwnames[] = {
18062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18063 };
18064
18065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18067 if (!SWIG_IsOK(res1)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18069 }
18070 arg1 = reinterpret_cast< wxWindow * >(argp1);
18071 {
18072 arg2 = wxString_in_helper(obj1);
18073 if (arg2 == NULL) SWIG_fail;
18074 temp2 = true;
18075 }
18076 if (obj2) {
18077 {
18078 arg3 = wxString_in_helper(obj2);
18079 if (arg3 == NULL) SWIG_fail;
18080 temp3 = true;
18081 }
18082 }
18083 if (obj3) {
18084 {
18085 arg4 = wxString_in_helper(obj3);
18086 if (arg4 == NULL) SWIG_fail;
18087 temp4 = true;
18088 }
18089 }
18090 if (obj4) {
18091 ecode5 = SWIG_AsVal_long(obj4, &val5);
18092 if (!SWIG_IsOK(ecode5)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18094 }
18095 arg5 = static_cast< long >(val5);
18096 }
18097 if (obj5) {
18098 {
18099 arg6 = &temp6;
18100 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18101 }
18102 }
18103 {
18104 if (!wxPyCheckForApp()) SWIG_fail;
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18111 {
18112 if (temp2)
18113 delete arg2;
18114 }
18115 {
18116 if (temp3)
18117 delete arg3;
18118 }
18119 {
18120 if (temp4)
18121 delete arg4;
18122 }
18123 return resultobj;
18124 fail:
18125 {
18126 if (temp2)
18127 delete arg2;
18128 }
18129 {
18130 if (temp3)
18131 delete arg3;
18132 }
18133 {
18134 if (temp4)
18135 delete arg4;
18136 }
18137 return NULL;
18138 }
18139
18140
18141 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18142 PyObject *resultobj = 0;
18143 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18144 wxString result;
18145 void *argp1 = 0 ;
18146 int res1 = 0 ;
18147 PyObject *swig_obj[1] ;
18148
18149 if (!args) SWIG_fail;
18150 swig_obj[0] = args;
18151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18152 if (!SWIG_IsOK(res1)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18154 }
18155 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (arg1)->GetValue();
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 {
18163 #if wxUSE_UNICODE
18164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18165 #else
18166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18167 #endif
18168 }
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj = 0;
18177 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18178 wxString *arg2 = 0 ;
18179 void *argp1 = 0 ;
18180 int res1 = 0 ;
18181 bool temp2 = false ;
18182 PyObject * obj0 = 0 ;
18183 PyObject * obj1 = 0 ;
18184 char * kwnames[] = {
18185 (char *) "self",(char *) "value", NULL
18186 };
18187
18188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18190 if (!SWIG_IsOK(res1)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18192 }
18193 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18194 {
18195 arg2 = wxString_in_helper(obj1);
18196 if (arg2 == NULL) SWIG_fail;
18197 temp2 = true;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->SetValue((wxString const &)*arg2);
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 resultobj = SWIG_Py_Void();
18206 {
18207 if (temp2)
18208 delete arg2;
18209 }
18210 return resultobj;
18211 fail:
18212 {
18213 if (temp2)
18214 delete arg2;
18215 }
18216 return NULL;
18217 }
18218
18219
18220 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18221 PyObject *obj;
18222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18223 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18224 return SWIG_Py_Void();
18225 }
18226
18227 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18228 return SWIG_Python_InitShadowInstance(args);
18229 }
18230
18231 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18232 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18233 return 1;
18234 }
18235
18236
18237 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18238 PyObject *pyobj = 0;
18239
18240 {
18241 #if wxUSE_UNICODE
18242 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18243 #else
18244 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18245 #endif
18246 }
18247 return pyobj;
18248 }
18249
18250
18251 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj = 0;
18253 wxWindow *arg1 = (wxWindow *) 0 ;
18254 wxString *arg2 = 0 ;
18255 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18256 wxString *arg3 = (wxString *) &arg3_defvalue ;
18257 wxString const &arg4_defvalue = wxPyEmptyString ;
18258 wxString *arg4 = (wxString *) &arg4_defvalue ;
18259 long arg5 = (long) wxTextEntryDialogStyle ;
18260 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18261 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18262 wxPasswordEntryDialog *result = 0 ;
18263 void *argp1 = 0 ;
18264 int res1 = 0 ;
18265 bool temp2 = false ;
18266 bool temp3 = false ;
18267 bool temp4 = false ;
18268 long val5 ;
18269 int ecode5 = 0 ;
18270 wxPoint temp6 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 PyObject * obj3 = 0 ;
18275 PyObject * obj4 = 0 ;
18276 PyObject * obj5 = 0 ;
18277 char * kwnames[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18279 };
18280
18281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18285 }
18286 arg1 = reinterpret_cast< wxWindow * >(argp1);
18287 {
18288 arg2 = wxString_in_helper(obj1);
18289 if (arg2 == NULL) SWIG_fail;
18290 temp2 = true;
18291 }
18292 if (obj2) {
18293 {
18294 arg3 = wxString_in_helper(obj2);
18295 if (arg3 == NULL) SWIG_fail;
18296 temp3 = true;
18297 }
18298 }
18299 if (obj3) {
18300 {
18301 arg4 = wxString_in_helper(obj3);
18302 if (arg4 == NULL) SWIG_fail;
18303 temp4 = true;
18304 }
18305 }
18306 if (obj4) {
18307 ecode5 = SWIG_AsVal_long(obj4, &val5);
18308 if (!SWIG_IsOK(ecode5)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18310 }
18311 arg5 = static_cast< long >(val5);
18312 }
18313 if (obj5) {
18314 {
18315 arg6 = &temp6;
18316 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18317 }
18318 }
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18326 {
18327 if (temp2)
18328 delete arg2;
18329 }
18330 {
18331 if (temp3)
18332 delete arg3;
18333 }
18334 {
18335 if (temp4)
18336 delete arg4;
18337 }
18338 return resultobj;
18339 fail:
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 {
18345 if (temp3)
18346 delete arg3;
18347 }
18348 {
18349 if (temp4)
18350 delete arg4;
18351 }
18352 return NULL;
18353 }
18354
18355
18356 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18357 PyObject *obj;
18358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18360 return SWIG_Py_Void();
18361 }
18362
18363 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18364 return SWIG_Python_InitShadowInstance(args);
18365 }
18366
18367 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj = 0;
18369 wxWindow *arg1 = (wxWindow *) 0 ;
18370 wxString *arg2 = 0 ;
18371 wxString *arg3 = 0 ;
18372 wxString *arg4 = 0 ;
18373 long arg5 ;
18374 long arg6 ;
18375 long arg7 ;
18376 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18377 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18378 wxNumberEntryDialog *result = 0 ;
18379 void *argp1 = 0 ;
18380 int res1 = 0 ;
18381 bool temp2 = false ;
18382 bool temp3 = false ;
18383 bool temp4 = false ;
18384 long val5 ;
18385 int ecode5 = 0 ;
18386 long val6 ;
18387 int ecode6 = 0 ;
18388 long val7 ;
18389 int ecode7 = 0 ;
18390 wxPoint temp8 ;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 PyObject * obj2 = 0 ;
18394 PyObject * obj3 = 0 ;
18395 PyObject * obj4 = 0 ;
18396 PyObject * obj5 = 0 ;
18397 PyObject * obj6 = 0 ;
18398 PyObject * obj7 = 0 ;
18399 char * kwnames[] = {
18400 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18401 };
18402
18403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18405 if (!SWIG_IsOK(res1)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18407 }
18408 arg1 = reinterpret_cast< wxWindow * >(argp1);
18409 {
18410 arg2 = wxString_in_helper(obj1);
18411 if (arg2 == NULL) SWIG_fail;
18412 temp2 = true;
18413 }
18414 {
18415 arg3 = wxString_in_helper(obj2);
18416 if (arg3 == NULL) SWIG_fail;
18417 temp3 = true;
18418 }
18419 {
18420 arg4 = wxString_in_helper(obj3);
18421 if (arg4 == NULL) SWIG_fail;
18422 temp4 = true;
18423 }
18424 ecode5 = SWIG_AsVal_long(obj4, &val5);
18425 if (!SWIG_IsOK(ecode5)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18427 }
18428 arg5 = static_cast< long >(val5);
18429 ecode6 = SWIG_AsVal_long(obj5, &val6);
18430 if (!SWIG_IsOK(ecode6)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18432 }
18433 arg6 = static_cast< long >(val6);
18434 ecode7 = SWIG_AsVal_long(obj6, &val7);
18435 if (!SWIG_IsOK(ecode7)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18437 }
18438 arg7 = static_cast< long >(val7);
18439 if (obj7) {
18440 {
18441 arg8 = &temp8;
18442 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18443 }
18444 }
18445 {
18446 if (!wxPyCheckForApp()) SWIG_fail;
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18453 {
18454 if (temp2)
18455 delete arg2;
18456 }
18457 {
18458 if (temp3)
18459 delete arg3;
18460 }
18461 {
18462 if (temp4)
18463 delete arg4;
18464 }
18465 return resultobj;
18466 fail:
18467 {
18468 if (temp2)
18469 delete arg2;
18470 }
18471 {
18472 if (temp3)
18473 delete arg3;
18474 }
18475 {
18476 if (temp4)
18477 delete arg4;
18478 }
18479 return NULL;
18480 }
18481
18482
18483 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18484 PyObject *resultobj = 0;
18485 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18486 long result;
18487 void *argp1 = 0 ;
18488 int res1 = 0 ;
18489 PyObject *swig_obj[1] ;
18490
18491 if (!args) SWIG_fail;
18492 swig_obj[0] = args;
18493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18494 if (!SWIG_IsOK(res1)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18496 }
18497 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 result = (long)(arg1)->GetValue();
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 resultobj = SWIG_From_long(static_cast< long >(result));
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 SWIGINTERN PyObject *NumberEntryDialog_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_wxNumberEntryDialog, SWIG_NewClientData(obj));
18515 return SWIG_Py_Void();
18516 }
18517
18518 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18519 return SWIG_Python_InitShadowInstance(args);
18520 }
18521
18522 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18523 PyObject *resultobj = 0;
18524 wxFontData *result = 0 ;
18525
18526 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (wxFontData *)new wxFontData();
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18541 PyObject *resultobj = 0;
18542 wxFontData *arg1 = (wxFontData *) 0 ;
18543 void *argp1 = 0 ;
18544 int res1 = 0 ;
18545 PyObject *swig_obj[1] ;
18546
18547 if (!args) SWIG_fail;
18548 swig_obj[0] = args;
18549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18550 if (!SWIG_IsOK(res1)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18552 }
18553 arg1 = reinterpret_cast< wxFontData * >(argp1);
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 delete arg1;
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = SWIG_Py_Void();
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj = 0;
18570 wxFontData *arg1 = (wxFontData *) 0 ;
18571 bool arg2 ;
18572 void *argp1 = 0 ;
18573 int res1 = 0 ;
18574 bool val2 ;
18575 int ecode2 = 0 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char * kwnames[] = {
18579 (char *) "self",(char *) "enable", NULL
18580 };
18581
18582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18584 if (!SWIG_IsOK(res1)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18586 }
18587 arg1 = reinterpret_cast< wxFontData * >(argp1);
18588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18589 if (!SWIG_IsOK(ecode2)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18591 }
18592 arg2 = static_cast< bool >(val2);
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->EnableEffects(arg2);
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_Py_Void();
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18607 PyObject *resultobj = 0;
18608 wxFontData *arg1 = (wxFontData *) 0 ;
18609 bool result;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 PyObject *swig_obj[1] ;
18613
18614 if (!args) SWIG_fail;
18615 swig_obj[0] = args;
18616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18617 if (!SWIG_IsOK(res1)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18619 }
18620 arg1 = reinterpret_cast< wxFontData * >(argp1);
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (bool)(arg1)->GetAllowSymbols();
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
18628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18629 }
18630 return resultobj;
18631 fail:
18632 return NULL;
18633 }
18634
18635
18636 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18637 PyObject *resultobj = 0;
18638 wxFontData *arg1 = (wxFontData *) 0 ;
18639 wxColour result;
18640 void *argp1 = 0 ;
18641 int res1 = 0 ;
18642 PyObject *swig_obj[1] ;
18643
18644 if (!args) SWIG_fail;
18645 swig_obj[0] = args;
18646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18647 if (!SWIG_IsOK(res1)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18649 }
18650 arg1 = reinterpret_cast< wxFontData * >(argp1);
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (arg1)->GetColour();
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18665 PyObject *resultobj = 0;
18666 wxFontData *arg1 = (wxFontData *) 0 ;
18667 wxFont result;
18668 void *argp1 = 0 ;
18669 int res1 = 0 ;
18670 PyObject *swig_obj[1] ;
18671
18672 if (!args) SWIG_fail;
18673 swig_obj[0] = args;
18674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18675 if (!SWIG_IsOK(res1)) {
18676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18677 }
18678 arg1 = reinterpret_cast< wxFontData * >(argp1);
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (arg1)->GetChosenFont();
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18693 PyObject *resultobj = 0;
18694 wxFontData *arg1 = (wxFontData *) 0 ;
18695 bool result;
18696 void *argp1 = 0 ;
18697 int res1 = 0 ;
18698 PyObject *swig_obj[1] ;
18699
18700 if (!args) SWIG_fail;
18701 swig_obj[0] = args;
18702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxFontData * >(argp1);
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->GetEnableEffects();
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18723 PyObject *resultobj = 0;
18724 wxFontData *arg1 = (wxFontData *) 0 ;
18725 wxFont result;
18726 void *argp1 = 0 ;
18727 int res1 = 0 ;
18728 PyObject *swig_obj[1] ;
18729
18730 if (!args) SWIG_fail;
18731 swig_obj[0] = args;
18732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18733 if (!SWIG_IsOK(res1)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18735 }
18736 arg1 = reinterpret_cast< wxFontData * >(argp1);
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (arg1)->GetInitialFont();
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18751 PyObject *resultobj = 0;
18752 wxFontData *arg1 = (wxFontData *) 0 ;
18753 bool result;
18754 void *argp1 = 0 ;
18755 int res1 = 0 ;
18756 PyObject *swig_obj[1] ;
18757
18758 if (!args) SWIG_fail;
18759 swig_obj[0] = args;
18760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18761 if (!SWIG_IsOK(res1)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18763 }
18764 arg1 = reinterpret_cast< wxFontData * >(argp1);
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (bool)(arg1)->GetShowHelp();
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 {
18772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18773 }
18774 return resultobj;
18775 fail:
18776 return NULL;
18777 }
18778
18779
18780 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj = 0;
18782 wxFontData *arg1 = (wxFontData *) 0 ;
18783 bool arg2 ;
18784 void *argp1 = 0 ;
18785 int res1 = 0 ;
18786 bool val2 ;
18787 int ecode2 = 0 ;
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 char * kwnames[] = {
18791 (char *) "self",(char *) "allowSymbols", NULL
18792 };
18793
18794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18796 if (!SWIG_IsOK(res1)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18798 }
18799 arg1 = reinterpret_cast< wxFontData * >(argp1);
18800 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18801 if (!SWIG_IsOK(ecode2)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18803 }
18804 arg2 = static_cast< bool >(val2);
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 (arg1)->SetAllowSymbols(arg2);
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 resultobj = SWIG_Py_Void();
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj = 0;
18820 wxFontData *arg1 = (wxFontData *) 0 ;
18821 wxFont *arg2 = 0 ;
18822 void *argp1 = 0 ;
18823 int res1 = 0 ;
18824 void *argp2 = 0 ;
18825 int res2 = 0 ;
18826 PyObject * obj0 = 0 ;
18827 PyObject * obj1 = 0 ;
18828 char * kwnames[] = {
18829 (char *) "self",(char *) "font", NULL
18830 };
18831
18832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18834 if (!SWIG_IsOK(res1)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18836 }
18837 arg1 = reinterpret_cast< wxFontData * >(argp1);
18838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18839 if (!SWIG_IsOK(res2)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18841 }
18842 if (!argp2) {
18843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18844 }
18845 arg2 = reinterpret_cast< wxFont * >(argp2);
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->SetChosenFont((wxFont const &)*arg2);
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 resultobj = SWIG_Py_Void();
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj = 0;
18861 wxFontData *arg1 = (wxFontData *) 0 ;
18862 wxColour *arg2 = 0 ;
18863 void *argp1 = 0 ;
18864 int res1 = 0 ;
18865 wxColour temp2 ;
18866 PyObject * obj0 = 0 ;
18867 PyObject * obj1 = 0 ;
18868 char * kwnames[] = {
18869 (char *) "self",(char *) "colour", NULL
18870 };
18871
18872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18874 if (!SWIG_IsOK(res1)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18876 }
18877 arg1 = reinterpret_cast< wxFontData * >(argp1);
18878 {
18879 arg2 = &temp2;
18880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18881 }
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 (arg1)->SetColour((wxColour const &)*arg2);
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_Py_Void();
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj = 0;
18897 wxFontData *arg1 = (wxFontData *) 0 ;
18898 wxFont *arg2 = 0 ;
18899 void *argp1 = 0 ;
18900 int res1 = 0 ;
18901 void *argp2 = 0 ;
18902 int res2 = 0 ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 char * kwnames[] = {
18906 (char *) "self",(char *) "font", NULL
18907 };
18908
18909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18911 if (!SWIG_IsOK(res1)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18913 }
18914 arg1 = reinterpret_cast< wxFontData * >(argp1);
18915 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18916 if (!SWIG_IsOK(res2)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18918 }
18919 if (!argp2) {
18920 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18921 }
18922 arg2 = reinterpret_cast< wxFont * >(argp2);
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 (arg1)->SetInitialFont((wxFont const &)*arg2);
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 resultobj = SWIG_Py_Void();
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj = 0;
18938 wxFontData *arg1 = (wxFontData *) 0 ;
18939 int arg2 ;
18940 int arg3 ;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 int val2 ;
18944 int ecode2 = 0 ;
18945 int val3 ;
18946 int ecode3 = 0 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 PyObject * obj2 = 0 ;
18950 char * kwnames[] = {
18951 (char *) "self",(char *) "min",(char *) "max", NULL
18952 };
18953
18954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18956 if (!SWIG_IsOK(res1)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18958 }
18959 arg1 = reinterpret_cast< wxFontData * >(argp1);
18960 ecode2 = SWIG_AsVal_int(obj1, &val2);
18961 if (!SWIG_IsOK(ecode2)) {
18962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18963 }
18964 arg2 = static_cast< int >(val2);
18965 ecode3 = SWIG_AsVal_int(obj2, &val3);
18966 if (!SWIG_IsOK(ecode3)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18968 }
18969 arg3 = static_cast< int >(val3);
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->SetRange(arg2,arg3);
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 resultobj = SWIG_Py_Void();
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj = 0;
18985 wxFontData *arg1 = (wxFontData *) 0 ;
18986 bool arg2 ;
18987 void *argp1 = 0 ;
18988 int res1 = 0 ;
18989 bool val2 ;
18990 int ecode2 = 0 ;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993 char * kwnames[] = {
18994 (char *) "self",(char *) "showHelp", NULL
18995 };
18996
18997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18999 if (!SWIG_IsOK(res1)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19001 }
19002 arg1 = reinterpret_cast< wxFontData * >(argp1);
19003 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19004 if (!SWIG_IsOK(ecode2)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19006 }
19007 arg2 = static_cast< bool >(val2);
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 (arg1)->SetShowHelp(arg2);
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_Py_Void();
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19022 PyObject *obj;
19023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19024 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19025 return SWIG_Py_Void();
19026 }
19027
19028 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19029 return SWIG_Python_InitShadowInstance(args);
19030 }
19031
19032 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj = 0;
19034 wxWindow *arg1 = (wxWindow *) 0 ;
19035 wxFontData *arg2 = 0 ;
19036 wxFontDialog *result = 0 ;
19037 void *argp1 = 0 ;
19038 int res1 = 0 ;
19039 void *argp2 = 0 ;
19040 int res2 = 0 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char * kwnames[] = {
19044 (char *) "parent",(char *) "data", NULL
19045 };
19046
19047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19049 if (!SWIG_IsOK(res1)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19051 }
19052 arg1 = reinterpret_cast< wxWindow * >(argp1);
19053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19054 if (!SWIG_IsOK(res2)) {
19055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19056 }
19057 if (!argp2) {
19058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19059 }
19060 arg2 = reinterpret_cast< wxFontData * >(argp2);
19061 {
19062 if (!wxPyCheckForApp()) SWIG_fail;
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19076 PyObject *resultobj = 0;
19077 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19078 wxFontData *result = 0 ;
19079 void *argp1 = 0 ;
19080 int res1 = 0 ;
19081 PyObject *swig_obj[1] ;
19082
19083 if (!args) SWIG_fail;
19084 swig_obj[0] = args;
19085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19086 if (!SWIG_IsOK(res1)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19088 }
19089 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 {
19093 wxFontData &_result_ref = (arg1)->GetFontData();
19094 result = (wxFontData *) &_result_ref;
19095 }
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19107 PyObject *obj;
19108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19110 return SWIG_Py_Void();
19111 }
19112
19113 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19114 return SWIG_Python_InitShadowInstance(args);
19115 }
19116
19117 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj = 0;
19119 wxWindow *arg1 = (wxWindow *) NULL ;
19120 wxFont const &arg2_defvalue = wxNullFont ;
19121 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19122 wxString const &arg3_defvalue = wxPyEmptyString ;
19123 wxString *arg3 = (wxString *) &arg3_defvalue ;
19124 wxFont result;
19125 void *argp1 = 0 ;
19126 int res1 = 0 ;
19127 void *argp2 = 0 ;
19128 int res2 = 0 ;
19129 bool temp3 = false ;
19130 PyObject * obj0 = 0 ;
19131 PyObject * obj1 = 0 ;
19132 PyObject * obj2 = 0 ;
19133 char * kwnames[] = {
19134 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19135 };
19136
19137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19138 if (obj0) {
19139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19140 if (!SWIG_IsOK(res1)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19142 }
19143 arg1 = reinterpret_cast< wxWindow * >(argp1);
19144 }
19145 if (obj1) {
19146 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19147 if (!SWIG_IsOK(res2)) {
19148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19149 }
19150 if (!argp2) {
19151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19152 }
19153 arg2 = reinterpret_cast< wxFont * >(argp2);
19154 }
19155 if (obj2) {
19156 {
19157 arg3 = wxString_in_helper(obj2);
19158 if (arg3 == NULL) SWIG_fail;
19159 temp3 = true;
19160 }
19161 }
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19169 {
19170 if (temp3)
19171 delete arg3;
19172 }
19173 return resultobj;
19174 fail:
19175 {
19176 if (temp3)
19177 delete arg3;
19178 }
19179 return NULL;
19180 }
19181
19182
19183 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj = 0;
19185 wxWindow *arg1 = (wxWindow *) 0 ;
19186 wxString *arg2 = 0 ;
19187 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19188 wxString *arg3 = (wxString *) &arg3_defvalue ;
19189 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19190 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19191 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19192 wxMessageDialog *result = 0 ;
19193 void *argp1 = 0 ;
19194 int res1 = 0 ;
19195 bool temp2 = false ;
19196 bool temp3 = false ;
19197 long val4 ;
19198 int ecode4 = 0 ;
19199 wxPoint temp5 ;
19200 PyObject * obj0 = 0 ;
19201 PyObject * obj1 = 0 ;
19202 PyObject * obj2 = 0 ;
19203 PyObject * obj3 = 0 ;
19204 PyObject * obj4 = 0 ;
19205 char * kwnames[] = {
19206 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19207 };
19208
19209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19211 if (!SWIG_IsOK(res1)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19213 }
19214 arg1 = reinterpret_cast< wxWindow * >(argp1);
19215 {
19216 arg2 = wxString_in_helper(obj1);
19217 if (arg2 == NULL) SWIG_fail;
19218 temp2 = true;
19219 }
19220 if (obj2) {
19221 {
19222 arg3 = wxString_in_helper(obj2);
19223 if (arg3 == NULL) SWIG_fail;
19224 temp3 = true;
19225 }
19226 }
19227 if (obj3) {
19228 ecode4 = SWIG_AsVal_long(obj3, &val4);
19229 if (!SWIG_IsOK(ecode4)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19231 }
19232 arg4 = static_cast< long >(val4);
19233 }
19234 if (obj4) {
19235 {
19236 arg5 = &temp5;
19237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19238 }
19239 }
19240 {
19241 if (!wxPyCheckForApp()) SWIG_fail;
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19248 {
19249 if (temp2)
19250 delete arg2;
19251 }
19252 {
19253 if (temp3)
19254 delete arg3;
19255 }
19256 return resultobj;
19257 fail:
19258 {
19259 if (temp2)
19260 delete arg2;
19261 }
19262 {
19263 if (temp3)
19264 delete arg3;
19265 }
19266 return NULL;
19267 }
19268
19269
19270 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19271 PyObject *obj;
19272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19273 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19274 return SWIG_Py_Void();
19275 }
19276
19277 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19278 return SWIG_Python_InitShadowInstance(args);
19279 }
19280
19281 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj = 0;
19283 wxString *arg1 = 0 ;
19284 wxString *arg2 = 0 ;
19285 int arg3 = (int) 100 ;
19286 wxWindow *arg4 = (wxWindow *) NULL ;
19287 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19288 wxProgressDialog *result = 0 ;
19289 bool temp1 = false ;
19290 bool temp2 = false ;
19291 int val3 ;
19292 int ecode3 = 0 ;
19293 void *argp4 = 0 ;
19294 int res4 = 0 ;
19295 int val5 ;
19296 int ecode5 = 0 ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 PyObject * obj2 = 0 ;
19300 PyObject * obj3 = 0 ;
19301 PyObject * obj4 = 0 ;
19302 char * kwnames[] = {
19303 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19304 };
19305
19306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19307 {
19308 arg1 = wxString_in_helper(obj0);
19309 if (arg1 == NULL) SWIG_fail;
19310 temp1 = true;
19311 }
19312 {
19313 arg2 = wxString_in_helper(obj1);
19314 if (arg2 == NULL) SWIG_fail;
19315 temp2 = true;
19316 }
19317 if (obj2) {
19318 ecode3 = SWIG_AsVal_int(obj2, &val3);
19319 if (!SWIG_IsOK(ecode3)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19321 }
19322 arg3 = static_cast< int >(val3);
19323 }
19324 if (obj3) {
19325 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19326 if (!SWIG_IsOK(res4)) {
19327 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19328 }
19329 arg4 = reinterpret_cast< wxWindow * >(argp4);
19330 }
19331 if (obj4) {
19332 ecode5 = SWIG_AsVal_int(obj4, &val5);
19333 if (!SWIG_IsOK(ecode5)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19335 }
19336 arg5 = static_cast< int >(val5);
19337 }
19338 {
19339 if (!wxPyCheckForApp()) SWIG_fail;
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19346 {
19347 if (temp1)
19348 delete arg1;
19349 }
19350 {
19351 if (temp2)
19352 delete arg2;
19353 }
19354 return resultobj;
19355 fail:
19356 {
19357 if (temp1)
19358 delete arg1;
19359 }
19360 {
19361 if (temp2)
19362 delete arg2;
19363 }
19364 return NULL;
19365 }
19366
19367
19368 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj = 0;
19370 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19371 int arg2 ;
19372 wxString const &arg3_defvalue = wxPyEmptyString ;
19373 wxString *arg3 = (wxString *) &arg3_defvalue ;
19374 bool *arg4 = (bool *) 0 ;
19375 bool result;
19376 void *argp1 = 0 ;
19377 int res1 = 0 ;
19378 int val2 ;
19379 int ecode2 = 0 ;
19380 bool temp3 = false ;
19381 bool temp4 ;
19382 int res4 = SWIG_TMPOBJ ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 PyObject * obj2 = 0 ;
19386 char * kwnames[] = {
19387 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19388 };
19389
19390 arg4 = &temp4;
19391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19393 if (!SWIG_IsOK(res1)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19395 }
19396 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19397 ecode2 = SWIG_AsVal_int(obj1, &val2);
19398 if (!SWIG_IsOK(ecode2)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19400 }
19401 arg2 = static_cast< int >(val2);
19402 if (obj2) {
19403 {
19404 arg3 = wxString_in_helper(obj2);
19405 if (arg3 == NULL) SWIG_fail;
19406 temp3 = true;
19407 }
19408 }
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 {
19416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19417 }
19418 if (SWIG_IsTmpObj(res4)) {
19419 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19420 } else {
19421 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19423 }
19424 {
19425 if (temp3)
19426 delete arg3;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp3)
19432 delete arg3;
19433 }
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj = 0;
19440 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19441 wxString const &arg2_defvalue = wxPyEmptyString ;
19442 wxString *arg2 = (wxString *) &arg2_defvalue ;
19443 bool *arg3 = (bool *) 0 ;
19444 bool result;
19445 void *argp1 = 0 ;
19446 int res1 = 0 ;
19447 bool temp2 = false ;
19448 bool temp3 ;
19449 int res3 = SWIG_TMPOBJ ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char * kwnames[] = {
19453 (char *) "self",(char *) "newmsg", NULL
19454 };
19455
19456 arg3 = &temp3;
19457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail;
19458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19459 if (!SWIG_IsOK(res1)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19461 }
19462 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19463 if (obj1) {
19464 {
19465 arg2 = wxString_in_helper(obj1);
19466 if (arg2 == NULL) SWIG_fail;
19467 temp2 = true;
19468 }
19469 }
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3);
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19478 }
19479 if (SWIG_IsTmpObj(res3)) {
19480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19481 } else {
19482 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19483 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19484 }
19485 {
19486 if (temp2)
19487 delete arg2;
19488 }
19489 return resultobj;
19490 fail:
19491 {
19492 if (temp2)
19493 delete arg2;
19494 }
19495 return NULL;
19496 }
19497
19498
19499 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19500 PyObject *resultobj = 0;
19501 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19502 void *argp1 = 0 ;
19503 int res1 = 0 ;
19504 PyObject *swig_obj[1] ;
19505
19506 if (!args) SWIG_fail;
19507 swig_obj[0] = args;
19508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19509 if (!SWIG_IsOK(res1)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19511 }
19512 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 (arg1)->Resume();
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_Py_Void();
19520 return resultobj;
19521 fail:
19522 return NULL;
19523 }
19524
19525
19526 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19527 PyObject *obj;
19528 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19529 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19530 return SWIG_Py_Void();
19531 }
19532
19533 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19534 return SWIG_Python_InitShadowInstance(args);
19535 }
19536
19537 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj = 0;
19539 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19540 int arg2 = (int) 0 ;
19541 wxFindDialogEvent *result = 0 ;
19542 int val1 ;
19543 int ecode1 = 0 ;
19544 int val2 ;
19545 int ecode2 = 0 ;
19546 PyObject * obj0 = 0 ;
19547 PyObject * obj1 = 0 ;
19548 char * kwnames[] = {
19549 (char *) "commandType",(char *) "id", NULL
19550 };
19551
19552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19553 if (obj0) {
19554 ecode1 = SWIG_AsVal_int(obj0, &val1);
19555 if (!SWIG_IsOK(ecode1)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19557 }
19558 arg1 = static_cast< wxEventType >(val1);
19559 }
19560 if (obj1) {
19561 ecode2 = SWIG_AsVal_int(obj1, &val2);
19562 if (!SWIG_IsOK(ecode2)) {
19563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19564 }
19565 arg2 = static_cast< int >(val2);
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19581 PyObject *resultobj = 0;
19582 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19583 int result;
19584 void *argp1 = 0 ;
19585 int res1 = 0 ;
19586 PyObject *swig_obj[1] ;
19587
19588 if (!args) SWIG_fail;
19589 swig_obj[0] = args;
19590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19591 if (!SWIG_IsOK(res1)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19593 }
19594 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19595 {
19596 PyThreadState* __tstate = wxPyBeginAllowThreads();
19597 result = (int)(arg1)->GetFlags();
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 resultobj = SWIG_From_int(static_cast< int >(result));
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19609 PyObject *resultobj = 0;
19610 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19611 wxString *result = 0 ;
19612 void *argp1 = 0 ;
19613 int res1 = 0 ;
19614 PyObject *swig_obj[1] ;
19615
19616 if (!args) SWIG_fail;
19617 swig_obj[0] = args;
19618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19619 if (!SWIG_IsOK(res1)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19621 }
19622 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 {
19626 wxString const &_result_ref = (arg1)->GetFindString();
19627 result = (wxString *) &_result_ref;
19628 }
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 {
19633 #if wxUSE_UNICODE
19634 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19635 #else
19636 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19637 #endif
19638 }
19639 return resultobj;
19640 fail:
19641 return NULL;
19642 }
19643
19644
19645 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19646 PyObject *resultobj = 0;
19647 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19648 wxString *result = 0 ;
19649 void *argp1 = 0 ;
19650 int res1 = 0 ;
19651 PyObject *swig_obj[1] ;
19652
19653 if (!args) SWIG_fail;
19654 swig_obj[0] = args;
19655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19656 if (!SWIG_IsOK(res1)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19658 }
19659 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 {
19663 wxString const &_result_ref = (arg1)->GetReplaceString();
19664 result = (wxString *) &_result_ref;
19665 }
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 {
19670 #if wxUSE_UNICODE
19671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19672 #else
19673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19674 #endif
19675 }
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19683 PyObject *resultobj = 0;
19684 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19685 wxFindReplaceDialog *result = 0 ;
19686 void *argp1 = 0 ;
19687 int res1 = 0 ;
19688 PyObject *swig_obj[1] ;
19689
19690 if (!args) SWIG_fail;
19691 swig_obj[0] = args;
19692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19693 if (!SWIG_IsOK(res1)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19695 }
19696 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj = 0;
19712 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19713 int arg2 ;
19714 void *argp1 = 0 ;
19715 int res1 = 0 ;
19716 int val2 ;
19717 int ecode2 = 0 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj1 = 0 ;
19720 char * kwnames[] = {
19721 (char *) "self",(char *) "flags", NULL
19722 };
19723
19724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19726 if (!SWIG_IsOK(res1)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19728 }
19729 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19730 ecode2 = SWIG_AsVal_int(obj1, &val2);
19731 if (!SWIG_IsOK(ecode2)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19733 }
19734 arg2 = static_cast< int >(val2);
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 (arg1)->SetFlags(arg2);
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 resultobj = SWIG_Py_Void();
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj = 0;
19750 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19751 wxString *arg2 = 0 ;
19752 void *argp1 = 0 ;
19753 int res1 = 0 ;
19754 bool temp2 = false ;
19755 PyObject * obj0 = 0 ;
19756 PyObject * obj1 = 0 ;
19757 char * kwnames[] = {
19758 (char *) "self",(char *) "str", NULL
19759 };
19760
19761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19763 if (!SWIG_IsOK(res1)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19765 }
19766 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19767 {
19768 arg2 = wxString_in_helper(obj1);
19769 if (arg2 == NULL) SWIG_fail;
19770 temp2 = true;
19771 }
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 (arg1)->SetFindString((wxString const &)*arg2);
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 resultobj = SWIG_Py_Void();
19779 {
19780 if (temp2)
19781 delete arg2;
19782 }
19783 return resultobj;
19784 fail:
19785 {
19786 if (temp2)
19787 delete arg2;
19788 }
19789 return NULL;
19790 }
19791
19792
19793 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19794 PyObject *resultobj = 0;
19795 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19796 wxString *arg2 = 0 ;
19797 void *argp1 = 0 ;
19798 int res1 = 0 ;
19799 bool temp2 = false ;
19800 PyObject * obj0 = 0 ;
19801 PyObject * obj1 = 0 ;
19802 char * kwnames[] = {
19803 (char *) "self",(char *) "str", NULL
19804 };
19805
19806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19808 if (!SWIG_IsOK(res1)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19810 }
19811 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19812 {
19813 arg2 = wxString_in_helper(obj1);
19814 if (arg2 == NULL) SWIG_fail;
19815 temp2 = true;
19816 }
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 (arg1)->SetReplaceString((wxString const &)*arg2);
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 resultobj = SWIG_Py_Void();
19824 {
19825 if (temp2)
19826 delete arg2;
19827 }
19828 return resultobj;
19829 fail:
19830 {
19831 if (temp2)
19832 delete arg2;
19833 }
19834 return NULL;
19835 }
19836
19837
19838 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19839 PyObject *obj;
19840 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19842 return SWIG_Py_Void();
19843 }
19844
19845 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19846 return SWIG_Python_InitShadowInstance(args);
19847 }
19848
19849 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj = 0;
19851 int arg1 = (int) 0 ;
19852 wxFindReplaceData *result = 0 ;
19853 int val1 ;
19854 int ecode1 = 0 ;
19855 PyObject * obj0 = 0 ;
19856 char * kwnames[] = {
19857 (char *) "flags", NULL
19858 };
19859
19860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19861 if (obj0) {
19862 ecode1 = SWIG_AsVal_int(obj0, &val1);
19863 if (!SWIG_IsOK(ecode1)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19865 }
19866 arg1 = static_cast< int >(val1);
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19882 PyObject *resultobj = 0;
19883 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19884 void *argp1 = 0 ;
19885 int res1 = 0 ;
19886 PyObject *swig_obj[1] ;
19887
19888 if (!args) SWIG_fail;
19889 swig_obj[0] = args;
19890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19891 if (!SWIG_IsOK(res1)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19893 }
19894 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 delete arg1;
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 resultobj = SWIG_Py_Void();
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19910 PyObject *resultobj = 0;
19911 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19912 wxString *result = 0 ;
19913 void *argp1 = 0 ;
19914 int res1 = 0 ;
19915 PyObject *swig_obj[1] ;
19916
19917 if (!args) SWIG_fail;
19918 swig_obj[0] = args;
19919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19920 if (!SWIG_IsOK(res1)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19922 }
19923 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 {
19927 wxString const &_result_ref = (arg1)->GetFindString();
19928 result = (wxString *) &_result_ref;
19929 }
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 #if wxUSE_UNICODE
19935 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19936 #else
19937 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19938 #endif
19939 }
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19947 PyObject *resultobj = 0;
19948 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19949 wxString *result = 0 ;
19950 void *argp1 = 0 ;
19951 int res1 = 0 ;
19952 PyObject *swig_obj[1] ;
19953
19954 if (!args) SWIG_fail;
19955 swig_obj[0] = args;
19956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19957 if (!SWIG_IsOK(res1)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19959 }
19960 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 {
19964 wxString const &_result_ref = (arg1)->GetReplaceString();
19965 result = (wxString *) &_result_ref;
19966 }
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 {
19971 #if wxUSE_UNICODE
19972 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19973 #else
19974 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19975 #endif
19976 }
19977 return resultobj;
19978 fail:
19979 return NULL;
19980 }
19981
19982
19983 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19984 PyObject *resultobj = 0;
19985 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19986 int result;
19987 void *argp1 = 0 ;
19988 int res1 = 0 ;
19989 PyObject *swig_obj[1] ;
19990
19991 if (!args) SWIG_fail;
19992 swig_obj[0] = args;
19993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19994 if (!SWIG_IsOK(res1)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19996 }
19997 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (int)(arg1)->GetFlags();
20001 wxPyEndAllowThreads(__tstate);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 }
20004 resultobj = SWIG_From_int(static_cast< int >(result));
20005 return resultobj;
20006 fail:
20007 return NULL;
20008 }
20009
20010
20011 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj = 0;
20013 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20014 int arg2 ;
20015 void *argp1 = 0 ;
20016 int res1 = 0 ;
20017 int val2 ;
20018 int ecode2 = 0 ;
20019 PyObject * obj0 = 0 ;
20020 PyObject * obj1 = 0 ;
20021 char * kwnames[] = {
20022 (char *) "self",(char *) "flags", NULL
20023 };
20024
20025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20027 if (!SWIG_IsOK(res1)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20029 }
20030 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20031 ecode2 = SWIG_AsVal_int(obj1, &val2);
20032 if (!SWIG_IsOK(ecode2)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20034 }
20035 arg2 = static_cast< int >(val2);
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 (arg1)->SetFlags(arg2);
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 resultobj = SWIG_Py_Void();
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj = 0;
20051 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20052 wxString *arg2 = 0 ;
20053 void *argp1 = 0 ;
20054 int res1 = 0 ;
20055 bool temp2 = false ;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 char * kwnames[] = {
20059 (char *) "self",(char *) "str", NULL
20060 };
20061
20062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20064 if (!SWIG_IsOK(res1)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20066 }
20067 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20068 {
20069 arg2 = wxString_in_helper(obj1);
20070 if (arg2 == NULL) SWIG_fail;
20071 temp2 = true;
20072 }
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->SetFindString((wxString const &)*arg2);
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = SWIG_Py_Void();
20080 {
20081 if (temp2)
20082 delete arg2;
20083 }
20084 return resultobj;
20085 fail:
20086 {
20087 if (temp2)
20088 delete arg2;
20089 }
20090 return NULL;
20091 }
20092
20093
20094 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj = 0;
20096 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20097 wxString *arg2 = 0 ;
20098 void *argp1 = 0 ;
20099 int res1 = 0 ;
20100 bool temp2 = false ;
20101 PyObject * obj0 = 0 ;
20102 PyObject * obj1 = 0 ;
20103 char * kwnames[] = {
20104 (char *) "self",(char *) "str", NULL
20105 };
20106
20107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20109 if (!SWIG_IsOK(res1)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20111 }
20112 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20113 {
20114 arg2 = wxString_in_helper(obj1);
20115 if (arg2 == NULL) SWIG_fail;
20116 temp2 = true;
20117 }
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 (arg1)->SetReplaceString((wxString const &)*arg2);
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = SWIG_Py_Void();
20125 {
20126 if (temp2)
20127 delete arg2;
20128 }
20129 return resultobj;
20130 fail:
20131 {
20132 if (temp2)
20133 delete arg2;
20134 }
20135 return NULL;
20136 }
20137
20138
20139 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20140 PyObject *obj;
20141 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20142 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20143 return SWIG_Py_Void();
20144 }
20145
20146 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20147 return SWIG_Python_InitShadowInstance(args);
20148 }
20149
20150 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj = 0;
20152 wxWindow *arg1 = (wxWindow *) 0 ;
20153 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20154 wxString *arg3 = 0 ;
20155 int arg4 = (int) 0 ;
20156 wxFindReplaceDialog *result = 0 ;
20157 void *argp1 = 0 ;
20158 int res1 = 0 ;
20159 void *argp2 = 0 ;
20160 int res2 = 0 ;
20161 bool temp3 = false ;
20162 int val4 ;
20163 int ecode4 = 0 ;
20164 PyObject * obj0 = 0 ;
20165 PyObject * obj1 = 0 ;
20166 PyObject * obj2 = 0 ;
20167 PyObject * obj3 = 0 ;
20168 char * kwnames[] = {
20169 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20170 };
20171
20172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20174 if (!SWIG_IsOK(res1)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20176 }
20177 arg1 = reinterpret_cast< wxWindow * >(argp1);
20178 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20179 if (!SWIG_IsOK(res2)) {
20180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20181 }
20182 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20183 {
20184 arg3 = wxString_in_helper(obj2);
20185 if (arg3 == NULL) SWIG_fail;
20186 temp3 = true;
20187 }
20188 if (obj3) {
20189 ecode4 = SWIG_AsVal_int(obj3, &val4);
20190 if (!SWIG_IsOK(ecode4)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20192 }
20193 arg4 = static_cast< int >(val4);
20194 }
20195 {
20196 if (!wxPyCheckForApp()) SWIG_fail;
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20203 {
20204 if (temp3)
20205 delete arg3;
20206 }
20207 return resultobj;
20208 fail:
20209 {
20210 if (temp3)
20211 delete arg3;
20212 }
20213 return NULL;
20214 }
20215
20216
20217 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20218 PyObject *resultobj = 0;
20219 wxFindReplaceDialog *result = 0 ;
20220
20221 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20222 {
20223 if (!wxPyCheckForApp()) SWIG_fail;
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj = 0;
20238 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20239 wxWindow *arg2 = (wxWindow *) 0 ;
20240 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20241 wxString *arg4 = 0 ;
20242 int arg5 = (int) 0 ;
20243 bool result;
20244 void *argp1 = 0 ;
20245 int res1 = 0 ;
20246 void *argp2 = 0 ;
20247 int res2 = 0 ;
20248 void *argp3 = 0 ;
20249 int res3 = 0 ;
20250 bool temp4 = false ;
20251 int val5 ;
20252 int ecode5 = 0 ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 PyObject * obj2 = 0 ;
20256 PyObject * obj3 = 0 ;
20257 PyObject * obj4 = 0 ;
20258 char * kwnames[] = {
20259 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20260 };
20261
20262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20264 if (!SWIG_IsOK(res1)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20266 }
20267 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20269 if (!SWIG_IsOK(res2)) {
20270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20271 }
20272 arg2 = reinterpret_cast< wxWindow * >(argp2);
20273 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20274 if (!SWIG_IsOK(res3)) {
20275 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20276 }
20277 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20278 {
20279 arg4 = wxString_in_helper(obj3);
20280 if (arg4 == NULL) SWIG_fail;
20281 temp4 = true;
20282 }
20283 if (obj4) {
20284 ecode5 = SWIG_AsVal_int(obj4, &val5);
20285 if (!SWIG_IsOK(ecode5)) {
20286 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20287 }
20288 arg5 = static_cast< int >(val5);
20289 }
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 {
20297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20298 }
20299 {
20300 if (temp4)
20301 delete arg4;
20302 }
20303 return resultobj;
20304 fail:
20305 {
20306 if (temp4)
20307 delete arg4;
20308 }
20309 return NULL;
20310 }
20311
20312
20313 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20314 PyObject *resultobj = 0;
20315 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20316 wxFindReplaceData *result = 0 ;
20317 void *argp1 = 0 ;
20318 int res1 = 0 ;
20319 PyObject *swig_obj[1] ;
20320
20321 if (!args) SWIG_fail;
20322 swig_obj[0] = args;
20323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20324 if (!SWIG_IsOK(res1)) {
20325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20326 }
20327 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (wxFindReplaceData *)(arg1)->GetData();
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20335 return resultobj;
20336 fail:
20337 return NULL;
20338 }
20339
20340
20341 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj = 0;
20343 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20344 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20345 void *argp1 = 0 ;
20346 int res1 = 0 ;
20347 void *argp2 = 0 ;
20348 int res2 = 0 ;
20349 PyObject * obj0 = 0 ;
20350 PyObject * obj1 = 0 ;
20351 char * kwnames[] = {
20352 (char *) "self",(char *) "data", NULL
20353 };
20354
20355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20357 if (!SWIG_IsOK(res1)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20359 }
20360 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20362 if (!SWIG_IsOK(res2)) {
20363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20364 }
20365 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 (arg1)->SetData(arg2);
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = SWIG_Py_Void();
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20380 PyObject *obj;
20381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20382 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20383 return SWIG_Py_Void();
20384 }
20385
20386 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20387 return SWIG_Python_InitShadowInstance(args);
20388 }
20389
20390 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj = 0;
20392 wxWindow *arg1 = (wxWindow *) 0 ;
20393 int arg2 = (int) (int)-1 ;
20394 wxString const &arg3_defvalue = wxPyEmptyString ;
20395 wxString *arg3 = (wxString *) &arg3_defvalue ;
20396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20398 wxSize const &arg5_defvalue = wxDefaultSize ;
20399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20400 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20401 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20402 wxString *arg7 = (wxString *) &arg7_defvalue ;
20403 wxMDIParentFrame *result = 0 ;
20404 void *argp1 = 0 ;
20405 int res1 = 0 ;
20406 int val2 ;
20407 int ecode2 = 0 ;
20408 bool temp3 = false ;
20409 wxPoint temp4 ;
20410 wxSize temp5 ;
20411 long val6 ;
20412 int ecode6 = 0 ;
20413 bool temp7 = false ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 PyObject * obj2 = 0 ;
20417 PyObject * obj3 = 0 ;
20418 PyObject * obj4 = 0 ;
20419 PyObject * obj5 = 0 ;
20420 PyObject * obj6 = 0 ;
20421 char * kwnames[] = {
20422 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20423 };
20424
20425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20427 if (!SWIG_IsOK(res1)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20429 }
20430 arg1 = reinterpret_cast< wxWindow * >(argp1);
20431 if (obj1) {
20432 ecode2 = SWIG_AsVal_int(obj1, &val2);
20433 if (!SWIG_IsOK(ecode2)) {
20434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20435 }
20436 arg2 = static_cast< int >(val2);
20437 }
20438 if (obj2) {
20439 {
20440 arg3 = wxString_in_helper(obj2);
20441 if (arg3 == NULL) SWIG_fail;
20442 temp3 = true;
20443 }
20444 }
20445 if (obj3) {
20446 {
20447 arg4 = &temp4;
20448 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20449 }
20450 }
20451 if (obj4) {
20452 {
20453 arg5 = &temp5;
20454 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20455 }
20456 }
20457 if (obj5) {
20458 ecode6 = SWIG_AsVal_long(obj5, &val6);
20459 if (!SWIG_IsOK(ecode6)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20461 }
20462 arg6 = static_cast< long >(val6);
20463 }
20464 if (obj6) {
20465 {
20466 arg7 = wxString_in_helper(obj6);
20467 if (arg7 == NULL) SWIG_fail;
20468 temp7 = true;
20469 }
20470 }
20471 {
20472 if (!wxPyCheckForApp()) SWIG_fail;
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20479 {
20480 if (temp3)
20481 delete arg3;
20482 }
20483 {
20484 if (temp7)
20485 delete arg7;
20486 }
20487 return resultobj;
20488 fail:
20489 {
20490 if (temp3)
20491 delete arg3;
20492 }
20493 {
20494 if (temp7)
20495 delete arg7;
20496 }
20497 return NULL;
20498 }
20499
20500
20501 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20502 PyObject *resultobj = 0;
20503 wxMDIParentFrame *result = 0 ;
20504
20505 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20506 {
20507 if (!wxPyCheckForApp()) SWIG_fail;
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj = 0;
20522 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20523 wxWindow *arg2 = (wxWindow *) 0 ;
20524 int arg3 = (int) (int)-1 ;
20525 wxString const &arg4_defvalue = wxPyEmptyString ;
20526 wxString *arg4 = (wxString *) &arg4_defvalue ;
20527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20529 wxSize const &arg6_defvalue = wxDefaultSize ;
20530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20531 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20532 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20533 wxString *arg8 = (wxString *) &arg8_defvalue ;
20534 bool result;
20535 void *argp1 = 0 ;
20536 int res1 = 0 ;
20537 void *argp2 = 0 ;
20538 int res2 = 0 ;
20539 int val3 ;
20540 int ecode3 = 0 ;
20541 bool temp4 = false ;
20542 wxPoint temp5 ;
20543 wxSize temp6 ;
20544 long val7 ;
20545 int ecode7 = 0 ;
20546 bool temp8 = false ;
20547 PyObject * obj0 = 0 ;
20548 PyObject * obj1 = 0 ;
20549 PyObject * obj2 = 0 ;
20550 PyObject * obj3 = 0 ;
20551 PyObject * obj4 = 0 ;
20552 PyObject * obj5 = 0 ;
20553 PyObject * obj6 = 0 ;
20554 PyObject * obj7 = 0 ;
20555 char * kwnames[] = {
20556 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20557 };
20558
20559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20561 if (!SWIG_IsOK(res1)) {
20562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20563 }
20564 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20565 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20566 if (!SWIG_IsOK(res2)) {
20567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20568 }
20569 arg2 = reinterpret_cast< wxWindow * >(argp2);
20570 if (obj2) {
20571 ecode3 = SWIG_AsVal_int(obj2, &val3);
20572 if (!SWIG_IsOK(ecode3)) {
20573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20574 }
20575 arg3 = static_cast< int >(val3);
20576 }
20577 if (obj3) {
20578 {
20579 arg4 = wxString_in_helper(obj3);
20580 if (arg4 == NULL) SWIG_fail;
20581 temp4 = true;
20582 }
20583 }
20584 if (obj4) {
20585 {
20586 arg5 = &temp5;
20587 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20588 }
20589 }
20590 if (obj5) {
20591 {
20592 arg6 = &temp6;
20593 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20594 }
20595 }
20596 if (obj6) {
20597 ecode7 = SWIG_AsVal_long(obj6, &val7);
20598 if (!SWIG_IsOK(ecode7)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20600 }
20601 arg7 = static_cast< long >(val7);
20602 }
20603 if (obj7) {
20604 {
20605 arg8 = wxString_in_helper(obj7);
20606 if (arg8 == NULL) SWIG_fail;
20607 temp8 = true;
20608 }
20609 }
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 {
20617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20618 }
20619 {
20620 if (temp4)
20621 delete arg4;
20622 }
20623 {
20624 if (temp8)
20625 delete arg8;
20626 }
20627 return resultobj;
20628 fail:
20629 {
20630 if (temp4)
20631 delete arg4;
20632 }
20633 {
20634 if (temp8)
20635 delete arg8;
20636 }
20637 return NULL;
20638 }
20639
20640
20641 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20642 PyObject *resultobj = 0;
20643 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20644 void *argp1 = 0 ;
20645 int res1 = 0 ;
20646 PyObject *swig_obj[1] ;
20647
20648 if (!args) SWIG_fail;
20649 swig_obj[0] = args;
20650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20651 if (!SWIG_IsOK(res1)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20653 }
20654 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->ActivateNext();
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 resultobj = SWIG_Py_Void();
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20669 PyObject *resultobj = 0;
20670 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20671 void *argp1 = 0 ;
20672 int res1 = 0 ;
20673 PyObject *swig_obj[1] ;
20674
20675 if (!args) SWIG_fail;
20676 swig_obj[0] = args;
20677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20678 if (!SWIG_IsOK(res1)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20680 }
20681 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 (arg1)->ActivatePrevious();
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 resultobj = SWIG_Py_Void();
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20696 PyObject *resultobj = 0;
20697 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20698 void *argp1 = 0 ;
20699 int res1 = 0 ;
20700 PyObject *swig_obj[1] ;
20701
20702 if (!args) SWIG_fail;
20703 swig_obj[0] = args;
20704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20705 if (!SWIG_IsOK(res1)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20707 }
20708 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 (arg1)->ArrangeIcons();
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 resultobj = SWIG_Py_Void();
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20723 PyObject *resultobj = 0;
20724 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20725 void *argp1 = 0 ;
20726 int res1 = 0 ;
20727 PyObject *swig_obj[1] ;
20728
20729 if (!args) SWIG_fail;
20730 swig_obj[0] = args;
20731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20732 if (!SWIG_IsOK(res1)) {
20733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20734 }
20735 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 (arg1)->Cascade();
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 resultobj = SWIG_Py_Void();
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20750 PyObject *resultobj = 0;
20751 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20752 wxMDIChildFrame *result = 0 ;
20753 void *argp1 = 0 ;
20754 int res1 = 0 ;
20755 PyObject *swig_obj[1] ;
20756
20757 if (!args) SWIG_fail;
20758 swig_obj[0] = args;
20759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20760 if (!SWIG_IsOK(res1)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20762 }
20763 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 resultobj = wxPyMake_wxObject(result, (bool)0);
20772 }
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20780 PyObject *resultobj = 0;
20781 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20782 wxMDIClientWindow *result = 0 ;
20783 void *argp1 = 0 ;
20784 int res1 = 0 ;
20785 PyObject *swig_obj[1] ;
20786
20787 if (!args) SWIG_fail;
20788 swig_obj[0] = args;
20789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20790 if (!SWIG_IsOK(res1)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20792 }
20793 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 {
20801 resultobj = wxPyMake_wxObject(result, (bool)0);
20802 }
20803 return resultobj;
20804 fail:
20805 return NULL;
20806 }
20807
20808
20809 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj = 0;
20811 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20812 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20813 void *argp1 = 0 ;
20814 int res1 = 0 ;
20815 int val2 ;
20816 int ecode2 = 0 ;
20817 PyObject * obj0 = 0 ;
20818 PyObject * obj1 = 0 ;
20819 char * kwnames[] = {
20820 (char *) "self",(char *) "orient", NULL
20821 };
20822
20823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20825 if (!SWIG_IsOK(res1)) {
20826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20827 }
20828 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20829 if (obj1) {
20830 ecode2 = SWIG_AsVal_int(obj1, &val2);
20831 if (!SWIG_IsOK(ecode2)) {
20832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20833 }
20834 arg2 = static_cast< wxOrientation >(val2);
20835 }
20836 {
20837 PyThreadState* __tstate = wxPyBeginAllowThreads();
20838 (arg1)->Tile(arg2);
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 resultobj = SWIG_Py_Void();
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20850 PyObject *obj;
20851 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20852 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20853 return SWIG_Py_Void();
20854 }
20855
20856 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20857 return SWIG_Python_InitShadowInstance(args);
20858 }
20859
20860 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj = 0;
20862 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20863 int arg2 = (int) (int)-1 ;
20864 wxString const &arg3_defvalue = wxPyEmptyString ;
20865 wxString *arg3 = (wxString *) &arg3_defvalue ;
20866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20868 wxSize const &arg5_defvalue = wxDefaultSize ;
20869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20870 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20871 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20872 wxString *arg7 = (wxString *) &arg7_defvalue ;
20873 wxMDIChildFrame *result = 0 ;
20874 void *argp1 = 0 ;
20875 int res1 = 0 ;
20876 int val2 ;
20877 int ecode2 = 0 ;
20878 bool temp3 = false ;
20879 wxPoint temp4 ;
20880 wxSize temp5 ;
20881 long val6 ;
20882 int ecode6 = 0 ;
20883 bool temp7 = false ;
20884 PyObject * obj0 = 0 ;
20885 PyObject * obj1 = 0 ;
20886 PyObject * obj2 = 0 ;
20887 PyObject * obj3 = 0 ;
20888 PyObject * obj4 = 0 ;
20889 PyObject * obj5 = 0 ;
20890 PyObject * obj6 = 0 ;
20891 char * kwnames[] = {
20892 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20893 };
20894
20895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20897 if (!SWIG_IsOK(res1)) {
20898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20899 }
20900 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20901 if (obj1) {
20902 ecode2 = SWIG_AsVal_int(obj1, &val2);
20903 if (!SWIG_IsOK(ecode2)) {
20904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20905 }
20906 arg2 = static_cast< int >(val2);
20907 }
20908 if (obj2) {
20909 {
20910 arg3 = wxString_in_helper(obj2);
20911 if (arg3 == NULL) SWIG_fail;
20912 temp3 = true;
20913 }
20914 }
20915 if (obj3) {
20916 {
20917 arg4 = &temp4;
20918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20919 }
20920 }
20921 if (obj4) {
20922 {
20923 arg5 = &temp5;
20924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20925 }
20926 }
20927 if (obj5) {
20928 ecode6 = SWIG_AsVal_long(obj5, &val6);
20929 if (!SWIG_IsOK(ecode6)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20931 }
20932 arg6 = static_cast< long >(val6);
20933 }
20934 if (obj6) {
20935 {
20936 arg7 = wxString_in_helper(obj6);
20937 if (arg7 == NULL) SWIG_fail;
20938 temp7 = true;
20939 }
20940 }
20941 {
20942 if (!wxPyCheckForApp()) SWIG_fail;
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
20948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20949 {
20950 if (temp3)
20951 delete arg3;
20952 }
20953 {
20954 if (temp7)
20955 delete arg7;
20956 }
20957 return resultobj;
20958 fail:
20959 {
20960 if (temp3)
20961 delete arg3;
20962 }
20963 {
20964 if (temp7)
20965 delete arg7;
20966 }
20967 return NULL;
20968 }
20969
20970
20971 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20972 PyObject *resultobj = 0;
20973 wxMDIChildFrame *result = 0 ;
20974
20975 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20976 {
20977 if (!wxPyCheckForApp()) SWIG_fail;
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20984 return resultobj;
20985 fail:
20986 return NULL;
20987 }
20988
20989
20990 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20991 PyObject *resultobj = 0;
20992 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20993 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20994 int arg3 = (int) (int)-1 ;
20995 wxString const &arg4_defvalue = wxPyEmptyString ;
20996 wxString *arg4 = (wxString *) &arg4_defvalue ;
20997 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20998 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20999 wxSize const &arg6_defvalue = wxDefaultSize ;
21000 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21001 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21002 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21003 wxString *arg8 = (wxString *) &arg8_defvalue ;
21004 bool result;
21005 void *argp1 = 0 ;
21006 int res1 = 0 ;
21007 void *argp2 = 0 ;
21008 int res2 = 0 ;
21009 int val3 ;
21010 int ecode3 = 0 ;
21011 bool temp4 = false ;
21012 wxPoint temp5 ;
21013 wxSize temp6 ;
21014 long val7 ;
21015 int ecode7 = 0 ;
21016 bool temp8 = false ;
21017 PyObject * obj0 = 0 ;
21018 PyObject * obj1 = 0 ;
21019 PyObject * obj2 = 0 ;
21020 PyObject * obj3 = 0 ;
21021 PyObject * obj4 = 0 ;
21022 PyObject * obj5 = 0 ;
21023 PyObject * obj6 = 0 ;
21024 PyObject * obj7 = 0 ;
21025 char * kwnames[] = {
21026 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21027 };
21028
21029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21031 if (!SWIG_IsOK(res1)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21033 }
21034 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21036 if (!SWIG_IsOK(res2)) {
21037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21038 }
21039 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21040 if (obj2) {
21041 ecode3 = SWIG_AsVal_int(obj2, &val3);
21042 if (!SWIG_IsOK(ecode3)) {
21043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21044 }
21045 arg3 = static_cast< int >(val3);
21046 }
21047 if (obj3) {
21048 {
21049 arg4 = wxString_in_helper(obj3);
21050 if (arg4 == NULL) SWIG_fail;
21051 temp4 = true;
21052 }
21053 }
21054 if (obj4) {
21055 {
21056 arg5 = &temp5;
21057 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21058 }
21059 }
21060 if (obj5) {
21061 {
21062 arg6 = &temp6;
21063 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21064 }
21065 }
21066 if (obj6) {
21067 ecode7 = SWIG_AsVal_long(obj6, &val7);
21068 if (!SWIG_IsOK(ecode7)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21070 }
21071 arg7 = static_cast< long >(val7);
21072 }
21073 if (obj7) {
21074 {
21075 arg8 = wxString_in_helper(obj7);
21076 if (arg8 == NULL) SWIG_fail;
21077 temp8 = true;
21078 }
21079 }
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 {
21087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21088 }
21089 {
21090 if (temp4)
21091 delete arg4;
21092 }
21093 {
21094 if (temp8)
21095 delete arg8;
21096 }
21097 return resultobj;
21098 fail:
21099 {
21100 if (temp4)
21101 delete arg4;
21102 }
21103 {
21104 if (temp8)
21105 delete arg8;
21106 }
21107 return NULL;
21108 }
21109
21110
21111 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21112 PyObject *resultobj = 0;
21113 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21114 void *argp1 = 0 ;
21115 int res1 = 0 ;
21116 PyObject *swig_obj[1] ;
21117
21118 if (!args) SWIG_fail;
21119 swig_obj[0] = args;
21120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21121 if (!SWIG_IsOK(res1)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21123 }
21124 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 (arg1)->Activate();
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 resultobj = SWIG_Py_Void();
21132 return resultobj;
21133 fail:
21134 return NULL;
21135 }
21136
21137
21138 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21139 PyObject *obj;
21140 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21141 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21142 return SWIG_Py_Void();
21143 }
21144
21145 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21146 return SWIG_Python_InitShadowInstance(args);
21147 }
21148
21149 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj = 0;
21151 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21152 long arg2 = (long) 0 ;
21153 wxMDIClientWindow *result = 0 ;
21154 void *argp1 = 0 ;
21155 int res1 = 0 ;
21156 long val2 ;
21157 int ecode2 = 0 ;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 char * kwnames[] = {
21161 (char *) "parent",(char *) "style", NULL
21162 };
21163
21164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21166 if (!SWIG_IsOK(res1)) {
21167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21168 }
21169 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21170 if (obj1) {
21171 ecode2 = SWIG_AsVal_long(obj1, &val2);
21172 if (!SWIG_IsOK(ecode2)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21174 }
21175 arg2 = static_cast< long >(val2);
21176 }
21177 {
21178 if (!wxPyCheckForApp()) SWIG_fail;
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21192 PyObject *resultobj = 0;
21193 wxMDIClientWindow *result = 0 ;
21194
21195 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21196 {
21197 if (!wxPyCheckForApp()) SWIG_fail;
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21204 return resultobj;
21205 fail:
21206 return NULL;
21207 }
21208
21209
21210 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj = 0;
21212 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21213 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21214 long arg3 = (long) 0 ;
21215 bool result;
21216 void *argp1 = 0 ;
21217 int res1 = 0 ;
21218 void *argp2 = 0 ;
21219 int res2 = 0 ;
21220 long val3 ;
21221 int ecode3 = 0 ;
21222 PyObject * obj0 = 0 ;
21223 PyObject * obj1 = 0 ;
21224 PyObject * obj2 = 0 ;
21225 char * kwnames[] = {
21226 (char *) "self",(char *) "parent",(char *) "style", NULL
21227 };
21228
21229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21231 if (!SWIG_IsOK(res1)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21233 }
21234 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21236 if (!SWIG_IsOK(res2)) {
21237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21238 }
21239 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21240 if (obj2) {
21241 ecode3 = SWIG_AsVal_long(obj2, &val3);
21242 if (!SWIG_IsOK(ecode3)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21244 }
21245 arg3 = static_cast< long >(val3);
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 result = (bool)(arg1)->Create(arg2,arg3);
21250 wxPyEndAllowThreads(__tstate);
21251 if (PyErr_Occurred()) SWIG_fail;
21252 }
21253 {
21254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21255 }
21256 return resultobj;
21257 fail:
21258 return NULL;
21259 }
21260
21261
21262 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21263 PyObject *obj;
21264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21265 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21266 return SWIG_Py_Void();
21267 }
21268
21269 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21270 return SWIG_Python_InitShadowInstance(args);
21271 }
21272
21273 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21274 PyObject *resultobj = 0;
21275 wxWindow *arg1 = (wxWindow *) 0 ;
21276 int arg2 = (int) (int)-1 ;
21277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21279 wxSize const &arg4_defvalue = wxDefaultSize ;
21280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21281 long arg5 = (long) 0 ;
21282 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21283 wxString *arg6 = (wxString *) &arg6_defvalue ;
21284 wxPyWindow *result = 0 ;
21285 void *argp1 = 0 ;
21286 int res1 = 0 ;
21287 int val2 ;
21288 int ecode2 = 0 ;
21289 wxPoint temp3 ;
21290 wxSize temp4 ;
21291 long val5 ;
21292 int ecode5 = 0 ;
21293 bool temp6 = false ;
21294 PyObject * obj0 = 0 ;
21295 PyObject * obj1 = 0 ;
21296 PyObject * obj2 = 0 ;
21297 PyObject * obj3 = 0 ;
21298 PyObject * obj4 = 0 ;
21299 PyObject * obj5 = 0 ;
21300 char * kwnames[] = {
21301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21302 };
21303
21304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21306 if (!SWIG_IsOK(res1)) {
21307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21308 }
21309 arg1 = reinterpret_cast< wxWindow * >(argp1);
21310 if (obj1) {
21311 ecode2 = SWIG_AsVal_int(obj1, &val2);
21312 if (!SWIG_IsOK(ecode2)) {
21313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21314 }
21315 arg2 = static_cast< int >(val2);
21316 }
21317 if (obj2) {
21318 {
21319 arg3 = &temp3;
21320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21321 }
21322 }
21323 if (obj3) {
21324 {
21325 arg4 = &temp4;
21326 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21327 }
21328 }
21329 if (obj4) {
21330 ecode5 = SWIG_AsVal_long(obj4, &val5);
21331 if (!SWIG_IsOK(ecode5)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21333 }
21334 arg5 = static_cast< long >(val5);
21335 }
21336 if (obj5) {
21337 {
21338 arg6 = wxString_in_helper(obj5);
21339 if (arg6 == NULL) SWIG_fail;
21340 temp6 = true;
21341 }
21342 }
21343 {
21344 if (!wxPyCheckForApp()) SWIG_fail;
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21351 {
21352 if (temp6)
21353 delete arg6;
21354 }
21355 return resultobj;
21356 fail:
21357 {
21358 if (temp6)
21359 delete arg6;
21360 }
21361 return NULL;
21362 }
21363
21364
21365 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21366 PyObject *resultobj = 0;
21367 wxPyWindow *result = 0 ;
21368
21369 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21370 {
21371 if (!wxPyCheckForApp()) SWIG_fail;
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 result = (wxPyWindow *)new wxPyWindow();
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21378 return resultobj;
21379 fail:
21380 return NULL;
21381 }
21382
21383
21384 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21385 PyObject *resultobj = 0;
21386 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21387 PyObject *arg2 = (PyObject *) 0 ;
21388 PyObject *arg3 = (PyObject *) 0 ;
21389 void *argp1 = 0 ;
21390 int res1 = 0 ;
21391 PyObject * obj0 = 0 ;
21392 PyObject * obj1 = 0 ;
21393 PyObject * obj2 = 0 ;
21394 char * kwnames[] = {
21395 (char *) "self",(char *) "self",(char *) "_class", NULL
21396 };
21397
21398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21400 if (!SWIG_IsOK(res1)) {
21401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21402 }
21403 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21404 arg2 = obj1;
21405 arg3 = obj2;
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->_setCallbackInfo(arg2,arg3);
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 resultobj = SWIG_Py_Void();
21413 return resultobj;
21414 fail:
21415 return NULL;
21416 }
21417
21418
21419 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj = 0;
21421 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21422 wxSize *arg2 = 0 ;
21423 void *argp1 = 0 ;
21424 int res1 = 0 ;
21425 wxSize temp2 ;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 char * kwnames[] = {
21429 (char *) "self",(char *) "size", NULL
21430 };
21431
21432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21434 if (!SWIG_IsOK(res1)) {
21435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21436 }
21437 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21438 {
21439 arg2 = &temp2;
21440 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21441 }
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 (arg1)->SetBestSize((wxSize const &)*arg2);
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 resultobj = SWIG_Py_Void();
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj = 0;
21457 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21458 wxDC *arg2 = (wxDC *) 0 ;
21459 bool result;
21460 void *argp1 = 0 ;
21461 int res1 = 0 ;
21462 void *argp2 = 0 ;
21463 int res2 = 0 ;
21464 PyObject * obj0 = 0 ;
21465 PyObject * obj1 = 0 ;
21466 char * kwnames[] = {
21467 (char *) "self",(char *) "dc", NULL
21468 };
21469
21470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21472 if (!SWIG_IsOK(res1)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21474 }
21475 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21476 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21477 if (!SWIG_IsOK(res2)) {
21478 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21479 }
21480 arg2 = reinterpret_cast< wxDC * >(argp2);
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (bool)(arg1)->DoEraseBackground(arg2);
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 {
21488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21489 }
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj = 0;
21498 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21499 int arg2 ;
21500 int arg3 ;
21501 int arg4 ;
21502 int arg5 ;
21503 void *argp1 = 0 ;
21504 int res1 = 0 ;
21505 int val2 ;
21506 int ecode2 = 0 ;
21507 int val3 ;
21508 int ecode3 = 0 ;
21509 int val4 ;
21510 int ecode4 = 0 ;
21511 int val5 ;
21512 int ecode5 = 0 ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 PyObject * obj2 = 0 ;
21516 PyObject * obj3 = 0 ;
21517 PyObject * obj4 = 0 ;
21518 char * kwnames[] = {
21519 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21520 };
21521
21522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21524 if (!SWIG_IsOK(res1)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21526 }
21527 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21528 ecode2 = SWIG_AsVal_int(obj1, &val2);
21529 if (!SWIG_IsOK(ecode2)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21531 }
21532 arg2 = static_cast< int >(val2);
21533 ecode3 = SWIG_AsVal_int(obj2, &val3);
21534 if (!SWIG_IsOK(ecode3)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21536 }
21537 arg3 = static_cast< int >(val3);
21538 ecode4 = SWIG_AsVal_int(obj3, &val4);
21539 if (!SWIG_IsOK(ecode4)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21541 }
21542 arg4 = static_cast< int >(val4);
21543 ecode5 = SWIG_AsVal_int(obj4, &val5);
21544 if (!SWIG_IsOK(ecode5)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21546 }
21547 arg5 = static_cast< int >(val5);
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 resultobj = SWIG_Py_Void();
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj = 0;
21563 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21564 int arg2 ;
21565 int arg3 ;
21566 int arg4 ;
21567 int arg5 ;
21568 int arg6 = (int) wxSIZE_AUTO ;
21569 void *argp1 = 0 ;
21570 int res1 = 0 ;
21571 int val2 ;
21572 int ecode2 = 0 ;
21573 int val3 ;
21574 int ecode3 = 0 ;
21575 int val4 ;
21576 int ecode4 = 0 ;
21577 int val5 ;
21578 int ecode5 = 0 ;
21579 int val6 ;
21580 int ecode6 = 0 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 PyObject * obj2 = 0 ;
21584 PyObject * obj3 = 0 ;
21585 PyObject * obj4 = 0 ;
21586 PyObject * obj5 = 0 ;
21587 char * kwnames[] = {
21588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21589 };
21590
21591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21593 if (!SWIG_IsOK(res1)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21595 }
21596 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21597 ecode2 = SWIG_AsVal_int(obj1, &val2);
21598 if (!SWIG_IsOK(ecode2)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21600 }
21601 arg2 = static_cast< int >(val2);
21602 ecode3 = SWIG_AsVal_int(obj2, &val3);
21603 if (!SWIG_IsOK(ecode3)) {
21604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21605 }
21606 arg3 = static_cast< int >(val3);
21607 ecode4 = SWIG_AsVal_int(obj3, &val4);
21608 if (!SWIG_IsOK(ecode4)) {
21609 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21610 }
21611 arg4 = static_cast< int >(val4);
21612 ecode5 = SWIG_AsVal_int(obj4, &val5);
21613 if (!SWIG_IsOK(ecode5)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21615 }
21616 arg5 = static_cast< int >(val5);
21617 if (obj5) {
21618 ecode6 = SWIG_AsVal_int(obj5, &val6);
21619 if (!SWIG_IsOK(ecode6)) {
21620 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21621 }
21622 arg6 = static_cast< int >(val6);
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 resultobj = SWIG_Py_Void();
21631 return resultobj;
21632 fail:
21633 return NULL;
21634 }
21635
21636
21637 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21638 PyObject *resultobj = 0;
21639 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21640 int arg2 ;
21641 int arg3 ;
21642 void *argp1 = 0 ;
21643 int res1 = 0 ;
21644 int val2 ;
21645 int ecode2 = 0 ;
21646 int val3 ;
21647 int ecode3 = 0 ;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 PyObject * obj2 = 0 ;
21651 char * kwnames[] = {
21652 (char *) "self",(char *) "width",(char *) "height", NULL
21653 };
21654
21655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21657 if (!SWIG_IsOK(res1)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21659 }
21660 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21661 ecode2 = SWIG_AsVal_int(obj1, &val2);
21662 if (!SWIG_IsOK(ecode2)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21664 }
21665 arg2 = static_cast< int >(val2);
21666 ecode3 = SWIG_AsVal_int(obj2, &val3);
21667 if (!SWIG_IsOK(ecode3)) {
21668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21669 }
21670 arg3 = static_cast< int >(val3);
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 (arg1)->DoSetClientSize(arg2,arg3);
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 resultobj = SWIG_Py_Void();
21678 return resultobj;
21679 fail:
21680 return NULL;
21681 }
21682
21683
21684 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21685 PyObject *resultobj = 0;
21686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21687 int arg2 ;
21688 int arg3 ;
21689 void *argp1 = 0 ;
21690 int res1 = 0 ;
21691 int val2 ;
21692 int ecode2 = 0 ;
21693 int val3 ;
21694 int ecode3 = 0 ;
21695 PyObject * obj0 = 0 ;
21696 PyObject * obj1 = 0 ;
21697 PyObject * obj2 = 0 ;
21698 char * kwnames[] = {
21699 (char *) "self",(char *) "x",(char *) "y", NULL
21700 };
21701
21702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21704 if (!SWIG_IsOK(res1)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21706 }
21707 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21708 ecode2 = SWIG_AsVal_int(obj1, &val2);
21709 if (!SWIG_IsOK(ecode2)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21711 }
21712 arg2 = static_cast< int >(val2);
21713 ecode3 = SWIG_AsVal_int(obj2, &val3);
21714 if (!SWIG_IsOK(ecode3)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21716 }
21717 arg3 = static_cast< int >(val3);
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 (arg1)->DoSetVirtualSize(arg2,arg3);
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 resultobj = SWIG_Py_Void();
21725 return resultobj;
21726 fail:
21727 return NULL;
21728 }
21729
21730
21731 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21732 PyObject *resultobj = 0;
21733 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21734 int *arg2 = (int *) 0 ;
21735 int *arg3 = (int *) 0 ;
21736 void *argp1 = 0 ;
21737 int res1 = 0 ;
21738 int temp2 ;
21739 int res2 = SWIG_TMPOBJ ;
21740 int temp3 ;
21741 int res3 = SWIG_TMPOBJ ;
21742 PyObject *swig_obj[1] ;
21743
21744 arg2 = &temp2;
21745 arg3 = &temp3;
21746 if (!args) SWIG_fail;
21747 swig_obj[0] = args;
21748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21749 if (!SWIG_IsOK(res1)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21751 }
21752 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 resultobj = SWIG_Py_Void();
21760 if (SWIG_IsTmpObj(res2)) {
21761 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21762 } else {
21763 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21764 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21765 }
21766 if (SWIG_IsTmpObj(res3)) {
21767 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21768 } else {
21769 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21771 }
21772 return resultobj;
21773 fail:
21774 return NULL;
21775 }
21776
21777
21778 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21779 PyObject *resultobj = 0;
21780 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21781 int *arg2 = (int *) 0 ;
21782 int *arg3 = (int *) 0 ;
21783 void *argp1 = 0 ;
21784 int res1 = 0 ;
21785 int temp2 ;
21786 int res2 = SWIG_TMPOBJ ;
21787 int temp3 ;
21788 int res3 = SWIG_TMPOBJ ;
21789 PyObject *swig_obj[1] ;
21790
21791 arg2 = &temp2;
21792 arg3 = &temp3;
21793 if (!args) SWIG_fail;
21794 swig_obj[0] = args;
21795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21796 if (!SWIG_IsOK(res1)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21798 }
21799 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 resultobj = SWIG_Py_Void();
21807 if (SWIG_IsTmpObj(res2)) {
21808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21809 } else {
21810 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21812 }
21813 if (SWIG_IsTmpObj(res3)) {
21814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21815 } else {
21816 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21818 }
21819 return resultobj;
21820 fail:
21821 return NULL;
21822 }
21823
21824
21825 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21826 PyObject *resultobj = 0;
21827 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21828 int *arg2 = (int *) 0 ;
21829 int *arg3 = (int *) 0 ;
21830 void *argp1 = 0 ;
21831 int res1 = 0 ;
21832 int temp2 ;
21833 int res2 = SWIG_TMPOBJ ;
21834 int temp3 ;
21835 int res3 = SWIG_TMPOBJ ;
21836 PyObject *swig_obj[1] ;
21837
21838 arg2 = &temp2;
21839 arg3 = &temp3;
21840 if (!args) SWIG_fail;
21841 swig_obj[0] = args;
21842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21843 if (!SWIG_IsOK(res1)) {
21844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21845 }
21846 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21847 {
21848 PyThreadState* __tstate = wxPyBeginAllowThreads();
21849 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 resultobj = SWIG_Py_Void();
21854 if (SWIG_IsTmpObj(res2)) {
21855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21856 } else {
21857 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21859 }
21860 if (SWIG_IsTmpObj(res3)) {
21861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21862 } else {
21863 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21865 }
21866 return resultobj;
21867 fail:
21868 return NULL;
21869 }
21870
21871
21872 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21873 PyObject *resultobj = 0;
21874 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21875 wxSize result;
21876 void *argp1 = 0 ;
21877 int res1 = 0 ;
21878 PyObject *swig_obj[1] ;
21879
21880 if (!args) SWIG_fail;
21881 swig_obj[0] = args;
21882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21883 if (!SWIG_IsOK(res1)) {
21884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21885 }
21886 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21887 {
21888 PyThreadState* __tstate = wxPyBeginAllowThreads();
21889 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21901 PyObject *resultobj = 0;
21902 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21903 wxSize result;
21904 void *argp1 = 0 ;
21905 int res1 = 0 ;
21906 PyObject *swig_obj[1] ;
21907
21908 if (!args) SWIG_fail;
21909 swig_obj[0] = args;
21910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21911 if (!SWIG_IsOK(res1)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21913 }
21914 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21929 PyObject *resultobj = 0;
21930 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21931 SwigValueWrapper<wxVisualAttributes > result;
21932 void *argp1 = 0 ;
21933 int res1 = 0 ;
21934 PyObject *swig_obj[1] ;
21935
21936 if (!args) SWIG_fail;
21937 swig_obj[0] = args;
21938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21939 if (!SWIG_IsOK(res1)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21941 }
21942 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = (arg1)->GetDefaultAttributes();
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21957 PyObject *resultobj = 0;
21958 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21959 void *argp1 = 0 ;
21960 int res1 = 0 ;
21961 PyObject *swig_obj[1] ;
21962
21963 if (!args) SWIG_fail;
21964 swig_obj[0] = args;
21965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21966 if (!SWIG_IsOK(res1)) {
21967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21968 }
21969 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 (arg1)->OnInternalIdle();
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 resultobj = SWIG_Py_Void();
21977 return resultobj;
21978 fail:
21979 return NULL;
21980 }
21981
21982
21983 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21984 PyObject *obj;
21985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21987 return SWIG_Py_Void();
21988 }
21989
21990 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21991 return SWIG_Python_InitShadowInstance(args);
21992 }
21993
21994 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj = 0;
21996 wxWindow *arg1 = (wxWindow *) 0 ;
21997 int arg2 = (int) (int)-1 ;
21998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22000 wxSize const &arg4_defvalue = wxDefaultSize ;
22001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22002 long arg5 = (long) 0 ;
22003 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22004 wxString *arg6 = (wxString *) &arg6_defvalue ;
22005 wxPyPanel *result = 0 ;
22006 void *argp1 = 0 ;
22007 int res1 = 0 ;
22008 int val2 ;
22009 int ecode2 = 0 ;
22010 wxPoint temp3 ;
22011 wxSize temp4 ;
22012 long val5 ;
22013 int ecode5 = 0 ;
22014 bool temp6 = false ;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 PyObject * obj2 = 0 ;
22018 PyObject * obj3 = 0 ;
22019 PyObject * obj4 = 0 ;
22020 PyObject * obj5 = 0 ;
22021 char * kwnames[] = {
22022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22023 };
22024
22025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22027 if (!SWIG_IsOK(res1)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22029 }
22030 arg1 = reinterpret_cast< wxWindow * >(argp1);
22031 if (obj1) {
22032 ecode2 = SWIG_AsVal_int(obj1, &val2);
22033 if (!SWIG_IsOK(ecode2)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22035 }
22036 arg2 = static_cast< int >(val2);
22037 }
22038 if (obj2) {
22039 {
22040 arg3 = &temp3;
22041 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22042 }
22043 }
22044 if (obj3) {
22045 {
22046 arg4 = &temp4;
22047 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22048 }
22049 }
22050 if (obj4) {
22051 ecode5 = SWIG_AsVal_long(obj4, &val5);
22052 if (!SWIG_IsOK(ecode5)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22054 }
22055 arg5 = static_cast< long >(val5);
22056 }
22057 if (obj5) {
22058 {
22059 arg6 = wxString_in_helper(obj5);
22060 if (arg6 == NULL) SWIG_fail;
22061 temp6 = true;
22062 }
22063 }
22064 {
22065 if (!wxPyCheckForApp()) SWIG_fail;
22066 PyThreadState* __tstate = wxPyBeginAllowThreads();
22067 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22072 {
22073 if (temp6)
22074 delete arg6;
22075 }
22076 return resultobj;
22077 fail:
22078 {
22079 if (temp6)
22080 delete arg6;
22081 }
22082 return NULL;
22083 }
22084
22085
22086 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22087 PyObject *resultobj = 0;
22088 wxPyPanel *result = 0 ;
22089
22090 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22091 {
22092 if (!wxPyCheckForApp()) SWIG_fail;
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = (wxPyPanel *)new wxPyPanel();
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj = 0;
22107 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22108 PyObject *arg2 = (PyObject *) 0 ;
22109 PyObject *arg3 = (PyObject *) 0 ;
22110 void *argp1 = 0 ;
22111 int res1 = 0 ;
22112 PyObject * obj0 = 0 ;
22113 PyObject * obj1 = 0 ;
22114 PyObject * obj2 = 0 ;
22115 char * kwnames[] = {
22116 (char *) "self",(char *) "self",(char *) "_class", NULL
22117 };
22118
22119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22121 if (!SWIG_IsOK(res1)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22123 }
22124 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22125 arg2 = obj1;
22126 arg3 = obj2;
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 (arg1)->_setCallbackInfo(arg2,arg3);
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 resultobj = SWIG_Py_Void();
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj = 0;
22142 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22143 wxSize *arg2 = 0 ;
22144 void *argp1 = 0 ;
22145 int res1 = 0 ;
22146 wxSize temp2 ;
22147 PyObject * obj0 = 0 ;
22148 PyObject * obj1 = 0 ;
22149 char * kwnames[] = {
22150 (char *) "self",(char *) "size", NULL
22151 };
22152
22153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22155 if (!SWIG_IsOK(res1)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22157 }
22158 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22159 {
22160 arg2 = &temp2;
22161 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22162 }
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 (arg1)->SetBestSize((wxSize const &)*arg2);
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 resultobj = SWIG_Py_Void();
22170 return resultobj;
22171 fail:
22172 return NULL;
22173 }
22174
22175
22176 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22177 PyObject *resultobj = 0;
22178 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22179 wxDC *arg2 = (wxDC *) 0 ;
22180 bool result;
22181 void *argp1 = 0 ;
22182 int res1 = 0 ;
22183 void *argp2 = 0 ;
22184 int res2 = 0 ;
22185 PyObject * obj0 = 0 ;
22186 PyObject * obj1 = 0 ;
22187 char * kwnames[] = {
22188 (char *) "self",(char *) "dc", NULL
22189 };
22190
22191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22193 if (!SWIG_IsOK(res1)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22195 }
22196 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22197 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22198 if (!SWIG_IsOK(res2)) {
22199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22200 }
22201 arg2 = reinterpret_cast< wxDC * >(argp2);
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 result = (bool)(arg1)->DoEraseBackground(arg2);
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 {
22209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22210 }
22211 return resultobj;
22212 fail:
22213 return NULL;
22214 }
22215
22216
22217 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22218 PyObject *resultobj = 0;
22219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22220 int arg2 ;
22221 int arg3 ;
22222 int arg4 ;
22223 int arg5 ;
22224 void *argp1 = 0 ;
22225 int res1 = 0 ;
22226 int val2 ;
22227 int ecode2 = 0 ;
22228 int val3 ;
22229 int ecode3 = 0 ;
22230 int val4 ;
22231 int ecode4 = 0 ;
22232 int val5 ;
22233 int ecode5 = 0 ;
22234 PyObject * obj0 = 0 ;
22235 PyObject * obj1 = 0 ;
22236 PyObject * obj2 = 0 ;
22237 PyObject * obj3 = 0 ;
22238 PyObject * obj4 = 0 ;
22239 char * kwnames[] = {
22240 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22241 };
22242
22243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22245 if (!SWIG_IsOK(res1)) {
22246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22247 }
22248 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22249 ecode2 = SWIG_AsVal_int(obj1, &val2);
22250 if (!SWIG_IsOK(ecode2)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22252 }
22253 arg2 = static_cast< int >(val2);
22254 ecode3 = SWIG_AsVal_int(obj2, &val3);
22255 if (!SWIG_IsOK(ecode3)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22257 }
22258 arg3 = static_cast< int >(val3);
22259 ecode4 = SWIG_AsVal_int(obj3, &val4);
22260 if (!SWIG_IsOK(ecode4)) {
22261 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22262 }
22263 arg4 = static_cast< int >(val4);
22264 ecode5 = SWIG_AsVal_int(obj4, &val5);
22265 if (!SWIG_IsOK(ecode5)) {
22266 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22267 }
22268 arg5 = static_cast< int >(val5);
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 resultobj = SWIG_Py_Void();
22276 return resultobj;
22277 fail:
22278 return NULL;
22279 }
22280
22281
22282 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22283 PyObject *resultobj = 0;
22284 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22285 int arg2 ;
22286 int arg3 ;
22287 int arg4 ;
22288 int arg5 ;
22289 int arg6 = (int) wxSIZE_AUTO ;
22290 void *argp1 = 0 ;
22291 int res1 = 0 ;
22292 int val2 ;
22293 int ecode2 = 0 ;
22294 int val3 ;
22295 int ecode3 = 0 ;
22296 int val4 ;
22297 int ecode4 = 0 ;
22298 int val5 ;
22299 int ecode5 = 0 ;
22300 int val6 ;
22301 int ecode6 = 0 ;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 PyObject * obj2 = 0 ;
22305 PyObject * obj3 = 0 ;
22306 PyObject * obj4 = 0 ;
22307 PyObject * obj5 = 0 ;
22308 char * kwnames[] = {
22309 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22310 };
22311
22312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22314 if (!SWIG_IsOK(res1)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22316 }
22317 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22318 ecode2 = SWIG_AsVal_int(obj1, &val2);
22319 if (!SWIG_IsOK(ecode2)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22321 }
22322 arg2 = static_cast< int >(val2);
22323 ecode3 = SWIG_AsVal_int(obj2, &val3);
22324 if (!SWIG_IsOK(ecode3)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22326 }
22327 arg3 = static_cast< int >(val3);
22328 ecode4 = SWIG_AsVal_int(obj3, &val4);
22329 if (!SWIG_IsOK(ecode4)) {
22330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22331 }
22332 arg4 = static_cast< int >(val4);
22333 ecode5 = SWIG_AsVal_int(obj4, &val5);
22334 if (!SWIG_IsOK(ecode5)) {
22335 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22336 }
22337 arg5 = static_cast< int >(val5);
22338 if (obj5) {
22339 ecode6 = SWIG_AsVal_int(obj5, &val6);
22340 if (!SWIG_IsOK(ecode6)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22342 }
22343 arg6 = static_cast< int >(val6);
22344 }
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_Py_Void();
22352 return resultobj;
22353 fail:
22354 return NULL;
22355 }
22356
22357
22358 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj = 0;
22360 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22361 int arg2 ;
22362 int arg3 ;
22363 void *argp1 = 0 ;
22364 int res1 = 0 ;
22365 int val2 ;
22366 int ecode2 = 0 ;
22367 int val3 ;
22368 int ecode3 = 0 ;
22369 PyObject * obj0 = 0 ;
22370 PyObject * obj1 = 0 ;
22371 PyObject * obj2 = 0 ;
22372 char * kwnames[] = {
22373 (char *) "self",(char *) "width",(char *) "height", NULL
22374 };
22375
22376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22378 if (!SWIG_IsOK(res1)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22380 }
22381 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22382 ecode2 = SWIG_AsVal_int(obj1, &val2);
22383 if (!SWIG_IsOK(ecode2)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22385 }
22386 arg2 = static_cast< int >(val2);
22387 ecode3 = SWIG_AsVal_int(obj2, &val3);
22388 if (!SWIG_IsOK(ecode3)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22390 }
22391 arg3 = static_cast< int >(val3);
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 (arg1)->DoSetClientSize(arg2,arg3);
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 resultobj = SWIG_Py_Void();
22399 return resultobj;
22400 fail:
22401 return NULL;
22402 }
22403
22404
22405 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj = 0;
22407 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22408 int arg2 ;
22409 int arg3 ;
22410 void *argp1 = 0 ;
22411 int res1 = 0 ;
22412 int val2 ;
22413 int ecode2 = 0 ;
22414 int val3 ;
22415 int ecode3 = 0 ;
22416 PyObject * obj0 = 0 ;
22417 PyObject * obj1 = 0 ;
22418 PyObject * obj2 = 0 ;
22419 char * kwnames[] = {
22420 (char *) "self",(char *) "x",(char *) "y", NULL
22421 };
22422
22423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22425 if (!SWIG_IsOK(res1)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22427 }
22428 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22429 ecode2 = SWIG_AsVal_int(obj1, &val2);
22430 if (!SWIG_IsOK(ecode2)) {
22431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22432 }
22433 arg2 = static_cast< int >(val2);
22434 ecode3 = SWIG_AsVal_int(obj2, &val3);
22435 if (!SWIG_IsOK(ecode3)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22437 }
22438 arg3 = static_cast< int >(val3);
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 (arg1)->DoSetVirtualSize(arg2,arg3);
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 resultobj = SWIG_Py_Void();
22446 return resultobj;
22447 fail:
22448 return NULL;
22449 }
22450
22451
22452 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22453 PyObject *resultobj = 0;
22454 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22455 int *arg2 = (int *) 0 ;
22456 int *arg3 = (int *) 0 ;
22457 void *argp1 = 0 ;
22458 int res1 = 0 ;
22459 int temp2 ;
22460 int res2 = SWIG_TMPOBJ ;
22461 int temp3 ;
22462 int res3 = SWIG_TMPOBJ ;
22463 PyObject *swig_obj[1] ;
22464
22465 arg2 = &temp2;
22466 arg3 = &temp3;
22467 if (!args) SWIG_fail;
22468 swig_obj[0] = args;
22469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22470 if (!SWIG_IsOK(res1)) {
22471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22472 }
22473 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 resultobj = SWIG_Py_Void();
22481 if (SWIG_IsTmpObj(res2)) {
22482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22483 } else {
22484 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22486 }
22487 if (SWIG_IsTmpObj(res3)) {
22488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22489 } else {
22490 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22492 }
22493 return resultobj;
22494 fail:
22495 return NULL;
22496 }
22497
22498
22499 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22500 PyObject *resultobj = 0;
22501 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22502 int *arg2 = (int *) 0 ;
22503 int *arg3 = (int *) 0 ;
22504 void *argp1 = 0 ;
22505 int res1 = 0 ;
22506 int temp2 ;
22507 int res2 = SWIG_TMPOBJ ;
22508 int temp3 ;
22509 int res3 = SWIG_TMPOBJ ;
22510 PyObject *swig_obj[1] ;
22511
22512 arg2 = &temp2;
22513 arg3 = &temp3;
22514 if (!args) SWIG_fail;
22515 swig_obj[0] = args;
22516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22517 if (!SWIG_IsOK(res1)) {
22518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22519 }
22520 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 resultobj = SWIG_Py_Void();
22528 if (SWIG_IsTmpObj(res2)) {
22529 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22530 } else {
22531 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22532 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22533 }
22534 if (SWIG_IsTmpObj(res3)) {
22535 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22536 } else {
22537 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22538 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22539 }
22540 return resultobj;
22541 fail:
22542 return NULL;
22543 }
22544
22545
22546 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22547 PyObject *resultobj = 0;
22548 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22549 int *arg2 = (int *) 0 ;
22550 int *arg3 = (int *) 0 ;
22551 void *argp1 = 0 ;
22552 int res1 = 0 ;
22553 int temp2 ;
22554 int res2 = SWIG_TMPOBJ ;
22555 int temp3 ;
22556 int res3 = SWIG_TMPOBJ ;
22557 PyObject *swig_obj[1] ;
22558
22559 arg2 = &temp2;
22560 arg3 = &temp3;
22561 if (!args) SWIG_fail;
22562 swig_obj[0] = args;
22563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22564 if (!SWIG_IsOK(res1)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22566 }
22567 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 resultobj = SWIG_Py_Void();
22575 if (SWIG_IsTmpObj(res2)) {
22576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22577 } else {
22578 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22580 }
22581 if (SWIG_IsTmpObj(res3)) {
22582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22583 } else {
22584 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22585 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22586 }
22587 return resultobj;
22588 fail:
22589 return NULL;
22590 }
22591
22592
22593 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22594 PyObject *resultobj = 0;
22595 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22596 wxSize result;
22597 void *argp1 = 0 ;
22598 int res1 = 0 ;
22599 PyObject *swig_obj[1] ;
22600
22601 if (!args) SWIG_fail;
22602 swig_obj[0] = args;
22603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22604 if (!SWIG_IsOK(res1)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22606 }
22607 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22608 {
22609 PyThreadState* __tstate = wxPyBeginAllowThreads();
22610 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22622 PyObject *resultobj = 0;
22623 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22624 wxSize result;
22625 void *argp1 = 0 ;
22626 int res1 = 0 ;
22627 PyObject *swig_obj[1] ;
22628
22629 if (!args) SWIG_fail;
22630 swig_obj[0] = args;
22631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22632 if (!SWIG_IsOK(res1)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22634 }
22635 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22643 return resultobj;
22644 fail:
22645 return NULL;
22646 }
22647
22648
22649 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22650 PyObject *resultobj = 0;
22651 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22652 SwigValueWrapper<wxVisualAttributes > result;
22653 void *argp1 = 0 ;
22654 int res1 = 0 ;
22655 PyObject *swig_obj[1] ;
22656
22657 if (!args) SWIG_fail;
22658 swig_obj[0] = args;
22659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22660 if (!SWIG_IsOK(res1)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22662 }
22663 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 result = (arg1)->GetDefaultAttributes();
22667 wxPyEndAllowThreads(__tstate);
22668 if (PyErr_Occurred()) SWIG_fail;
22669 }
22670 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22671 return resultobj;
22672 fail:
22673 return NULL;
22674 }
22675
22676
22677 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22678 PyObject *resultobj = 0;
22679 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22680 void *argp1 = 0 ;
22681 int res1 = 0 ;
22682 PyObject *swig_obj[1] ;
22683
22684 if (!args) SWIG_fail;
22685 swig_obj[0] = args;
22686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22687 if (!SWIG_IsOK(res1)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22689 }
22690 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22691 {
22692 PyThreadState* __tstate = wxPyBeginAllowThreads();
22693 (arg1)->OnInternalIdle();
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 resultobj = SWIG_Py_Void();
22698 return resultobj;
22699 fail:
22700 return NULL;
22701 }
22702
22703
22704 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22705 PyObject *obj;
22706 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22708 return SWIG_Py_Void();
22709 }
22710
22711 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22712 return SWIG_Python_InitShadowInstance(args);
22713 }
22714
22715 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj = 0;
22717 wxWindow *arg1 = (wxWindow *) 0 ;
22718 int arg2 = (int) (int)-1 ;
22719 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22720 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22721 wxSize const &arg4_defvalue = wxDefaultSize ;
22722 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22723 long arg5 = (long) 0 ;
22724 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22725 wxString *arg6 = (wxString *) &arg6_defvalue ;
22726 wxPyScrolledWindow *result = 0 ;
22727 void *argp1 = 0 ;
22728 int res1 = 0 ;
22729 int val2 ;
22730 int ecode2 = 0 ;
22731 wxPoint temp3 ;
22732 wxSize temp4 ;
22733 long val5 ;
22734 int ecode5 = 0 ;
22735 bool temp6 = false ;
22736 PyObject * obj0 = 0 ;
22737 PyObject * obj1 = 0 ;
22738 PyObject * obj2 = 0 ;
22739 PyObject * obj3 = 0 ;
22740 PyObject * obj4 = 0 ;
22741 PyObject * obj5 = 0 ;
22742 char * kwnames[] = {
22743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22744 };
22745
22746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22748 if (!SWIG_IsOK(res1)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22750 }
22751 arg1 = reinterpret_cast< wxWindow * >(argp1);
22752 if (obj1) {
22753 ecode2 = SWIG_AsVal_int(obj1, &val2);
22754 if (!SWIG_IsOK(ecode2)) {
22755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22756 }
22757 arg2 = static_cast< int >(val2);
22758 }
22759 if (obj2) {
22760 {
22761 arg3 = &temp3;
22762 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22763 }
22764 }
22765 if (obj3) {
22766 {
22767 arg4 = &temp4;
22768 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22769 }
22770 }
22771 if (obj4) {
22772 ecode5 = SWIG_AsVal_long(obj4, &val5);
22773 if (!SWIG_IsOK(ecode5)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22775 }
22776 arg5 = static_cast< long >(val5);
22777 }
22778 if (obj5) {
22779 {
22780 arg6 = wxString_in_helper(obj5);
22781 if (arg6 == NULL) SWIG_fail;
22782 temp6 = true;
22783 }
22784 }
22785 {
22786 if (!wxPyCheckForApp()) SWIG_fail;
22787 PyThreadState* __tstate = wxPyBeginAllowThreads();
22788 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22793 {
22794 if (temp6)
22795 delete arg6;
22796 }
22797 return resultobj;
22798 fail:
22799 {
22800 if (temp6)
22801 delete arg6;
22802 }
22803 return NULL;
22804 }
22805
22806
22807 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22808 PyObject *resultobj = 0;
22809 wxPyScrolledWindow *result = 0 ;
22810
22811 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22812 {
22813 if (!wxPyCheckForApp()) SWIG_fail;
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22816 wxPyEndAllowThreads(__tstate);
22817 if (PyErr_Occurred()) SWIG_fail;
22818 }
22819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj = 0;
22828 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22829 PyObject *arg2 = (PyObject *) 0 ;
22830 PyObject *arg3 = (PyObject *) 0 ;
22831 void *argp1 = 0 ;
22832 int res1 = 0 ;
22833 PyObject * obj0 = 0 ;
22834 PyObject * obj1 = 0 ;
22835 PyObject * obj2 = 0 ;
22836 char * kwnames[] = {
22837 (char *) "self",(char *) "self",(char *) "_class", NULL
22838 };
22839
22840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22842 if (!SWIG_IsOK(res1)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22844 }
22845 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22846 arg2 = obj1;
22847 arg3 = obj2;
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 (arg1)->_setCallbackInfo(arg2,arg3);
22851 wxPyEndAllowThreads(__tstate);
22852 if (PyErr_Occurred()) SWIG_fail;
22853 }
22854 resultobj = SWIG_Py_Void();
22855 return resultobj;
22856 fail:
22857 return NULL;
22858 }
22859
22860
22861 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22862 PyObject *resultobj = 0;
22863 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22864 wxSize *arg2 = 0 ;
22865 void *argp1 = 0 ;
22866 int res1 = 0 ;
22867 wxSize temp2 ;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 char * kwnames[] = {
22871 (char *) "self",(char *) "size", NULL
22872 };
22873
22874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22876 if (!SWIG_IsOK(res1)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22878 }
22879 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22880 {
22881 arg2 = &temp2;
22882 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22883 }
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 (arg1)->SetBestSize((wxSize const &)*arg2);
22887 wxPyEndAllowThreads(__tstate);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
22890 resultobj = SWIG_Py_Void();
22891 return resultobj;
22892 fail:
22893 return NULL;
22894 }
22895
22896
22897 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22898 PyObject *resultobj = 0;
22899 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22900 wxDC *arg2 = (wxDC *) 0 ;
22901 bool result;
22902 void *argp1 = 0 ;
22903 int res1 = 0 ;
22904 void *argp2 = 0 ;
22905 int res2 = 0 ;
22906 PyObject * obj0 = 0 ;
22907 PyObject * obj1 = 0 ;
22908 char * kwnames[] = {
22909 (char *) "self",(char *) "dc", NULL
22910 };
22911
22912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22914 if (!SWIG_IsOK(res1)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22916 }
22917 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22919 if (!SWIG_IsOK(res2)) {
22920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22921 }
22922 arg2 = reinterpret_cast< wxDC * >(argp2);
22923 {
22924 PyThreadState* __tstate = wxPyBeginAllowThreads();
22925 result = (bool)(arg1)->DoEraseBackground(arg2);
22926 wxPyEndAllowThreads(__tstate);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 {
22930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22931 }
22932 return resultobj;
22933 fail:
22934 return NULL;
22935 }
22936
22937
22938 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22939 PyObject *resultobj = 0;
22940 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22941 int arg2 ;
22942 int arg3 ;
22943 int arg4 ;
22944 int arg5 ;
22945 void *argp1 = 0 ;
22946 int res1 = 0 ;
22947 int val2 ;
22948 int ecode2 = 0 ;
22949 int val3 ;
22950 int ecode3 = 0 ;
22951 int val4 ;
22952 int ecode4 = 0 ;
22953 int val5 ;
22954 int ecode5 = 0 ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 PyObject * obj2 = 0 ;
22958 PyObject * obj3 = 0 ;
22959 PyObject * obj4 = 0 ;
22960 char * kwnames[] = {
22961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22962 };
22963
22964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22966 if (!SWIG_IsOK(res1)) {
22967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22968 }
22969 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22970 ecode2 = SWIG_AsVal_int(obj1, &val2);
22971 if (!SWIG_IsOK(ecode2)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22973 }
22974 arg2 = static_cast< int >(val2);
22975 ecode3 = SWIG_AsVal_int(obj2, &val3);
22976 if (!SWIG_IsOK(ecode3)) {
22977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22978 }
22979 arg3 = static_cast< int >(val3);
22980 ecode4 = SWIG_AsVal_int(obj3, &val4);
22981 if (!SWIG_IsOK(ecode4)) {
22982 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22983 }
22984 arg4 = static_cast< int >(val4);
22985 ecode5 = SWIG_AsVal_int(obj4, &val5);
22986 if (!SWIG_IsOK(ecode5)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22988 }
22989 arg5 = static_cast< int >(val5);
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22993 wxPyEndAllowThreads(__tstate);
22994 if (PyErr_Occurred()) SWIG_fail;
22995 }
22996 resultobj = SWIG_Py_Void();
22997 return resultobj;
22998 fail:
22999 return NULL;
23000 }
23001
23002
23003 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23004 PyObject *resultobj = 0;
23005 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23006 int arg2 ;
23007 int arg3 ;
23008 int arg4 ;
23009 int arg5 ;
23010 int arg6 = (int) wxSIZE_AUTO ;
23011 void *argp1 = 0 ;
23012 int res1 = 0 ;
23013 int val2 ;
23014 int ecode2 = 0 ;
23015 int val3 ;
23016 int ecode3 = 0 ;
23017 int val4 ;
23018 int ecode4 = 0 ;
23019 int val5 ;
23020 int ecode5 = 0 ;
23021 int val6 ;
23022 int ecode6 = 0 ;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 PyObject * obj2 = 0 ;
23026 PyObject * obj3 = 0 ;
23027 PyObject * obj4 = 0 ;
23028 PyObject * obj5 = 0 ;
23029 char * kwnames[] = {
23030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23031 };
23032
23033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23035 if (!SWIG_IsOK(res1)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23037 }
23038 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23039 ecode2 = SWIG_AsVal_int(obj1, &val2);
23040 if (!SWIG_IsOK(ecode2)) {
23041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23042 }
23043 arg2 = static_cast< int >(val2);
23044 ecode3 = SWIG_AsVal_int(obj2, &val3);
23045 if (!SWIG_IsOK(ecode3)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23047 }
23048 arg3 = static_cast< int >(val3);
23049 ecode4 = SWIG_AsVal_int(obj3, &val4);
23050 if (!SWIG_IsOK(ecode4)) {
23051 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23052 }
23053 arg4 = static_cast< int >(val4);
23054 ecode5 = SWIG_AsVal_int(obj4, &val5);
23055 if (!SWIG_IsOK(ecode5)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23057 }
23058 arg5 = static_cast< int >(val5);
23059 if (obj5) {
23060 ecode6 = SWIG_AsVal_int(obj5, &val6);
23061 if (!SWIG_IsOK(ecode6)) {
23062 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23063 }
23064 arg6 = static_cast< int >(val6);
23065 }
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 resultobj = SWIG_Py_Void();
23073 return resultobj;
23074 fail:
23075 return NULL;
23076 }
23077
23078
23079 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23080 PyObject *resultobj = 0;
23081 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23082 int arg2 ;
23083 int arg3 ;
23084 void *argp1 = 0 ;
23085 int res1 = 0 ;
23086 int val2 ;
23087 int ecode2 = 0 ;
23088 int val3 ;
23089 int ecode3 = 0 ;
23090 PyObject * obj0 = 0 ;
23091 PyObject * obj1 = 0 ;
23092 PyObject * obj2 = 0 ;
23093 char * kwnames[] = {
23094 (char *) "self",(char *) "width",(char *) "height", NULL
23095 };
23096
23097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23099 if (!SWIG_IsOK(res1)) {
23100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23101 }
23102 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23103 ecode2 = SWIG_AsVal_int(obj1, &val2);
23104 if (!SWIG_IsOK(ecode2)) {
23105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23106 }
23107 arg2 = static_cast< int >(val2);
23108 ecode3 = SWIG_AsVal_int(obj2, &val3);
23109 if (!SWIG_IsOK(ecode3)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23111 }
23112 arg3 = static_cast< int >(val3);
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 (arg1)->DoSetClientSize(arg2,arg3);
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 resultobj = SWIG_Py_Void();
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj = 0;
23128 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23129 int arg2 ;
23130 int arg3 ;
23131 void *argp1 = 0 ;
23132 int res1 = 0 ;
23133 int val2 ;
23134 int ecode2 = 0 ;
23135 int val3 ;
23136 int ecode3 = 0 ;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 PyObject * obj2 = 0 ;
23140 char * kwnames[] = {
23141 (char *) "self",(char *) "x",(char *) "y", NULL
23142 };
23143
23144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23146 if (!SWIG_IsOK(res1)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23148 }
23149 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23150 ecode2 = SWIG_AsVal_int(obj1, &val2);
23151 if (!SWIG_IsOK(ecode2)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23153 }
23154 arg2 = static_cast< int >(val2);
23155 ecode3 = SWIG_AsVal_int(obj2, &val3);
23156 if (!SWIG_IsOK(ecode3)) {
23157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23158 }
23159 arg3 = static_cast< int >(val3);
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 (arg1)->DoSetVirtualSize(arg2,arg3);
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 resultobj = SWIG_Py_Void();
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23174 PyObject *resultobj = 0;
23175 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23176 int *arg2 = (int *) 0 ;
23177 int *arg3 = (int *) 0 ;
23178 void *argp1 = 0 ;
23179 int res1 = 0 ;
23180 int temp2 ;
23181 int res2 = SWIG_TMPOBJ ;
23182 int temp3 ;
23183 int res3 = SWIG_TMPOBJ ;
23184 PyObject *swig_obj[1] ;
23185
23186 arg2 = &temp2;
23187 arg3 = &temp3;
23188 if (!args) SWIG_fail;
23189 swig_obj[0] = args;
23190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23191 if (!SWIG_IsOK(res1)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23193 }
23194 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 resultobj = SWIG_Py_Void();
23202 if (SWIG_IsTmpObj(res2)) {
23203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23204 } else {
23205 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23207 }
23208 if (SWIG_IsTmpObj(res3)) {
23209 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23210 } else {
23211 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23212 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23213 }
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23221 PyObject *resultobj = 0;
23222 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23223 int *arg2 = (int *) 0 ;
23224 int *arg3 = (int *) 0 ;
23225 void *argp1 = 0 ;
23226 int res1 = 0 ;
23227 int temp2 ;
23228 int res2 = SWIG_TMPOBJ ;
23229 int temp3 ;
23230 int res3 = SWIG_TMPOBJ ;
23231 PyObject *swig_obj[1] ;
23232
23233 arg2 = &temp2;
23234 arg3 = &temp3;
23235 if (!args) SWIG_fail;
23236 swig_obj[0] = args;
23237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23240 }
23241 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 resultobj = SWIG_Py_Void();
23249 if (SWIG_IsTmpObj(res2)) {
23250 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23251 } else {
23252 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23253 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23254 }
23255 if (SWIG_IsTmpObj(res3)) {
23256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23257 } else {
23258 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23260 }
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23268 PyObject *resultobj = 0;
23269 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23270 int *arg2 = (int *) 0 ;
23271 int *arg3 = (int *) 0 ;
23272 void *argp1 = 0 ;
23273 int res1 = 0 ;
23274 int temp2 ;
23275 int res2 = SWIG_TMPOBJ ;
23276 int temp3 ;
23277 int res3 = SWIG_TMPOBJ ;
23278 PyObject *swig_obj[1] ;
23279
23280 arg2 = &temp2;
23281 arg3 = &temp3;
23282 if (!args) SWIG_fail;
23283 swig_obj[0] = args;
23284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23285 if (!SWIG_IsOK(res1)) {
23286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23287 }
23288 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23289 {
23290 PyThreadState* __tstate = wxPyBeginAllowThreads();
23291 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 resultobj = SWIG_Py_Void();
23296 if (SWIG_IsTmpObj(res2)) {
23297 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23298 } else {
23299 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23300 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23301 }
23302 if (SWIG_IsTmpObj(res3)) {
23303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23304 } else {
23305 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23307 }
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23315 PyObject *resultobj = 0;
23316 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23317 wxSize result;
23318 void *argp1 = 0 ;
23319 int res1 = 0 ;
23320 PyObject *swig_obj[1] ;
23321
23322 if (!args) SWIG_fail;
23323 swig_obj[0] = args;
23324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23325 if (!SWIG_IsOK(res1)) {
23326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23327 }
23328 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23332 wxPyEndAllowThreads(__tstate);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 }
23335 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23336 return resultobj;
23337 fail:
23338 return NULL;
23339 }
23340
23341
23342 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23343 PyObject *resultobj = 0;
23344 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23345 wxSize result;
23346 void *argp1 = 0 ;
23347 int res1 = 0 ;
23348 PyObject *swig_obj[1] ;
23349
23350 if (!args) SWIG_fail;
23351 swig_obj[0] = args;
23352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23353 if (!SWIG_IsOK(res1)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23355 }
23356 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23360 wxPyEndAllowThreads(__tstate);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 }
23363 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23364 return resultobj;
23365 fail:
23366 return NULL;
23367 }
23368
23369
23370 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23371 PyObject *resultobj = 0;
23372 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23373 SwigValueWrapper<wxVisualAttributes > result;
23374 void *argp1 = 0 ;
23375 int res1 = 0 ;
23376 PyObject *swig_obj[1] ;
23377
23378 if (!args) SWIG_fail;
23379 swig_obj[0] = args;
23380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23381 if (!SWIG_IsOK(res1)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23383 }
23384 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (arg1)->GetDefaultAttributes();
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23392 return resultobj;
23393 fail:
23394 return NULL;
23395 }
23396
23397
23398 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23399 PyObject *resultobj = 0;
23400 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23401 void *argp1 = 0 ;
23402 int res1 = 0 ;
23403 PyObject *swig_obj[1] ;
23404
23405 if (!args) SWIG_fail;
23406 swig_obj[0] = args;
23407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23408 if (!SWIG_IsOK(res1)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23410 }
23411 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23412 {
23413 PyThreadState* __tstate = wxPyBeginAllowThreads();
23414 (arg1)->OnInternalIdle();
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 resultobj = SWIG_Py_Void();
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23426 PyObject *obj;
23427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23429 return SWIG_Py_Void();
23430 }
23431
23432 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23433 return SWIG_Python_InitShadowInstance(args);
23434 }
23435
23436 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23437 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23438 return 1;
23439 }
23440
23441
23442 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23443 PyObject *pyobj = 0;
23444
23445 {
23446 #if wxUSE_UNICODE
23447 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23448 #else
23449 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23450 #endif
23451 }
23452 return pyobj;
23453 }
23454
23455
23456 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23457 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23458 return 1;
23459 }
23460
23461
23462 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23463 PyObject *pyobj = 0;
23464
23465 {
23466 #if wxUSE_UNICODE
23467 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23468 #else
23469 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23470 #endif
23471 }
23472 return pyobj;
23473 }
23474
23475
23476 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23477 PyObject *resultobj = 0;
23478 wxPrintData *result = 0 ;
23479
23480 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 result = (wxPrintData *)new wxPrintData();
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23495 PyObject *resultobj = 0;
23496 wxPrintData *arg1 = 0 ;
23497 wxPrintData *result = 0 ;
23498 void *argp1 = 0 ;
23499 int res1 = 0 ;
23500
23501 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23503 if (!SWIG_IsOK(res1)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23505 }
23506 if (!argp1) {
23507 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23508 }
23509 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23517 return resultobj;
23518 fail:
23519 return NULL;
23520 }
23521
23522
23523 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23524 int argc;
23525 PyObject *argv[2];
23526
23527 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23528 --argc;
23529 if (argc == 0) {
23530 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23531 }
23532 if (argc == 1) {
23533 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23534 }
23535
23536 fail:
23537 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23538 return NULL;
23539 }
23540
23541
23542 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23543 PyObject *resultobj = 0;
23544 wxPrintData *arg1 = (wxPrintData *) 0 ;
23545 void *argp1 = 0 ;
23546 int res1 = 0 ;
23547 PyObject *swig_obj[1] ;
23548
23549 if (!args) SWIG_fail;
23550 swig_obj[0] = args;
23551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23552 if (!SWIG_IsOK(res1)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23554 }
23555 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 delete arg1;
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 resultobj = SWIG_Py_Void();
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23571 PyObject *resultobj = 0;
23572 wxPrintData *arg1 = (wxPrintData *) 0 ;
23573 int result;
23574 void *argp1 = 0 ;
23575 int res1 = 0 ;
23576 PyObject *swig_obj[1] ;
23577
23578 if (!args) SWIG_fail;
23579 swig_obj[0] = args;
23580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23581 if (!SWIG_IsOK(res1)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23583 }
23584 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (int)(arg1)->GetNoCopies();
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 resultobj = SWIG_From_int(static_cast< int >(result));
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23599 PyObject *resultobj = 0;
23600 wxPrintData *arg1 = (wxPrintData *) 0 ;
23601 bool result;
23602 void *argp1 = 0 ;
23603 int res1 = 0 ;
23604 PyObject *swig_obj[1] ;
23605
23606 if (!args) SWIG_fail;
23607 swig_obj[0] = args;
23608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23609 if (!SWIG_IsOK(res1)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23611 }
23612 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = (bool)(arg1)->GetCollate();
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 {
23620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23621 }
23622 return resultobj;
23623 fail:
23624 return NULL;
23625 }
23626
23627
23628 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23629 PyObject *resultobj = 0;
23630 wxPrintData *arg1 = (wxPrintData *) 0 ;
23631 int result;
23632 void *argp1 = 0 ;
23633 int res1 = 0 ;
23634 PyObject *swig_obj[1] ;
23635
23636 if (!args) SWIG_fail;
23637 swig_obj[0] = args;
23638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23639 if (!SWIG_IsOK(res1)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23641 }
23642 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = (int)(arg1)->GetOrientation();
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 resultobj = SWIG_From_int(static_cast< int >(result));
23650 return resultobj;
23651 fail:
23652 return NULL;
23653 }
23654
23655
23656 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23657 PyObject *resultobj = 0;
23658 wxPrintData *arg1 = (wxPrintData *) 0 ;
23659 bool result;
23660 void *argp1 = 0 ;
23661 int res1 = 0 ;
23662 PyObject *swig_obj[1] ;
23663
23664 if (!args) SWIG_fail;
23665 swig_obj[0] = args;
23666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23667 if (!SWIG_IsOK(res1)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23669 }
23670 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (bool)(arg1)->Ok();
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 {
23678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23679 }
23680 return resultobj;
23681 fail:
23682 return NULL;
23683 }
23684
23685
23686 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23687 PyObject *resultobj = 0;
23688 wxPrintData *arg1 = (wxPrintData *) 0 ;
23689 wxString *result = 0 ;
23690 void *argp1 = 0 ;
23691 int res1 = 0 ;
23692 PyObject *swig_obj[1] ;
23693
23694 if (!args) SWIG_fail;
23695 swig_obj[0] = args;
23696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23697 if (!SWIG_IsOK(res1)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23699 }
23700 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 {
23704 wxString const &_result_ref = (arg1)->GetPrinterName();
23705 result = (wxString *) &_result_ref;
23706 }
23707 wxPyEndAllowThreads(__tstate);
23708 if (PyErr_Occurred()) SWIG_fail;
23709 }
23710 {
23711 #if wxUSE_UNICODE
23712 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23713 #else
23714 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23715 #endif
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23724 PyObject *resultobj = 0;
23725 wxPrintData *arg1 = (wxPrintData *) 0 ;
23726 bool result;
23727 void *argp1 = 0 ;
23728 int res1 = 0 ;
23729 PyObject *swig_obj[1] ;
23730
23731 if (!args) SWIG_fail;
23732 swig_obj[0] = args;
23733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23734 if (!SWIG_IsOK(res1)) {
23735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23736 }
23737 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = (bool)(arg1)->GetColour();
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 {
23745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23754 PyObject *resultobj = 0;
23755 wxPrintData *arg1 = (wxPrintData *) 0 ;
23756 wxDuplexMode 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_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23766 }
23767 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (wxDuplexMode)(arg1)->GetDuplex();
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 resultobj = SWIG_From_int(static_cast< int >(result));
23775 return resultobj;
23776 fail:
23777 return NULL;
23778 }
23779
23780
23781 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23782 PyObject *resultobj = 0;
23783 wxPrintData *arg1 = (wxPrintData *) 0 ;
23784 wxPaperSize result;
23785 void *argp1 = 0 ;
23786 int res1 = 0 ;
23787 PyObject *swig_obj[1] ;
23788
23789 if (!args) SWIG_fail;
23790 swig_obj[0] = args;
23791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23792 if (!SWIG_IsOK(res1)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23794 }
23795 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (wxPaperSize)(arg1)->GetPaperId();
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 resultobj = SWIG_From_int(static_cast< int >(result));
23803 return resultobj;
23804 fail:
23805 return NULL;
23806 }
23807
23808
23809 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23810 PyObject *resultobj = 0;
23811 wxPrintData *arg1 = (wxPrintData *) 0 ;
23812 wxSize *result = 0 ;
23813 void *argp1 = 0 ;
23814 int res1 = 0 ;
23815 PyObject *swig_obj[1] ;
23816
23817 if (!args) SWIG_fail;
23818 swig_obj[0] = args;
23819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23820 if (!SWIG_IsOK(res1)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23822 }
23823 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 {
23827 wxSize const &_result_ref = (arg1)->GetPaperSize();
23828 result = (wxSize *) &_result_ref;
23829 }
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23841 PyObject *resultobj = 0;
23842 wxPrintData *arg1 = (wxPrintData *) 0 ;
23843 int result;
23844 void *argp1 = 0 ;
23845 int res1 = 0 ;
23846 PyObject *swig_obj[1] ;
23847
23848 if (!args) SWIG_fail;
23849 swig_obj[0] = args;
23850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23851 if (!SWIG_IsOK(res1)) {
23852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23853 }
23854 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 result = (int)(arg1)->GetQuality();
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 resultobj = SWIG_From_int(static_cast< int >(result));
23862 return resultobj;
23863 fail:
23864 return NULL;
23865 }
23866
23867
23868 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23869 PyObject *resultobj = 0;
23870 wxPrintData *arg1 = (wxPrintData *) 0 ;
23871 wxPrintBin result;
23872 void *argp1 = 0 ;
23873 int res1 = 0 ;
23874 PyObject *swig_obj[1] ;
23875
23876 if (!args) SWIG_fail;
23877 swig_obj[0] = args;
23878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23879 if (!SWIG_IsOK(res1)) {
23880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23881 }
23882 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (wxPrintBin)(arg1)->GetBin();
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 resultobj = SWIG_From_int(static_cast< int >(result));
23890 return resultobj;
23891 fail:
23892 return NULL;
23893 }
23894
23895
23896 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23897 PyObject *resultobj = 0;
23898 wxPrintData *arg1 = (wxPrintData *) 0 ;
23899 wxPrintMode result;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 PyObject *swig_obj[1] ;
23903
23904 if (!args) SWIG_fail;
23905 swig_obj[0] = args;
23906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23907 if (!SWIG_IsOK(res1)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23909 }
23910 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 resultobj = SWIG_From_int(static_cast< int >(result));
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj = 0;
23926 wxPrintData *arg1 = (wxPrintData *) 0 ;
23927 int arg2 ;
23928 void *argp1 = 0 ;
23929 int res1 = 0 ;
23930 int val2 ;
23931 int ecode2 = 0 ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 char * kwnames[] = {
23935 (char *) "self",(char *) "v", NULL
23936 };
23937
23938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23940 if (!SWIG_IsOK(res1)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23942 }
23943 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23944 ecode2 = SWIG_AsVal_int(obj1, &val2);
23945 if (!SWIG_IsOK(ecode2)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23947 }
23948 arg2 = static_cast< int >(val2);
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 (arg1)->SetNoCopies(arg2);
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 resultobj = SWIG_Py_Void();
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj = 0;
23964 wxPrintData *arg1 = (wxPrintData *) 0 ;
23965 bool arg2 ;
23966 void *argp1 = 0 ;
23967 int res1 = 0 ;
23968 bool val2 ;
23969 int ecode2 = 0 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char * kwnames[] = {
23973 (char *) "self",(char *) "flag", NULL
23974 };
23975
23976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23978 if (!SWIG_IsOK(res1)) {
23979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23980 }
23981 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23982 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23983 if (!SWIG_IsOK(ecode2)) {
23984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23985 }
23986 arg2 = static_cast< bool >(val2);
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 (arg1)->SetCollate(arg2);
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 resultobj = SWIG_Py_Void();
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj = 0;
24002 wxPrintData *arg1 = (wxPrintData *) 0 ;
24003 int arg2 ;
24004 void *argp1 = 0 ;
24005 int res1 = 0 ;
24006 int val2 ;
24007 int ecode2 = 0 ;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 char * kwnames[] = {
24011 (char *) "self",(char *) "orient", NULL
24012 };
24013
24014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24016 if (!SWIG_IsOK(res1)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24018 }
24019 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24020 ecode2 = SWIG_AsVal_int(obj1, &val2);
24021 if (!SWIG_IsOK(ecode2)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24023 }
24024 arg2 = static_cast< int >(val2);
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 (arg1)->SetOrientation(arg2);
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 resultobj = SWIG_Py_Void();
24032 return resultobj;
24033 fail:
24034 return NULL;
24035 }
24036
24037
24038 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24039 PyObject *resultobj = 0;
24040 wxPrintData *arg1 = (wxPrintData *) 0 ;
24041 wxString *arg2 = 0 ;
24042 void *argp1 = 0 ;
24043 int res1 = 0 ;
24044 bool temp2 = false ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char * kwnames[] = {
24048 (char *) "self",(char *) "name", NULL
24049 };
24050
24051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24053 if (!SWIG_IsOK(res1)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24055 }
24056 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24057 {
24058 arg2 = wxString_in_helper(obj1);
24059 if (arg2 == NULL) SWIG_fail;
24060 temp2 = true;
24061 }
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 (arg1)->SetPrinterName((wxString const &)*arg2);
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = SWIG_Py_Void();
24069 {
24070 if (temp2)
24071 delete arg2;
24072 }
24073 return resultobj;
24074 fail:
24075 {
24076 if (temp2)
24077 delete arg2;
24078 }
24079 return NULL;
24080 }
24081
24082
24083 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj = 0;
24085 wxPrintData *arg1 = (wxPrintData *) 0 ;
24086 bool arg2 ;
24087 void *argp1 = 0 ;
24088 int res1 = 0 ;
24089 bool val2 ;
24090 int ecode2 = 0 ;
24091 PyObject * obj0 = 0 ;
24092 PyObject * obj1 = 0 ;
24093 char * kwnames[] = {
24094 (char *) "self",(char *) "colour", NULL
24095 };
24096
24097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24099 if (!SWIG_IsOK(res1)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24101 }
24102 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24103 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24104 if (!SWIG_IsOK(ecode2)) {
24105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24106 }
24107 arg2 = static_cast< bool >(val2);
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 (arg1)->SetColour(arg2);
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 resultobj = SWIG_Py_Void();
24115 return resultobj;
24116 fail:
24117 return NULL;
24118 }
24119
24120
24121 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj = 0;
24123 wxPrintData *arg1 = (wxPrintData *) 0 ;
24124 wxDuplexMode arg2 ;
24125 void *argp1 = 0 ;
24126 int res1 = 0 ;
24127 int val2 ;
24128 int ecode2 = 0 ;
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 char * kwnames[] = {
24132 (char *) "self",(char *) "duplex", NULL
24133 };
24134
24135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24137 if (!SWIG_IsOK(res1)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24139 }
24140 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24141 ecode2 = SWIG_AsVal_int(obj1, &val2);
24142 if (!SWIG_IsOK(ecode2)) {
24143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24144 }
24145 arg2 = static_cast< wxDuplexMode >(val2);
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 (arg1)->SetDuplex(arg2);
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 resultobj = SWIG_Py_Void();
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj = 0;
24161 wxPrintData *arg1 = (wxPrintData *) 0 ;
24162 wxPaperSize arg2 ;
24163 void *argp1 = 0 ;
24164 int res1 = 0 ;
24165 int val2 ;
24166 int ecode2 = 0 ;
24167 PyObject * obj0 = 0 ;
24168 PyObject * obj1 = 0 ;
24169 char * kwnames[] = {
24170 (char *) "self",(char *) "sizeId", NULL
24171 };
24172
24173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24175 if (!SWIG_IsOK(res1)) {
24176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24177 }
24178 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24179 ecode2 = SWIG_AsVal_int(obj1, &val2);
24180 if (!SWIG_IsOK(ecode2)) {
24181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24182 }
24183 arg2 = static_cast< wxPaperSize >(val2);
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
24186 (arg1)->SetPaperId(arg2);
24187 wxPyEndAllowThreads(__tstate);
24188 if (PyErr_Occurred()) SWIG_fail;
24189 }
24190 resultobj = SWIG_Py_Void();
24191 return resultobj;
24192 fail:
24193 return NULL;
24194 }
24195
24196
24197 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj = 0;
24199 wxPrintData *arg1 = (wxPrintData *) 0 ;
24200 wxSize *arg2 = 0 ;
24201 void *argp1 = 0 ;
24202 int res1 = 0 ;
24203 wxSize temp2 ;
24204 PyObject * obj0 = 0 ;
24205 PyObject * obj1 = 0 ;
24206 char * kwnames[] = {
24207 (char *) "self",(char *) "sz", NULL
24208 };
24209
24210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24212 if (!SWIG_IsOK(res1)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24214 }
24215 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24216 {
24217 arg2 = &temp2;
24218 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24219 }
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 (arg1)->SetPaperSize((wxSize const &)*arg2);
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 resultobj = SWIG_Py_Void();
24227 return resultobj;
24228 fail:
24229 return NULL;
24230 }
24231
24232
24233 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj = 0;
24235 wxPrintData *arg1 = (wxPrintData *) 0 ;
24236 int arg2 ;
24237 void *argp1 = 0 ;
24238 int res1 = 0 ;
24239 int val2 ;
24240 int ecode2 = 0 ;
24241 PyObject * obj0 = 0 ;
24242 PyObject * obj1 = 0 ;
24243 char * kwnames[] = {
24244 (char *) "self",(char *) "quality", NULL
24245 };
24246
24247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24249 if (!SWIG_IsOK(res1)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24251 }
24252 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24253 ecode2 = SWIG_AsVal_int(obj1, &val2);
24254 if (!SWIG_IsOK(ecode2)) {
24255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24256 }
24257 arg2 = static_cast< int >(val2);
24258 {
24259 PyThreadState* __tstate = wxPyBeginAllowThreads();
24260 (arg1)->SetQuality(arg2);
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 resultobj = SWIG_Py_Void();
24265 return resultobj;
24266 fail:
24267 return NULL;
24268 }
24269
24270
24271 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24272 PyObject *resultobj = 0;
24273 wxPrintData *arg1 = (wxPrintData *) 0 ;
24274 wxPrintBin arg2 ;
24275 void *argp1 = 0 ;
24276 int res1 = 0 ;
24277 int val2 ;
24278 int ecode2 = 0 ;
24279 PyObject * obj0 = 0 ;
24280 PyObject * obj1 = 0 ;
24281 char * kwnames[] = {
24282 (char *) "self",(char *) "bin", NULL
24283 };
24284
24285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24287 if (!SWIG_IsOK(res1)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24289 }
24290 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24291 ecode2 = SWIG_AsVal_int(obj1, &val2);
24292 if (!SWIG_IsOK(ecode2)) {
24293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24294 }
24295 arg2 = static_cast< wxPrintBin >(val2);
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 (arg1)->SetBin(arg2);
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 resultobj = SWIG_Py_Void();
24303 return resultobj;
24304 fail:
24305 return NULL;
24306 }
24307
24308
24309 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24310 PyObject *resultobj = 0;
24311 wxPrintData *arg1 = (wxPrintData *) 0 ;
24312 wxPrintMode arg2 ;
24313 void *argp1 = 0 ;
24314 int res1 = 0 ;
24315 int val2 ;
24316 int ecode2 = 0 ;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
24319 char * kwnames[] = {
24320 (char *) "self",(char *) "printMode", NULL
24321 };
24322
24323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24325 if (!SWIG_IsOK(res1)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24327 }
24328 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24329 ecode2 = SWIG_AsVal_int(obj1, &val2);
24330 if (!SWIG_IsOK(ecode2)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24332 }
24333 arg2 = static_cast< wxPrintMode >(val2);
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 (arg1)->SetPrintMode(arg2);
24337 wxPyEndAllowThreads(__tstate);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 resultobj = SWIG_Py_Void();
24341 return resultobj;
24342 fail:
24343 return NULL;
24344 }
24345
24346
24347 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24348 PyObject *resultobj = 0;
24349 wxPrintData *arg1 = (wxPrintData *) 0 ;
24350 wxString result;
24351 void *argp1 = 0 ;
24352 int res1 = 0 ;
24353 PyObject *swig_obj[1] ;
24354
24355 if (!args) SWIG_fail;
24356 swig_obj[0] = args;
24357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24358 if (!SWIG_IsOK(res1)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24360 }
24361 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = ((wxPrintData const *)arg1)->GetFilename();
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 {
24369 #if wxUSE_UNICODE
24370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24371 #else
24372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24373 #endif
24374 }
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24382 PyObject *resultobj = 0;
24383 wxPrintData *arg1 = (wxPrintData *) 0 ;
24384 wxString *arg2 = 0 ;
24385 void *argp1 = 0 ;
24386 int res1 = 0 ;
24387 bool temp2 = false ;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj1 = 0 ;
24390 char * kwnames[] = {
24391 (char *) "self",(char *) "filename", NULL
24392 };
24393
24394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24396 if (!SWIG_IsOK(res1)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24398 }
24399 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24400 {
24401 arg2 = wxString_in_helper(obj1);
24402 if (arg2 == NULL) SWIG_fail;
24403 temp2 = true;
24404 }
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 (arg1)->SetFilename((wxString const &)*arg2);
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 resultobj = SWIG_Py_Void();
24412 {
24413 if (temp2)
24414 delete arg2;
24415 }
24416 return resultobj;
24417 fail:
24418 {
24419 if (temp2)
24420 delete arg2;
24421 }
24422 return NULL;
24423 }
24424
24425
24426 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24427 PyObject *resultobj = 0;
24428 wxPrintData *arg1 = (wxPrintData *) 0 ;
24429 PyObject *result = 0 ;
24430 void *argp1 = 0 ;
24431 int res1 = 0 ;
24432 PyObject *swig_obj[1] ;
24433
24434 if (!args) SWIG_fail;
24435 swig_obj[0] = args;
24436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24437 if (!SWIG_IsOK(res1)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24439 }
24440 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 resultobj = result;
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj = 0;
24456 wxPrintData *arg1 = (wxPrintData *) 0 ;
24457 PyObject *arg2 = (PyObject *) 0 ;
24458 void *argp1 = 0 ;
24459 int res1 = 0 ;
24460 PyObject * obj0 = 0 ;
24461 PyObject * obj1 = 0 ;
24462 char * kwnames[] = {
24463 (char *) "self",(char *) "data", NULL
24464 };
24465
24466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24468 if (!SWIG_IsOK(res1)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24470 }
24471 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24472 arg2 = obj1;
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 wxPrintData_SetPrivData(arg1,arg2);
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 resultobj = SWIG_Py_Void();
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24487 PyObject *obj;
24488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24489 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24490 return SWIG_Py_Void();
24491 }
24492
24493 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24494 return SWIG_Python_InitShadowInstance(args);
24495 }
24496
24497 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24498 PyObject *resultobj = 0;
24499 wxPageSetupDialogData *result = 0 ;
24500
24501 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24502 {
24503 PyThreadState* __tstate = wxPyBeginAllowThreads();
24504 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24509 return resultobj;
24510 fail:
24511 return NULL;
24512 }
24513
24514
24515 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24516 PyObject *resultobj = 0;
24517 wxPageSetupDialogData *arg1 = 0 ;
24518 wxPageSetupDialogData *result = 0 ;
24519 void *argp1 = 0 ;
24520 int res1 = 0 ;
24521
24522 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24524 if (!SWIG_IsOK(res1)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24526 }
24527 if (!argp1) {
24528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24529 }
24530 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24538 return resultobj;
24539 fail:
24540 return NULL;
24541 }
24542
24543
24544 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24545 PyObject *resultobj = 0;
24546 wxPrintData *arg1 = 0 ;
24547 wxPageSetupDialogData *result = 0 ;
24548 void *argp1 = 0 ;
24549 int res1 = 0 ;
24550
24551 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24553 if (!SWIG_IsOK(res1)) {
24554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24555 }
24556 if (!argp1) {
24557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24558 }
24559 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24560 {
24561 PyThreadState* __tstate = wxPyBeginAllowThreads();
24562 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24574 int argc;
24575 PyObject *argv[2];
24576
24577 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24578 --argc;
24579 if (argc == 0) {
24580 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24581 }
24582 if (argc == 1) {
24583 int _v = 0;
24584 {
24585 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24586 _v = SWIG_CheckState(res);
24587 }
24588 if (!_v) goto check_2;
24589 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24590 }
24591 check_2:
24592
24593 if (argc == 1) {
24594 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24595 }
24596
24597 fail:
24598 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24599 return NULL;
24600 }
24601
24602
24603 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24604 PyObject *resultobj = 0;
24605 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24606 void *argp1 = 0 ;
24607 int res1 = 0 ;
24608 PyObject *swig_obj[1] ;
24609
24610 if (!args) SWIG_fail;
24611 swig_obj[0] = args;
24612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24613 if (!SWIG_IsOK(res1)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24615 }
24616 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 delete arg1;
24620
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 resultobj = SWIG_Py_Void();
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj = 0;
24633 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24634 bool arg2 ;
24635 void *argp1 = 0 ;
24636 int res1 = 0 ;
24637 bool val2 ;
24638 int ecode2 = 0 ;
24639 PyObject * obj0 = 0 ;
24640 PyObject * obj1 = 0 ;
24641 char * kwnames[] = {
24642 (char *) "self",(char *) "flag", NULL
24643 };
24644
24645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24647 if (!SWIG_IsOK(res1)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24649 }
24650 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24651 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24652 if (!SWIG_IsOK(ecode2)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24654 }
24655 arg2 = static_cast< bool >(val2);
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->EnableHelp(arg2);
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 resultobj = SWIG_Py_Void();
24663 return resultobj;
24664 fail:
24665 return NULL;
24666 }
24667
24668
24669 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24670 PyObject *resultobj = 0;
24671 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24672 bool arg2 ;
24673 void *argp1 = 0 ;
24674 int res1 = 0 ;
24675 bool val2 ;
24676 int ecode2 = 0 ;
24677 PyObject * obj0 = 0 ;
24678 PyObject * obj1 = 0 ;
24679 char * kwnames[] = {
24680 (char *) "self",(char *) "flag", NULL
24681 };
24682
24683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24685 if (!SWIG_IsOK(res1)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24687 }
24688 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24689 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24690 if (!SWIG_IsOK(ecode2)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24692 }
24693 arg2 = static_cast< bool >(val2);
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 (arg1)->EnableMargins(arg2);
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 resultobj = SWIG_Py_Void();
24701 return resultobj;
24702 fail:
24703 return NULL;
24704 }
24705
24706
24707 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj = 0;
24709 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24710 bool arg2 ;
24711 void *argp1 = 0 ;
24712 int res1 = 0 ;
24713 bool val2 ;
24714 int ecode2 = 0 ;
24715 PyObject * obj0 = 0 ;
24716 PyObject * obj1 = 0 ;
24717 char * kwnames[] = {
24718 (char *) "self",(char *) "flag", NULL
24719 };
24720
24721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24723 if (!SWIG_IsOK(res1)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24725 }
24726 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24727 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24728 if (!SWIG_IsOK(ecode2)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24730 }
24731 arg2 = static_cast< bool >(val2);
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->EnableOrientation(arg2);
24735 wxPyEndAllowThreads(__tstate);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 }
24738 resultobj = SWIG_Py_Void();
24739 return resultobj;
24740 fail:
24741 return NULL;
24742 }
24743
24744
24745 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj = 0;
24747 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24748 bool arg2 ;
24749 void *argp1 = 0 ;
24750 int res1 = 0 ;
24751 bool val2 ;
24752 int ecode2 = 0 ;
24753 PyObject * obj0 = 0 ;
24754 PyObject * obj1 = 0 ;
24755 char * kwnames[] = {
24756 (char *) "self",(char *) "flag", NULL
24757 };
24758
24759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24761 if (!SWIG_IsOK(res1)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24763 }
24764 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24765 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24766 if (!SWIG_IsOK(ecode2)) {
24767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24768 }
24769 arg2 = static_cast< bool >(val2);
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 (arg1)->EnablePaper(arg2);
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 resultobj = SWIG_Py_Void();
24777 return resultobj;
24778 fail:
24779 return NULL;
24780 }
24781
24782
24783 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj = 0;
24785 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24786 bool arg2 ;
24787 void *argp1 = 0 ;
24788 int res1 = 0 ;
24789 bool val2 ;
24790 int ecode2 = 0 ;
24791 PyObject * obj0 = 0 ;
24792 PyObject * obj1 = 0 ;
24793 char * kwnames[] = {
24794 (char *) "self",(char *) "flag", NULL
24795 };
24796
24797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24799 if (!SWIG_IsOK(res1)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24801 }
24802 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24803 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24804 if (!SWIG_IsOK(ecode2)) {
24805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24806 }
24807 arg2 = static_cast< bool >(val2);
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 (arg1)->EnablePrinter(arg2);
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 resultobj = SWIG_Py_Void();
24815 return resultobj;
24816 fail:
24817 return NULL;
24818 }
24819
24820
24821 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24822 PyObject *resultobj = 0;
24823 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24824 bool result;
24825 void *argp1 = 0 ;
24826 int res1 = 0 ;
24827 PyObject *swig_obj[1] ;
24828
24829 if (!args) SWIG_fail;
24830 swig_obj[0] = args;
24831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24832 if (!SWIG_IsOK(res1)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 }
24835 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = (bool)(arg1)->GetDefaultMinMargins();
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 {
24843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24844 }
24845 return resultobj;
24846 fail:
24847 return NULL;
24848 }
24849
24850
24851 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24852 PyObject *resultobj = 0;
24853 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24854 bool result;
24855 void *argp1 = 0 ;
24856 int res1 = 0 ;
24857 PyObject *swig_obj[1] ;
24858
24859 if (!args) SWIG_fail;
24860 swig_obj[0] = args;
24861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24862 if (!SWIG_IsOK(res1)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24864 }
24865 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 result = (bool)(arg1)->GetEnableMargins();
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 {
24873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24874 }
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24882 PyObject *resultobj = 0;
24883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24884 bool result;
24885 void *argp1 = 0 ;
24886 int res1 = 0 ;
24887 PyObject *swig_obj[1] ;
24888
24889 if (!args) SWIG_fail;
24890 swig_obj[0] = args;
24891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24892 if (!SWIG_IsOK(res1)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24894 }
24895 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (bool)(arg1)->GetEnableOrientation();
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 {
24903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24904 }
24905 return resultobj;
24906 fail:
24907 return NULL;
24908 }
24909
24910
24911 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24912 PyObject *resultobj = 0;
24913 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24914 bool result;
24915 void *argp1 = 0 ;
24916 int res1 = 0 ;
24917 PyObject *swig_obj[1] ;
24918
24919 if (!args) SWIG_fail;
24920 swig_obj[0] = args;
24921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24922 if (!SWIG_IsOK(res1)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24924 }
24925 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24926 {
24927 PyThreadState* __tstate = wxPyBeginAllowThreads();
24928 result = (bool)(arg1)->GetEnablePaper();
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 {
24933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24934 }
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24942 PyObject *resultobj = 0;
24943 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24944 bool result;
24945 void *argp1 = 0 ;
24946 int res1 = 0 ;
24947 PyObject *swig_obj[1] ;
24948
24949 if (!args) SWIG_fail;
24950 swig_obj[0] = args;
24951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24952 if (!SWIG_IsOK(res1)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24954 }
24955 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 result = (bool)(arg1)->GetEnablePrinter();
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 {
24963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24964 }
24965 return resultobj;
24966 fail:
24967 return NULL;
24968 }
24969
24970
24971 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24972 PyObject *resultobj = 0;
24973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24974 bool result;
24975 void *argp1 = 0 ;
24976 int res1 = 0 ;
24977 PyObject *swig_obj[1] ;
24978
24979 if (!args) SWIG_fail;
24980 swig_obj[0] = args;
24981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24982 if (!SWIG_IsOK(res1)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24984 }
24985 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 result = (bool)(arg1)->GetEnableHelp();
24989 wxPyEndAllowThreads(__tstate);
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
24992 {
24993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24994 }
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25002 PyObject *resultobj = 0;
25003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25004 bool result;
25005 void *argp1 = 0 ;
25006 int res1 = 0 ;
25007 PyObject *swig_obj[1] ;
25008
25009 if (!args) SWIG_fail;
25010 swig_obj[0] = args;
25011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25012 if (!SWIG_IsOK(res1)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25014 }
25015 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 result = (bool)(arg1)->GetDefaultInfo();
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 {
25023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25024 }
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25032 PyObject *resultobj = 0;
25033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25034 wxPoint result;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 PyObject *swig_obj[1] ;
25038
25039 if (!args) SWIG_fail;
25040 swig_obj[0] = args;
25041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25042 if (!SWIG_IsOK(res1)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25044 }
25045 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 result = (arg1)->GetMarginTopLeft();
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25053 return resultobj;
25054 fail:
25055 return NULL;
25056 }
25057
25058
25059 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25060 PyObject *resultobj = 0;
25061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25062 wxPoint result;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 PyObject *swig_obj[1] ;
25066
25067 if (!args) SWIG_fail;
25068 swig_obj[0] = args;
25069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25070 if (!SWIG_IsOK(res1)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25072 }
25073 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 result = (arg1)->GetMarginBottomRight();
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
25080 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25081 return resultobj;
25082 fail:
25083 return NULL;
25084 }
25085
25086
25087 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25088 PyObject *resultobj = 0;
25089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25090 wxPoint result;
25091 void *argp1 = 0 ;
25092 int res1 = 0 ;
25093 PyObject *swig_obj[1] ;
25094
25095 if (!args) SWIG_fail;
25096 swig_obj[0] = args;
25097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25098 if (!SWIG_IsOK(res1)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25100 }
25101 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 result = (arg1)->GetMinMarginTopLeft();
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25116 PyObject *resultobj = 0;
25117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25118 wxPoint result;
25119 void *argp1 = 0 ;
25120 int res1 = 0 ;
25121 PyObject *swig_obj[1] ;
25122
25123 if (!args) SWIG_fail;
25124 swig_obj[0] = args;
25125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25126 if (!SWIG_IsOK(res1)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 }
25129 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 result = (arg1)->GetMinMarginBottomRight();
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25144 PyObject *resultobj = 0;
25145 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25146 wxPaperSize result;
25147 void *argp1 = 0 ;
25148 int res1 = 0 ;
25149 PyObject *swig_obj[1] ;
25150
25151 if (!args) SWIG_fail;
25152 swig_obj[0] = args;
25153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25154 if (!SWIG_IsOK(res1)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 }
25157 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (wxPaperSize)(arg1)->GetPaperId();
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_From_int(static_cast< int >(result));
25165 return resultobj;
25166 fail:
25167 return NULL;
25168 }
25169
25170
25171 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25174 wxSize result;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 PyObject *swig_obj[1] ;
25178
25179 if (!args) SWIG_fail;
25180 swig_obj[0] = args;
25181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25182 if (!SWIG_IsOK(res1)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25184 }
25185 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (arg1)->GetPaperSize();
25189 wxPyEndAllowThreads(__tstate);
25190 if (PyErr_Occurred()) SWIG_fail;
25191 }
25192 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25193 return resultobj;
25194 fail:
25195 return NULL;
25196 }
25197
25198
25199 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25200 PyObject *resultobj = 0;
25201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25202 wxPrintData *result = 0 ;
25203 void *argp1 = 0 ;
25204 int res1 = 0 ;
25205 PyObject *swig_obj[1] ;
25206
25207 if (!args) SWIG_fail;
25208 swig_obj[0] = args;
25209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 }
25213 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 {
25217 wxPrintData &_result_ref = (arg1)->GetPrintData();
25218 result = (wxPrintData *) &_result_ref;
25219 }
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25231 PyObject *resultobj = 0;
25232 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25233 bool result;
25234 void *argp1 = 0 ;
25235 int res1 = 0 ;
25236 PyObject *swig_obj[1] ;
25237
25238 if (!args) SWIG_fail;
25239 swig_obj[0] = args;
25240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25241 if (!SWIG_IsOK(res1)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25243 }
25244 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 result = (bool)(arg1)->Ok();
25248 wxPyEndAllowThreads(__tstate);
25249 if (PyErr_Occurred()) SWIG_fail;
25250 }
25251 {
25252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25253 }
25254 return resultobj;
25255 fail:
25256 return NULL;
25257 }
25258
25259
25260 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25261 PyObject *resultobj = 0;
25262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25263 bool arg2 ;
25264 void *argp1 = 0 ;
25265 int res1 = 0 ;
25266 bool val2 ;
25267 int ecode2 = 0 ;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 char * kwnames[] = {
25271 (char *) "self",(char *) "flag", NULL
25272 };
25273
25274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25276 if (!SWIG_IsOK(res1)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25278 }
25279 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25280 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25281 if (!SWIG_IsOK(ecode2)) {
25282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25283 }
25284 arg2 = static_cast< bool >(val2);
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 (arg1)->SetDefaultInfo(arg2);
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_Py_Void();
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj = 0;
25300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25301 bool arg2 ;
25302 void *argp1 = 0 ;
25303 int res1 = 0 ;
25304 bool val2 ;
25305 int ecode2 = 0 ;
25306 PyObject * obj0 = 0 ;
25307 PyObject * obj1 = 0 ;
25308 char * kwnames[] = {
25309 (char *) "self",(char *) "flag", NULL
25310 };
25311
25312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25314 if (!SWIG_IsOK(res1)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25316 }
25317 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25318 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25319 if (!SWIG_IsOK(ecode2)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25321 }
25322 arg2 = static_cast< bool >(val2);
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 (arg1)->SetDefaultMinMargins(arg2);
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 resultobj = SWIG_Py_Void();
25330 return resultobj;
25331 fail:
25332 return NULL;
25333 }
25334
25335
25336 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25337 PyObject *resultobj = 0;
25338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25339 wxPoint *arg2 = 0 ;
25340 void *argp1 = 0 ;
25341 int res1 = 0 ;
25342 wxPoint temp2 ;
25343 PyObject * obj0 = 0 ;
25344 PyObject * obj1 = 0 ;
25345 char * kwnames[] = {
25346 (char *) "self",(char *) "pt", NULL
25347 };
25348
25349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25351 if (!SWIG_IsOK(res1)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25353 }
25354 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25355 {
25356 arg2 = &temp2;
25357 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25358 }
25359 {
25360 PyThreadState* __tstate = wxPyBeginAllowThreads();
25361 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25362 wxPyEndAllowThreads(__tstate);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 resultobj = SWIG_Py_Void();
25366 return resultobj;
25367 fail:
25368 return NULL;
25369 }
25370
25371
25372 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25373 PyObject *resultobj = 0;
25374 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25375 wxPoint *arg2 = 0 ;
25376 void *argp1 = 0 ;
25377 int res1 = 0 ;
25378 wxPoint temp2 ;
25379 PyObject * obj0 = 0 ;
25380 PyObject * obj1 = 0 ;
25381 char * kwnames[] = {
25382 (char *) "self",(char *) "pt", NULL
25383 };
25384
25385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25387 if (!SWIG_IsOK(res1)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25389 }
25390 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25391 {
25392 arg2 = &temp2;
25393 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25394 }
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25398 wxPyEndAllowThreads(__tstate);
25399 if (PyErr_Occurred()) SWIG_fail;
25400 }
25401 resultobj = SWIG_Py_Void();
25402 return resultobj;
25403 fail:
25404 return NULL;
25405 }
25406
25407
25408 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25409 PyObject *resultobj = 0;
25410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25411 wxPoint *arg2 = 0 ;
25412 void *argp1 = 0 ;
25413 int res1 = 0 ;
25414 wxPoint temp2 ;
25415 PyObject * obj0 = 0 ;
25416 PyObject * obj1 = 0 ;
25417 char * kwnames[] = {
25418 (char *) "self",(char *) "pt", NULL
25419 };
25420
25421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25423 if (!SWIG_IsOK(res1)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25425 }
25426 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25427 {
25428 arg2 = &temp2;
25429 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25430 }
25431 {
25432 PyThreadState* __tstate = wxPyBeginAllowThreads();
25433 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 resultobj = SWIG_Py_Void();
25438 return resultobj;
25439 fail:
25440 return NULL;
25441 }
25442
25443
25444 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25445 PyObject *resultobj = 0;
25446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25447 wxPoint *arg2 = 0 ;
25448 void *argp1 = 0 ;
25449 int res1 = 0 ;
25450 wxPoint temp2 ;
25451 PyObject * obj0 = 0 ;
25452 PyObject * obj1 = 0 ;
25453 char * kwnames[] = {
25454 (char *) "self",(char *) "pt", NULL
25455 };
25456
25457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25459 if (!SWIG_IsOK(res1)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25461 }
25462 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25463 {
25464 arg2 = &temp2;
25465 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25466 }
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 resultobj = SWIG_Py_Void();
25474 return resultobj;
25475 fail:
25476 return NULL;
25477 }
25478
25479
25480 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25481 PyObject *resultobj = 0;
25482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25483 wxPaperSize arg2 ;
25484 void *argp1 = 0 ;
25485 int res1 = 0 ;
25486 int val2 ;
25487 int ecode2 = 0 ;
25488 PyObject * obj0 = 0 ;
25489 PyObject * obj1 = 0 ;
25490 char * kwnames[] = {
25491 (char *) "self",(char *) "id", NULL
25492 };
25493
25494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25496 if (!SWIG_IsOK(res1)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25498 }
25499 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25500 ecode2 = SWIG_AsVal_int(obj1, &val2);
25501 if (!SWIG_IsOK(ecode2)) {
25502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25503 }
25504 arg2 = static_cast< wxPaperSize >(val2);
25505 {
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 (arg1)->SetPaperId(arg2);
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
25511 resultobj = SWIG_Py_Void();
25512 return resultobj;
25513 fail:
25514 return NULL;
25515 }
25516
25517
25518 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25519 PyObject *resultobj = 0;
25520 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25521 wxSize *arg2 = 0 ;
25522 void *argp1 = 0 ;
25523 int res1 = 0 ;
25524 wxSize temp2 ;
25525 PyObject * obj0 = 0 ;
25526 PyObject * obj1 = 0 ;
25527 char * kwnames[] = {
25528 (char *) "self",(char *) "size", NULL
25529 };
25530
25531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25533 if (!SWIG_IsOK(res1)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25535 }
25536 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25537 {
25538 arg2 = &temp2;
25539 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25540 }
25541 {
25542 PyThreadState* __tstate = wxPyBeginAllowThreads();
25543 (arg1)->SetPaperSize((wxSize const &)*arg2);
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 resultobj = SWIG_Py_Void();
25548 return resultobj;
25549 fail:
25550 return NULL;
25551 }
25552
25553
25554 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25555 PyObject *resultobj = 0;
25556 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25557 wxPrintData *arg2 = 0 ;
25558 void *argp1 = 0 ;
25559 int res1 = 0 ;
25560 void *argp2 = 0 ;
25561 int res2 = 0 ;
25562 PyObject * obj0 = 0 ;
25563 PyObject * obj1 = 0 ;
25564 char * kwnames[] = {
25565 (char *) "self",(char *) "printData", NULL
25566 };
25567
25568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25570 if (!SWIG_IsOK(res1)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25572 }
25573 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25575 if (!SWIG_IsOK(res2)) {
25576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25577 }
25578 if (!argp2) {
25579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25580 }
25581 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 resultobj = SWIG_Py_Void();
25589 return resultobj;
25590 fail:
25591 return NULL;
25592 }
25593
25594
25595 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25596 PyObject *resultobj = 0;
25597 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25598 void *argp1 = 0 ;
25599 int res1 = 0 ;
25600 PyObject *swig_obj[1] ;
25601
25602 if (!args) SWIG_fail;
25603 swig_obj[0] = args;
25604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25605 if (!SWIG_IsOK(res1)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25607 }
25608 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 (arg1)->CalculateIdFromPaperSize();
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 resultobj = SWIG_Py_Void();
25616 return resultobj;
25617 fail:
25618 return NULL;
25619 }
25620
25621
25622 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25623 PyObject *resultobj = 0;
25624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25625 void *argp1 = 0 ;
25626 int res1 = 0 ;
25627 PyObject *swig_obj[1] ;
25628
25629 if (!args) SWIG_fail;
25630 swig_obj[0] = args;
25631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25632 if (!SWIG_IsOK(res1)) {
25633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25634 }
25635 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25636 {
25637 PyThreadState* __tstate = wxPyBeginAllowThreads();
25638 (arg1)->CalculatePaperSizeFromId();
25639 wxPyEndAllowThreads(__tstate);
25640 if (PyErr_Occurred()) SWIG_fail;
25641 }
25642 resultobj = SWIG_Py_Void();
25643 return resultobj;
25644 fail:
25645 return NULL;
25646 }
25647
25648
25649 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25650 PyObject *obj;
25651 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25653 return SWIG_Py_Void();
25654 }
25655
25656 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25657 return SWIG_Python_InitShadowInstance(args);
25658 }
25659
25660 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25661 PyObject *resultobj = 0;
25662 wxWindow *arg1 = (wxWindow *) 0 ;
25663 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25664 wxPageSetupDialog *result = 0 ;
25665 void *argp1 = 0 ;
25666 int res1 = 0 ;
25667 void *argp2 = 0 ;
25668 int res2 = 0 ;
25669 PyObject * obj0 = 0 ;
25670 PyObject * obj1 = 0 ;
25671 char * kwnames[] = {
25672 (char *) "parent",(char *) "data", NULL
25673 };
25674
25675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25677 if (!SWIG_IsOK(res1)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25679 }
25680 arg1 = reinterpret_cast< wxWindow * >(argp1);
25681 if (obj1) {
25682 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25683 if (!SWIG_IsOK(res2)) {
25684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25685 }
25686 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25687 }
25688 {
25689 if (!wxPyCheckForApp()) SWIG_fail;
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25696 return resultobj;
25697 fail:
25698 return NULL;
25699 }
25700
25701
25702 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25703 PyObject *resultobj = 0;
25704 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25705 void *argp1 = 0 ;
25706 int res1 = 0 ;
25707 PyObject *swig_obj[1] ;
25708
25709 if (!args) SWIG_fail;
25710 swig_obj[0] = args;
25711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25712 if (!SWIG_IsOK(res1)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25714 }
25715 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25716 {
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 delete arg1;
25719
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 resultobj = SWIG_Py_Void();
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25731 PyObject *resultobj = 0;
25732 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25733 wxPageSetupDialogData *result = 0 ;
25734 void *argp1 = 0 ;
25735 int res1 = 0 ;
25736 PyObject *swig_obj[1] ;
25737
25738 if (!args) SWIG_fail;
25739 swig_obj[0] = args;
25740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25741 if (!SWIG_IsOK(res1)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25743 }
25744 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 {
25748 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25749 result = (wxPageSetupDialogData *) &_result_ref;
25750 }
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25762 PyObject *resultobj = 0;
25763 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25764 wxPageSetupDialogData *result = 0 ;
25765 void *argp1 = 0 ;
25766 int res1 = 0 ;
25767 PyObject *swig_obj[1] ;
25768
25769 if (!args) SWIG_fail;
25770 swig_obj[0] = args;
25771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25772 if (!SWIG_IsOK(res1)) {
25773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25774 }
25775 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 {
25779 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25780 result = (wxPageSetupDialogData *) &_result_ref;
25781 }
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25786 return resultobj;
25787 fail:
25788 return NULL;
25789 }
25790
25791
25792 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25793 PyObject *resultobj = 0;
25794 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25795 int result;
25796 void *argp1 = 0 ;
25797 int res1 = 0 ;
25798 PyObject *swig_obj[1] ;
25799
25800 if (!args) SWIG_fail;
25801 swig_obj[0] = args;
25802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25803 if (!SWIG_IsOK(res1)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25805 }
25806 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (int)(arg1)->ShowModal();
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 resultobj = SWIG_From_int(static_cast< int >(result));
25814 return resultobj;
25815 fail:
25816 return NULL;
25817 }
25818
25819
25820 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25821 PyObject *obj;
25822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25824 return SWIG_Py_Void();
25825 }
25826
25827 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25828 return SWIG_Python_InitShadowInstance(args);
25829 }
25830
25831 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25832 PyObject *resultobj = 0;
25833 wxPrintDialogData *result = 0 ;
25834
25835 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = (wxPrintDialogData *)new wxPrintDialogData();
25839 wxPyEndAllowThreads(__tstate);
25840 if (PyErr_Occurred()) SWIG_fail;
25841 }
25842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25843 return resultobj;
25844 fail:
25845 return NULL;
25846 }
25847
25848
25849 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25850 PyObject *resultobj = 0;
25851 wxPrintData *arg1 = 0 ;
25852 wxPrintDialogData *result = 0 ;
25853 void *argp1 = 0 ;
25854 int res1 = 0 ;
25855
25856 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25858 if (!SWIG_IsOK(res1)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25860 }
25861 if (!argp1) {
25862 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25863 }
25864 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25865 {
25866 PyThreadState* __tstate = wxPyBeginAllowThreads();
25867 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25872 return resultobj;
25873 fail:
25874 return NULL;
25875 }
25876
25877
25878 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25879 PyObject *resultobj = 0;
25880 wxPrintDialogData *arg1 = 0 ;
25881 wxPrintDialogData *result = 0 ;
25882 void *argp1 = 0 ;
25883 int res1 = 0 ;
25884
25885 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25887 if (!SWIG_IsOK(res1)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25889 }
25890 if (!argp1) {
25891 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25892 }
25893 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25894 {
25895 PyThreadState* __tstate = wxPyBeginAllowThreads();
25896 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25901 return resultobj;
25902 fail:
25903 return NULL;
25904 }
25905
25906
25907 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25908 int argc;
25909 PyObject *argv[2];
25910
25911 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25912 --argc;
25913 if (argc == 0) {
25914 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25915 }
25916 if (argc == 1) {
25917 int _v = 0;
25918 {
25919 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25920 _v = SWIG_CheckState(res);
25921 }
25922 if (!_v) goto check_2;
25923 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25924 }
25925 check_2:
25926
25927 if (argc == 1) {
25928 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25929 }
25930
25931 fail:
25932 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25933 return NULL;
25934 }
25935
25936
25937 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25938 PyObject *resultobj = 0;
25939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25940 void *argp1 = 0 ;
25941 int res1 = 0 ;
25942 PyObject *swig_obj[1] ;
25943
25944 if (!args) SWIG_fail;
25945 swig_obj[0] = args;
25946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25947 if (!SWIG_IsOK(res1)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25949 }
25950 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 delete arg1;
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 resultobj = SWIG_Py_Void();
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25966 PyObject *resultobj = 0;
25967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25968 int result;
25969 void *argp1 = 0 ;
25970 int res1 = 0 ;
25971 PyObject *swig_obj[1] ;
25972
25973 if (!args) SWIG_fail;
25974 swig_obj[0] = args;
25975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25976 if (!SWIG_IsOK(res1)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25978 }
25979 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 resultobj = SWIG_From_int(static_cast< int >(result));
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25994 PyObject *resultobj = 0;
25995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25996 int result;
25997 void *argp1 = 0 ;
25998 int res1 = 0 ;
25999 PyObject *swig_obj[1] ;
26000
26001 if (!args) SWIG_fail;
26002 swig_obj[0] = args;
26003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26004 if (!SWIG_IsOK(res1)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26006 }
26007 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 resultobj = SWIG_From_int(static_cast< int >(result));
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26022 PyObject *resultobj = 0;
26023 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26024 int result;
26025 void *argp1 = 0 ;
26026 int res1 = 0 ;
26027 PyObject *swig_obj[1] ;
26028
26029 if (!args) SWIG_fail;
26030 swig_obj[0] = args;
26031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26032 if (!SWIG_IsOK(res1)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26034 }
26035 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 resultobj = SWIG_From_int(static_cast< int >(result));
26043 return resultobj;
26044 fail:
26045 return NULL;
26046 }
26047
26048
26049 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26050 PyObject *resultobj = 0;
26051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26052 int result;
26053 void *argp1 = 0 ;
26054 int res1 = 0 ;
26055 PyObject *swig_obj[1] ;
26056
26057 if (!args) SWIG_fail;
26058 swig_obj[0] = args;
26059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26060 if (!SWIG_IsOK(res1)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26062 }
26063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 resultobj = SWIG_From_int(static_cast< int >(result));
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26078 PyObject *resultobj = 0;
26079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26080 int result;
26081 void *argp1 = 0 ;
26082 int res1 = 0 ;
26083 PyObject *swig_obj[1] ;
26084
26085 if (!args) SWIG_fail;
26086 swig_obj[0] = args;
26087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26088 if (!SWIG_IsOK(res1)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26090 }
26091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 resultobj = SWIG_From_int(static_cast< int >(result));
26099 return resultobj;
26100 fail:
26101 return NULL;
26102 }
26103
26104
26105 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26106 PyObject *resultobj = 0;
26107 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26108 bool result;
26109 void *argp1 = 0 ;
26110 int res1 = 0 ;
26111 PyObject *swig_obj[1] ;
26112
26113 if (!args) SWIG_fail;
26114 swig_obj[0] = args;
26115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26116 if (!SWIG_IsOK(res1)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26118 }
26119 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 {
26127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26128 }
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26136 PyObject *resultobj = 0;
26137 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26138 bool result;
26139 void *argp1 = 0 ;
26140 int res1 = 0 ;
26141 PyObject *swig_obj[1] ;
26142
26143 if (!args) SWIG_fail;
26144 swig_obj[0] = args;
26145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26146 if (!SWIG_IsOK(res1)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26148 }
26149 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 {
26157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26158 }
26159 return resultobj;
26160 fail:
26161 return NULL;
26162 }
26163
26164
26165 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26166 PyObject *resultobj = 0;
26167 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26168 bool result;
26169 void *argp1 = 0 ;
26170 int res1 = 0 ;
26171 PyObject *swig_obj[1] ;
26172
26173 if (!args) SWIG_fail;
26174 swig_obj[0] = args;
26175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26176 if (!SWIG_IsOK(res1)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26178 }
26179 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 {
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 }
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26198 bool result;
26199 void *argp1 = 0 ;
26200 int res1 = 0 ;
26201 PyObject *swig_obj[1] ;
26202
26203 if (!args) SWIG_fail;
26204 swig_obj[0] = args;
26205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26206 if (!SWIG_IsOK(res1)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26208 }
26209 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
26216 {
26217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26218 }
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26226 PyObject *resultobj = 0;
26227 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26228 int arg2 ;
26229 void *argp1 = 0 ;
26230 int res1 = 0 ;
26231 int val2 ;
26232 int ecode2 = 0 ;
26233 PyObject * obj0 = 0 ;
26234 PyObject * obj1 = 0 ;
26235 char * kwnames[] = {
26236 (char *) "self",(char *) "v", NULL
26237 };
26238
26239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26241 if (!SWIG_IsOK(res1)) {
26242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26243 }
26244 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26245 ecode2 = SWIG_AsVal_int(obj1, &val2);
26246 if (!SWIG_IsOK(ecode2)) {
26247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26248 }
26249 arg2 = static_cast< int >(val2);
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 (arg1)->SetFromPage(arg2);
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 resultobj = SWIG_Py_Void();
26257 return resultobj;
26258 fail:
26259 return NULL;
26260 }
26261
26262
26263 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26264 PyObject *resultobj = 0;
26265 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26266 int arg2 ;
26267 void *argp1 = 0 ;
26268 int res1 = 0 ;
26269 int val2 ;
26270 int ecode2 = 0 ;
26271 PyObject * obj0 = 0 ;
26272 PyObject * obj1 = 0 ;
26273 char * kwnames[] = {
26274 (char *) "self",(char *) "v", NULL
26275 };
26276
26277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26279 if (!SWIG_IsOK(res1)) {
26280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26281 }
26282 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26283 ecode2 = SWIG_AsVal_int(obj1, &val2);
26284 if (!SWIG_IsOK(ecode2)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26286 }
26287 arg2 = static_cast< int >(val2);
26288 {
26289 PyThreadState* __tstate = wxPyBeginAllowThreads();
26290 (arg1)->SetToPage(arg2);
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 resultobj = SWIG_Py_Void();
26295 return resultobj;
26296 fail:
26297 return NULL;
26298 }
26299
26300
26301 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26302 PyObject *resultobj = 0;
26303 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26304 int arg2 ;
26305 void *argp1 = 0 ;
26306 int res1 = 0 ;
26307 int val2 ;
26308 int ecode2 = 0 ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 char * kwnames[] = {
26312 (char *) "self",(char *) "v", NULL
26313 };
26314
26315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26317 if (!SWIG_IsOK(res1)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26319 }
26320 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26321 ecode2 = SWIG_AsVal_int(obj1, &val2);
26322 if (!SWIG_IsOK(ecode2)) {
26323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26324 }
26325 arg2 = static_cast< int >(val2);
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 (arg1)->SetMinPage(arg2);
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 resultobj = SWIG_Py_Void();
26333 return resultobj;
26334 fail:
26335 return NULL;
26336 }
26337
26338
26339 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26340 PyObject *resultobj = 0;
26341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26342 int arg2 ;
26343 void *argp1 = 0 ;
26344 int res1 = 0 ;
26345 int val2 ;
26346 int ecode2 = 0 ;
26347 PyObject * obj0 = 0 ;
26348 PyObject * obj1 = 0 ;
26349 char * kwnames[] = {
26350 (char *) "self",(char *) "v", NULL
26351 };
26352
26353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26355 if (!SWIG_IsOK(res1)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26357 }
26358 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26359 ecode2 = SWIG_AsVal_int(obj1, &val2);
26360 if (!SWIG_IsOK(ecode2)) {
26361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26362 }
26363 arg2 = static_cast< int >(val2);
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 (arg1)->SetMaxPage(arg2);
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 resultobj = SWIG_Py_Void();
26371 return resultobj;
26372 fail:
26373 return NULL;
26374 }
26375
26376
26377 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26378 PyObject *resultobj = 0;
26379 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26380 int arg2 ;
26381 void *argp1 = 0 ;
26382 int res1 = 0 ;
26383 int val2 ;
26384 int ecode2 = 0 ;
26385 PyObject * obj0 = 0 ;
26386 PyObject * obj1 = 0 ;
26387 char * kwnames[] = {
26388 (char *) "self",(char *) "v", NULL
26389 };
26390
26391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26393 if (!SWIG_IsOK(res1)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26395 }
26396 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26397 ecode2 = SWIG_AsVal_int(obj1, &val2);
26398 if (!SWIG_IsOK(ecode2)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26400 }
26401 arg2 = static_cast< int >(val2);
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 (arg1)->SetNoCopies(arg2);
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 resultobj = SWIG_Py_Void();
26409 return resultobj;
26410 fail:
26411 return NULL;
26412 }
26413
26414
26415 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj = 0;
26417 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26418 bool arg2 ;
26419 void *argp1 = 0 ;
26420 int res1 = 0 ;
26421 bool val2 ;
26422 int ecode2 = 0 ;
26423 PyObject * obj0 = 0 ;
26424 PyObject * obj1 = 0 ;
26425 char * kwnames[] = {
26426 (char *) "self",(char *) "flag", NULL
26427 };
26428
26429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26431 if (!SWIG_IsOK(res1)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26433 }
26434 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26435 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26436 if (!SWIG_IsOK(ecode2)) {
26437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26438 }
26439 arg2 = static_cast< bool >(val2);
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 (arg1)->SetAllPages(arg2);
26443 wxPyEndAllowThreads(__tstate);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
26446 resultobj = SWIG_Py_Void();
26447 return resultobj;
26448 fail:
26449 return NULL;
26450 }
26451
26452
26453 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26454 PyObject *resultobj = 0;
26455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26456 bool arg2 ;
26457 void *argp1 = 0 ;
26458 int res1 = 0 ;
26459 bool val2 ;
26460 int ecode2 = 0 ;
26461 PyObject * obj0 = 0 ;
26462 PyObject * obj1 = 0 ;
26463 char * kwnames[] = {
26464 (char *) "self",(char *) "flag", NULL
26465 };
26466
26467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26469 if (!SWIG_IsOK(res1)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26471 }
26472 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26473 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26474 if (!SWIG_IsOK(ecode2)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26476 }
26477 arg2 = static_cast< bool >(val2);
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 (arg1)->SetSelection(arg2);
26481 wxPyEndAllowThreads(__tstate);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 resultobj = SWIG_Py_Void();
26485 return resultobj;
26486 fail:
26487 return NULL;
26488 }
26489
26490
26491 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26492 PyObject *resultobj = 0;
26493 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26494 bool arg2 ;
26495 void *argp1 = 0 ;
26496 int res1 = 0 ;
26497 bool val2 ;
26498 int ecode2 = 0 ;
26499 PyObject * obj0 = 0 ;
26500 PyObject * obj1 = 0 ;
26501 char * kwnames[] = {
26502 (char *) "self",(char *) "flag", NULL
26503 };
26504
26505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26507 if (!SWIG_IsOK(res1)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26509 }
26510 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26511 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26512 if (!SWIG_IsOK(ecode2)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26514 }
26515 arg2 = static_cast< bool >(val2);
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 (arg1)->SetCollate(arg2);
26519 wxPyEndAllowThreads(__tstate);
26520 if (PyErr_Occurred()) SWIG_fail;
26521 }
26522 resultobj = SWIG_Py_Void();
26523 return resultobj;
26524 fail:
26525 return NULL;
26526 }
26527
26528
26529 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26530 PyObject *resultobj = 0;
26531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26532 bool arg2 ;
26533 void *argp1 = 0 ;
26534 int res1 = 0 ;
26535 bool val2 ;
26536 int ecode2 = 0 ;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 char * kwnames[] = {
26540 (char *) "self",(char *) "flag", NULL
26541 };
26542
26543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26545 if (!SWIG_IsOK(res1)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26547 }
26548 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26549 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26550 if (!SWIG_IsOK(ecode2)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26552 }
26553 arg2 = static_cast< bool >(val2);
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 (arg1)->SetPrintToFile(arg2);
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 resultobj = SWIG_Py_Void();
26561 return resultobj;
26562 fail:
26563 return NULL;
26564 }
26565
26566
26567 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26568 PyObject *resultobj = 0;
26569 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26570 bool arg2 ;
26571 void *argp1 = 0 ;
26572 int res1 = 0 ;
26573 bool val2 ;
26574 int ecode2 = 0 ;
26575 PyObject * obj0 = 0 ;
26576 PyObject * obj1 = 0 ;
26577 char * kwnames[] = {
26578 (char *) "self",(char *) "flag", NULL
26579 };
26580
26581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26583 if (!SWIG_IsOK(res1)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26585 }
26586 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26587 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26588 if (!SWIG_IsOK(ecode2)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26590 }
26591 arg2 = static_cast< bool >(val2);
26592 {
26593 PyThreadState* __tstate = wxPyBeginAllowThreads();
26594 (arg1)->EnablePrintToFile(arg2);
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 resultobj = SWIG_Py_Void();
26599 return resultobj;
26600 fail:
26601 return NULL;
26602 }
26603
26604
26605 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26606 PyObject *resultobj = 0;
26607 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26608 bool arg2 ;
26609 void *argp1 = 0 ;
26610 int res1 = 0 ;
26611 bool val2 ;
26612 int ecode2 = 0 ;
26613 PyObject * obj0 = 0 ;
26614 PyObject * obj1 = 0 ;
26615 char * kwnames[] = {
26616 (char *) "self",(char *) "flag", NULL
26617 };
26618
26619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26621 if (!SWIG_IsOK(res1)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26623 }
26624 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26625 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26626 if (!SWIG_IsOK(ecode2)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26628 }
26629 arg2 = static_cast< bool >(val2);
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 (arg1)->EnableSelection(arg2);
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 resultobj = SWIG_Py_Void();
26637 return resultobj;
26638 fail:
26639 return NULL;
26640 }
26641
26642
26643 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj = 0;
26645 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26646 bool arg2 ;
26647 void *argp1 = 0 ;
26648 int res1 = 0 ;
26649 bool val2 ;
26650 int ecode2 = 0 ;
26651 PyObject * obj0 = 0 ;
26652 PyObject * obj1 = 0 ;
26653 char * kwnames[] = {
26654 (char *) "self",(char *) "flag", NULL
26655 };
26656
26657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26659 if (!SWIG_IsOK(res1)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26661 }
26662 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26663 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26664 if (!SWIG_IsOK(ecode2)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26666 }
26667 arg2 = static_cast< bool >(val2);
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 (arg1)->EnablePageNumbers(arg2);
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 resultobj = SWIG_Py_Void();
26675 return resultobj;
26676 fail:
26677 return NULL;
26678 }
26679
26680
26681 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj = 0;
26683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26684 bool arg2 ;
26685 void *argp1 = 0 ;
26686 int res1 = 0 ;
26687 bool val2 ;
26688 int ecode2 = 0 ;
26689 PyObject * obj0 = 0 ;
26690 PyObject * obj1 = 0 ;
26691 char * kwnames[] = {
26692 (char *) "self",(char *) "flag", NULL
26693 };
26694
26695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26697 if (!SWIG_IsOK(res1)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26699 }
26700 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26701 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26702 if (!SWIG_IsOK(ecode2)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26704 }
26705 arg2 = static_cast< bool >(val2);
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 (arg1)->EnableHelp(arg2);
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 resultobj = SWIG_Py_Void();
26713 return resultobj;
26714 fail:
26715 return NULL;
26716 }
26717
26718
26719 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26720 PyObject *resultobj = 0;
26721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26722 bool result;
26723 void *argp1 = 0 ;
26724 int res1 = 0 ;
26725 PyObject *swig_obj[1] ;
26726
26727 if (!args) SWIG_fail;
26728 swig_obj[0] = args;
26729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26730 if (!SWIG_IsOK(res1)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26732 }
26733 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26734 {
26735 PyThreadState* __tstate = wxPyBeginAllowThreads();
26736 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26737 wxPyEndAllowThreads(__tstate);
26738 if (PyErr_Occurred()) SWIG_fail;
26739 }
26740 {
26741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26742 }
26743 return resultobj;
26744 fail:
26745 return NULL;
26746 }
26747
26748
26749 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26750 PyObject *resultobj = 0;
26751 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26752 bool result;
26753 void *argp1 = 0 ;
26754 int res1 = 0 ;
26755 PyObject *swig_obj[1] ;
26756
26757 if (!args) SWIG_fail;
26758 swig_obj[0] = args;
26759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26760 if (!SWIG_IsOK(res1)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26762 }
26763 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 {
26771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26772 }
26773 return resultobj;
26774 fail:
26775 return NULL;
26776 }
26777
26778
26779 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26780 PyObject *resultobj = 0;
26781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26782 bool result;
26783 void *argp1 = 0 ;
26784 int res1 = 0 ;
26785 PyObject *swig_obj[1] ;
26786
26787 if (!args) SWIG_fail;
26788 swig_obj[0] = args;
26789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26790 if (!SWIG_IsOK(res1)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26792 }
26793 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 {
26801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26802 }
26803 return resultobj;
26804 fail:
26805 return NULL;
26806 }
26807
26808
26809 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26810 PyObject *resultobj = 0;
26811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26812 bool result;
26813 void *argp1 = 0 ;
26814 int res1 = 0 ;
26815 PyObject *swig_obj[1] ;
26816
26817 if (!args) SWIG_fail;
26818 swig_obj[0] = args;
26819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26820 if (!SWIG_IsOK(res1)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26822 }
26823 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26824 {
26825 PyThreadState* __tstate = wxPyBeginAllowThreads();
26826 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26827 wxPyEndAllowThreads(__tstate);
26828 if (PyErr_Occurred()) SWIG_fail;
26829 }
26830 {
26831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26832 }
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26840 PyObject *resultobj = 0;
26841 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26842 bool result;
26843 void *argp1 = 0 ;
26844 int res1 = 0 ;
26845 PyObject *swig_obj[1] ;
26846
26847 if (!args) SWIG_fail;
26848 swig_obj[0] = args;
26849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26850 if (!SWIG_IsOK(res1)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26852 }
26853 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26854 {
26855 PyThreadState* __tstate = wxPyBeginAllowThreads();
26856 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26857 wxPyEndAllowThreads(__tstate);
26858 if (PyErr_Occurred()) SWIG_fail;
26859 }
26860 {
26861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26862 }
26863 return resultobj;
26864 fail:
26865 return NULL;
26866 }
26867
26868
26869 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26870 PyObject *resultobj = 0;
26871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26872 wxPrintData *result = 0 ;
26873 void *argp1 = 0 ;
26874 int res1 = 0 ;
26875 PyObject *swig_obj[1] ;
26876
26877 if (!args) SWIG_fail;
26878 swig_obj[0] = args;
26879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26880 if (!SWIG_IsOK(res1)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26882 }
26883 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 {
26887 wxPrintData &_result_ref = (arg1)->GetPrintData();
26888 result = (wxPrintData *) &_result_ref;
26889 }
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26894 return resultobj;
26895 fail:
26896 return NULL;
26897 }
26898
26899
26900 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26901 PyObject *resultobj = 0;
26902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26903 wxPrintData *arg2 = 0 ;
26904 void *argp1 = 0 ;
26905 int res1 = 0 ;
26906 void *argp2 = 0 ;
26907 int res2 = 0 ;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char * kwnames[] = {
26911 (char *) "self",(char *) "printData", NULL
26912 };
26913
26914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26916 if (!SWIG_IsOK(res1)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26918 }
26919 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26920 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26921 if (!SWIG_IsOK(res2)) {
26922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26923 }
26924 if (!argp2) {
26925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26926 }
26927 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26928 {
26929 PyThreadState* __tstate = wxPyBeginAllowThreads();
26930 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26931 wxPyEndAllowThreads(__tstate);
26932 if (PyErr_Occurred()) SWIG_fail;
26933 }
26934 resultobj = SWIG_Py_Void();
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26942 PyObject *obj;
26943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26944 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26945 return SWIG_Py_Void();
26946 }
26947
26948 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26949 return SWIG_Python_InitShadowInstance(args);
26950 }
26951
26952 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26953 PyObject *resultobj = 0;
26954 wxWindow *arg1 = (wxWindow *) 0 ;
26955 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26956 wxPrintDialog *result = 0 ;
26957 void *argp1 = 0 ;
26958 int res1 = 0 ;
26959 void *argp2 = 0 ;
26960 int res2 = 0 ;
26961 PyObject * obj0 = 0 ;
26962 PyObject * obj1 = 0 ;
26963 char * kwnames[] = {
26964 (char *) "parent",(char *) "data", NULL
26965 };
26966
26967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26969 if (!SWIG_IsOK(res1)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26971 }
26972 arg1 = reinterpret_cast< wxWindow * >(argp1);
26973 if (obj1) {
26974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26975 if (!SWIG_IsOK(res2)) {
26976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26977 }
26978 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26979 }
26980 {
26981 if (!wxPyCheckForApp()) SWIG_fail;
26982 PyThreadState* __tstate = wxPyBeginAllowThreads();
26983 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26988 return resultobj;
26989 fail:
26990 return NULL;
26991 }
26992
26993
26994 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26995 PyObject *resultobj = 0;
26996 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26997 void *argp1 = 0 ;
26998 int res1 = 0 ;
26999 PyObject *swig_obj[1] ;
27000
27001 if (!args) SWIG_fail;
27002 swig_obj[0] = args;
27003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27004 if (!SWIG_IsOK(res1)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27006 }
27007 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 delete arg1;
27011
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
27015 resultobj = SWIG_Py_Void();
27016 return resultobj;
27017 fail:
27018 return NULL;
27019 }
27020
27021
27022 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27023 PyObject *resultobj = 0;
27024 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27025 int result;
27026 void *argp1 = 0 ;
27027 int res1 = 0 ;
27028 PyObject *swig_obj[1] ;
27029
27030 if (!args) SWIG_fail;
27031 swig_obj[0] = args;
27032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27033 if (!SWIG_IsOK(res1)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27035 }
27036 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (int)(arg1)->ShowModal();
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 resultobj = SWIG_From_int(static_cast< int >(result));
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27051 PyObject *resultobj = 0;
27052 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27053 wxPrintDialogData *result = 0 ;
27054 void *argp1 = 0 ;
27055 int res1 = 0 ;
27056 PyObject *swig_obj[1] ;
27057
27058 if (!args) SWIG_fail;
27059 swig_obj[0] = args;
27060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27061 if (!SWIG_IsOK(res1)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27063 }
27064 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 {
27068 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27069 result = (wxPrintDialogData *) &_result_ref;
27070 }
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27075 return resultobj;
27076 fail:
27077 return NULL;
27078 }
27079
27080
27081 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27082 PyObject *resultobj = 0;
27083 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27084 wxPrintData *result = 0 ;
27085 void *argp1 = 0 ;
27086 int res1 = 0 ;
27087 PyObject *swig_obj[1] ;
27088
27089 if (!args) SWIG_fail;
27090 swig_obj[0] = args;
27091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27092 if (!SWIG_IsOK(res1)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27094 }
27095 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27096 {
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 {
27099 wxPrintData &_result_ref = (arg1)->GetPrintData();
27100 result = (wxPrintData *) &_result_ref;
27101 }
27102 wxPyEndAllowThreads(__tstate);
27103 if (PyErr_Occurred()) SWIG_fail;
27104 }
27105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27106 return resultobj;
27107 fail:
27108 return NULL;
27109 }
27110
27111
27112 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27113 PyObject *resultobj = 0;
27114 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27115 wxDC *result = 0 ;
27116 void *argp1 = 0 ;
27117 int res1 = 0 ;
27118 PyObject *swig_obj[1] ;
27119
27120 if (!args) SWIG_fail;
27121 swig_obj[0] = args;
27122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27125 }
27126 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 result = (wxDC *)(arg1)->GetPrintDC();
27130 wxPyEndAllowThreads(__tstate);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 {
27134 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27135 }
27136 return resultobj;
27137 fail:
27138 return NULL;
27139 }
27140
27141
27142 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27143 PyObject *obj;
27144 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27146 return SWIG_Py_Void();
27147 }
27148
27149 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27150 return SWIG_Python_InitShadowInstance(args);
27151 }
27152
27153 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27154 PyObject *resultobj = 0;
27155 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27156 wxPrinter *result = 0 ;
27157 void *argp1 = 0 ;
27158 int res1 = 0 ;
27159 PyObject * obj0 = 0 ;
27160 char * kwnames[] = {
27161 (char *) "data", NULL
27162 };
27163
27164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27165 if (obj0) {
27166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27167 if (!SWIG_IsOK(res1)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27169 }
27170 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27171 }
27172 {
27173 if (!wxPyCheckForApp()) SWIG_fail;
27174 PyThreadState* __tstate = wxPyBeginAllowThreads();
27175 result = (wxPrinter *)new wxPrinter(arg1);
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27187 PyObject *resultobj = 0;
27188 wxPrinter *arg1 = (wxPrinter *) 0 ;
27189 void *argp1 = 0 ;
27190 int res1 = 0 ;
27191 PyObject *swig_obj[1] ;
27192
27193 if (!args) SWIG_fail;
27194 swig_obj[0] = args;
27195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27196 if (!SWIG_IsOK(res1)) {
27197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27198 }
27199 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27200 {
27201 PyThreadState* __tstate = wxPyBeginAllowThreads();
27202 delete arg1;
27203
27204 wxPyEndAllowThreads(__tstate);
27205 if (PyErr_Occurred()) SWIG_fail;
27206 }
27207 resultobj = SWIG_Py_Void();
27208 return resultobj;
27209 fail:
27210 return NULL;
27211 }
27212
27213
27214 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27215 PyObject *resultobj = 0;
27216 wxPrinter *arg1 = (wxPrinter *) 0 ;
27217 wxWindow *arg2 = (wxWindow *) 0 ;
27218 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27219 wxWindow *result = 0 ;
27220 void *argp1 = 0 ;
27221 int res1 = 0 ;
27222 void *argp2 = 0 ;
27223 int res2 = 0 ;
27224 void *argp3 = 0 ;
27225 int res3 = 0 ;
27226 PyObject * obj0 = 0 ;
27227 PyObject * obj1 = 0 ;
27228 PyObject * obj2 = 0 ;
27229 char * kwnames[] = {
27230 (char *) "self",(char *) "parent",(char *) "printout", NULL
27231 };
27232
27233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27235 if (!SWIG_IsOK(res1)) {
27236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27237 }
27238 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27239 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27240 if (!SWIG_IsOK(res2)) {
27241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27242 }
27243 arg2 = reinterpret_cast< wxWindow * >(argp2);
27244 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27245 if (!SWIG_IsOK(res3)) {
27246 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27247 }
27248 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27249 {
27250 PyThreadState* __tstate = wxPyBeginAllowThreads();
27251 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 {
27256 resultobj = wxPyMake_wxObject(result, 0);
27257 }
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj = 0;
27266 wxPrinter *arg1 = (wxPrinter *) 0 ;
27267 wxWindow *arg2 = (wxWindow *) 0 ;
27268 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27269 wxString *arg4 = 0 ;
27270 void *argp1 = 0 ;
27271 int res1 = 0 ;
27272 void *argp2 = 0 ;
27273 int res2 = 0 ;
27274 void *argp3 = 0 ;
27275 int res3 = 0 ;
27276 bool temp4 = false ;
27277 PyObject * obj0 = 0 ;
27278 PyObject * obj1 = 0 ;
27279 PyObject * obj2 = 0 ;
27280 PyObject * obj3 = 0 ;
27281 char * kwnames[] = {
27282 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27283 };
27284
27285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27287 if (!SWIG_IsOK(res1)) {
27288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27289 }
27290 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27291 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27292 if (!SWIG_IsOK(res2)) {
27293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27294 }
27295 arg2 = reinterpret_cast< wxWindow * >(argp2);
27296 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27297 if (!SWIG_IsOK(res3)) {
27298 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27299 }
27300 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27301 {
27302 arg4 = wxString_in_helper(obj3);
27303 if (arg4 == NULL) SWIG_fail;
27304 temp4 = true;
27305 }
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
27312 resultobj = SWIG_Py_Void();
27313 {
27314 if (temp4)
27315 delete arg4;
27316 }
27317 return resultobj;
27318 fail:
27319 {
27320 if (temp4)
27321 delete arg4;
27322 }
27323 return NULL;
27324 }
27325
27326
27327 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27328 PyObject *resultobj = 0;
27329 wxPrinter *arg1 = (wxPrinter *) 0 ;
27330 wxWindow *arg2 = (wxWindow *) 0 ;
27331 bool result;
27332 void *argp1 = 0 ;
27333 int res1 = 0 ;
27334 void *argp2 = 0 ;
27335 int res2 = 0 ;
27336 PyObject * obj0 = 0 ;
27337 PyObject * obj1 = 0 ;
27338 char * kwnames[] = {
27339 (char *) "self",(char *) "parent", NULL
27340 };
27341
27342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27344 if (!SWIG_IsOK(res1)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27346 }
27347 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27349 if (!SWIG_IsOK(res2)) {
27350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27351 }
27352 arg2 = reinterpret_cast< wxWindow * >(argp2);
27353 {
27354 PyThreadState* __tstate = wxPyBeginAllowThreads();
27355 result = (bool)(arg1)->Setup(arg2);
27356 wxPyEndAllowThreads(__tstate);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 }
27359 {
27360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27361 }
27362 return resultobj;
27363 fail:
27364 return NULL;
27365 }
27366
27367
27368 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj = 0;
27370 wxPrinter *arg1 = (wxPrinter *) 0 ;
27371 wxWindow *arg2 = (wxWindow *) 0 ;
27372 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27373 bool arg4 = (bool) true ;
27374 bool result;
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 bool val4 ;
27382 int ecode4 = 0 ;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 PyObject * obj2 = 0 ;
27386 PyObject * obj3 = 0 ;
27387 char * kwnames[] = {
27388 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27389 };
27390
27391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27393 if (!SWIG_IsOK(res1)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27395 }
27396 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27397 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27398 if (!SWIG_IsOK(res2)) {
27399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27400 }
27401 arg2 = reinterpret_cast< wxWindow * >(argp2);
27402 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27403 if (!SWIG_IsOK(res3)) {
27404 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27405 }
27406 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27407 if (obj3) {
27408 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27409 if (!SWIG_IsOK(ecode4)) {
27410 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27411 }
27412 arg4 = static_cast< bool >(val4);
27413 }
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 {
27421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27422 }
27423 return resultobj;
27424 fail:
27425 return NULL;
27426 }
27427
27428
27429 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27430 PyObject *resultobj = 0;
27431 wxPrinter *arg1 = (wxPrinter *) 0 ;
27432 wxWindow *arg2 = (wxWindow *) 0 ;
27433 wxDC *result = 0 ;
27434 void *argp1 = 0 ;
27435 int res1 = 0 ;
27436 void *argp2 = 0 ;
27437 int res2 = 0 ;
27438 PyObject * obj0 = 0 ;
27439 PyObject * obj1 = 0 ;
27440 char * kwnames[] = {
27441 (char *) "self",(char *) "parent", NULL
27442 };
27443
27444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27450 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27451 if (!SWIG_IsOK(res2)) {
27452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27453 }
27454 arg2 = reinterpret_cast< wxWindow * >(argp2);
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 result = (wxDC *)(arg1)->PrintDialog(arg2);
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 {
27462 resultobj = wxPyMake_wxObject(result, (bool)0);
27463 }
27464 return resultobj;
27465 fail:
27466 return NULL;
27467 }
27468
27469
27470 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 PyObject *resultobj = 0;
27472 wxPrinter *arg1 = (wxPrinter *) 0 ;
27473 wxPrintDialogData *result = 0 ;
27474 void *argp1 = 0 ;
27475 int res1 = 0 ;
27476 PyObject *swig_obj[1] ;
27477
27478 if (!args) SWIG_fail;
27479 swig_obj[0] = args;
27480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27481 if (!SWIG_IsOK(res1)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27483 }
27484 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 {
27488 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27489 result = (wxPrintDialogData *) &_result_ref;
27490 }
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27495 return resultobj;
27496 fail:
27497 return NULL;
27498 }
27499
27500
27501 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27502 PyObject *resultobj = 0;
27503 wxPrinter *arg1 = (wxPrinter *) 0 ;
27504 bool result;
27505 void *argp1 = 0 ;
27506 int res1 = 0 ;
27507 PyObject *swig_obj[1] ;
27508
27509 if (!args) SWIG_fail;
27510 swig_obj[0] = args;
27511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27512 if (!SWIG_IsOK(res1)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27514 }
27515 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 result = (bool)(arg1)->GetAbort();
27519 wxPyEndAllowThreads(__tstate);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 {
27523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27524 }
27525 return resultobj;
27526 fail:
27527 return NULL;
27528 }
27529
27530
27531 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27532 PyObject *resultobj = 0;
27533 wxPrinterError result;
27534
27535 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27536 {
27537 PyThreadState* __tstate = wxPyBeginAllowThreads();
27538 result = (wxPrinterError)wxPrinter::GetLastError();
27539 wxPyEndAllowThreads(__tstate);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
27542 resultobj = SWIG_From_int(static_cast< int >(result));
27543 return resultobj;
27544 fail:
27545 return NULL;
27546 }
27547
27548
27549 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27550 PyObject *obj;
27551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27552 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27553 return SWIG_Py_Void();
27554 }
27555
27556 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27557 return SWIG_Python_InitShadowInstance(args);
27558 }
27559
27560 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27561 PyObject *resultobj = 0;
27562 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27563 wxString *arg1 = (wxString *) &arg1_defvalue ;
27564 wxPyPrintout *result = 0 ;
27565 bool temp1 = false ;
27566 PyObject * obj0 = 0 ;
27567 char * kwnames[] = {
27568 (char *) "title", NULL
27569 };
27570
27571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27572 if (obj0) {
27573 {
27574 arg1 = wxString_in_helper(obj0);
27575 if (arg1 == NULL) SWIG_fail;
27576 temp1 = true;
27577 }
27578 }
27579 {
27580 if (!wxPyCheckForApp()) SWIG_fail;
27581 PyThreadState* __tstate = wxPyBeginAllowThreads();
27582 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27587 {
27588 if (temp1)
27589 delete arg1;
27590 }
27591 return resultobj;
27592 fail:
27593 {
27594 if (temp1)
27595 delete arg1;
27596 }
27597 return NULL;
27598 }
27599
27600
27601 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27602 PyObject *resultobj = 0;
27603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27604 void *argp1 = 0 ;
27605 int res1 = 0 ;
27606 PyObject *swig_obj[1] ;
27607
27608 if (!args) SWIG_fail;
27609 swig_obj[0] = args;
27610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27611 if (!SWIG_IsOK(res1)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27613 }
27614 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27615 {
27616 PyThreadState* __tstate = wxPyBeginAllowThreads();
27617 delete arg1;
27618
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 resultobj = SWIG_Py_Void();
27623 return resultobj;
27624 fail:
27625 return NULL;
27626 }
27627
27628
27629 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27630 PyObject *resultobj = 0;
27631 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27632 PyObject *arg2 = (PyObject *) 0 ;
27633 PyObject *arg3 = (PyObject *) 0 ;
27634 void *argp1 = 0 ;
27635 int res1 = 0 ;
27636 PyObject * obj0 = 0 ;
27637 PyObject * obj1 = 0 ;
27638 PyObject * obj2 = 0 ;
27639 char * kwnames[] = {
27640 (char *) "self",(char *) "self",(char *) "_class", NULL
27641 };
27642
27643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27645 if (!SWIG_IsOK(res1)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27647 }
27648 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27649 arg2 = obj1;
27650 arg3 = obj2;
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 (arg1)->_setCallbackInfo(arg2,arg3);
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 resultobj = SWIG_Py_Void();
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27665 PyObject *resultobj = 0;
27666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27667 wxString result;
27668 void *argp1 = 0 ;
27669 int res1 = 0 ;
27670 PyObject *swig_obj[1] ;
27671
27672 if (!args) SWIG_fail;
27673 swig_obj[0] = args;
27674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27675 if (!SWIG_IsOK(res1)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27677 }
27678 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
27681 result = ((wxPyPrintout const *)arg1)->GetTitle();
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 {
27686 #if wxUSE_UNICODE
27687 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27688 #else
27689 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27690 #endif
27691 }
27692 return resultobj;
27693 fail:
27694 return NULL;
27695 }
27696
27697
27698 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27699 PyObject *resultobj = 0;
27700 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27701 wxDC *result = 0 ;
27702 void *argp1 = 0 ;
27703 int res1 = 0 ;
27704 PyObject *swig_obj[1] ;
27705
27706 if (!args) SWIG_fail;
27707 swig_obj[0] = args;
27708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27709 if (!SWIG_IsOK(res1)) {
27710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27711 }
27712 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 result = (wxDC *)(arg1)->GetDC();
27716 wxPyEndAllowThreads(__tstate);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 {
27720 resultobj = wxPyMake_wxObject(result, (bool)0);
27721 }
27722 return resultobj;
27723 fail:
27724 return NULL;
27725 }
27726
27727
27728 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27729 PyObject *resultobj = 0;
27730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27731 wxDC *arg2 = (wxDC *) 0 ;
27732 void *argp1 = 0 ;
27733 int res1 = 0 ;
27734 void *argp2 = 0 ;
27735 int res2 = 0 ;
27736 PyObject * obj0 = 0 ;
27737 PyObject * obj1 = 0 ;
27738 char * kwnames[] = {
27739 (char *) "self",(char *) "dc", NULL
27740 };
27741
27742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27744 if (!SWIG_IsOK(res1)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27746 }
27747 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27748 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27749 if (!SWIG_IsOK(res2)) {
27750 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27751 }
27752 arg2 = reinterpret_cast< wxDC * >(argp2);
27753 {
27754 PyThreadState* __tstate = wxPyBeginAllowThreads();
27755 (arg1)->SetDC(arg2);
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 resultobj = SWIG_Py_Void();
27760 return resultobj;
27761 fail:
27762 return NULL;
27763 }
27764
27765
27766 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27767 PyObject *resultobj = 0;
27768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27769 int arg2 ;
27770 int arg3 ;
27771 void *argp1 = 0 ;
27772 int res1 = 0 ;
27773 int val2 ;
27774 int ecode2 = 0 ;
27775 int val3 ;
27776 int ecode3 = 0 ;
27777 PyObject * obj0 = 0 ;
27778 PyObject * obj1 = 0 ;
27779 PyObject * obj2 = 0 ;
27780 char * kwnames[] = {
27781 (char *) "self",(char *) "w",(char *) "h", NULL
27782 };
27783
27784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27786 if (!SWIG_IsOK(res1)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27788 }
27789 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27790 ecode2 = SWIG_AsVal_int(obj1, &val2);
27791 if (!SWIG_IsOK(ecode2)) {
27792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27793 }
27794 arg2 = static_cast< int >(val2);
27795 ecode3 = SWIG_AsVal_int(obj2, &val3);
27796 if (!SWIG_IsOK(ecode3)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27798 }
27799 arg3 = static_cast< int >(val3);
27800 {
27801 PyThreadState* __tstate = wxPyBeginAllowThreads();
27802 (arg1)->SetPageSizePixels(arg2,arg3);
27803 wxPyEndAllowThreads(__tstate);
27804 if (PyErr_Occurred()) SWIG_fail;
27805 }
27806 resultobj = SWIG_Py_Void();
27807 return resultobj;
27808 fail:
27809 return NULL;
27810 }
27811
27812
27813 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27814 PyObject *resultobj = 0;
27815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27816 int *arg2 = (int *) 0 ;
27817 int *arg3 = (int *) 0 ;
27818 void *argp1 = 0 ;
27819 int res1 = 0 ;
27820 int temp2 ;
27821 int res2 = SWIG_TMPOBJ ;
27822 int temp3 ;
27823 int res3 = SWIG_TMPOBJ ;
27824 PyObject *swig_obj[1] ;
27825
27826 arg2 = &temp2;
27827 arg3 = &temp3;
27828 if (!args) SWIG_fail;
27829 swig_obj[0] = args;
27830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27831 if (!SWIG_IsOK(res1)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27833 }
27834 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27835 {
27836 PyThreadState* __tstate = wxPyBeginAllowThreads();
27837 (arg1)->GetPageSizePixels(arg2,arg3);
27838 wxPyEndAllowThreads(__tstate);
27839 if (PyErr_Occurred()) SWIG_fail;
27840 }
27841 resultobj = SWIG_Py_Void();
27842 if (SWIG_IsTmpObj(res2)) {
27843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27844 } else {
27845 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27847 }
27848 if (SWIG_IsTmpObj(res3)) {
27849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27850 } else {
27851 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27853 }
27854 return resultobj;
27855 fail:
27856 return NULL;
27857 }
27858
27859
27860 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27861 PyObject *resultobj = 0;
27862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27863 int arg2 ;
27864 int arg3 ;
27865 void *argp1 = 0 ;
27866 int res1 = 0 ;
27867 int val2 ;
27868 int ecode2 = 0 ;
27869 int val3 ;
27870 int ecode3 = 0 ;
27871 PyObject * obj0 = 0 ;
27872 PyObject * obj1 = 0 ;
27873 PyObject * obj2 = 0 ;
27874 char * kwnames[] = {
27875 (char *) "self",(char *) "w",(char *) "h", NULL
27876 };
27877
27878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27880 if (!SWIG_IsOK(res1)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27882 }
27883 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27884 ecode2 = SWIG_AsVal_int(obj1, &val2);
27885 if (!SWIG_IsOK(ecode2)) {
27886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27887 }
27888 arg2 = static_cast< int >(val2);
27889 ecode3 = SWIG_AsVal_int(obj2, &val3);
27890 if (!SWIG_IsOK(ecode3)) {
27891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27892 }
27893 arg3 = static_cast< int >(val3);
27894 {
27895 PyThreadState* __tstate = wxPyBeginAllowThreads();
27896 (arg1)->SetPageSizeMM(arg2,arg3);
27897 wxPyEndAllowThreads(__tstate);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 }
27900 resultobj = SWIG_Py_Void();
27901 return resultobj;
27902 fail:
27903 return NULL;
27904 }
27905
27906
27907 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27908 PyObject *resultobj = 0;
27909 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27910 int *arg2 = (int *) 0 ;
27911 int *arg3 = (int *) 0 ;
27912 void *argp1 = 0 ;
27913 int res1 = 0 ;
27914 int temp2 ;
27915 int res2 = SWIG_TMPOBJ ;
27916 int temp3 ;
27917 int res3 = SWIG_TMPOBJ ;
27918 PyObject *swig_obj[1] ;
27919
27920 arg2 = &temp2;
27921 arg3 = &temp3;
27922 if (!args) SWIG_fail;
27923 swig_obj[0] = args;
27924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27925 if (!SWIG_IsOK(res1)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27927 }
27928 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27929 {
27930 PyThreadState* __tstate = wxPyBeginAllowThreads();
27931 (arg1)->GetPageSizeMM(arg2,arg3);
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 resultobj = SWIG_Py_Void();
27936 if (SWIG_IsTmpObj(res2)) {
27937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27938 } else {
27939 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27941 }
27942 if (SWIG_IsTmpObj(res3)) {
27943 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27944 } else {
27945 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27946 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27947 }
27948 return resultobj;
27949 fail:
27950 return NULL;
27951 }
27952
27953
27954 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27955 PyObject *resultobj = 0;
27956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27957 int arg2 ;
27958 int arg3 ;
27959 void *argp1 = 0 ;
27960 int res1 = 0 ;
27961 int val2 ;
27962 int ecode2 = 0 ;
27963 int val3 ;
27964 int ecode3 = 0 ;
27965 PyObject * obj0 = 0 ;
27966 PyObject * obj1 = 0 ;
27967 PyObject * obj2 = 0 ;
27968 char * kwnames[] = {
27969 (char *) "self",(char *) "x",(char *) "y", NULL
27970 };
27971
27972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27974 if (!SWIG_IsOK(res1)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27976 }
27977 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27978 ecode2 = SWIG_AsVal_int(obj1, &val2);
27979 if (!SWIG_IsOK(ecode2)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27981 }
27982 arg2 = static_cast< int >(val2);
27983 ecode3 = SWIG_AsVal_int(obj2, &val3);
27984 if (!SWIG_IsOK(ecode3)) {
27985 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27986 }
27987 arg3 = static_cast< int >(val3);
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 (arg1)->SetPPIScreen(arg2,arg3);
27991 wxPyEndAllowThreads(__tstate);
27992 if (PyErr_Occurred()) SWIG_fail;
27993 }
27994 resultobj = SWIG_Py_Void();
27995 return resultobj;
27996 fail:
27997 return NULL;
27998 }
27999
28000
28001 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28002 PyObject *resultobj = 0;
28003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28004 int *arg2 = (int *) 0 ;
28005 int *arg3 = (int *) 0 ;
28006 void *argp1 = 0 ;
28007 int res1 = 0 ;
28008 int temp2 ;
28009 int res2 = SWIG_TMPOBJ ;
28010 int temp3 ;
28011 int res3 = SWIG_TMPOBJ ;
28012 PyObject *swig_obj[1] ;
28013
28014 arg2 = &temp2;
28015 arg3 = &temp3;
28016 if (!args) SWIG_fail;
28017 swig_obj[0] = args;
28018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28019 if (!SWIG_IsOK(res1)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28021 }
28022 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28023 {
28024 PyThreadState* __tstate = wxPyBeginAllowThreads();
28025 (arg1)->GetPPIScreen(arg2,arg3);
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 resultobj = SWIG_Py_Void();
28030 if (SWIG_IsTmpObj(res2)) {
28031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28032 } else {
28033 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28035 }
28036 if (SWIG_IsTmpObj(res3)) {
28037 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28038 } else {
28039 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28040 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28041 }
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28049 PyObject *resultobj = 0;
28050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28051 int arg2 ;
28052 int arg3 ;
28053 void *argp1 = 0 ;
28054 int res1 = 0 ;
28055 int val2 ;
28056 int ecode2 = 0 ;
28057 int val3 ;
28058 int ecode3 = 0 ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 PyObject * obj2 = 0 ;
28062 char * kwnames[] = {
28063 (char *) "self",(char *) "x",(char *) "y", NULL
28064 };
28065
28066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28068 if (!SWIG_IsOK(res1)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28070 }
28071 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28072 ecode2 = SWIG_AsVal_int(obj1, &val2);
28073 if (!SWIG_IsOK(ecode2)) {
28074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28075 }
28076 arg2 = static_cast< int >(val2);
28077 ecode3 = SWIG_AsVal_int(obj2, &val3);
28078 if (!SWIG_IsOK(ecode3)) {
28079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28080 }
28081 arg3 = static_cast< int >(val3);
28082 {
28083 PyThreadState* __tstate = wxPyBeginAllowThreads();
28084 (arg1)->SetPPIPrinter(arg2,arg3);
28085 wxPyEndAllowThreads(__tstate);
28086 if (PyErr_Occurred()) SWIG_fail;
28087 }
28088 resultobj = SWIG_Py_Void();
28089 return resultobj;
28090 fail:
28091 return NULL;
28092 }
28093
28094
28095 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28096 PyObject *resultobj = 0;
28097 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28098 int *arg2 = (int *) 0 ;
28099 int *arg3 = (int *) 0 ;
28100 void *argp1 = 0 ;
28101 int res1 = 0 ;
28102 int temp2 ;
28103 int res2 = SWIG_TMPOBJ ;
28104 int temp3 ;
28105 int res3 = SWIG_TMPOBJ ;
28106 PyObject *swig_obj[1] ;
28107
28108 arg2 = &temp2;
28109 arg3 = &temp3;
28110 if (!args) SWIG_fail;
28111 swig_obj[0] = args;
28112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28113 if (!SWIG_IsOK(res1)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28115 }
28116 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28117 {
28118 PyThreadState* __tstate = wxPyBeginAllowThreads();
28119 (arg1)->GetPPIPrinter(arg2,arg3);
28120 wxPyEndAllowThreads(__tstate);
28121 if (PyErr_Occurred()) SWIG_fail;
28122 }
28123 resultobj = SWIG_Py_Void();
28124 if (SWIG_IsTmpObj(res2)) {
28125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28126 } else {
28127 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28128 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28129 }
28130 if (SWIG_IsTmpObj(res3)) {
28131 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28132 } else {
28133 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28135 }
28136 return resultobj;
28137 fail:
28138 return NULL;
28139 }
28140
28141
28142 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28143 PyObject *resultobj = 0;
28144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28145 bool result;
28146 void *argp1 = 0 ;
28147 int res1 = 0 ;
28148 PyObject *swig_obj[1] ;
28149
28150 if (!args) SWIG_fail;
28151 swig_obj[0] = args;
28152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28153 if (!SWIG_IsOK(res1)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28155 }
28156 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28157 {
28158 PyThreadState* __tstate = wxPyBeginAllowThreads();
28159 result = (bool)(arg1)->IsPreview();
28160 wxPyEndAllowThreads(__tstate);
28161 if (PyErr_Occurred()) SWIG_fail;
28162 }
28163 {
28164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28165 }
28166 return resultobj;
28167 fail:
28168 return NULL;
28169 }
28170
28171
28172 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28173 PyObject *resultobj = 0;
28174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28175 bool arg2 ;
28176 void *argp1 = 0 ;
28177 int res1 = 0 ;
28178 bool val2 ;
28179 int ecode2 = 0 ;
28180 PyObject * obj0 = 0 ;
28181 PyObject * obj1 = 0 ;
28182 char * kwnames[] = {
28183 (char *) "self",(char *) "p", NULL
28184 };
28185
28186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28188 if (!SWIG_IsOK(res1)) {
28189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28190 }
28191 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28192 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28193 if (!SWIG_IsOK(ecode2)) {
28194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28195 }
28196 arg2 = static_cast< bool >(val2);
28197 {
28198 PyThreadState* __tstate = wxPyBeginAllowThreads();
28199 (arg1)->SetIsPreview(arg2);
28200 wxPyEndAllowThreads(__tstate);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
28203 resultobj = SWIG_Py_Void();
28204 return resultobj;
28205 fail:
28206 return NULL;
28207 }
28208
28209
28210 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28211 PyObject *resultobj = 0;
28212 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28213 int arg2 ;
28214 int arg3 ;
28215 bool result;
28216 void *argp1 = 0 ;
28217 int res1 = 0 ;
28218 int val2 ;
28219 int ecode2 = 0 ;
28220 int val3 ;
28221 int ecode3 = 0 ;
28222 PyObject * obj0 = 0 ;
28223 PyObject * obj1 = 0 ;
28224 PyObject * obj2 = 0 ;
28225 char * kwnames[] = {
28226 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28227 };
28228
28229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28231 if (!SWIG_IsOK(res1)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28233 }
28234 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28235 ecode2 = SWIG_AsVal_int(obj1, &val2);
28236 if (!SWIG_IsOK(ecode2)) {
28237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28238 }
28239 arg2 = static_cast< int >(val2);
28240 ecode3 = SWIG_AsVal_int(obj2, &val3);
28241 if (!SWIG_IsOK(ecode3)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28243 }
28244 arg3 = static_cast< int >(val3);
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 {
28252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28253 }
28254 return resultobj;
28255 fail:
28256 return NULL;
28257 }
28258
28259
28260 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28261 PyObject *resultobj = 0;
28262 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28263 void *argp1 = 0 ;
28264 int res1 = 0 ;
28265 PyObject *swig_obj[1] ;
28266
28267 if (!args) SWIG_fail;
28268 swig_obj[0] = args;
28269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28270 if (!SWIG_IsOK(res1)) {
28271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28272 }
28273 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->OnEndDocument();
28277 wxPyEndAllowThreads(__tstate);
28278 if (PyErr_Occurred()) SWIG_fail;
28279 }
28280 resultobj = SWIG_Py_Void();
28281 return resultobj;
28282 fail:
28283 return NULL;
28284 }
28285
28286
28287 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28288 PyObject *resultobj = 0;
28289 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28290 void *argp1 = 0 ;
28291 int res1 = 0 ;
28292 PyObject *swig_obj[1] ;
28293
28294 if (!args) SWIG_fail;
28295 swig_obj[0] = args;
28296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28297 if (!SWIG_IsOK(res1)) {
28298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28299 }
28300 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28301 {
28302 PyThreadState* __tstate = wxPyBeginAllowThreads();
28303 (arg1)->OnBeginPrinting();
28304 wxPyEndAllowThreads(__tstate);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 }
28307 resultobj = SWIG_Py_Void();
28308 return resultobj;
28309 fail:
28310 return NULL;
28311 }
28312
28313
28314 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28315 PyObject *resultobj = 0;
28316 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28317 void *argp1 = 0 ;
28318 int res1 = 0 ;
28319 PyObject *swig_obj[1] ;
28320
28321 if (!args) SWIG_fail;
28322 swig_obj[0] = args;
28323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28324 if (!SWIG_IsOK(res1)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28326 }
28327 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 (arg1)->OnEndPrinting();
28331 wxPyEndAllowThreads(__tstate);
28332 if (PyErr_Occurred()) SWIG_fail;
28333 }
28334 resultobj = SWIG_Py_Void();
28335 return resultobj;
28336 fail:
28337 return NULL;
28338 }
28339
28340
28341 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28342 PyObject *resultobj = 0;
28343 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28344 void *argp1 = 0 ;
28345 int res1 = 0 ;
28346 PyObject *swig_obj[1] ;
28347
28348 if (!args) SWIG_fail;
28349 swig_obj[0] = args;
28350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28351 if (!SWIG_IsOK(res1)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28353 }
28354 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 (arg1)->OnPreparePrinting();
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 resultobj = SWIG_Py_Void();
28362 return resultobj;
28363 fail:
28364 return NULL;
28365 }
28366
28367
28368 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj = 0;
28370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28371 int arg2 ;
28372 bool result;
28373 void *argp1 = 0 ;
28374 int res1 = 0 ;
28375 int val2 ;
28376 int ecode2 = 0 ;
28377 PyObject * obj0 = 0 ;
28378 PyObject * obj1 = 0 ;
28379 char * kwnames[] = {
28380 (char *) "self",(char *) "page", NULL
28381 };
28382
28383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28385 if (!SWIG_IsOK(res1)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28387 }
28388 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28389 ecode2 = SWIG_AsVal_int(obj1, &val2);
28390 if (!SWIG_IsOK(ecode2)) {
28391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28392 }
28393 arg2 = static_cast< int >(val2);
28394 {
28395 PyThreadState* __tstate = wxPyBeginAllowThreads();
28396 result = (bool)(arg1)->HasPage(arg2);
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 {
28401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28402 }
28403 return resultobj;
28404 fail:
28405 return NULL;
28406 }
28407
28408
28409 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28410 PyObject *resultobj = 0;
28411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28412 int *arg2 = (int *) 0 ;
28413 int *arg3 = (int *) 0 ;
28414 int *arg4 = (int *) 0 ;
28415 int *arg5 = (int *) 0 ;
28416 void *argp1 = 0 ;
28417 int res1 = 0 ;
28418 int temp2 ;
28419 int res2 = SWIG_TMPOBJ ;
28420 int temp3 ;
28421 int res3 = SWIG_TMPOBJ ;
28422 int temp4 ;
28423 int res4 = SWIG_TMPOBJ ;
28424 int temp5 ;
28425 int res5 = SWIG_TMPOBJ ;
28426 PyObject *swig_obj[1] ;
28427
28428 arg2 = &temp2;
28429 arg3 = &temp3;
28430 arg4 = &temp4;
28431 arg5 = &temp5;
28432 if (!args) SWIG_fail;
28433 swig_obj[0] = args;
28434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28435 if (!SWIG_IsOK(res1)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28437 }
28438 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28442 wxPyEndAllowThreads(__tstate);
28443 if (PyErr_Occurred()) SWIG_fail;
28444 }
28445 resultobj = SWIG_Py_Void();
28446 if (SWIG_IsTmpObj(res2)) {
28447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28448 } else {
28449 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28451 }
28452 if (SWIG_IsTmpObj(res3)) {
28453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28454 } else {
28455 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28457 }
28458 if (SWIG_IsTmpObj(res4)) {
28459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28460 } else {
28461 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28462 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28463 }
28464 if (SWIG_IsTmpObj(res5)) {
28465 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28466 } else {
28467 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28468 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28469 }
28470 return resultobj;
28471 fail:
28472 return NULL;
28473 }
28474
28475
28476 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28477 PyObject *obj;
28478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28480 return SWIG_Py_Void();
28481 }
28482
28483 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28484 return SWIG_Python_InitShadowInstance(args);
28485 }
28486
28487 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28488 PyObject *resultobj = 0;
28489 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28490 wxWindow *arg2 = (wxWindow *) 0 ;
28491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28493 wxSize const &arg4_defvalue = wxDefaultSize ;
28494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28495 long arg5 = (long) 0 ;
28496 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28497 wxString *arg6 = (wxString *) &arg6_defvalue ;
28498 wxPreviewCanvas *result = 0 ;
28499 void *argp1 = 0 ;
28500 int res1 = 0 ;
28501 void *argp2 = 0 ;
28502 int res2 = 0 ;
28503 wxPoint temp3 ;
28504 wxSize temp4 ;
28505 long val5 ;
28506 int ecode5 = 0 ;
28507 bool temp6 = false ;
28508 PyObject * obj0 = 0 ;
28509 PyObject * obj1 = 0 ;
28510 PyObject * obj2 = 0 ;
28511 PyObject * obj3 = 0 ;
28512 PyObject * obj4 = 0 ;
28513 PyObject * obj5 = 0 ;
28514 char * kwnames[] = {
28515 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28516 };
28517
28518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28520 if (!SWIG_IsOK(res1)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28522 }
28523 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28524 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28525 if (!SWIG_IsOK(res2)) {
28526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28527 }
28528 arg2 = reinterpret_cast< wxWindow * >(argp2);
28529 if (obj2) {
28530 {
28531 arg3 = &temp3;
28532 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28533 }
28534 }
28535 if (obj3) {
28536 {
28537 arg4 = &temp4;
28538 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28539 }
28540 }
28541 if (obj4) {
28542 ecode5 = SWIG_AsVal_long(obj4, &val5);
28543 if (!SWIG_IsOK(ecode5)) {
28544 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28545 }
28546 arg5 = static_cast< long >(val5);
28547 }
28548 if (obj5) {
28549 {
28550 arg6 = wxString_in_helper(obj5);
28551 if (arg6 == NULL) SWIG_fail;
28552 temp6 = true;
28553 }
28554 }
28555 {
28556 if (!wxPyCheckForApp()) SWIG_fail;
28557 PyThreadState* __tstate = wxPyBeginAllowThreads();
28558 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28559 wxPyEndAllowThreads(__tstate);
28560 if (PyErr_Occurred()) SWIG_fail;
28561 }
28562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28563 {
28564 if (temp6)
28565 delete arg6;
28566 }
28567 return resultobj;
28568 fail:
28569 {
28570 if (temp6)
28571 delete arg6;
28572 }
28573 return NULL;
28574 }
28575
28576
28577 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28578 PyObject *obj;
28579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28581 return SWIG_Py_Void();
28582 }
28583
28584 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28585 return SWIG_Python_InitShadowInstance(args);
28586 }
28587
28588 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28589 PyObject *resultobj = 0;
28590 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28591 wxFrame *arg2 = (wxFrame *) 0 ;
28592 wxString *arg3 = 0 ;
28593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28595 wxSize const &arg5_defvalue = wxDefaultSize ;
28596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28597 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28598 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28599 wxString *arg7 = (wxString *) &arg7_defvalue ;
28600 wxPreviewFrame *result = 0 ;
28601 int res1 = 0 ;
28602 void *argp2 = 0 ;
28603 int res2 = 0 ;
28604 bool temp3 = false ;
28605 wxPoint temp4 ;
28606 wxSize temp5 ;
28607 long val6 ;
28608 int ecode6 = 0 ;
28609 bool temp7 = false ;
28610 PyObject * obj0 = 0 ;
28611 PyObject * obj1 = 0 ;
28612 PyObject * obj2 = 0 ;
28613 PyObject * obj3 = 0 ;
28614 PyObject * obj4 = 0 ;
28615 PyObject * obj5 = 0 ;
28616 PyObject * obj6 = 0 ;
28617 char * kwnames[] = {
28618 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28619 };
28620
28621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28622 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28623 if (!SWIG_IsOK(res1)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28625 }
28626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28627 if (!SWIG_IsOK(res2)) {
28628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28629 }
28630 arg2 = reinterpret_cast< wxFrame * >(argp2);
28631 {
28632 arg3 = wxString_in_helper(obj2);
28633 if (arg3 == NULL) SWIG_fail;
28634 temp3 = true;
28635 }
28636 if (obj3) {
28637 {
28638 arg4 = &temp4;
28639 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28640 }
28641 }
28642 if (obj4) {
28643 {
28644 arg5 = &temp5;
28645 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28646 }
28647 }
28648 if (obj5) {
28649 ecode6 = SWIG_AsVal_long(obj5, &val6);
28650 if (!SWIG_IsOK(ecode6)) {
28651 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28652 }
28653 arg6 = static_cast< long >(val6);
28654 }
28655 if (obj6) {
28656 {
28657 arg7 = wxString_in_helper(obj6);
28658 if (arg7 == NULL) SWIG_fail;
28659 temp7 = true;
28660 }
28661 }
28662 {
28663 if (!wxPyCheckForApp()) SWIG_fail;
28664 PyThreadState* __tstate = wxPyBeginAllowThreads();
28665 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28666 wxPyEndAllowThreads(__tstate);
28667 if (PyErr_Occurred()) SWIG_fail;
28668 }
28669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28670 {
28671 if (temp3)
28672 delete arg3;
28673 }
28674 {
28675 if (temp7)
28676 delete arg7;
28677 }
28678 return resultobj;
28679 fail:
28680 {
28681 if (temp3)
28682 delete arg3;
28683 }
28684 {
28685 if (temp7)
28686 delete arg7;
28687 }
28688 return NULL;
28689 }
28690
28691
28692 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28693 PyObject *resultobj = 0;
28694 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28695 void *argp1 = 0 ;
28696 int res1 = 0 ;
28697 PyObject *swig_obj[1] ;
28698
28699 if (!args) SWIG_fail;
28700 swig_obj[0] = args;
28701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28704 }
28705 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 (arg1)->Initialize();
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 resultobj = SWIG_Py_Void();
28713 return resultobj;
28714 fail:
28715 return NULL;
28716 }
28717
28718
28719 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28720 PyObject *resultobj = 0;
28721 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28722 void *argp1 = 0 ;
28723 int res1 = 0 ;
28724 PyObject *swig_obj[1] ;
28725
28726 if (!args) SWIG_fail;
28727 swig_obj[0] = args;
28728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28729 if (!SWIG_IsOK(res1)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28731 }
28732 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 (arg1)->CreateControlBar();
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 resultobj = SWIG_Py_Void();
28740 return resultobj;
28741 fail:
28742 return NULL;
28743 }
28744
28745
28746 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28747 PyObject *resultobj = 0;
28748 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28749 void *argp1 = 0 ;
28750 int res1 = 0 ;
28751 PyObject *swig_obj[1] ;
28752
28753 if (!args) SWIG_fail;
28754 swig_obj[0] = args;
28755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28756 if (!SWIG_IsOK(res1)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28758 }
28759 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 (arg1)->CreateCanvas();
28763 wxPyEndAllowThreads(__tstate);
28764 if (PyErr_Occurred()) SWIG_fail;
28765 }
28766 resultobj = SWIG_Py_Void();
28767 return resultobj;
28768 fail:
28769 return NULL;
28770 }
28771
28772
28773 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28774 PyObject *resultobj = 0;
28775 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28776 wxPreviewControlBar *result = 0 ;
28777 void *argp1 = 0 ;
28778 int res1 = 0 ;
28779 PyObject *swig_obj[1] ;
28780
28781 if (!args) SWIG_fail;
28782 swig_obj[0] = args;
28783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28784 if (!SWIG_IsOK(res1)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28786 }
28787 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28795 return resultobj;
28796 fail:
28797 return NULL;
28798 }
28799
28800
28801 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28802 PyObject *obj;
28803 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28804 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28805 return SWIG_Py_Void();
28806 }
28807
28808 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28809 return SWIG_Python_InitShadowInstance(args);
28810 }
28811
28812 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28813 PyObject *resultobj = 0;
28814 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28815 long arg2 ;
28816 wxWindow *arg3 = (wxWindow *) 0 ;
28817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28819 wxSize const &arg5_defvalue = wxDefaultSize ;
28820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28821 long arg6 = (long) wxTAB_TRAVERSAL ;
28822 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28823 wxString *arg7 = (wxString *) &arg7_defvalue ;
28824 wxPreviewControlBar *result = 0 ;
28825 void *argp1 = 0 ;
28826 int res1 = 0 ;
28827 long val2 ;
28828 int ecode2 = 0 ;
28829 void *argp3 = 0 ;
28830 int res3 = 0 ;
28831 wxPoint temp4 ;
28832 wxSize temp5 ;
28833 long val6 ;
28834 int ecode6 = 0 ;
28835 bool temp7 = false ;
28836 PyObject * obj0 = 0 ;
28837 PyObject * obj1 = 0 ;
28838 PyObject * obj2 = 0 ;
28839 PyObject * obj3 = 0 ;
28840 PyObject * obj4 = 0 ;
28841 PyObject * obj5 = 0 ;
28842 PyObject * obj6 = 0 ;
28843 char * kwnames[] = {
28844 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28845 };
28846
28847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28849 if (!SWIG_IsOK(res1)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28851 }
28852 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28853 ecode2 = SWIG_AsVal_long(obj1, &val2);
28854 if (!SWIG_IsOK(ecode2)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28856 }
28857 arg2 = static_cast< long >(val2);
28858 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28859 if (!SWIG_IsOK(res3)) {
28860 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28861 }
28862 arg3 = reinterpret_cast< wxWindow * >(argp3);
28863 if (obj3) {
28864 {
28865 arg4 = &temp4;
28866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28867 }
28868 }
28869 if (obj4) {
28870 {
28871 arg5 = &temp5;
28872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28873 }
28874 }
28875 if (obj5) {
28876 ecode6 = SWIG_AsVal_long(obj5, &val6);
28877 if (!SWIG_IsOK(ecode6)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28879 }
28880 arg6 = static_cast< long >(val6);
28881 }
28882 if (obj6) {
28883 {
28884 arg7 = wxString_in_helper(obj6);
28885 if (arg7 == NULL) SWIG_fail;
28886 temp7 = true;
28887 }
28888 }
28889 {
28890 if (!wxPyCheckForApp()) SWIG_fail;
28891 PyThreadState* __tstate = wxPyBeginAllowThreads();
28892 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28893 wxPyEndAllowThreads(__tstate);
28894 if (PyErr_Occurred()) SWIG_fail;
28895 }
28896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28897 {
28898 if (temp7)
28899 delete arg7;
28900 }
28901 return resultobj;
28902 fail:
28903 {
28904 if (temp7)
28905 delete arg7;
28906 }
28907 return NULL;
28908 }
28909
28910
28911 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28912 PyObject *resultobj = 0;
28913 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28914 int result;
28915 void *argp1 = 0 ;
28916 int res1 = 0 ;
28917 PyObject *swig_obj[1] ;
28918
28919 if (!args) SWIG_fail;
28920 swig_obj[0] = args;
28921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28922 if (!SWIG_IsOK(res1)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28924 }
28925 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28926 {
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 result = (int)(arg1)->GetZoomControl();
28929 wxPyEndAllowThreads(__tstate);
28930 if (PyErr_Occurred()) SWIG_fail;
28931 }
28932 resultobj = SWIG_From_int(static_cast< int >(result));
28933 return resultobj;
28934 fail:
28935 return NULL;
28936 }
28937
28938
28939 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28940 PyObject *resultobj = 0;
28941 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28942 int arg2 ;
28943 void *argp1 = 0 ;
28944 int res1 = 0 ;
28945 int val2 ;
28946 int ecode2 = 0 ;
28947 PyObject * obj0 = 0 ;
28948 PyObject * obj1 = 0 ;
28949 char * kwnames[] = {
28950 (char *) "self",(char *) "zoom", NULL
28951 };
28952
28953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28955 if (!SWIG_IsOK(res1)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28957 }
28958 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28959 ecode2 = SWIG_AsVal_int(obj1, &val2);
28960 if (!SWIG_IsOK(ecode2)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28962 }
28963 arg2 = static_cast< int >(val2);
28964 {
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 (arg1)->SetZoomControl(arg2);
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 resultobj = SWIG_Py_Void();
28971 return resultobj;
28972 fail:
28973 return NULL;
28974 }
28975
28976
28977 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28978 PyObject *resultobj = 0;
28979 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28980 wxPrintPreview *result = 0 ;
28981 void *argp1 = 0 ;
28982 int res1 = 0 ;
28983 PyObject *swig_obj[1] ;
28984
28985 if (!args) SWIG_fail;
28986 swig_obj[0] = args;
28987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28988 if (!SWIG_IsOK(res1)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28990 }
28991 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28992 {
28993 PyThreadState* __tstate = wxPyBeginAllowThreads();
28994 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28999 return resultobj;
29000 fail:
29001 return NULL;
29002 }
29003
29004
29005 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29006 PyObject *resultobj = 0;
29007 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29008 void *argp1 = 0 ;
29009 int res1 = 0 ;
29010 PyObject *swig_obj[1] ;
29011
29012 if (!args) SWIG_fail;
29013 swig_obj[0] = args;
29014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29015 if (!SWIG_IsOK(res1)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29017 }
29018 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29019 {
29020 PyThreadState* __tstate = wxPyBeginAllowThreads();
29021 (arg1)->OnNext();
29022 wxPyEndAllowThreads(__tstate);
29023 if (PyErr_Occurred()) SWIG_fail;
29024 }
29025 resultobj = SWIG_Py_Void();
29026 return resultobj;
29027 fail:
29028 return NULL;
29029 }
29030
29031
29032 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29033 PyObject *resultobj = 0;
29034 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29035 void *argp1 = 0 ;
29036 int res1 = 0 ;
29037 PyObject *swig_obj[1] ;
29038
29039 if (!args) SWIG_fail;
29040 swig_obj[0] = args;
29041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29042 if (!SWIG_IsOK(res1)) {
29043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29044 }
29045 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29046 {
29047 PyThreadState* __tstate = wxPyBeginAllowThreads();
29048 (arg1)->OnPrevious();
29049 wxPyEndAllowThreads(__tstate);
29050 if (PyErr_Occurred()) SWIG_fail;
29051 }
29052 resultobj = SWIG_Py_Void();
29053 return resultobj;
29054 fail:
29055 return NULL;
29056 }
29057
29058
29059 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29060 PyObject *resultobj = 0;
29061 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29062 void *argp1 = 0 ;
29063 int res1 = 0 ;
29064 PyObject *swig_obj[1] ;
29065
29066 if (!args) SWIG_fail;
29067 swig_obj[0] = args;
29068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29069 if (!SWIG_IsOK(res1)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29071 }
29072 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 (arg1)->OnFirst();
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 resultobj = SWIG_Py_Void();
29080 return resultobj;
29081 fail:
29082 return NULL;
29083 }
29084
29085
29086 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29087 PyObject *resultobj = 0;
29088 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29089 void *argp1 = 0 ;
29090 int res1 = 0 ;
29091 PyObject *swig_obj[1] ;
29092
29093 if (!args) SWIG_fail;
29094 swig_obj[0] = args;
29095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29096 if (!SWIG_IsOK(res1)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29098 }
29099 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 (arg1)->OnLast();
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 resultobj = SWIG_Py_Void();
29107 return resultobj;
29108 fail:
29109 return NULL;
29110 }
29111
29112
29113 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29114 PyObject *resultobj = 0;
29115 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29116 void *argp1 = 0 ;
29117 int res1 = 0 ;
29118 PyObject *swig_obj[1] ;
29119
29120 if (!args) SWIG_fail;
29121 swig_obj[0] = args;
29122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29123 if (!SWIG_IsOK(res1)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29125 }
29126 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29127 {
29128 PyThreadState* __tstate = wxPyBeginAllowThreads();
29129 (arg1)->OnGoto();
29130 wxPyEndAllowThreads(__tstate);
29131 if (PyErr_Occurred()) SWIG_fail;
29132 }
29133 resultobj = SWIG_Py_Void();
29134 return resultobj;
29135 fail:
29136 return NULL;
29137 }
29138
29139
29140 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29141 PyObject *obj;
29142 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29144 return SWIG_Py_Void();
29145 }
29146
29147 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29148 return SWIG_Python_InitShadowInstance(args);
29149 }
29150
29151 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29152 PyObject *resultobj = 0;
29153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29154 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29155 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29156 wxPrintPreview *result = 0 ;
29157 int res1 = 0 ;
29158 int res2 = 0 ;
29159 void *argp3 = 0 ;
29160 int res3 = 0 ;
29161
29162 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29163 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29164 if (!SWIG_IsOK(res1)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29166 }
29167 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29168 if (!SWIG_IsOK(res2)) {
29169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29170 }
29171 if (swig_obj[2]) {
29172 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29173 if (!SWIG_IsOK(res3)) {
29174 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29175 }
29176 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29177 }
29178 {
29179 if (!wxPyCheckForApp()) SWIG_fail;
29180 PyThreadState* __tstate = wxPyBeginAllowThreads();
29181 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29182 wxPyEndAllowThreads(__tstate);
29183 if (PyErr_Occurred()) SWIG_fail;
29184 }
29185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29186 return resultobj;
29187 fail:
29188 return NULL;
29189 }
29190
29191
29192 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29193 PyObject *resultobj = 0;
29194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29195 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29196 wxPrintData *arg3 = (wxPrintData *) 0 ;
29197 wxPrintPreview *result = 0 ;
29198 int res1 = 0 ;
29199 int res2 = 0 ;
29200 void *argp3 = 0 ;
29201 int res3 = 0 ;
29202
29203 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29204 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29205 if (!SWIG_IsOK(res1)) {
29206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29207 }
29208 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29209 if (!SWIG_IsOK(res2)) {
29210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29211 }
29212 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29213 if (!SWIG_IsOK(res3)) {
29214 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29215 }
29216 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29217 {
29218 if (!wxPyCheckForApp()) SWIG_fail;
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
29224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29225 return resultobj;
29226 fail:
29227 return NULL;
29228 }
29229
29230
29231 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29232 int argc;
29233 PyObject *argv[4];
29234
29235 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29236 --argc;
29237 if ((argc >= 2) && (argc <= 3)) {
29238 int _v = 0;
29239 if (argc > 2) {
29240 {
29241 void *vptr = 0;
29242 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29243 _v = SWIG_CheckState(res);
29244 }
29245 if (!_v) goto check_1;
29246 }
29247 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29248 }
29249 check_1:
29250
29251 if (argc == 3) {
29252 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29253 }
29254
29255 fail:
29256 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29257 return NULL;
29258 }
29259
29260
29261 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29262 PyObject *resultobj = 0;
29263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29264 void *argp1 = 0 ;
29265 int res1 = 0 ;
29266 PyObject *swig_obj[1] ;
29267
29268 if (!args) SWIG_fail;
29269 swig_obj[0] = args;
29270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29271 if (!SWIG_IsOK(res1)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29273 }
29274 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29275 {
29276 PyThreadState* __tstate = wxPyBeginAllowThreads();
29277 delete arg1;
29278
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 resultobj = SWIG_Py_Void();
29283 return resultobj;
29284 fail:
29285 return NULL;
29286 }
29287
29288
29289 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29290 PyObject *resultobj = 0;
29291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29292 int arg2 ;
29293 bool result;
29294 void *argp1 = 0 ;
29295 int res1 = 0 ;
29296 int val2 ;
29297 int ecode2 = 0 ;
29298 PyObject * obj0 = 0 ;
29299 PyObject * obj1 = 0 ;
29300 char * kwnames[] = {
29301 (char *) "self",(char *) "pageNum", NULL
29302 };
29303
29304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29306 if (!SWIG_IsOK(res1)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29308 }
29309 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29310 ecode2 = SWIG_AsVal_int(obj1, &val2);
29311 if (!SWIG_IsOK(ecode2)) {
29312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29313 }
29314 arg2 = static_cast< int >(val2);
29315 {
29316 PyThreadState* __tstate = wxPyBeginAllowThreads();
29317 result = (bool)(arg1)->SetCurrentPage(arg2);
29318 wxPyEndAllowThreads(__tstate);
29319 if (PyErr_Occurred()) SWIG_fail;
29320 }
29321 {
29322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29323 }
29324 return resultobj;
29325 fail:
29326 return NULL;
29327 }
29328
29329
29330 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29331 PyObject *resultobj = 0;
29332 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29333 int result;
29334 void *argp1 = 0 ;
29335 int res1 = 0 ;
29336 PyObject *swig_obj[1] ;
29337
29338 if (!args) SWIG_fail;
29339 swig_obj[0] = args;
29340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29341 if (!SWIG_IsOK(res1)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29343 }
29344 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29345 {
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 result = (int)(arg1)->GetCurrentPage();
29348 wxPyEndAllowThreads(__tstate);
29349 if (PyErr_Occurred()) SWIG_fail;
29350 }
29351 resultobj = SWIG_From_int(static_cast< int >(result));
29352 return resultobj;
29353 fail:
29354 return NULL;
29355 }
29356
29357
29358 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29359 PyObject *resultobj = 0;
29360 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29361 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29362 void *argp1 = 0 ;
29363 int res1 = 0 ;
29364 int res2 = 0 ;
29365 PyObject * obj0 = 0 ;
29366 PyObject * obj1 = 0 ;
29367 char * kwnames[] = {
29368 (char *) "self",(char *) "printout", NULL
29369 };
29370
29371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29373 if (!SWIG_IsOK(res1)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29375 }
29376 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29377 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29378 if (!SWIG_IsOK(res2)) {
29379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29380 }
29381 {
29382 PyThreadState* __tstate = wxPyBeginAllowThreads();
29383 (arg1)->SetPrintout(arg2);
29384 wxPyEndAllowThreads(__tstate);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 }
29387 resultobj = SWIG_Py_Void();
29388 return resultobj;
29389 fail:
29390 return NULL;
29391 }
29392
29393
29394 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29395 PyObject *resultobj = 0;
29396 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29397 wxPyPrintout *result = 0 ;
29398 void *argp1 = 0 ;
29399 int res1 = 0 ;
29400 PyObject *swig_obj[1] ;
29401
29402 if (!args) SWIG_fail;
29403 swig_obj[0] = args;
29404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29405 if (!SWIG_IsOK(res1)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29407 }
29408 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29409 {
29410 PyThreadState* __tstate = wxPyBeginAllowThreads();
29411 result = (wxPyPrintout *)(arg1)->GetPrintout();
29412 wxPyEndAllowThreads(__tstate);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 {
29416 resultobj = wxPyMake_wxObject(result, 0);
29417 }
29418 return resultobj;
29419 fail:
29420 return NULL;
29421 }
29422
29423
29424 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29425 PyObject *resultobj = 0;
29426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29427 wxPyPrintout *result = 0 ;
29428 void *argp1 = 0 ;
29429 int res1 = 0 ;
29430 PyObject *swig_obj[1] ;
29431
29432 if (!args) SWIG_fail;
29433 swig_obj[0] = args;
29434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29435 if (!SWIG_IsOK(res1)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29437 }
29438 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29442 wxPyEndAllowThreads(__tstate);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 {
29446 resultobj = wxPyMake_wxObject(result, 0);
29447 }
29448 return resultobj;
29449 fail:
29450 return NULL;
29451 }
29452
29453
29454 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29455 PyObject *resultobj = 0;
29456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29457 wxFrame *arg2 = (wxFrame *) 0 ;
29458 void *argp1 = 0 ;
29459 int res1 = 0 ;
29460 void *argp2 = 0 ;
29461 int res2 = 0 ;
29462 PyObject * obj0 = 0 ;
29463 PyObject * obj1 = 0 ;
29464 char * kwnames[] = {
29465 (char *) "self",(char *) "frame", NULL
29466 };
29467
29468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29470 if (!SWIG_IsOK(res1)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29472 }
29473 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29475 if (!SWIG_IsOK(res2)) {
29476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29477 }
29478 arg2 = reinterpret_cast< wxFrame * >(argp2);
29479 {
29480 PyThreadState* __tstate = wxPyBeginAllowThreads();
29481 (arg1)->SetFrame(arg2);
29482 wxPyEndAllowThreads(__tstate);
29483 if (PyErr_Occurred()) SWIG_fail;
29484 }
29485 resultobj = SWIG_Py_Void();
29486 return resultobj;
29487 fail:
29488 return NULL;
29489 }
29490
29491
29492 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29493 PyObject *resultobj = 0;
29494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29495 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29496 void *argp1 = 0 ;
29497 int res1 = 0 ;
29498 void *argp2 = 0 ;
29499 int res2 = 0 ;
29500 PyObject * obj0 = 0 ;
29501 PyObject * obj1 = 0 ;
29502 char * kwnames[] = {
29503 (char *) "self",(char *) "canvas", NULL
29504 };
29505
29506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29508 if (!SWIG_IsOK(res1)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29510 }
29511 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29513 if (!SWIG_IsOK(res2)) {
29514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29515 }
29516 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29517 {
29518 PyThreadState* __tstate = wxPyBeginAllowThreads();
29519 (arg1)->SetCanvas(arg2);
29520 wxPyEndAllowThreads(__tstate);
29521 if (PyErr_Occurred()) SWIG_fail;
29522 }
29523 resultobj = SWIG_Py_Void();
29524 return resultobj;
29525 fail:
29526 return NULL;
29527 }
29528
29529
29530 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29531 PyObject *resultobj = 0;
29532 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29533 wxFrame *result = 0 ;
29534 void *argp1 = 0 ;
29535 int res1 = 0 ;
29536 PyObject *swig_obj[1] ;
29537
29538 if (!args) SWIG_fail;
29539 swig_obj[0] = args;
29540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29541 if (!SWIG_IsOK(res1)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29543 }
29544 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29545 {
29546 PyThreadState* __tstate = wxPyBeginAllowThreads();
29547 result = (wxFrame *)(arg1)->GetFrame();
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 {
29552 resultobj = wxPyMake_wxObject(result, 0);
29553 }
29554 return resultobj;
29555 fail:
29556 return NULL;
29557 }
29558
29559
29560 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29561 PyObject *resultobj = 0;
29562 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29563 wxPreviewCanvas *result = 0 ;
29564 void *argp1 = 0 ;
29565 int res1 = 0 ;
29566 PyObject *swig_obj[1] ;
29567
29568 if (!args) SWIG_fail;
29569 swig_obj[0] = args;
29570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29571 if (!SWIG_IsOK(res1)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29573 }
29574 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29575 {
29576 PyThreadState* __tstate = wxPyBeginAllowThreads();
29577 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
29581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29582 return resultobj;
29583 fail:
29584 return NULL;
29585 }
29586
29587
29588 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29589 PyObject *resultobj = 0;
29590 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29591 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29592 wxDC *arg3 = 0 ;
29593 bool result;
29594 void *argp1 = 0 ;
29595 int res1 = 0 ;
29596 void *argp2 = 0 ;
29597 int res2 = 0 ;
29598 void *argp3 = 0 ;
29599 int res3 = 0 ;
29600 PyObject * obj0 = 0 ;
29601 PyObject * obj1 = 0 ;
29602 PyObject * obj2 = 0 ;
29603 char * kwnames[] = {
29604 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29605 };
29606
29607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29609 if (!SWIG_IsOK(res1)) {
29610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29611 }
29612 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29613 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29614 if (!SWIG_IsOK(res2)) {
29615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29616 }
29617 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29618 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29619 if (!SWIG_IsOK(res3)) {
29620 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29621 }
29622 if (!argp3) {
29623 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29624 }
29625 arg3 = reinterpret_cast< wxDC * >(argp3);
29626 {
29627 PyThreadState* __tstate = wxPyBeginAllowThreads();
29628 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29629 wxPyEndAllowThreads(__tstate);
29630 if (PyErr_Occurred()) SWIG_fail;
29631 }
29632 {
29633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29634 }
29635 return resultobj;
29636 fail:
29637 return NULL;
29638 }
29639
29640
29641 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29642 PyObject *resultobj = 0;
29643 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29644 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29645 wxDC *arg3 = 0 ;
29646 bool result;
29647 void *argp1 = 0 ;
29648 int res1 = 0 ;
29649 void *argp2 = 0 ;
29650 int res2 = 0 ;
29651 void *argp3 = 0 ;
29652 int res3 = 0 ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 PyObject * obj2 = 0 ;
29656 char * kwnames[] = {
29657 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29658 };
29659
29660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29662 if (!SWIG_IsOK(res1)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29664 }
29665 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29667 if (!SWIG_IsOK(res2)) {
29668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29669 }
29670 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29671 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29672 if (!SWIG_IsOK(res3)) {
29673 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29674 }
29675 if (!argp3) {
29676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29677 }
29678 arg3 = reinterpret_cast< wxDC * >(argp3);
29679 {
29680 PyThreadState* __tstate = wxPyBeginAllowThreads();
29681 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29682 wxPyEndAllowThreads(__tstate);
29683 if (PyErr_Occurred()) SWIG_fail;
29684 }
29685 {
29686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29687 }
29688 return resultobj;
29689 fail:
29690 return NULL;
29691 }
29692
29693
29694 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29695 PyObject *resultobj = 0;
29696 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29697 int arg2 ;
29698 bool result;
29699 void *argp1 = 0 ;
29700 int res1 = 0 ;
29701 int val2 ;
29702 int ecode2 = 0 ;
29703 PyObject * obj0 = 0 ;
29704 PyObject * obj1 = 0 ;
29705 char * kwnames[] = {
29706 (char *) "self",(char *) "pageNum", NULL
29707 };
29708
29709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29711 if (!SWIG_IsOK(res1)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29713 }
29714 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29715 ecode2 = SWIG_AsVal_int(obj1, &val2);
29716 if (!SWIG_IsOK(ecode2)) {
29717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29718 }
29719 arg2 = static_cast< int >(val2);
29720 {
29721 PyThreadState* __tstate = wxPyBeginAllowThreads();
29722 result = (bool)(arg1)->RenderPage(arg2);
29723 wxPyEndAllowThreads(__tstate);
29724 if (PyErr_Occurred()) SWIG_fail;
29725 }
29726 {
29727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29728 }
29729 return resultobj;
29730 fail:
29731 return NULL;
29732 }
29733
29734
29735 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29736 PyObject *resultobj = 0;
29737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29738 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29739 void *argp1 = 0 ;
29740 int res1 = 0 ;
29741 void *argp2 = 0 ;
29742 int res2 = 0 ;
29743 PyObject * obj0 = 0 ;
29744 PyObject * obj1 = 0 ;
29745 char * kwnames[] = {
29746 (char *) "self",(char *) "canvas", NULL
29747 };
29748
29749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29751 if (!SWIG_IsOK(res1)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29753 }
29754 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29756 if (!SWIG_IsOK(res2)) {
29757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29758 }
29759 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29760 {
29761 PyThreadState* __tstate = wxPyBeginAllowThreads();
29762 (arg1)->AdjustScrollbars(arg2);
29763 wxPyEndAllowThreads(__tstate);
29764 if (PyErr_Occurred()) SWIG_fail;
29765 }
29766 resultobj = SWIG_Py_Void();
29767 return resultobj;
29768 fail:
29769 return NULL;
29770 }
29771
29772
29773 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29774 PyObject *resultobj = 0;
29775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29776 wxPrintDialogData *result = 0 ;
29777 void *argp1 = 0 ;
29778 int res1 = 0 ;
29779 PyObject *swig_obj[1] ;
29780
29781 if (!args) SWIG_fail;
29782 swig_obj[0] = args;
29783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29784 if (!SWIG_IsOK(res1)) {
29785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29786 }
29787 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29788 {
29789 PyThreadState* __tstate = wxPyBeginAllowThreads();
29790 {
29791 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29792 result = (wxPrintDialogData *) &_result_ref;
29793 }
29794 wxPyEndAllowThreads(__tstate);
29795 if (PyErr_Occurred()) SWIG_fail;
29796 }
29797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29798 return resultobj;
29799 fail:
29800 return NULL;
29801 }
29802
29803
29804 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29805 PyObject *resultobj = 0;
29806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29807 int arg2 ;
29808 void *argp1 = 0 ;
29809 int res1 = 0 ;
29810 int val2 ;
29811 int ecode2 = 0 ;
29812 PyObject * obj0 = 0 ;
29813 PyObject * obj1 = 0 ;
29814 char * kwnames[] = {
29815 (char *) "self",(char *) "percent", NULL
29816 };
29817
29818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29820 if (!SWIG_IsOK(res1)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29822 }
29823 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29824 ecode2 = SWIG_AsVal_int(obj1, &val2);
29825 if (!SWIG_IsOK(ecode2)) {
29826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29827 }
29828 arg2 = static_cast< int >(val2);
29829 {
29830 PyThreadState* __tstate = wxPyBeginAllowThreads();
29831 (arg1)->SetZoom(arg2);
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 resultobj = SWIG_Py_Void();
29836 return resultobj;
29837 fail:
29838 return NULL;
29839 }
29840
29841
29842 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29843 PyObject *resultobj = 0;
29844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29845 int result;
29846 void *argp1 = 0 ;
29847 int res1 = 0 ;
29848 PyObject *swig_obj[1] ;
29849
29850 if (!args) SWIG_fail;
29851 swig_obj[0] = args;
29852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29853 if (!SWIG_IsOK(res1)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29855 }
29856 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29857 {
29858 PyThreadState* __tstate = wxPyBeginAllowThreads();
29859 result = (int)(arg1)->GetZoom();
29860 wxPyEndAllowThreads(__tstate);
29861 if (PyErr_Occurred()) SWIG_fail;
29862 }
29863 resultobj = SWIG_From_int(static_cast< int >(result));
29864 return resultobj;
29865 fail:
29866 return NULL;
29867 }
29868
29869
29870 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29871 PyObject *resultobj = 0;
29872 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29873 int result;
29874 void *argp1 = 0 ;
29875 int res1 = 0 ;
29876 PyObject *swig_obj[1] ;
29877
29878 if (!args) SWIG_fail;
29879 swig_obj[0] = args;
29880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29881 if (!SWIG_IsOK(res1)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29883 }
29884 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29885 {
29886 PyThreadState* __tstate = wxPyBeginAllowThreads();
29887 result = (int)(arg1)->GetMaxPage();
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 resultobj = SWIG_From_int(static_cast< int >(result));
29892 return resultobj;
29893 fail:
29894 return NULL;
29895 }
29896
29897
29898 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29899 PyObject *resultobj = 0;
29900 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29901 int result;
29902 void *argp1 = 0 ;
29903 int res1 = 0 ;
29904 PyObject *swig_obj[1] ;
29905
29906 if (!args) SWIG_fail;
29907 swig_obj[0] = args;
29908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29909 if (!SWIG_IsOK(res1)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29911 }
29912 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 result = (int)(arg1)->GetMinPage();
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 resultobj = SWIG_From_int(static_cast< int >(result));
29920 return resultobj;
29921 fail:
29922 return NULL;
29923 }
29924
29925
29926 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29927 PyObject *resultobj = 0;
29928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29929 bool result;
29930 void *argp1 = 0 ;
29931 int res1 = 0 ;
29932 PyObject *swig_obj[1] ;
29933
29934 if (!args) SWIG_fail;
29935 swig_obj[0] = args;
29936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29937 if (!SWIG_IsOK(res1)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29939 }
29940 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 result = (bool)(arg1)->Ok();
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 {
29948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29949 }
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29957 PyObject *resultobj = 0;
29958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29959 bool arg2 ;
29960 void *argp1 = 0 ;
29961 int res1 = 0 ;
29962 bool val2 ;
29963 int ecode2 = 0 ;
29964 PyObject * obj0 = 0 ;
29965 PyObject * obj1 = 0 ;
29966 char * kwnames[] = {
29967 (char *) "self",(char *) "ok", NULL
29968 };
29969
29970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29972 if (!SWIG_IsOK(res1)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29974 }
29975 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29976 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29977 if (!SWIG_IsOK(ecode2)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29979 }
29980 arg2 = static_cast< bool >(val2);
29981 {
29982 PyThreadState* __tstate = wxPyBeginAllowThreads();
29983 (arg1)->SetOk(arg2);
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
29987 resultobj = SWIG_Py_Void();
29988 return resultobj;
29989 fail:
29990 return NULL;
29991 }
29992
29993
29994 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29995 PyObject *resultobj = 0;
29996 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29997 bool arg2 ;
29998 bool result;
29999 void *argp1 = 0 ;
30000 int res1 = 0 ;
30001 bool val2 ;
30002 int ecode2 = 0 ;
30003 PyObject * obj0 = 0 ;
30004 PyObject * obj1 = 0 ;
30005 char * kwnames[] = {
30006 (char *) "self",(char *) "interactive", NULL
30007 };
30008
30009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30011 if (!SWIG_IsOK(res1)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30013 }
30014 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30015 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30016 if (!SWIG_IsOK(ecode2)) {
30017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30018 }
30019 arg2 = static_cast< bool >(val2);
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 result = (bool)(arg1)->Print(arg2);
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 {
30027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30028 }
30029 return resultobj;
30030 fail:
30031 return NULL;
30032 }
30033
30034
30035 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30036 PyObject *resultobj = 0;
30037 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30038 void *argp1 = 0 ;
30039 int res1 = 0 ;
30040 PyObject *swig_obj[1] ;
30041
30042 if (!args) SWIG_fail;
30043 swig_obj[0] = args;
30044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30045 if (!SWIG_IsOK(res1)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30047 }
30048 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 (arg1)->DetermineScaling();
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 resultobj = SWIG_Py_Void();
30056 return resultobj;
30057 fail:
30058 return NULL;
30059 }
30060
30061
30062 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30063 PyObject *obj;
30064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30065 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30066 return SWIG_Py_Void();
30067 }
30068
30069 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30070 return SWIG_Python_InitShadowInstance(args);
30071 }
30072
30073 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30074 PyObject *resultobj = 0;
30075 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30076 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30077 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30078 wxPyPrintPreview *result = 0 ;
30079 int res1 = 0 ;
30080 int res2 = 0 ;
30081 void *argp3 = 0 ;
30082 int res3 = 0 ;
30083
30084 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30085 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30086 if (!SWIG_IsOK(res1)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30088 }
30089 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30090 if (!SWIG_IsOK(res2)) {
30091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30092 }
30093 if (swig_obj[2]) {
30094 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30095 if (!SWIG_IsOK(res3)) {
30096 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30097 }
30098 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30099 }
30100 {
30101 if (!wxPyCheckForApp()) SWIG_fail;
30102 PyThreadState* __tstate = wxPyBeginAllowThreads();
30103 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30104 wxPyEndAllowThreads(__tstate);
30105 if (PyErr_Occurred()) SWIG_fail;
30106 }
30107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30108 return resultobj;
30109 fail:
30110 return NULL;
30111 }
30112
30113
30114 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30115 PyObject *resultobj = 0;
30116 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30117 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30118 wxPrintData *arg3 = (wxPrintData *) 0 ;
30119 wxPyPrintPreview *result = 0 ;
30120 int res1 = 0 ;
30121 int res2 = 0 ;
30122 void *argp3 = 0 ;
30123 int res3 = 0 ;
30124
30125 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30126 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30127 if (!SWIG_IsOK(res1)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30129 }
30130 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30131 if (!SWIG_IsOK(res2)) {
30132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30133 }
30134 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30135 if (!SWIG_IsOK(res3)) {
30136 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30137 }
30138 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30139 {
30140 if (!wxPyCheckForApp()) SWIG_fail;
30141 PyThreadState* __tstate = wxPyBeginAllowThreads();
30142 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30143 wxPyEndAllowThreads(__tstate);
30144 if (PyErr_Occurred()) SWIG_fail;
30145 }
30146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30147 return resultobj;
30148 fail:
30149 return NULL;
30150 }
30151
30152
30153 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30154 int argc;
30155 PyObject *argv[4];
30156
30157 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30158 --argc;
30159 if ((argc >= 2) && (argc <= 3)) {
30160 int _v = 0;
30161 if (argc > 2) {
30162 {
30163 void *vptr = 0;
30164 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30165 _v = SWIG_CheckState(res);
30166 }
30167 if (!_v) goto check_1;
30168 }
30169 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30170 }
30171 check_1:
30172
30173 if (argc == 3) {
30174 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30175 }
30176
30177 fail:
30178 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30179 return NULL;
30180 }
30181
30182
30183 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30184 PyObject *resultobj = 0;
30185 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30186 PyObject *arg2 = (PyObject *) 0 ;
30187 PyObject *arg3 = (PyObject *) 0 ;
30188 void *argp1 = 0 ;
30189 int res1 = 0 ;
30190 PyObject * obj0 = 0 ;
30191 PyObject * obj1 = 0 ;
30192 PyObject * obj2 = 0 ;
30193 char * kwnames[] = {
30194 (char *) "self",(char *) "self",(char *) "_class", NULL
30195 };
30196
30197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30199 if (!SWIG_IsOK(res1)) {
30200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30201 }
30202 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30203 arg2 = obj1;
30204 arg3 = obj2;
30205 {
30206 PyThreadState* __tstate = wxPyBeginAllowThreads();
30207 (arg1)->_setCallbackInfo(arg2,arg3);
30208 wxPyEndAllowThreads(__tstate);
30209 if (PyErr_Occurred()) SWIG_fail;
30210 }
30211 resultobj = SWIG_Py_Void();
30212 return resultobj;
30213 fail:
30214 return NULL;
30215 }
30216
30217
30218 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30219 PyObject *obj;
30220 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30221 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30222 return SWIG_Py_Void();
30223 }
30224
30225 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30226 return SWIG_Python_InitShadowInstance(args);
30227 }
30228
30229 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30230 PyObject *resultobj = 0;
30231 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30232 wxFrame *arg2 = (wxFrame *) 0 ;
30233 wxString *arg3 = 0 ;
30234 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30235 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30236 wxSize const &arg5_defvalue = wxDefaultSize ;
30237 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30238 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30239 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30240 wxString *arg7 = (wxString *) &arg7_defvalue ;
30241 wxPyPreviewFrame *result = 0 ;
30242 void *argp1 = 0 ;
30243 int res1 = 0 ;
30244 void *argp2 = 0 ;
30245 int res2 = 0 ;
30246 bool temp3 = false ;
30247 wxPoint temp4 ;
30248 wxSize temp5 ;
30249 long val6 ;
30250 int ecode6 = 0 ;
30251 bool temp7 = false ;
30252 PyObject * obj0 = 0 ;
30253 PyObject * obj1 = 0 ;
30254 PyObject * obj2 = 0 ;
30255 PyObject * obj3 = 0 ;
30256 PyObject * obj4 = 0 ;
30257 PyObject * obj5 = 0 ;
30258 PyObject * obj6 = 0 ;
30259 char * kwnames[] = {
30260 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30261 };
30262
30263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30265 if (!SWIG_IsOK(res1)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30267 }
30268 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30270 if (!SWIG_IsOK(res2)) {
30271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30272 }
30273 arg2 = reinterpret_cast< wxFrame * >(argp2);
30274 {
30275 arg3 = wxString_in_helper(obj2);
30276 if (arg3 == NULL) SWIG_fail;
30277 temp3 = true;
30278 }
30279 if (obj3) {
30280 {
30281 arg4 = &temp4;
30282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30283 }
30284 }
30285 if (obj4) {
30286 {
30287 arg5 = &temp5;
30288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30289 }
30290 }
30291 if (obj5) {
30292 ecode6 = SWIG_AsVal_long(obj5, &val6);
30293 if (!SWIG_IsOK(ecode6)) {
30294 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30295 }
30296 arg6 = static_cast< long >(val6);
30297 }
30298 if (obj6) {
30299 {
30300 arg7 = wxString_in_helper(obj6);
30301 if (arg7 == NULL) SWIG_fail;
30302 temp7 = true;
30303 }
30304 }
30305 {
30306 if (!wxPyCheckForApp()) SWIG_fail;
30307 PyThreadState* __tstate = wxPyBeginAllowThreads();
30308 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30313 {
30314 if (temp3)
30315 delete arg3;
30316 }
30317 {
30318 if (temp7)
30319 delete arg7;
30320 }
30321 return resultobj;
30322 fail:
30323 {
30324 if (temp3)
30325 delete arg3;
30326 }
30327 {
30328 if (temp7)
30329 delete arg7;
30330 }
30331 return NULL;
30332 }
30333
30334
30335 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30336 PyObject *resultobj = 0;
30337 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30338 PyObject *arg2 = (PyObject *) 0 ;
30339 PyObject *arg3 = (PyObject *) 0 ;
30340 void *argp1 = 0 ;
30341 int res1 = 0 ;
30342 PyObject * obj0 = 0 ;
30343 PyObject * obj1 = 0 ;
30344 PyObject * obj2 = 0 ;
30345 char * kwnames[] = {
30346 (char *) "self",(char *) "self",(char *) "_class", NULL
30347 };
30348
30349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30351 if (!SWIG_IsOK(res1)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30353 }
30354 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30355 arg2 = obj1;
30356 arg3 = obj2;
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->_setCallbackInfo(arg2,arg3);
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 resultobj = SWIG_Py_Void();
30364 return resultobj;
30365 fail:
30366 return NULL;
30367 }
30368
30369
30370 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30371 PyObject *resultobj = 0;
30372 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30373 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30374 void *argp1 = 0 ;
30375 int res1 = 0 ;
30376 void *argp2 = 0 ;
30377 int res2 = 0 ;
30378 PyObject * obj0 = 0 ;
30379 PyObject * obj1 = 0 ;
30380 char * kwnames[] = {
30381 (char *) "self",(char *) "canvas", NULL
30382 };
30383
30384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30386 if (!SWIG_IsOK(res1)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30388 }
30389 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30390 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30391 if (!SWIG_IsOK(res2)) {
30392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30393 }
30394 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30395 {
30396 PyThreadState* __tstate = wxPyBeginAllowThreads();
30397 (arg1)->SetPreviewCanvas(arg2);
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 resultobj = SWIG_Py_Void();
30402 return resultobj;
30403 fail:
30404 return NULL;
30405 }
30406
30407
30408 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30409 PyObject *resultobj = 0;
30410 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30411 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30412 void *argp1 = 0 ;
30413 int res1 = 0 ;
30414 void *argp2 = 0 ;
30415 int res2 = 0 ;
30416 PyObject * obj0 = 0 ;
30417 PyObject * obj1 = 0 ;
30418 char * kwnames[] = {
30419 (char *) "self",(char *) "bar", NULL
30420 };
30421
30422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30424 if (!SWIG_IsOK(res1)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30426 }
30427 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30428 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30429 if (!SWIG_IsOK(res2)) {
30430 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30431 }
30432 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30433 {
30434 PyThreadState* __tstate = wxPyBeginAllowThreads();
30435 (arg1)->SetControlBar(arg2);
30436 wxPyEndAllowThreads(__tstate);
30437 if (PyErr_Occurred()) SWIG_fail;
30438 }
30439 resultobj = SWIG_Py_Void();
30440 return resultobj;
30441 fail:
30442 return NULL;
30443 }
30444
30445
30446 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30447 PyObject *resultobj = 0;
30448 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30449 void *argp1 = 0 ;
30450 int res1 = 0 ;
30451 PyObject *swig_obj[1] ;
30452
30453 if (!args) SWIG_fail;
30454 swig_obj[0] = args;
30455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30456 if (!SWIG_IsOK(res1)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30458 }
30459 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30460 {
30461 PyThreadState* __tstate = wxPyBeginAllowThreads();
30462 (arg1)->Initialize();
30463 wxPyEndAllowThreads(__tstate);
30464 if (PyErr_Occurred()) SWIG_fail;
30465 }
30466 resultobj = SWIG_Py_Void();
30467 return resultobj;
30468 fail:
30469 return NULL;
30470 }
30471
30472
30473 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30474 PyObject *resultobj = 0;
30475 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30476 void *argp1 = 0 ;
30477 int res1 = 0 ;
30478 PyObject *swig_obj[1] ;
30479
30480 if (!args) SWIG_fail;
30481 swig_obj[0] = args;
30482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30483 if (!SWIG_IsOK(res1)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30485 }
30486 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30487 {
30488 PyThreadState* __tstate = wxPyBeginAllowThreads();
30489 (arg1)->CreateCanvas();
30490 wxPyEndAllowThreads(__tstate);
30491 if (PyErr_Occurred()) SWIG_fail;
30492 }
30493 resultobj = SWIG_Py_Void();
30494 return resultobj;
30495 fail:
30496 return NULL;
30497 }
30498
30499
30500 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30501 PyObject *resultobj = 0;
30502 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30503 void *argp1 = 0 ;
30504 int res1 = 0 ;
30505 PyObject *swig_obj[1] ;
30506
30507 if (!args) SWIG_fail;
30508 swig_obj[0] = args;
30509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30510 if (!SWIG_IsOK(res1)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30512 }
30513 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30514 {
30515 PyThreadState* __tstate = wxPyBeginAllowThreads();
30516 (arg1)->CreateControlBar();
30517 wxPyEndAllowThreads(__tstate);
30518 if (PyErr_Occurred()) SWIG_fail;
30519 }
30520 resultobj = SWIG_Py_Void();
30521 return resultobj;
30522 fail:
30523 return NULL;
30524 }
30525
30526
30527 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30528 PyObject *obj;
30529 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30530 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30531 return SWIG_Py_Void();
30532 }
30533
30534 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30535 return SWIG_Python_InitShadowInstance(args);
30536 }
30537
30538 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30539 PyObject *resultobj = 0;
30540 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30541 long arg2 ;
30542 wxWindow *arg3 = (wxWindow *) 0 ;
30543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30545 wxSize const &arg5_defvalue = wxDefaultSize ;
30546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30547 long arg6 = (long) 0 ;
30548 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30549 wxString *arg7 = (wxString *) &arg7_defvalue ;
30550 wxPyPreviewControlBar *result = 0 ;
30551 void *argp1 = 0 ;
30552 int res1 = 0 ;
30553 long val2 ;
30554 int ecode2 = 0 ;
30555 void *argp3 = 0 ;
30556 int res3 = 0 ;
30557 wxPoint temp4 ;
30558 wxSize temp5 ;
30559 long val6 ;
30560 int ecode6 = 0 ;
30561 bool temp7 = false ;
30562 PyObject * obj0 = 0 ;
30563 PyObject * obj1 = 0 ;
30564 PyObject * obj2 = 0 ;
30565 PyObject * obj3 = 0 ;
30566 PyObject * obj4 = 0 ;
30567 PyObject * obj5 = 0 ;
30568 PyObject * obj6 = 0 ;
30569 char * kwnames[] = {
30570 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30571 };
30572
30573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30575 if (!SWIG_IsOK(res1)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30577 }
30578 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30579 ecode2 = SWIG_AsVal_long(obj1, &val2);
30580 if (!SWIG_IsOK(ecode2)) {
30581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30582 }
30583 arg2 = static_cast< long >(val2);
30584 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30585 if (!SWIG_IsOK(res3)) {
30586 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30587 }
30588 arg3 = reinterpret_cast< wxWindow * >(argp3);
30589 if (obj3) {
30590 {
30591 arg4 = &temp4;
30592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30593 }
30594 }
30595 if (obj4) {
30596 {
30597 arg5 = &temp5;
30598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30599 }
30600 }
30601 if (obj5) {
30602 ecode6 = SWIG_AsVal_long(obj5, &val6);
30603 if (!SWIG_IsOK(ecode6)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30605 }
30606 arg6 = static_cast< long >(val6);
30607 }
30608 if (obj6) {
30609 {
30610 arg7 = wxString_in_helper(obj6);
30611 if (arg7 == NULL) SWIG_fail;
30612 temp7 = true;
30613 }
30614 }
30615 {
30616 if (!wxPyCheckForApp()) SWIG_fail;
30617 PyThreadState* __tstate = wxPyBeginAllowThreads();
30618 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30619 wxPyEndAllowThreads(__tstate);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30623 {
30624 if (temp7)
30625 delete arg7;
30626 }
30627 return resultobj;
30628 fail:
30629 {
30630 if (temp7)
30631 delete arg7;
30632 }
30633 return NULL;
30634 }
30635
30636
30637 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30638 PyObject *resultobj = 0;
30639 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30640 PyObject *arg2 = (PyObject *) 0 ;
30641 PyObject *arg3 = (PyObject *) 0 ;
30642 void *argp1 = 0 ;
30643 int res1 = 0 ;
30644 PyObject * obj0 = 0 ;
30645 PyObject * obj1 = 0 ;
30646 PyObject * obj2 = 0 ;
30647 char * kwnames[] = {
30648 (char *) "self",(char *) "self",(char *) "_class", NULL
30649 };
30650
30651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30653 if (!SWIG_IsOK(res1)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30655 }
30656 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30657 arg2 = obj1;
30658 arg3 = obj2;
30659 {
30660 PyThreadState* __tstate = wxPyBeginAllowThreads();
30661 (arg1)->_setCallbackInfo(arg2,arg3);
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 resultobj = SWIG_Py_Void();
30666 return resultobj;
30667 fail:
30668 return NULL;
30669 }
30670
30671
30672 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30673 PyObject *resultobj = 0;
30674 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30675 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30676 void *argp1 = 0 ;
30677 int res1 = 0 ;
30678 void *argp2 = 0 ;
30679 int res2 = 0 ;
30680 PyObject * obj0 = 0 ;
30681 PyObject * obj1 = 0 ;
30682 char * kwnames[] = {
30683 (char *) "self",(char *) "preview", NULL
30684 };
30685
30686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30688 if (!SWIG_IsOK(res1)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30690 }
30691 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30693 if (!SWIG_IsOK(res2)) {
30694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30695 }
30696 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->SetPrintPreview(arg2);
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 resultobj = SWIG_Py_Void();
30704 return resultobj;
30705 fail:
30706 return NULL;
30707 }
30708
30709
30710 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30711 PyObject *resultobj = 0;
30712 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30713 void *argp1 = 0 ;
30714 int res1 = 0 ;
30715 PyObject *swig_obj[1] ;
30716
30717 if (!args) SWIG_fail;
30718 swig_obj[0] = args;
30719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30720 if (!SWIG_IsOK(res1)) {
30721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30722 }
30723 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30724 {
30725 PyThreadState* __tstate = wxPyBeginAllowThreads();
30726 (arg1)->CreateButtons();
30727 wxPyEndAllowThreads(__tstate);
30728 if (PyErr_Occurred()) SWIG_fail;
30729 }
30730 resultobj = SWIG_Py_Void();
30731 return resultobj;
30732 fail:
30733 return NULL;
30734 }
30735
30736
30737 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30738 PyObject *resultobj = 0;
30739 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30740 int arg2 ;
30741 void *argp1 = 0 ;
30742 int res1 = 0 ;
30743 int val2 ;
30744 int ecode2 = 0 ;
30745 PyObject * obj0 = 0 ;
30746 PyObject * obj1 = 0 ;
30747 char * kwnames[] = {
30748 (char *) "self",(char *) "zoom", NULL
30749 };
30750
30751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30753 if (!SWIG_IsOK(res1)) {
30754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30755 }
30756 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30757 ecode2 = SWIG_AsVal_int(obj1, &val2);
30758 if (!SWIG_IsOK(ecode2)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30760 }
30761 arg2 = static_cast< int >(val2);
30762 {
30763 PyThreadState* __tstate = wxPyBeginAllowThreads();
30764 (arg1)->SetZoomControl(arg2);
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 resultobj = SWIG_Py_Void();
30769 return resultobj;
30770 fail:
30771 return NULL;
30772 }
30773
30774
30775 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30776 PyObject *obj;
30777 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30779 return SWIG_Py_Void();
30780 }
30781
30782 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30783 return SWIG_Python_InitShadowInstance(args);
30784 }
30785
30786 static PyMethodDef SwigMethods[] = {
30787 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30789 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30791 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30792 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30793 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30794 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30795 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30796 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30803 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30805 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30807 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30808 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30809 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30810 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30811 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30814 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30816 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30819 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30820 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30822 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30824 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30825 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30826 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30827 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30831 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30833 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30836 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30838 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30839 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30840 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
30841 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
30844 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30845 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30847 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30849 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30851 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30854 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30861 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30863 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30868 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30869 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30871 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30874 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30876 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30878 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30882 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30883 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30886 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30887 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30889 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30891 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30892 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30893 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30895 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30896 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30897 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30899 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30900 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30901 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30902 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30903 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30905 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30908 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30912 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30917 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30918 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30920 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30921 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30923 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30925 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30926 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30928 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30934 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30935 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30938 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30939 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30941 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30943 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30945 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30947 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30949 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30951 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30952 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30955 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30956 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30957 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30958 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30959 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30960 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30962 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30970 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30972 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30975 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30976 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30979 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30980 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30982 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30983 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30984 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30987 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30989 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30991 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30992 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30993 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30996 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30998 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31000 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31002 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31004 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31005 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31006 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31009 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31011 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31012 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31013 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31015 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31017 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31018 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31022 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31023 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31024 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31025 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31029 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31030 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31032 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31033 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31034 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31036 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31037 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31038 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31041 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31042 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31043 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31045 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31054 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31055 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31056 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31057 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31059 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31060 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31063 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31064 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31066 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31069 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31070 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31071 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31074 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31075 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31077 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31078 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31080 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31085 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31086 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31092 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31093 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31095 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31099 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31101 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31102 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31103 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31104 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31106 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31107 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31108 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31110 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31112 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31113 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31115 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31116 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31117 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31118 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31119 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31120 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31125 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31126 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31128 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31129 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31130 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31133 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31134 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31137 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31138 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31146 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31147 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31148 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31149 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31150 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31151 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31152 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31153 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31154 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31155 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31158 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31159 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31160 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31162 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31163 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31165 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31166 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31168 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31170 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31171 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31173 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31176 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31177 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31178 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31179 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31180 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31182 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31183 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31184 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31185 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31186 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31187 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31194 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31195 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31197 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31198 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31199 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31202 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31203 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31207 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31208 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31209 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31211 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31212 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31213 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31214 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31218 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31219 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31221 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31222 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31223 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31224 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31228 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31229 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31231 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31233 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31235 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31236 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31238 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31240 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31241 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31242 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31243 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31244 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31245 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31247 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31248 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31250 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31252 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31253 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31254 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31256 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31258 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31259 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31261 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31269 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31270 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31271 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31272 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31273 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31274 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31275 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31276 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31277 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31279 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31287 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31288 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31289 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31290 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31291 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31292 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31293 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31294 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31295 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31297 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31305 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31306 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31307 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31308 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31309 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31310 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31311 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31312 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31313 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31314 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31315 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31316 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31317 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31318 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31319 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31320 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31321 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31322 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31323 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31324 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31325 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31326 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31327 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31339 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31341 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31343 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31344 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31345 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31346 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31347 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31348 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31349 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31352 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31353 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31354 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31355 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31356 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31357 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31358 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31359 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31360 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31361 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31362 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31363 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31364 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31365 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31366 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31367 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31368 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31370 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31372 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31376 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31377 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31378 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31379 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31381 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31382 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31383 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31384 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31385 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31386 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31387 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31388 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31389 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31390 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31391 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31392 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31393 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31394 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31395 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31396 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31397 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31411 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31412 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31413 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31414 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31415 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31416 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31418 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31419 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31421 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31422 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31423 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31424 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31425 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31426 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31427 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31429 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31435 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31436 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31437 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31438 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31439 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31441 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31443 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31444 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31447 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31449 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31451 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31453 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31454 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31457 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31458 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31459 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31460 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31462 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31463 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31464 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31466 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31467 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31469 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31470 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31471 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31472 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31473 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31474 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31476 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31478 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31479 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31480 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31481 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31482 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31483 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31484 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31485 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31486 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31487 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31489 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31491 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31492 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31495 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31496 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31501 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31503 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31504 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31505 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31506 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31509 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31510 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31511 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31512 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31513 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31514 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31515 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31520 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31521 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31522 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31523 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31524 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31528 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31530 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31531 { NULL, NULL, 0, NULL }
31532 };
31533
31534
31535 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31536
31537 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31538 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31539 }
31540 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31541 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31542 }
31543 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31544 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31545 }
31546 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31547 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31548 }
31549 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31550 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31551 }
31552 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31553 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31554 }
31555 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31556 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31557 }
31558 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31559 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31560 }
31561 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31562 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31563 }
31564 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31566 }
31567 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31569 }
31570 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31571 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31572 }
31573 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31574 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31575 }
31576 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31577 return (void *)((wxEvent *) ((wxPyEvent *) x));
31578 }
31579 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31580 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31581 }
31582 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31583 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31584 }
31585 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31586 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31587 }
31588 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31589 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31590 }
31591 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31592 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31593 }
31594 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31595 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31596 }
31597 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31598 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31599 }
31600 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31601 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31602 }
31603 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31604 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31605 }
31606 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31608 }
31609 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31610 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31611 }
31612 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31613 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31614 }
31615 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31616 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31617 }
31618 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31619 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31620 }
31621 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31622 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31623 }
31624 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31625 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31626 }
31627 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31628 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31629 }
31630 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31631 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31632 }
31633 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31634 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31635 }
31636 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31637 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31638 }
31639 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31640 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31641 }
31642 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31643 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31644 }
31645 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31646 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31647 }
31648 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31649 return (void *)((wxEvent *) ((wxShowEvent *) x));
31650 }
31651 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31652 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31653 }
31654 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31655 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31656 }
31657 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31658 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31659 }
31660 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31661 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31662 }
31663 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31664 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31665 }
31666 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31667 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31668 }
31669 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31670 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31671 }
31672 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31673 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31674 }
31675 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31676 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31677 }
31678 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31679 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31680 }
31681 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31682 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31683 }
31684 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31685 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31686 }
31687 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31688 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31689 }
31690 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31691 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31692 }
31693 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31694 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31695 }
31696 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31697 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31698 }
31699 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31700 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31701 }
31702 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31703 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31704 }
31705 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31706 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31707 }
31708 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31709 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31710 }
31711 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31713 }
31714 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31715 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31716 }
31717 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31718 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31719 }
31720 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31721 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31722 }
31723 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31724 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31725 }
31726 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31727 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31728 }
31729 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31730 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31731 }
31732 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31733 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31734 }
31735 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31737 }
31738 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31739 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31740 }
31741 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31742 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31743 }
31744 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31745 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31746 }
31747 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31748 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31749 }
31750 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31751 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31752 }
31753 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31754 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31755 }
31756 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31757 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31758 }
31759 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31760 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31761 }
31762 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31763 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31764 }
31765 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31766 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31767 }
31768 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31769 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31770 }
31771 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31772 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31773 }
31774 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31775 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31776 }
31777 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31778 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31779 }
31780 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31781 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31782 }
31783 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31784 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31785 }
31786 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31787 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31788 }
31789 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31790 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31791 }
31792 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31793 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31794 }
31795 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31796 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31797 }
31798 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31799 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31800 }
31801 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31802 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31803 }
31804 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31805 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31806 }
31807 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31808 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31809 }
31810 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31811 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31812 }
31813 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31814 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31815 }
31816 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31817 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31818 }
31819 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31820 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31821 }
31822 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31823 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31824 }
31825 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31826 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31827 }
31828 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31829 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31830 }
31831 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31832 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31833 }
31834 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31835 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31836 }
31837 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31838 return (void *)((wxFrame *) ((wxTipWindow *) x));
31839 }
31840 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31841 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31842 }
31843 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31844 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31845 }
31846 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31847 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31848 }
31849 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31850 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31851 }
31852 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31853 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31854 }
31855 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31857 }
31858 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31860 }
31861 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31863 }
31864 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31866 }
31867 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) ((wxSizerItem *) x));
31869 }
31870 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31872 }
31873 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31875 }
31876 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31878 }
31879 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31881 }
31882 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31884 }
31885 static void *_p_wxSizerTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) ((wxSizer *) x));
31887 }
31888 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31890 }
31891 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31893 }
31894 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31896 }
31897 static void *_p_wxEventTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) ((wxEvent *) x));
31899 }
31900 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) ((wxFontData *) x));
31902 }
31903 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) ((wxPrintData *) x));
31905 }
31906 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31908 }
31909 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31911 }
31912 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31914 }
31915 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31917 }
31918 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31920 }
31921 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31923 }
31924 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31926 }
31927 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31929 }
31930 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31932 }
31933 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31935 }
31936 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31938 }
31939 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31941 }
31942 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31944 }
31945 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31947 }
31948 static void *_p_wxControlTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31950 }
31951 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31953 }
31954 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31956 }
31957 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) ((wxFSFile *) x));
31959 }
31960 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31962 }
31963 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31965 }
31966 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31968 }
31969 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) ((wxColourData *) x));
31971 }
31972 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31974 }
31975 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31977 }
31978 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31980 }
31981 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31983 }
31984 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31986 }
31987 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31989 }
31990 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31992 }
31993 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31995 }
31996 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31998 }
31999 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32001 }
32002 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32004 }
32005 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32007 }
32008 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32010 }
32011 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32013 }
32014 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) ((wxPrinter *) x));
32016 }
32017 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) ((wxMenuItem *) x));
32019 }
32020 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32022 }
32023 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32025 }
32026 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32028 }
32029 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32031 }
32032 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32034 }
32035 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32037 }
32038 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32040 }
32041 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32043 }
32044 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32046 }
32047 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32049 }
32050 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32052 }
32053 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32055 }
32056 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32058 }
32059 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32061 }
32062 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32064 }
32065 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32067 }
32068 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32070 }
32071 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32073 }
32074 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32076 }
32077 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) ((wxImageHandler *) x));
32079 }
32080 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32082 }
32083 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32085 }
32086 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) ((wxEvtHandler *) x));
32088 }
32089 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32091 }
32092 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32094 }
32095 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32097 }
32098 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32100 }
32101 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32103 }
32104 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32106 }
32107 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32109 }
32110 static void *_p_wxImageTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) ((wxImage *) x));
32112 }
32113 static void *_p_wxFrameTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32115 }
32116 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) ((wxPyPrintout *) x));
32118 }
32119 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32121 }
32122 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32124 }
32125 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32127 }
32128 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32130 }
32131 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32133 }
32134 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32136 }
32137 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32139 }
32140 static void *_p_wxWindowTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32142 }
32143 static void *_p_wxMenuTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32145 }
32146 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32148 }
32149 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32151 }
32152 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32154 }
32155 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32157 }
32158 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32160 }
32161 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32163 }
32164 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32166 }
32167 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32169 }
32170 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32172 }
32173 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32175 }
32176 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32178 }
32179 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32181 }
32182 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32184 }
32185 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32186 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32187 }
32188 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32189 return (void *)((wxObject *) ((wxPrintPreview *) x));
32190 }
32191 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32192 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32193 }
32194 static void *_p_wxPanelTo_p_wxObject(void *x) {
32195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32196 }
32197 static void *_p_wxDialogTo_p_wxObject(void *x) {
32198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32199 }
32200 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32202 }
32203 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32205 }
32206 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32208 }
32209 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32210 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32211 }
32212 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32213 return (void *)((wxObject *) ((wxPrintDialog *) x));
32214 }
32215 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32216 return (void *)((wxObject *) ((wxFileSystem *) x));
32217 }
32218 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32219 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32220 }
32221 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32222 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32223 }
32224 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32225 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32226 }
32227 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32228 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32229 }
32230 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32231 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32232 }
32233 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32234 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32235 }
32236 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32237 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32238 }
32239 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32240 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32241 }
32242 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32244 }
32245 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32247 }
32248 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32249 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32250 }
32251 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32252 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32253 }
32254 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32255 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32256 }
32257 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32259 }
32260 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32261 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32262 }
32263 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32264 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32265 }
32266 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32267 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32268 }
32269 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32270 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32271 }
32272 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32273 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32274 }
32275 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32276 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32277 }
32278 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32279 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32280 }
32281 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32282 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32283 }
32284 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32285 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32286 }
32287 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32288 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32289 }
32290 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32291 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32292 }
32293 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32294 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32295 }
32296 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32297 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32298 }
32299 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32300 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32301 }
32302 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32303 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32304 }
32305 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32306 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32307 }
32308 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32309 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32310 }
32311 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32312 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32313 }
32314 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32315 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32316 }
32317 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32318 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32319 }
32320 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32321 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32322 }
32323 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32324 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32325 }
32326 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32327 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32328 }
32329 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32330 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32331 }
32332 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32333 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32334 }
32335 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32336 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32337 }
32338 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32339 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32340 }
32341 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32342 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32343 }
32344 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32345 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32346 }
32347 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32348 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32349 }
32350 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32351 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32352 }
32353 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32354 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32355 }
32356 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32357 return (void *)((wxWindow *) ((wxMenuBar *) x));
32358 }
32359 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32361 }
32362 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32364 }
32365 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32366 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32367 }
32368 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32369 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32370 }
32371 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32372 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32373 }
32374 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32375 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32376 }
32377 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32379 }
32380 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32382 }
32383 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32384 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32385 }
32386 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32387 return (void *)((wxWindow *) ((wxPanel *) x));
32388 }
32389 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32390 return (void *)((wxWindow *) ((wxStatusBar *) x));
32391 }
32392 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32393 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32394 }
32395 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32397 }
32398 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32399 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32400 }
32401 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32402 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32403 }
32404 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32405 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32406 }
32407 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32408 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32409 }
32410 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32411 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32412 }
32413 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32414 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32415 }
32416 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32417 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32418 }
32419 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32420 return (void *)((wxWindow *) ((wxSashWindow *) x));
32421 }
32422 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32423 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32424 }
32425 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32426 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32427 }
32428 static void *_p_wxControlTo_p_wxWindow(void *x) {
32429 return (void *)((wxWindow *) ((wxControl *) x));
32430 }
32431 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32432 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32433 }
32434 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32435 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32436 }
32437 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32438 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32439 }
32440 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32441 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32442 }
32443 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32444 return (void *)((wxWindow *) ((wxPyWindow *) x));
32445 }
32446 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32447 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32448 }
32449 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32450 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32451 }
32452 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32453 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32454 }
32455 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32456 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32457 }
32458 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32459 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32460 }
32461 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32462 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32463 }
32464 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32465 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32466 }
32467 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32468 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32469 }
32470 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32471 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32472 }
32473 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32474 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32475 }
32476 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32477 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32478 }
32479 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32480 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32481 }
32482 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32483 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32484 }
32485 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32486 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32487 }
32488 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32489 return (void *)((wxDialog *) ((wxColourDialog *) x));
32490 }
32491 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32492 return (void *)((wxDialog *) ((wxDirDialog *) x));
32493 }
32494 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32495 return (void *)((wxDialog *) ((wxFontDialog *) x));
32496 }
32497 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32498 return (void *)((wxDialog *) ((wxFileDialog *) x));
32499 }
32500 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32501 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32502 }
32503 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32504 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32505 }
32506 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32507 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32508 }
32509 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32510 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32511 }
32512 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32513 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32514 }
32515 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32516 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32517 }
32518 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32519 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32520 }
32521 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32522 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32523 }
32524 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32525 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32526 }
32527 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32528 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32529 }
32530 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32531 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32532 }
32533 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32534 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32535 }
32536 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32537 return (void *)((wxPanel *) ((wxPyPanel *) x));
32538 }
32539 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32540 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32541 }
32542 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32543 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32544 }
32545 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32546 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32547 }
32548 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32549 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32550 }
32551 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32552 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32553 }
32554 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32555 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32556 }
32557 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32558 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32559 }
32560 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32561 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32562 }
32563 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32564 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32565 }
32566 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32567 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32568 }
32569 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32570 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32571 }
32572 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32573 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32574 }
32575 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32576 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32577 }
32578 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32579 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32580 }
32581 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32582 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32583 }
32584 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32585 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32586 }
32587 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32588 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32589 }
32590 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32591 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32592 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};
32593 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32594 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32610 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32611 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32612 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32613 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32619 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32620 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32621 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32622 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32623 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32624 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32625 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32626 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32627 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32628 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32629 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32630 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32631 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32632 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32633 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32634 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32635 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32636 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32637 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32638 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32646 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32647 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32648 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32649 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32670 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32676 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32725 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32726 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32727 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32728 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32729 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32730 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32731 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32732 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32733 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32734 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32735 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32736 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32737 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32738 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32739 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32740 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32741 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32742 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32743 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32744 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32745 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32746 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32747 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32748 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32749 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32751 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32752 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32755
32756 static swig_type_info *swig_type_initial[] = {
32757 &_swigt__p_bool,
32758 &_swigt__p_char,
32759 &_swigt__p_form_ops_t,
32760 &_swigt__p_int,
32761 &_swigt__p_unsigned_char,
32762 &_swigt__p_unsigned_int,
32763 &_swigt__p_unsigned_long,
32764 &_swigt__p_wxANIHandler,
32765 &_swigt__p_wxAcceleratorTable,
32766 &_swigt__p_wxActivateEvent,
32767 &_swigt__p_wxArrayInt,
32768 &_swigt__p_wxBMPHandler,
32769 &_swigt__p_wxBitmap,
32770 &_swigt__p_wxBoxSizer,
32771 &_swigt__p_wxCURHandler,
32772 &_swigt__p_wxCalculateLayoutEvent,
32773 &_swigt__p_wxChildFocusEvent,
32774 &_swigt__p_wxClipboardTextEvent,
32775 &_swigt__p_wxCloseEvent,
32776 &_swigt__p_wxColour,
32777 &_swigt__p_wxColourData,
32778 &_swigt__p_wxColourDialog,
32779 &_swigt__p_wxCommandEvent,
32780 &_swigt__p_wxContextMenuEvent,
32781 &_swigt__p_wxControl,
32782 &_swigt__p_wxControlWithItems,
32783 &_swigt__p_wxDC,
32784 &_swigt__p_wxDateEvent,
32785 &_swigt__p_wxDialog,
32786 &_swigt__p_wxDirDialog,
32787 &_swigt__p_wxDisplayChangedEvent,
32788 &_swigt__p_wxDropFilesEvent,
32789 &_swigt__p_wxDuplexMode,
32790 &_swigt__p_wxEraseEvent,
32791 &_swigt__p_wxEvent,
32792 &_swigt__p_wxEvtHandler,
32793 &_swigt__p_wxFSFile,
32794 &_swigt__p_wxFileDialog,
32795 &_swigt__p_wxFileSystem,
32796 &_swigt__p_wxFindDialogEvent,
32797 &_swigt__p_wxFindReplaceData,
32798 &_swigt__p_wxFindReplaceDialog,
32799 &_swigt__p_wxFlexGridSizer,
32800 &_swigt__p_wxFocusEvent,
32801 &_swigt__p_wxFont,
32802 &_swigt__p_wxFontData,
32803 &_swigt__p_wxFontDialog,
32804 &_swigt__p_wxFrame,
32805 &_swigt__p_wxGBSizerItem,
32806 &_swigt__p_wxGIFHandler,
32807 &_swigt__p_wxGridBagSizer,
32808 &_swigt__p_wxGridSizer,
32809 &_swigt__p_wxHtmlLinkInfo,
32810 &_swigt__p_wxICOHandler,
32811 &_swigt__p_wxIcon,
32812 &_swigt__p_wxIconBundle,
32813 &_swigt__p_wxIconizeEvent,
32814 &_swigt__p_wxIdleEvent,
32815 &_swigt__p_wxImage,
32816 &_swigt__p_wxImageHandler,
32817 &_swigt__p_wxIndividualLayoutConstraint,
32818 &_swigt__p_wxInitDialogEvent,
32819 &_swigt__p_wxJPEGHandler,
32820 &_swigt__p_wxKeyEvent,
32821 &_swigt__p_wxLayoutAlgorithm,
32822 &_swigt__p_wxLayoutConstraints,
32823 &_swigt__p_wxMDIChildFrame,
32824 &_swigt__p_wxMDIClientWindow,
32825 &_swigt__p_wxMDIParentFrame,
32826 &_swigt__p_wxMaximizeEvent,
32827 &_swigt__p_wxMenu,
32828 &_swigt__p_wxMenuBar,
32829 &_swigt__p_wxMenuEvent,
32830 &_swigt__p_wxMenuItem,
32831 &_swigt__p_wxMessageDialog,
32832 &_swigt__p_wxMiniFrame,
32833 &_swigt__p_wxMouseCaptureChangedEvent,
32834 &_swigt__p_wxMouseCaptureLostEvent,
32835 &_swigt__p_wxMouseEvent,
32836 &_swigt__p_wxMoveEvent,
32837 &_swigt__p_wxMultiChoiceDialog,
32838 &_swigt__p_wxNavigationKeyEvent,
32839 &_swigt__p_wxNcPaintEvent,
32840 &_swigt__p_wxNotifyEvent,
32841 &_swigt__p_wxNumberEntryDialog,
32842 &_swigt__p_wxObject,
32843 &_swigt__p_wxPCXHandler,
32844 &_swigt__p_wxPNGHandler,
32845 &_swigt__p_wxPNMHandler,
32846 &_swigt__p_wxPageSetupDialog,
32847 &_swigt__p_wxPageSetupDialogData,
32848 &_swigt__p_wxPaintEvent,
32849 &_swigt__p_wxPaletteChangedEvent,
32850 &_swigt__p_wxPanel,
32851 &_swigt__p_wxPaperSize,
32852 &_swigt__p_wxPasswordEntryDialog,
32853 &_swigt__p_wxPoint,
32854 &_swigt__p_wxPopupWindow,
32855 &_swigt__p_wxPreviewCanvas,
32856 &_swigt__p_wxPreviewControlBar,
32857 &_swigt__p_wxPreviewFrame,
32858 &_swigt__p_wxPrintData,
32859 &_swigt__p_wxPrintDialog,
32860 &_swigt__p_wxPrintDialogData,
32861 &_swigt__p_wxPrintPreview,
32862 &_swigt__p_wxPrinter,
32863 &_swigt__p_wxProgressDialog,
32864 &_swigt__p_wxPyApp,
32865 &_swigt__p_wxPyCommandEvent,
32866 &_swigt__p_wxPyEvent,
32867 &_swigt__p_wxPyHtmlListBox,
32868 &_swigt__p_wxPyImageHandler,
32869 &_swigt__p_wxPyPanel,
32870 &_swigt__p_wxPyPopupTransientWindow,
32871 &_swigt__p_wxPyPreviewControlBar,
32872 &_swigt__p_wxPyPreviewFrame,
32873 &_swigt__p_wxPyPrintPreview,
32874 &_swigt__p_wxPyPrintout,
32875 &_swigt__p_wxPyScrolledWindow,
32876 &_swigt__p_wxPySizer,
32877 &_swigt__p_wxPyTaskBarIcon,
32878 &_swigt__p_wxPyVListBox,
32879 &_swigt__p_wxPyVScrolledWindow,
32880 &_swigt__p_wxPyValidator,
32881 &_swigt__p_wxPyWindow,
32882 &_swigt__p_wxQueryLayoutInfoEvent,
32883 &_swigt__p_wxQueryNewPaletteEvent,
32884 &_swigt__p_wxRect,
32885 &_swigt__p_wxRegion,
32886 &_swigt__p_wxSashEvent,
32887 &_swigt__p_wxSashLayoutWindow,
32888 &_swigt__p_wxSashWindow,
32889 &_swigt__p_wxScrollEvent,
32890 &_swigt__p_wxScrollWinEvent,
32891 &_swigt__p_wxScrolledWindow,
32892 &_swigt__p_wxSetCursorEvent,
32893 &_swigt__p_wxShowEvent,
32894 &_swigt__p_wxSingleChoiceDialog,
32895 &_swigt__p_wxSize,
32896 &_swigt__p_wxSizeEvent,
32897 &_swigt__p_wxSizer,
32898 &_swigt__p_wxSizerItem,
32899 &_swigt__p_wxSplashScreen,
32900 &_swigt__p_wxSplashScreenWindow,
32901 &_swigt__p_wxSplitterEvent,
32902 &_swigt__p_wxSplitterWindow,
32903 &_swigt__p_wxStaticBoxSizer,
32904 &_swigt__p_wxStatusBar,
32905 &_swigt__p_wxStdDialogButtonSizer,
32906 &_swigt__p_wxString,
32907 &_swigt__p_wxSysColourChangedEvent,
32908 &_swigt__p_wxTIFFHandler,
32909 &_swigt__p_wxTaskBarIcon,
32910 &_swigt__p_wxTaskBarIconEvent,
32911 &_swigt__p_wxTextEntryDialog,
32912 &_swigt__p_wxTipWindow,
32913 &_swigt__p_wxToolBar,
32914 &_swigt__p_wxTopLevelWindow,
32915 &_swigt__p_wxUpdateUIEvent,
32916 &_swigt__p_wxValidator,
32917 &_swigt__p_wxVisualAttributes,
32918 &_swigt__p_wxWindow,
32919 &_swigt__p_wxWindowCreateEvent,
32920 &_swigt__p_wxWindowDestroyEvent,
32921 &_swigt__p_wxXPMHandler,
32922 };
32923
32924 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32946 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}};
32947 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32948 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}};
32949 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32977 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}};
32978 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33005 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}};
33006 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33035 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_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33038 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}};
33039 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33044 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}};
33045 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}};
33046 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33049 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}};
33050 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33061 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}};
33062 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}};
33063 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33069 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}};
33070 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33071 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}};
33072 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33083 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}};
33084 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33089
33090 static swig_cast_info *swig_cast_initial[] = {
33091 _swigc__p_bool,
33092 _swigc__p_char,
33093 _swigc__p_form_ops_t,
33094 _swigc__p_int,
33095 _swigc__p_unsigned_char,
33096 _swigc__p_unsigned_int,
33097 _swigc__p_unsigned_long,
33098 _swigc__p_wxANIHandler,
33099 _swigc__p_wxAcceleratorTable,
33100 _swigc__p_wxActivateEvent,
33101 _swigc__p_wxArrayInt,
33102 _swigc__p_wxBMPHandler,
33103 _swigc__p_wxBitmap,
33104 _swigc__p_wxBoxSizer,
33105 _swigc__p_wxCURHandler,
33106 _swigc__p_wxCalculateLayoutEvent,
33107 _swigc__p_wxChildFocusEvent,
33108 _swigc__p_wxClipboardTextEvent,
33109 _swigc__p_wxCloseEvent,
33110 _swigc__p_wxColour,
33111 _swigc__p_wxColourData,
33112 _swigc__p_wxColourDialog,
33113 _swigc__p_wxCommandEvent,
33114 _swigc__p_wxContextMenuEvent,
33115 _swigc__p_wxControl,
33116 _swigc__p_wxControlWithItems,
33117 _swigc__p_wxDC,
33118 _swigc__p_wxDateEvent,
33119 _swigc__p_wxDialog,
33120 _swigc__p_wxDirDialog,
33121 _swigc__p_wxDisplayChangedEvent,
33122 _swigc__p_wxDropFilesEvent,
33123 _swigc__p_wxDuplexMode,
33124 _swigc__p_wxEraseEvent,
33125 _swigc__p_wxEvent,
33126 _swigc__p_wxEvtHandler,
33127 _swigc__p_wxFSFile,
33128 _swigc__p_wxFileDialog,
33129 _swigc__p_wxFileSystem,
33130 _swigc__p_wxFindDialogEvent,
33131 _swigc__p_wxFindReplaceData,
33132 _swigc__p_wxFindReplaceDialog,
33133 _swigc__p_wxFlexGridSizer,
33134 _swigc__p_wxFocusEvent,
33135 _swigc__p_wxFont,
33136 _swigc__p_wxFontData,
33137 _swigc__p_wxFontDialog,
33138 _swigc__p_wxFrame,
33139 _swigc__p_wxGBSizerItem,
33140 _swigc__p_wxGIFHandler,
33141 _swigc__p_wxGridBagSizer,
33142 _swigc__p_wxGridSizer,
33143 _swigc__p_wxHtmlLinkInfo,
33144 _swigc__p_wxICOHandler,
33145 _swigc__p_wxIcon,
33146 _swigc__p_wxIconBundle,
33147 _swigc__p_wxIconizeEvent,
33148 _swigc__p_wxIdleEvent,
33149 _swigc__p_wxImage,
33150 _swigc__p_wxImageHandler,
33151 _swigc__p_wxIndividualLayoutConstraint,
33152 _swigc__p_wxInitDialogEvent,
33153 _swigc__p_wxJPEGHandler,
33154 _swigc__p_wxKeyEvent,
33155 _swigc__p_wxLayoutAlgorithm,
33156 _swigc__p_wxLayoutConstraints,
33157 _swigc__p_wxMDIChildFrame,
33158 _swigc__p_wxMDIClientWindow,
33159 _swigc__p_wxMDIParentFrame,
33160 _swigc__p_wxMaximizeEvent,
33161 _swigc__p_wxMenu,
33162 _swigc__p_wxMenuBar,
33163 _swigc__p_wxMenuEvent,
33164 _swigc__p_wxMenuItem,
33165 _swigc__p_wxMessageDialog,
33166 _swigc__p_wxMiniFrame,
33167 _swigc__p_wxMouseCaptureChangedEvent,
33168 _swigc__p_wxMouseCaptureLostEvent,
33169 _swigc__p_wxMouseEvent,
33170 _swigc__p_wxMoveEvent,
33171 _swigc__p_wxMultiChoiceDialog,
33172 _swigc__p_wxNavigationKeyEvent,
33173 _swigc__p_wxNcPaintEvent,
33174 _swigc__p_wxNotifyEvent,
33175 _swigc__p_wxNumberEntryDialog,
33176 _swigc__p_wxObject,
33177 _swigc__p_wxPCXHandler,
33178 _swigc__p_wxPNGHandler,
33179 _swigc__p_wxPNMHandler,
33180 _swigc__p_wxPageSetupDialog,
33181 _swigc__p_wxPageSetupDialogData,
33182 _swigc__p_wxPaintEvent,
33183 _swigc__p_wxPaletteChangedEvent,
33184 _swigc__p_wxPanel,
33185 _swigc__p_wxPaperSize,
33186 _swigc__p_wxPasswordEntryDialog,
33187 _swigc__p_wxPoint,
33188 _swigc__p_wxPopupWindow,
33189 _swigc__p_wxPreviewCanvas,
33190 _swigc__p_wxPreviewControlBar,
33191 _swigc__p_wxPreviewFrame,
33192 _swigc__p_wxPrintData,
33193 _swigc__p_wxPrintDialog,
33194 _swigc__p_wxPrintDialogData,
33195 _swigc__p_wxPrintPreview,
33196 _swigc__p_wxPrinter,
33197 _swigc__p_wxProgressDialog,
33198 _swigc__p_wxPyApp,
33199 _swigc__p_wxPyCommandEvent,
33200 _swigc__p_wxPyEvent,
33201 _swigc__p_wxPyHtmlListBox,
33202 _swigc__p_wxPyImageHandler,
33203 _swigc__p_wxPyPanel,
33204 _swigc__p_wxPyPopupTransientWindow,
33205 _swigc__p_wxPyPreviewControlBar,
33206 _swigc__p_wxPyPreviewFrame,
33207 _swigc__p_wxPyPrintPreview,
33208 _swigc__p_wxPyPrintout,
33209 _swigc__p_wxPyScrolledWindow,
33210 _swigc__p_wxPySizer,
33211 _swigc__p_wxPyTaskBarIcon,
33212 _swigc__p_wxPyVListBox,
33213 _swigc__p_wxPyVScrolledWindow,
33214 _swigc__p_wxPyValidator,
33215 _swigc__p_wxPyWindow,
33216 _swigc__p_wxQueryLayoutInfoEvent,
33217 _swigc__p_wxQueryNewPaletteEvent,
33218 _swigc__p_wxRect,
33219 _swigc__p_wxRegion,
33220 _swigc__p_wxSashEvent,
33221 _swigc__p_wxSashLayoutWindow,
33222 _swigc__p_wxSashWindow,
33223 _swigc__p_wxScrollEvent,
33224 _swigc__p_wxScrollWinEvent,
33225 _swigc__p_wxScrolledWindow,
33226 _swigc__p_wxSetCursorEvent,
33227 _swigc__p_wxShowEvent,
33228 _swigc__p_wxSingleChoiceDialog,
33229 _swigc__p_wxSize,
33230 _swigc__p_wxSizeEvent,
33231 _swigc__p_wxSizer,
33232 _swigc__p_wxSizerItem,
33233 _swigc__p_wxSplashScreen,
33234 _swigc__p_wxSplashScreenWindow,
33235 _swigc__p_wxSplitterEvent,
33236 _swigc__p_wxSplitterWindow,
33237 _swigc__p_wxStaticBoxSizer,
33238 _swigc__p_wxStatusBar,
33239 _swigc__p_wxStdDialogButtonSizer,
33240 _swigc__p_wxString,
33241 _swigc__p_wxSysColourChangedEvent,
33242 _swigc__p_wxTIFFHandler,
33243 _swigc__p_wxTaskBarIcon,
33244 _swigc__p_wxTaskBarIconEvent,
33245 _swigc__p_wxTextEntryDialog,
33246 _swigc__p_wxTipWindow,
33247 _swigc__p_wxToolBar,
33248 _swigc__p_wxTopLevelWindow,
33249 _swigc__p_wxUpdateUIEvent,
33250 _swigc__p_wxValidator,
33251 _swigc__p_wxVisualAttributes,
33252 _swigc__p_wxWindow,
33253 _swigc__p_wxWindowCreateEvent,
33254 _swigc__p_wxWindowDestroyEvent,
33255 _swigc__p_wxXPMHandler,
33256 };
33257
33258
33259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33260
33261 static swig_const_info swig_const_table[] = {
33262 {0, 0, 0, 0.0, 0, 0}};
33263
33264 #ifdef __cplusplus
33265 }
33266 #endif
33267 /* -----------------------------------------------------------------------------
33268 * Type initialization:
33269 * This problem is tough by the requirement that no dynamic
33270 * memory is used. Also, since swig_type_info structures store pointers to
33271 * swig_cast_info structures and swig_cast_info structures store pointers back
33272 * to swig_type_info structures, we need some lookup code at initialization.
33273 * The idea is that swig generates all the structures that are needed.
33274 * The runtime then collects these partially filled structures.
33275 * The SWIG_InitializeModule function takes these initial arrays out of
33276 * swig_module, and does all the lookup, filling in the swig_module.types
33277 * array with the correct data and linking the correct swig_cast_info
33278 * structures together.
33279 *
33280 * The generated swig_type_info structures are assigned staticly to an initial
33281 * array. We just loop though that array, and handle each type individually.
33282 * First we lookup if this type has been already loaded, and if so, use the
33283 * loaded structure instead of the generated one. Then we have to fill in the
33284 * cast linked list. The cast data is initially stored in something like a
33285 * two-dimensional array. Each row corresponds to a type (there are the same
33286 * number of rows as there are in the swig_type_initial array). Each entry in
33287 * a column is one of the swig_cast_info structures for that type.
33288 * The cast_initial array is actually an array of arrays, because each row has
33289 * a variable number of columns. So to actually build the cast linked list,
33290 * we find the array of casts associated with the type, and loop through it
33291 * adding the casts to the list. The one last trick we need to do is making
33292 * sure the type pointer in the swig_cast_info struct is correct.
33293 *
33294 * First off, we lookup the cast->type name to see if it is already loaded.
33295 * There are three cases to handle:
33296 * 1) If the cast->type has already been loaded AND the type we are adding
33297 * casting info to has not been loaded (it is in this module), THEN we
33298 * replace the cast->type pointer with the type pointer that has already
33299 * been loaded.
33300 * 2) If BOTH types (the one we are adding casting info to, and the
33301 * cast->type) are loaded, THEN the cast info has already been loaded by
33302 * the previous module so we just ignore it.
33303 * 3) Finally, if cast->type has not already been loaded, then we add that
33304 * swig_cast_info to the linked list (because the cast->type) pointer will
33305 * be correct.
33306 * ----------------------------------------------------------------------------- */
33307
33308 #ifdef __cplusplus
33309 extern "C" {
33310 #if 0
33311 } /* c-mode */
33312 #endif
33313 #endif
33314
33315 #if 0
33316 #define SWIGRUNTIME_DEBUG
33317 #endif
33318
33319 SWIGRUNTIME void
33320 SWIG_InitializeModule(void *clientdata) {
33321 size_t i;
33322 swig_module_info *module_head;
33323 static int init_run = 0;
33324
33325 clientdata = clientdata;
33326
33327 if (init_run) return;
33328 init_run = 1;
33329
33330 /* Initialize the swig_module */
33331 swig_module.type_initial = swig_type_initial;
33332 swig_module.cast_initial = swig_cast_initial;
33333
33334 /* Try and load any already created modules */
33335 module_head = SWIG_GetModule(clientdata);
33336 if (module_head) {
33337 swig_module.next = module_head->next;
33338 module_head->next = &swig_module;
33339 } else {
33340 /* This is the first module loaded */
33341 swig_module.next = &swig_module;
33342 SWIG_SetModule(clientdata, &swig_module);
33343 }
33344
33345 /* Now work on filling in swig_module.types */
33346 #ifdef SWIGRUNTIME_DEBUG
33347 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33348 #endif
33349 for (i = 0; i < swig_module.size; ++i) {
33350 swig_type_info *type = 0;
33351 swig_type_info *ret;
33352 swig_cast_info *cast;
33353
33354 #ifdef SWIGRUNTIME_DEBUG
33355 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33356 #endif
33357
33358 /* if there is another module already loaded */
33359 if (swig_module.next != &swig_module) {
33360 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33361 }
33362 if (type) {
33363 /* Overwrite clientdata field */
33364 #ifdef SWIGRUNTIME_DEBUG
33365 printf("SWIG_InitializeModule: found type %s\n", type->name);
33366 #endif
33367 if (swig_module.type_initial[i]->clientdata) {
33368 type->clientdata = swig_module.type_initial[i]->clientdata;
33369 #ifdef SWIGRUNTIME_DEBUG
33370 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33371 #endif
33372 }
33373 } else {
33374 type = swig_module.type_initial[i];
33375 }
33376
33377 /* Insert casting types */
33378 cast = swig_module.cast_initial[i];
33379 while (cast->type) {
33380 /* Don't need to add information already in the list */
33381 ret = 0;
33382 #ifdef SWIGRUNTIME_DEBUG
33383 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33384 #endif
33385 if (swig_module.next != &swig_module) {
33386 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33387 #ifdef SWIGRUNTIME_DEBUG
33388 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33389 #endif
33390 }
33391 if (ret) {
33392 if (type == swig_module.type_initial[i]) {
33393 #ifdef SWIGRUNTIME_DEBUG
33394 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33395 #endif
33396 cast->type = ret;
33397 ret = 0;
33398 } else {
33399 /* Check for casting already in the list */
33400 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33401 #ifdef SWIGRUNTIME_DEBUG
33402 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33403 #endif
33404 if (!ocast) ret = 0;
33405 }
33406 }
33407
33408 if (!ret) {
33409 #ifdef SWIGRUNTIME_DEBUG
33410 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33411 #endif
33412 if (type->cast) {
33413 type->cast->prev = cast;
33414 cast->next = type->cast;
33415 }
33416 type->cast = cast;
33417 }
33418 cast++;
33419 }
33420 /* Set entry in modules->types array equal to the type */
33421 swig_module.types[i] = type;
33422 }
33423 swig_module.types[i] = 0;
33424
33425 #ifdef SWIGRUNTIME_DEBUG
33426 printf("**** SWIG_InitializeModule: Cast List ******\n");
33427 for (i = 0; i < swig_module.size; ++i) {
33428 int j = 0;
33429 swig_cast_info *cast = swig_module.cast_initial[i];
33430 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33431 while (cast->type) {
33432 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33433 cast++;
33434 ++j;
33435 }
33436 printf("---- Total casts: %d\n",j);
33437 }
33438 printf("**** SWIG_InitializeModule: Cast List ******\n");
33439 #endif
33440 }
33441
33442 /* This function will propagate the clientdata field of type to
33443 * any new swig_type_info structures that have been added into the list
33444 * of equivalent types. It is like calling
33445 * SWIG_TypeClientData(type, clientdata) a second time.
33446 */
33447 SWIGRUNTIME void
33448 SWIG_PropagateClientData(void) {
33449 size_t i;
33450 swig_cast_info *equiv;
33451 static int init_run = 0;
33452
33453 if (init_run) return;
33454 init_run = 1;
33455
33456 for (i = 0; i < swig_module.size; i++) {
33457 if (swig_module.types[i]->clientdata) {
33458 equiv = swig_module.types[i]->cast;
33459 while (equiv) {
33460 if (!equiv->converter) {
33461 if (equiv->type && !equiv->type->clientdata)
33462 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33463 }
33464 equiv = equiv->next;
33465 }
33466 }
33467 }
33468 }
33469
33470 #ifdef __cplusplus
33471 #if 0
33472 {
33473 /* c-mode */
33474 #endif
33475 }
33476 #endif
33477
33478
33479
33480 #ifdef __cplusplus
33481 extern "C" {
33482 #endif
33483
33484 /* Python-specific SWIG API */
33485 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33486 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33487 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33488
33489 /* -----------------------------------------------------------------------------
33490 * global variable support code.
33491 * ----------------------------------------------------------------------------- */
33492
33493 typedef struct swig_globalvar {
33494 char *name; /* Name of global variable */
33495 PyObject *(*get_attr)(void); /* Return the current value */
33496 int (*set_attr)(PyObject *); /* Set the value */
33497 struct swig_globalvar *next;
33498 } swig_globalvar;
33499
33500 typedef struct swig_varlinkobject {
33501 PyObject_HEAD
33502 swig_globalvar *vars;
33503 } swig_varlinkobject;
33504
33505 SWIGINTERN PyObject *
33506 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33507 return PyString_FromString("<Swig global variables>");
33508 }
33509
33510 SWIGINTERN PyObject *
33511 swig_varlink_str(swig_varlinkobject *v) {
33512 PyObject *str = PyString_FromString("(");
33513 swig_globalvar *var;
33514 for (var = v->vars; var; var=var->next) {
33515 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33516 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33517 }
33518 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33519 return str;
33520 }
33521
33522 SWIGINTERN int
33523 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33524 PyObject *str = swig_varlink_str(v);
33525 fprintf(fp,"Swig global variables ");
33526 fprintf(fp,"%s\n", PyString_AsString(str));
33527 Py_DECREF(str);
33528 return 0;
33529 }
33530
33531 SWIGINTERN void
33532 swig_varlink_dealloc(swig_varlinkobject *v) {
33533 swig_globalvar *var = v->vars;
33534 while (var) {
33535 swig_globalvar *n = var->next;
33536 free(var->name);
33537 free(var);
33538 var = n;
33539 }
33540 }
33541
33542 SWIGINTERN PyObject *
33543 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33544 PyObject *res = NULL;
33545 swig_globalvar *var = v->vars;
33546 while (var) {
33547 if (strcmp(var->name,n) == 0) {
33548 res = (*var->get_attr)();
33549 break;
33550 }
33551 var = var->next;
33552 }
33553 if (res == NULL && !PyErr_Occurred()) {
33554 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33555 }
33556 return res;
33557 }
33558
33559 SWIGINTERN int
33560 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33561 int res = 1;
33562 swig_globalvar *var = v->vars;
33563 while (var) {
33564 if (strcmp(var->name,n) == 0) {
33565 res = (*var->set_attr)(p);
33566 break;
33567 }
33568 var = var->next;
33569 }
33570 if (res == 1 && !PyErr_Occurred()) {
33571 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33572 }
33573 return res;
33574 }
33575
33576 SWIGINTERN PyTypeObject*
33577 swig_varlink_type(void) {
33578 static char varlink__doc__[] = "Swig var link object";
33579 static PyTypeObject varlink_type;
33580 static int type_init = 0;
33581 if (!type_init) {
33582 const PyTypeObject tmp
33583 = {
33584 PyObject_HEAD_INIT(NULL)
33585 0, /* Number of items in variable part (ob_size) */
33586 (char *)"swigvarlink", /* Type name (tp_name) */
33587 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33588 0, /* Itemsize (tp_itemsize) */
33589 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33590 (printfunc) swig_varlink_print, /* Print (tp_print) */
33591 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33592 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33593 0, /* tp_compare */
33594 (reprfunc) swig_varlink_repr, /* tp_repr */
33595 0, /* tp_as_number */
33596 0, /* tp_as_sequence */
33597 0, /* tp_as_mapping */
33598 0, /* tp_hash */
33599 0, /* tp_call */
33600 (reprfunc)swig_varlink_str, /* tp_str */
33601 0, /* tp_getattro */
33602 0, /* tp_setattro */
33603 0, /* tp_as_buffer */
33604 0, /* tp_flags */
33605 varlink__doc__, /* tp_doc */
33606 0, /* tp_traverse */
33607 0, /* tp_clear */
33608 0, /* tp_richcompare */
33609 0, /* tp_weaklistoffset */
33610 #if PY_VERSION_HEX >= 0x02020000
33611 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33612 #endif
33613 #if PY_VERSION_HEX >= 0x02030000
33614 0, /* tp_del */
33615 #endif
33616 #ifdef COUNT_ALLOCS
33617 0,0,0,0 /* tp_alloc -> tp_next */
33618 #endif
33619 };
33620 varlink_type = tmp;
33621 varlink_type.ob_type = &PyType_Type;
33622 type_init = 1;
33623 }
33624 return &varlink_type;
33625 }
33626
33627 /* Create a variable linking object for use later */
33628 SWIGINTERN PyObject *
33629 SWIG_Python_newvarlink(void) {
33630 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33631 if (result) {
33632 result->vars = 0;
33633 }
33634 return ((PyObject*) result);
33635 }
33636
33637 SWIGINTERN void
33638 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33639 swig_varlinkobject *v = (swig_varlinkobject *) p;
33640 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33641 if (gv) {
33642 size_t size = strlen(name)+1;
33643 gv->name = (char *)malloc(size);
33644 if (gv->name) {
33645 strncpy(gv->name,name,size);
33646 gv->get_attr = get_attr;
33647 gv->set_attr = set_attr;
33648 gv->next = v->vars;
33649 }
33650 }
33651 v->vars = gv;
33652 }
33653
33654 SWIGINTERN PyObject *
33655 SWIG_globals() {
33656 static PyObject *_SWIG_globals = 0;
33657 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33658 return _SWIG_globals;
33659 }
33660
33661 /* -----------------------------------------------------------------------------
33662 * constants/methods manipulation
33663 * ----------------------------------------------------------------------------- */
33664
33665 /* Install Constants */
33666 SWIGINTERN void
33667 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33668 PyObject *obj = 0;
33669 size_t i;
33670 for (i = 0; constants[i].type; ++i) {
33671 switch(constants[i].type) {
33672 case SWIG_PY_POINTER:
33673 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33674 break;
33675 case SWIG_PY_BINARY:
33676 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33677 break;
33678 default:
33679 obj = 0;
33680 break;
33681 }
33682 if (obj) {
33683 PyDict_SetItemString(d, constants[i].name, obj);
33684 Py_DECREF(obj);
33685 }
33686 }
33687 }
33688
33689 /* -----------------------------------------------------------------------------*/
33690 /* Fix SwigMethods to carry the callback ptrs when needed */
33691 /* -----------------------------------------------------------------------------*/
33692
33693 SWIGINTERN void
33694 SWIG_Python_FixMethods(PyMethodDef *methods,
33695 swig_const_info *const_table,
33696 swig_type_info **types,
33697 swig_type_info **types_initial) {
33698 size_t i;
33699 for (i = 0; methods[i].ml_name; ++i) {
33700 const char *c = methods[i].ml_doc;
33701 if (c && (c = strstr(c, "swig_ptr: "))) {
33702 int j;
33703 swig_const_info *ci = 0;
33704 const char *name = c + 10;
33705 for (j = 0; const_table[j].type; ++j) {
33706 if (strncmp(const_table[j].name, name,
33707 strlen(const_table[j].name)) == 0) {
33708 ci = &(const_table[j]);
33709 break;
33710 }
33711 }
33712 if (ci) {
33713 size_t shift = (ci->ptype) - types;
33714 swig_type_info *ty = types_initial[shift];
33715 size_t ldoc = (c - methods[i].ml_doc);
33716 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33717 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33718 if (ndoc) {
33719 char *buff = ndoc;
33720 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33721 if (ptr) {
33722 strncpy(buff, methods[i].ml_doc, ldoc);
33723 buff += ldoc;
33724 strncpy(buff, "swig_ptr: ", 10);
33725 buff += 10;
33726 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33727 methods[i].ml_doc = ndoc;
33728 }
33729 }
33730 }
33731 }
33732 }
33733 }
33734
33735 #ifdef __cplusplus
33736 }
33737 #endif
33738
33739 /* -----------------------------------------------------------------------------*
33740 * Partial Init method
33741 * -----------------------------------------------------------------------------*/
33742
33743 #ifdef __cplusplus
33744 extern "C"
33745 #endif
33746 SWIGEXPORT void SWIG_init(void) {
33747 PyObject *m, *d;
33748
33749 /* Fix SwigMethods to carry the callback ptrs when needed */
33750 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33751
33752 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33753 d = PyModule_GetDict(m);
33754
33755 SWIG_InitializeModule(0);
33756 SWIG_InstallConstants(d,swig_const_table);
33757
33758
33759 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33760 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33761 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33762 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33763 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33764 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33765 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33766 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33767 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33768 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33769 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33770 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33771 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33772 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33773 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33774 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33775 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33776 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33777 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33778 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33779 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33780 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33781 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33782 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33783 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33784 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33785 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33786 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33787 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33788 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
33789 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33790 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33791 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33792 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33793 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
33794 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
33795 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33796 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33797 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33798 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33799 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33800 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33801 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33802 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33803 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33804 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33805 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33806 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33807 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33808 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33809 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33810 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33811 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33812 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33813 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33814 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33815 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33816 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33817 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33818 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33819 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33820 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33821 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33822 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33823 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33824 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33825 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33826 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33827 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33828 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33829 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33830 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33831 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33832 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33833 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33834 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33835 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33836 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33837 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33838 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33839 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33840 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33841 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33842 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33843 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33844 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33845 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33846 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33847 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33848 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33849 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33850 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33851 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33852 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33853 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33854 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33855 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33856 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33857 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33858 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33859 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33860 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33861 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33862 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33863 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33864
33865 // Map renamed classes back to their common name for OOR
33866 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33867 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33868 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33869
33870 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33871 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33872 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33873 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33874 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33875 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33876 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33877 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33878 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33879 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33880 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33881 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33882 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33883 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33884 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33885 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33886 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33887 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33888 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33889 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33890 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33891 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33892 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33893 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33894 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33895 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33896 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33897 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33898 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33899 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
33900 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33901 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33902 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33903 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33904 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
33905 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
33906 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
33907 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
33908 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
33909 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
33910 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
33911 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
33912 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33913 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33914 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33915 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33916 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33917 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33918 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33919 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33920 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33921 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33922 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33923 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33924 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33925 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33926 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33927 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33928 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33929 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33930 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33931 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33932 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33933 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33934 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33935 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33936 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33937 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33938 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33939 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33940 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33941 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33942 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33943 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33944 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33945 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33946 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33947 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33948 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33949 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33950 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33951 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33952 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33953 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33954 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33955 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33956 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33957 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33958 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33959 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33960 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33961 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33962 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33963 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33964 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33965 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33966 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33967 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33968 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33969 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33970 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33971 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33972 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33973 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33974
33975 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33976
33977 }
33978