]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Don't confuse SWIG with static and non-static methods of the same name
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info *swig_types[165];
2631 static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634
2635 /* -------- TYPES TABLE (END) -------- */
2636
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2640 # endif
2641 #endif
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 #endif
2648 #ifndef METH_O
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 #endif
2651
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2656
2657 #define SWIG_name "_windows_"
2658
2659 #define SWIGVERSION 0x010329
2660
2661
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664
2665
2666 #include <stdexcept>
2667
2668
2669 namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
2673
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
2678
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
2712 }
2713
2714
2715 namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
2724 }
2725 };
2726 }
2727
2728
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2731
2732
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2735
2736
2737
2738 #include <limits.h>
2739 #ifndef LLONG_MIN
2740 # define LLONG_MIN LONG_LONG_MIN
2741 #endif
2742 #ifndef LLONG_MAX
2743 # define LLONG_MAX LONG_LONG_MAX
2744 #endif
2745 #ifndef ULLONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2747 #endif
2748
2749
2750 SWIGINTERN int
2751 SWIG_AsVal_long (PyObject* obj, long* val)
2752 {
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsVal_int (PyObject * obj, int *val)
2763 {
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
2774 }
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_bool (PyObject *obj, bool *val)
2779 {
2780 if (obj == Py_True) {
2781 if (val) *val = true;
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
2784 if (val) *val = false;
2785 return SWIG_OK;
2786 } else {
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
2791 }
2792 }
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_double (PyObject *obj, double* val)
2807 {
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
2810 return SWIG_OK;
2811 }
2812 return SWIG_TypeError;
2813 }
2814
2815
2816 #define SWIG_From_double PyFloat_FromDouble
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2822 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2824 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2825
2826 SWIGINTERN int
2827 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2828 {
2829 long v = 0;
2830 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2831 return SWIG_TypeError;
2832 }
2833 else if (val)
2834 *val = (unsigned long)v;
2835 return SWIG_OK;
2836 }
2837
2838
2839 SWIGINTERN int
2840 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2841 {
2842 unsigned long v;
2843 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2844 if (SWIG_IsOK(res)) {
2845 if ((v > UCHAR_MAX)) {
2846 return SWIG_OverflowError;
2847 } else {
2848 if (val) *val = static_cast< unsigned char >(v);
2849 }
2850 }
2851 return res;
2852 }
2853
2854
2855
2856 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2857 wxRect r;
2858 self->GetFieldRect(i, r);
2859 return r;
2860 }
2861 static const wxString wxPySplitterNameStr(wxT("splitter"));
2862 static const wxString wxPySashNameStr(wxT("sashWindow"));
2863 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2864
2865 #include <wx/popupwin.h>
2866
2867
2868 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2869 {
2870 public:
2871 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2872 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2873 : wxPopupTransientWindow(parent, style) {}
2874
2875 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2876 DEC_PYCALLBACK__(OnDismiss);
2877 DEC_PYCALLBACK_BOOL_(CanDismiss);
2878 PYPRIVATE;
2879 };
2880
2881
2882 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2883 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2884 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2885
2886
2887 #include <wx/tipwin.h>
2888
2889 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2890 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2891 }
2892
2893 #include <wx/tipwin.h>
2894
2895
2896 #include <wx/vscroll.h>
2897
2898
2899 class wxPyVScrolledWindow : public wxVScrolledWindow
2900 {
2901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2902 public:
2903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2904
2905 wxPyVScrolledWindow(wxWindow *parent,
2906 wxWindowID id = wxID_ANY,
2907 const wxPoint& pos = wxDefaultPosition,
2908 const wxSize& size = wxDefaultSize,
2909 long style = 0,
2910 const wxString& name = wxPyPanelNameStr)
2911 : wxVScrolledWindow(parent, id, pos, size, style, name)
2912 {}
2913
2914 // Overridable virtuals
2915
2916 // this function must be overridden in the derived class and it should
2917 // return the height of the given line in pixels
2918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2919
2920
2921 // this function doesn't have to be overridden but it may be useful to do
2922 // it if calculating the lines heights is a relatively expensive operation
2923 // as it gives the user code a possibility to calculate several of them at
2924 // once
2925 //
2926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2927 // shouldn't rely on the latter being called for all lines in the interval
2928 // specified here. It is also possible that OnGetLineHeight() will be
2929 // called for the lines outside of this interval, so this is really just a
2930 // hint, not a promise.
2931 //
2932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2933 // usual
2934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2935
2936
2937 // when the number of lines changes, we try to estimate the total height
2938 // of all lines which is a rather expensive operation in terms of lines
2939 // access, so if the user code may estimate the average height
2940 // better/faster than we do, it should override this function to implement
2941 // its own logic
2942 //
2943 // this function should return the best guess for the total height it may
2944 // make
2945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2946
2947
2948 // Also expose some other interesting protected methods
2949
2950
2951 // find the index of the line we need to show at the top of the window such
2952 // that the last (fully or partially) visible line is the given one
2953 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2955
2956 // get the total height of the lines between lineMin (inclusive) and
2957 // lineMax (exclusive)
2958 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2959 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2960
2961 // update the thumb size shown by the scrollbar
2962 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2963
2964 // remove the scrollbar completely because we don't need it
2965 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2966
2967 PYPRIVATE;
2968 };
2969
2970 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2971
2972 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2973 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2974 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2975
2976
2977 SWIGINTERNINLINE int
2978 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2979 {
2980 unsigned long v;
2981 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2982 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2983 return res;
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject*
2988 SWIG_From_unsigned_SS_long (unsigned long value)
2989 {
2990 return (value > LONG_MAX) ?
2991 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2992 }
2993
2994
2995 SWIGINTERNINLINE PyObject *
2996 SWIG_From_size_t (size_t value)
2997 {
2998 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2999 }
3000
3001
3002 #include <wx/vlbox.h>
3003
3004 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3005
3006 class wxPyVListBox : public wxVListBox
3007 {
3008 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3009 public:
3010 wxPyVListBox() : wxVListBox() {}
3011
3012 wxPyVListBox(wxWindow *parent,
3013 wxWindowID id = wxID_ANY,
3014 const wxPoint& pos = wxDefaultPosition,
3015 const wxSize& size = wxDefaultSize,
3016 long style = 0,
3017 const wxString& name = wxPyVListBoxNameStr)
3018 : wxVListBox(parent, id, pos, size, style, name)
3019 {}
3020
3021 // Overridable virtuals
3022
3023 // the derived class must implement this function to actually draw the item
3024 // with the given index on the provided DC
3025 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3026 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3027
3028
3029 // the derived class must implement this method to return the height of the
3030 // specified item
3031 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3032 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3033
3034
3035 // this method may be used to draw separators between the lines; note that
3036 // the rectangle may be modified, typically to deflate it a bit before
3037 // passing to OnDrawItem()
3038 //
3039 // the base class version doesn't do anything
3040 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3041 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3042
3043
3044 // this method is used to draw the items background and, maybe, a border
3045 // around it
3046 //
3047 // the base class version implements a reasonable default behaviour which
3048 // consists in drawing the selected item with the standard background
3049 // colour and drawing a border around the item if it is either selected or
3050 // current
3051 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3052 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3053
3054
3055 PYPRIVATE;
3056 };
3057
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3059
3060 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3061 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3062 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3063 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3064
3065
3066 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3067 unsigned long cookie = 0;
3068 int selected = self->GetFirstSelected(cookie);
3069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3070 PyObject* tup = PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3072 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3073 wxPyEndBlockThreads(blocked);
3074 return tup;
3075 }
3076 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3077 int selected = self->GetNextSelected(cookie);
3078 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3079 PyObject* tup = PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3081 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3082 wxPyEndBlockThreads(blocked);
3083 return tup;
3084 }
3085
3086 #include <wx/htmllbox.h>
3087
3088
3089 class wxPyHtmlListBox : public wxHtmlListBox
3090 {
3091 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3092 public:
3093 wxPyHtmlListBox() : wxHtmlListBox() {}
3094
3095 wxPyHtmlListBox(wxWindow *parent,
3096 wxWindowID id = wxID_ANY,
3097 const wxPoint& pos = wxDefaultPosition,
3098 const wxSize& size = wxDefaultSize,
3099 long style = 0,
3100 const wxString& name = wxPyVListBoxNameStr)
3101 : wxHtmlListBox(parent, id, pos, size, style, name)
3102 {}
3103
3104 // Overridable virtuals
3105
3106 // this method must be implemented in the derived class and should return
3107 // the body (i.e. without <html>) of the HTML for the given item
3108 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3109
3110 // this function may be overridden to decorate HTML returned by OnGetItem()
3111 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3112
3113 // These are from wxVListBox
3114 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3115 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3116
3117 // TODO:
3118 // // this method allows to customize the selection appearance: it may be used
3119 // // to specify the colour of the text which normally has the given colour
3120 // // colFg when it is inside the selection
3121 // //
3122 // // by default, the original colour is not used at all and all text has the
3123 // // same (default for this system) colour inside selection
3124 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3125
3126 // // this is the same as GetSelectedTextColour() but allows to customize the
3127 // // background colour -- this is even more rarely used as you can change it
3128 // // globally using SetSelectionBackground()
3129 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3130
3131
3132 // This method may be overriden to handle clicking on a link in
3133 // the listbox. By default, clicking links is ignored.
3134 virtual void OnLinkClicked(size_t n,
3135 const wxHtmlLinkInfo& link);
3136
3137 PYPRIVATE;
3138 };
3139
3140
3141 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3142
3143 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3144 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3145 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3146 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3147
3148
3149 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3150 const wxHtmlLinkInfo& link) {
3151 bool found;
3152 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3153 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3154 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3155 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3156 Py_DECREF(obj);
3157 }
3158 wxPyEndBlockThreads(blocked);
3159 if (! found)
3160 wxPyHtmlListBox::OnLinkClicked(n, link);
3161 }
3162
3163
3164
3165
3166
3167 #ifndef wxHAS_TASK_BAR_ICON
3168 // implement dummy classes for platforms that don't have it
3169
3170 class wxTaskBarIcon : public wxEvtHandler
3171 {
3172 public:
3173 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3174 };
3175
3176
3177 class wxTaskBarIconEvent : public wxEvent
3178 {
3179 public:
3180 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3181 { wxPyRaiseNotImplemented(); }
3182 virtual wxEvent* Clone() const { return NULL; }
3183 bool IsOk() const { return false; }
3184 bool IsIconInstalled() const { return false; }
3185 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3186 bool RemoveIcon() { return false; }
3187 bool PopupMenu(wxMenu *menu) { return false; }
3188 };
3189
3190 enum {
3191 wxEVT_TASKBAR_MOVE = 0,
3192 wxEVT_TASKBAR_LEFT_DOWN = 0,
3193 wxEVT_TASKBAR_LEFT_UP = 0,
3194 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3195 wxEVT_TASKBAR_RIGHT_UP = 0,
3196 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3197 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3198 };
3199
3200
3201 #else
3202 // Otherwise make a class that can virtualize CreatePopupMenu
3203 class wxPyTaskBarIcon : public wxTaskBarIcon
3204 {
3205 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3206 public:
3207 wxPyTaskBarIcon() : wxTaskBarIcon()
3208 {}
3209
3210 wxMenu* CreatePopupMenu() {
3211 wxMenu *rval = NULL;
3212 bool found;
3213 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3214 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3215 PyObject* ro;
3216 wxMenu* ptr;
3217 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3218 if (ro) {
3219 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3220 rval = ptr;
3221 Py_DECREF(ro);
3222 }
3223 }
3224 wxPyEndBlockThreads(blocked);
3225 if (! found)
3226 rval = wxTaskBarIcon::CreatePopupMenu();
3227 return rval;
3228 }
3229
3230 PYPRIVATE;
3231 };
3232
3233 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3234
3235 #endif
3236
3237 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3238 self->RemoveIcon();
3239 delete self;
3240 }
3241 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3242 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3243 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3244 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3245 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3246 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3247
3248 // for compatibility only
3249 #define wxHIDE_READONLY 0
3250
3251 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3252 wxArrayString arr;
3253 self->GetFilenames(arr);
3254 return wxArrayString2PyList_helper(arr);
3255 }
3256 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3257 wxArrayString arr;
3258 self->GetPaths(arr);
3259 return wxArrayString2PyList_helper(arr);
3260 }
3261 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3262 return wxArrayInt2PyList_helper(self->GetSelections());
3263 }
3264 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){
3265 return new wxSingleChoiceDialog(parent, message, caption,
3266 choices, choices_array, NULL, style, pos);
3267 }
3268 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3269
3270 SWIGINTERNINLINE PyObject*
3271 SWIG_From_bool (bool value)
3272 {
3273 return PyBool_FromLong(value ? 1 : 0);
3274 }
3275
3276
3277 #include <wx/mdi.h>
3278
3279 // C++ version of Python aware wxWindow
3280 class wxPyWindow : public wxWindow
3281 {
3282 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3283 public:
3284 wxPyWindow() : wxWindow() {}
3285 wxPyWindow(wxWindow* parent, const wxWindowID id,
3286 const wxPoint& pos = wxDefaultPosition,
3287 const wxSize& size = wxDefaultSize,
3288 long style = 0,
3289 const wxString& name = wxPyPanelNameStr)
3290 : wxWindow(parent, id, pos, size, style, name) {}
3291
3292 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3293
3294 bool DoEraseBackground(wxDC* dc) {
3295 #ifdef __WXMSW__
3296 return wxWindow::DoEraseBackground(dc->GetHDC());
3297 #else
3298 dc->SetBackground(wxBrush(GetBackgroundColour()));
3299 dc->Clear();
3300 return true;
3301 #endif
3302 }
3303
3304 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3305 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3308
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3312
3313 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3314 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3315
3316 DEC_PYCALLBACK__(InitDialog);
3317 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3318 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3319 DEC_PYCALLBACK_BOOL_(Validate);
3320
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3323 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3324
3325 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3327
3328 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3329 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3330
3331 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3332
3333 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3334
3335 PYPRIVATE;
3336 };
3337
3338 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3339
3340 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3341 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3344
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3348
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3351
3352 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3356
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3359 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3360
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3363
3364 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3365 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3366
3367 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3368
3369 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3370
3371 // C++ version of Python aware wxPanel
3372 class wxPyPanel : public wxPanel
3373 {
3374 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3375 public:
3376 wxPyPanel() : wxPanel() {}
3377 wxPyPanel(wxWindow* parent, const wxWindowID id,
3378 const wxPoint& pos = wxDefaultPosition,
3379 const wxSize& size = wxDefaultSize,
3380 long style = 0,
3381 const wxString& name = wxPyPanelNameStr)
3382 : wxPanel(parent, id, pos, size, style, name) {}
3383
3384 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3385 bool DoEraseBackground(wxDC* dc) {
3386 #ifdef __WXMSW__
3387 return wxWindow::DoEraseBackground(dc->GetHDC());
3388 #else
3389 dc->SetBackground(wxBrush(GetBackgroundColour()));
3390 dc->Clear();
3391 return true;
3392 #endif
3393 }
3394
3395
3396 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3397 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3400
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3404
3405 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3406 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3407
3408 DEC_PYCALLBACK__(InitDialog);
3409 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3410 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3411 DEC_PYCALLBACK_BOOL_(Validate);
3412
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3415 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3416
3417 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3419
3420 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3421 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3422
3423 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3424
3425 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3426
3427 PYPRIVATE;
3428 };
3429
3430 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3431
3432 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3433 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3436
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3440
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3443
3444 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3448
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3451 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3452
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3455
3456 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3457 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3458
3459 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3460
3461 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3462
3463 // C++ version of Python aware wxScrolledWindow
3464 class wxPyScrolledWindow : public wxScrolledWindow
3465 {
3466 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3467 public:
3468 wxPyScrolledWindow() : wxScrolledWindow() {}
3469 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3470 const wxPoint& pos = wxDefaultPosition,
3471 const wxSize& size = wxDefaultSize,
3472 long style = 0,
3473 const wxString& name = wxPyPanelNameStr)
3474 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3475
3476 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3477 bool DoEraseBackground(wxDC* dc) {
3478 #ifdef __WXMSW__
3479 return wxWindow::DoEraseBackground(dc->GetHDC());
3480 #else
3481 dc->SetBackground(wxBrush(GetBackgroundColour()));
3482 dc->Clear();
3483 return true;
3484 #endif
3485 }
3486
3487 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3488 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3491
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3495
3496 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3497 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3498
3499 DEC_PYCALLBACK__(InitDialog);
3500 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3501 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3502 DEC_PYCALLBACK_BOOL_(Validate);
3503
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3506 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3507
3508 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3510
3511 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3512 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3513
3514 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3515
3516 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3517
3518 PYPRIVATE;
3519 };
3520
3521 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3522
3523 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3524 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3527
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3531
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3534
3535 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3539
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3542 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3543
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3546
3547 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3548 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3549
3550 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3551
3552 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3553
3554
3555 #include "wx/wxPython/printfw.h"
3556
3557
3558 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3559 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3560 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3561 PyObject* data;
3562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3563 data = PyString_FromStringAndSize(self->GetPrivData(),
3564 self->GetPrivDataLen());
3565 wxPyEndBlockThreads(blocked);
3566 return data;
3567 }
3568 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3569 if (! PyString_Check(data)) {
3570 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3571 "Expected string object"));
3572 return /* NULL */ ;
3573 }
3574
3575 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3576 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3577 wxPyEndBlockThreads(blocked);
3578 }
3579
3580
3581 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3582
3583 // Since this one would be tough and ugly to do with the Macros...
3584 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3585 bool hadErr = false;
3586 bool found;
3587
3588 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3589 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3590 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3591 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3592 PyObject* val;
3593
3594 val = PyTuple_GetItem(result, 0);
3595 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3596 else hadErr = true;
3597
3598 val = PyTuple_GetItem(result, 1);
3599 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3600 else hadErr = true;
3601
3602 val = PyTuple_GetItem(result, 2);
3603 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3604 else hadErr = true;
3605
3606 val = PyTuple_GetItem(result, 3);
3607 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3608 else hadErr = true;
3609 }
3610 else
3611 hadErr = true;
3612
3613 if (hadErr) {
3614 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3615 PyErr_Print();
3616 }
3617 Py_DECREF(result);
3618 }
3619 wxPyEndBlockThreads(blocked);
3620 if (! found)
3621 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3622 }
3623
3624
3625
3626 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3627 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3630 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3631 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3632 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3633
3634
3635
3636
3637
3638 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3639 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3640
3641
3642 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3643 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3644 bool rval=false; \
3645 bool found; \
3646 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3647 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3648 PyObject* win = wxPyMake_wxObject(a,false); \
3649 PyObject* dc = wxPyMake_wxObject(&b,false); \
3650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3651 Py_DECREF(win); \
3652 Py_DECREF(dc); \
3653 } \
3654 wxPyEndBlockThreads(blocked); \
3655 if (! found) \
3656 rval = PCLASS::CBNAME(a, b); \
3657 return rval; \
3658 }
3659
3660
3661
3662
3663 class wxPyPrintPreview : public wxPrintPreview
3664 {
3665 DECLARE_CLASS(wxPyPrintPreview)
3666 public:
3667 wxPyPrintPreview(wxPyPrintout* printout,
3668 wxPyPrintout* printoutForPrinting,
3669 wxPrintDialogData* data=NULL)
3670 : wxPrintPreview(printout, printoutForPrinting, data)
3671 {}
3672 wxPyPrintPreview(wxPyPrintout* printout,
3673 wxPyPrintout* printoutForPrinting,
3674 wxPrintData* data)
3675 : wxPrintPreview(printout, printoutForPrinting, data)
3676 {}
3677
3678 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3681 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3682 DEC_PYCALLBACK_VOID_INT(SetZoom);
3683 DEC_PYCALLBACK_BOOL_BOOL(Print);
3684 DEC_PYCALLBACK_VOID_(DetermineScaling);
3685
3686 PYPRIVATE;
3687 };
3688
3689 // Stupid renamed classes... Fix this in 2.5...
3690 #if defined(__WXMSW__)
3691 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3692 #elif defined(__WXMAC__)
3693 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3694 #else
3695 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3696 #endif
3697
3698 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3701 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3702 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3703 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3704 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3705
3706
3707 class wxPyPreviewFrame : public wxPreviewFrame
3708 {
3709 DECLARE_CLASS(wxPyPreviewFrame)
3710 public:
3711 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3712 const wxString& title,
3713 const wxPoint& pos = wxDefaultPosition,
3714 const wxSize& size = wxDefaultSize,
3715 long style = wxDEFAULT_FRAME_STYLE,
3716 const wxString& name = wxPyFrameNameStr)
3717 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3718 {}
3719
3720 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3721 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3722
3723 DEC_PYCALLBACK_VOID_(Initialize);
3724 DEC_PYCALLBACK_VOID_(CreateCanvas);
3725 DEC_PYCALLBACK_VOID_(CreateControlBar);
3726
3727 PYPRIVATE;
3728 };
3729
3730 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3731
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3735
3736
3737 class wxPyPreviewControlBar : public wxPreviewControlBar
3738 {
3739 DECLARE_CLASS(wxPyPreviewControlBar)
3740 public:
3741 wxPyPreviewControlBar(wxPrintPreview *preview,
3742 long buttons,
3743 wxWindow *parent,
3744 const wxPoint& pos = wxDefaultPosition,
3745 const wxSize& size = wxDefaultSize,
3746 long style = 0,
3747 const wxString& name = wxPyPanelNameStr)
3748 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3749 {}
3750
3751 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3752
3753 DEC_PYCALLBACK_VOID_(CreateButtons);
3754 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3755
3756 PYPRIVATE;
3757 };
3758
3759 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3760 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3761 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3762
3763 #ifdef __cplusplus
3764 extern "C" {
3765 #endif
3766 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj = 0;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
3769 int arg2 = (int) (int)-1 ;
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3774 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3775 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3776 wxString *arg6 = (wxString *) &arg6_defvalue ;
3777 wxPanel *result = 0 ;
3778 void *argp1 = 0 ;
3779 int res1 = 0 ;
3780 int val2 ;
3781 int ecode2 = 0 ;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
3784 long val5 ;
3785 int ecode5 = 0 ;
3786 bool temp6 = false ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 PyObject * obj3 = 0 ;
3791 PyObject * obj4 = 0 ;
3792 PyObject * obj5 = 0 ;
3793 char * kwnames[] = {
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3795 };
3796
3797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3799 if (!SWIG_IsOK(res1)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3801 }
3802 arg1 = reinterpret_cast< wxWindow * >(argp1);
3803 if (obj1) {
3804 ecode2 = SWIG_AsVal_int(obj1, &val2);
3805 if (!SWIG_IsOK(ecode2)) {
3806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3807 }
3808 arg2 = static_cast< int >(val2);
3809 }
3810 if (obj2) {
3811 {
3812 arg3 = &temp3;
3813 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3814 }
3815 }
3816 if (obj3) {
3817 {
3818 arg4 = &temp4;
3819 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3820 }
3821 }
3822 if (obj4) {
3823 ecode5 = SWIG_AsVal_long(obj4, &val5);
3824 if (!SWIG_IsOK(ecode5)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3826 }
3827 arg5 = static_cast< long >(val5);
3828 }
3829 if (obj5) {
3830 {
3831 arg6 = wxString_in_helper(obj5);
3832 if (arg6 == NULL) SWIG_fail;
3833 temp6 = true;
3834 }
3835 }
3836 {
3837 if (!wxPyCheckForApp()) SWIG_fail;
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3844 {
3845 if (temp6)
3846 delete arg6;
3847 }
3848 return resultobj;
3849 fail:
3850 {
3851 if (temp6)
3852 delete arg6;
3853 }
3854 return NULL;
3855 }
3856
3857
3858 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3859 PyObject *resultobj = 0;
3860 wxPanel *result = 0 ;
3861
3862 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3863 {
3864 if (!wxPyCheckForApp()) SWIG_fail;
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (wxPanel *)new wxPanel();
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj = 0;
3879 wxPanel *arg1 = (wxPanel *) 0 ;
3880 wxWindow *arg2 = (wxWindow *) 0 ;
3881 int arg3 = (int) (int)-1 ;
3882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3884 wxSize const &arg5_defvalue = wxDefaultSize ;
3885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3886 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3887 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3888 wxString *arg7 = (wxString *) &arg7_defvalue ;
3889 bool result;
3890 void *argp1 = 0 ;
3891 int res1 = 0 ;
3892 void *argp2 = 0 ;
3893 int res2 = 0 ;
3894 int val3 ;
3895 int ecode3 = 0 ;
3896 wxPoint temp4 ;
3897 wxSize temp5 ;
3898 long val6 ;
3899 int ecode6 = 0 ;
3900 bool temp7 = false ;
3901 PyObject * obj0 = 0 ;
3902 PyObject * obj1 = 0 ;
3903 PyObject * obj2 = 0 ;
3904 PyObject * obj3 = 0 ;
3905 PyObject * obj4 = 0 ;
3906 PyObject * obj5 = 0 ;
3907 PyObject * obj6 = 0 ;
3908 char * kwnames[] = {
3909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3910 };
3911
3912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3914 if (!SWIG_IsOK(res1)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3916 }
3917 arg1 = reinterpret_cast< wxPanel * >(argp1);
3918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3919 if (!SWIG_IsOK(res2)) {
3920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3921 }
3922 arg2 = reinterpret_cast< wxWindow * >(argp2);
3923 if (obj2) {
3924 ecode3 = SWIG_AsVal_int(obj2, &val3);
3925 if (!SWIG_IsOK(ecode3)) {
3926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3927 }
3928 arg3 = static_cast< int >(val3);
3929 }
3930 if (obj3) {
3931 {
3932 arg4 = &temp4;
3933 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3934 }
3935 }
3936 if (obj4) {
3937 {
3938 arg5 = &temp5;
3939 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3940 }
3941 }
3942 if (obj5) {
3943 ecode6 = SWIG_AsVal_long(obj5, &val6);
3944 if (!SWIG_IsOK(ecode6)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3946 }
3947 arg6 = static_cast< long >(val6);
3948 }
3949 if (obj6) {
3950 {
3951 arg7 = wxString_in_helper(obj6);
3952 if (arg7 == NULL) SWIG_fail;
3953 temp7 = true;
3954 }
3955 }
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 {
3963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3964 }
3965 {
3966 if (temp7)
3967 delete arg7;
3968 }
3969 return resultobj;
3970 fail:
3971 {
3972 if (temp7)
3973 delete arg7;
3974 }
3975 return NULL;
3976 }
3977
3978
3979 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3980 PyObject *resultobj = 0;
3981 wxPanel *arg1 = (wxPanel *) 0 ;
3982 void *argp1 = 0 ;
3983 int res1 = 0 ;
3984 PyObject *swig_obj[1] ;
3985
3986 if (!args) SWIG_fail;
3987 swig_obj[0] = args;
3988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3989 if (!SWIG_IsOK(res1)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3991 }
3992 arg1 = reinterpret_cast< wxPanel * >(argp1);
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 (arg1)->SetFocusIgnoringChildren();
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 resultobj = SWIG_Py_Void();
4000 return resultobj;
4001 fail:
4002 return NULL;
4003 }
4004
4005
4006 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4007 PyObject *resultobj = 0;
4008 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4009 SwigValueWrapper<wxVisualAttributes > result;
4010 int val1 ;
4011 int ecode1 = 0 ;
4012 PyObject * obj0 = 0 ;
4013 char * kwnames[] = {
4014 (char *) "variant", NULL
4015 };
4016
4017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4018 if (obj0) {
4019 ecode1 = SWIG_AsVal_int(obj0, &val1);
4020 if (!SWIG_IsOK(ecode1)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4022 }
4023 arg1 = static_cast< wxWindowVariant >(val1);
4024 }
4025 {
4026 if (!wxPyCheckForApp()) SWIG_fail;
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = wxPanel::GetClassDefaultAttributes(arg1);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 PyObject *obj;
4041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4043 return SWIG_Py_Void();
4044 }
4045
4046 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4047 return SWIG_Python_InitShadowInstance(args);
4048 }
4049
4050 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj = 0;
4052 wxWindow *arg1 = (wxWindow *) 0 ;
4053 int arg2 = (int) (int)-1 ;
4054 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4055 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4056 wxSize const &arg4_defvalue = wxDefaultSize ;
4057 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4058 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4059 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4060 wxString *arg6 = (wxString *) &arg6_defvalue ;
4061 wxScrolledWindow *result = 0 ;
4062 void *argp1 = 0 ;
4063 int res1 = 0 ;
4064 int val2 ;
4065 int ecode2 = 0 ;
4066 wxPoint temp3 ;
4067 wxSize temp4 ;
4068 long val5 ;
4069 int ecode5 = 0 ;
4070 bool temp6 = false ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 PyObject * obj2 = 0 ;
4074 PyObject * obj3 = 0 ;
4075 PyObject * obj4 = 0 ;
4076 PyObject * obj5 = 0 ;
4077 char * kwnames[] = {
4078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4079 };
4080
4081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4083 if (!SWIG_IsOK(res1)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4085 }
4086 arg1 = reinterpret_cast< wxWindow * >(argp1);
4087 if (obj1) {
4088 ecode2 = SWIG_AsVal_int(obj1, &val2);
4089 if (!SWIG_IsOK(ecode2)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4091 }
4092 arg2 = static_cast< int >(val2);
4093 }
4094 if (obj2) {
4095 {
4096 arg3 = &temp3;
4097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4098 }
4099 }
4100 if (obj3) {
4101 {
4102 arg4 = &temp4;
4103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4104 }
4105 }
4106 if (obj4) {
4107 ecode5 = SWIG_AsVal_long(obj4, &val5);
4108 if (!SWIG_IsOK(ecode5)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4110 }
4111 arg5 = static_cast< long >(val5);
4112 }
4113 if (obj5) {
4114 {
4115 arg6 = wxString_in_helper(obj5);
4116 if (arg6 == NULL) SWIG_fail;
4117 temp6 = true;
4118 }
4119 }
4120 {
4121 if (!wxPyCheckForApp()) SWIG_fail;
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4128 {
4129 if (temp6)
4130 delete arg6;
4131 }
4132 return resultobj;
4133 fail:
4134 {
4135 if (temp6)
4136 delete arg6;
4137 }
4138 return NULL;
4139 }
4140
4141
4142 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4143 PyObject *resultobj = 0;
4144 wxScrolledWindow *result = 0 ;
4145
4146 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4147 {
4148 if (!wxPyCheckForApp()) SWIG_fail;
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxScrolledWindow *)new wxScrolledWindow();
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj = 0;
4163 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4164 wxWindow *arg2 = (wxWindow *) 0 ;
4165 int arg3 = (int) (int)-1 ;
4166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4168 wxSize const &arg5_defvalue = wxDefaultSize ;
4169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4170 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4171 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4172 wxString *arg7 = (wxString *) &arg7_defvalue ;
4173 bool result;
4174 void *argp1 = 0 ;
4175 int res1 = 0 ;
4176 void *argp2 = 0 ;
4177 int res2 = 0 ;
4178 int val3 ;
4179 int ecode3 = 0 ;
4180 wxPoint temp4 ;
4181 wxSize temp5 ;
4182 long val6 ;
4183 int ecode6 = 0 ;
4184 bool temp7 = false ;
4185 PyObject * obj0 = 0 ;
4186 PyObject * obj1 = 0 ;
4187 PyObject * obj2 = 0 ;
4188 PyObject * obj3 = 0 ;
4189 PyObject * obj4 = 0 ;
4190 PyObject * obj5 = 0 ;
4191 PyObject * obj6 = 0 ;
4192 char * kwnames[] = {
4193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4194 };
4195
4196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4198 if (!SWIG_IsOK(res1)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4200 }
4201 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4203 if (!SWIG_IsOK(res2)) {
4204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4205 }
4206 arg2 = reinterpret_cast< wxWindow * >(argp2);
4207 if (obj2) {
4208 ecode3 = SWIG_AsVal_int(obj2, &val3);
4209 if (!SWIG_IsOK(ecode3)) {
4210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4211 }
4212 arg3 = static_cast< int >(val3);
4213 }
4214 if (obj3) {
4215 {
4216 arg4 = &temp4;
4217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4218 }
4219 }
4220 if (obj4) {
4221 {
4222 arg5 = &temp5;
4223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4224 }
4225 }
4226 if (obj5) {
4227 ecode6 = SWIG_AsVal_long(obj5, &val6);
4228 if (!SWIG_IsOK(ecode6)) {
4229 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4230 }
4231 arg6 = static_cast< long >(val6);
4232 }
4233 if (obj6) {
4234 {
4235 arg7 = wxString_in_helper(obj6);
4236 if (arg7 == NULL) SWIG_fail;
4237 temp7 = true;
4238 }
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 {
4247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4248 }
4249 {
4250 if (temp7)
4251 delete arg7;
4252 }
4253 return resultobj;
4254 fail:
4255 {
4256 if (temp7)
4257 delete arg7;
4258 }
4259 return NULL;
4260 }
4261
4262
4263 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4266 int arg2 ;
4267 int arg3 ;
4268 int arg4 ;
4269 int arg5 ;
4270 int arg6 = (int) 0 ;
4271 int arg7 = (int) 0 ;
4272 bool arg8 = (bool) false ;
4273 void *argp1 = 0 ;
4274 int res1 = 0 ;
4275 int val2 ;
4276 int ecode2 = 0 ;
4277 int val3 ;
4278 int ecode3 = 0 ;
4279 int val4 ;
4280 int ecode4 = 0 ;
4281 int val5 ;
4282 int ecode5 = 0 ;
4283 int val6 ;
4284 int ecode6 = 0 ;
4285 int val7 ;
4286 int ecode7 = 0 ;
4287 bool val8 ;
4288 int ecode8 = 0 ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 PyObject * obj2 = 0 ;
4292 PyObject * obj3 = 0 ;
4293 PyObject * obj4 = 0 ;
4294 PyObject * obj5 = 0 ;
4295 PyObject * obj6 = 0 ;
4296 PyObject * obj7 = 0 ;
4297 char * kwnames[] = {
4298 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4299 };
4300
4301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4303 if (!SWIG_IsOK(res1)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4305 }
4306 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4307 ecode2 = SWIG_AsVal_int(obj1, &val2);
4308 if (!SWIG_IsOK(ecode2)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4310 }
4311 arg2 = static_cast< int >(val2);
4312 ecode3 = SWIG_AsVal_int(obj2, &val3);
4313 if (!SWIG_IsOK(ecode3)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4315 }
4316 arg3 = static_cast< int >(val3);
4317 ecode4 = SWIG_AsVal_int(obj3, &val4);
4318 if (!SWIG_IsOK(ecode4)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4320 }
4321 arg4 = static_cast< int >(val4);
4322 ecode5 = SWIG_AsVal_int(obj4, &val5);
4323 if (!SWIG_IsOK(ecode5)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4325 }
4326 arg5 = static_cast< int >(val5);
4327 if (obj5) {
4328 ecode6 = SWIG_AsVal_int(obj5, &val6);
4329 if (!SWIG_IsOK(ecode6)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4331 }
4332 arg6 = static_cast< int >(val6);
4333 }
4334 if (obj6) {
4335 ecode7 = SWIG_AsVal_int(obj6, &val7);
4336 if (!SWIG_IsOK(ecode7)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4338 }
4339 arg7 = static_cast< int >(val7);
4340 }
4341 if (obj7) {
4342 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4343 if (!SWIG_IsOK(ecode8)) {
4344 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4345 }
4346 arg8 = static_cast< bool >(val8);
4347 }
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 resultobj = SWIG_Py_Void();
4355 return resultobj;
4356 fail:
4357 return NULL;
4358 }
4359
4360
4361 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj = 0;
4363 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4364 int arg2 ;
4365 int arg3 ;
4366 void *argp1 = 0 ;
4367 int res1 = 0 ;
4368 int val2 ;
4369 int ecode2 = 0 ;
4370 int val3 ;
4371 int ecode3 = 0 ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 char * kwnames[] = {
4376 (char *) "self",(char *) "x",(char *) "y", NULL
4377 };
4378
4379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4381 if (!SWIG_IsOK(res1)) {
4382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4383 }
4384 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4385 ecode2 = SWIG_AsVal_int(obj1, &val2);
4386 if (!SWIG_IsOK(ecode2)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4388 }
4389 arg2 = static_cast< int >(val2);
4390 ecode3 = SWIG_AsVal_int(obj2, &val3);
4391 if (!SWIG_IsOK(ecode3)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4393 }
4394 arg3 = static_cast< int >(val3);
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->Scroll(arg2,arg3);
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 resultobj = SWIG_Py_Void();
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj = 0;
4410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4411 int arg2 ;
4412 int result;
4413 void *argp1 = 0 ;
4414 int res1 = 0 ;
4415 int val2 ;
4416 int ecode2 = 0 ;
4417 PyObject * obj0 = 0 ;
4418 PyObject * obj1 = 0 ;
4419 char * kwnames[] = {
4420 (char *) "self",(char *) "orient", NULL
4421 };
4422
4423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4425 if (!SWIG_IsOK(res1)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4427 }
4428 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4429 ecode2 = SWIG_AsVal_int(obj1, &val2);
4430 if (!SWIG_IsOK(ecode2)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4432 }
4433 arg2 = static_cast< int >(val2);
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = SWIG_From_int(static_cast< int >(result));
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj = 0;
4449 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4450 int arg2 ;
4451 int arg3 ;
4452 void *argp1 = 0 ;
4453 int res1 = 0 ;
4454 int val2 ;
4455 int ecode2 = 0 ;
4456 int val3 ;
4457 int ecode3 = 0 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj2 = 0 ;
4461 char * kwnames[] = {
4462 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4463 };
4464
4465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4467 if (!SWIG_IsOK(res1)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4469 }
4470 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4471 ecode2 = SWIG_AsVal_int(obj1, &val2);
4472 if (!SWIG_IsOK(ecode2)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4474 }
4475 arg2 = static_cast< int >(val2);
4476 ecode3 = SWIG_AsVal_int(obj2, &val3);
4477 if (!SWIG_IsOK(ecode3)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4479 }
4480 arg3 = static_cast< int >(val3);
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 (arg1)->SetScrollPageSize(arg2,arg3);
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 resultobj = SWIG_Py_Void();
4488 return resultobj;
4489 fail:
4490 return NULL;
4491 }
4492
4493
4494 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj = 0;
4496 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4497 int arg2 ;
4498 int arg3 ;
4499 void *argp1 = 0 ;
4500 int res1 = 0 ;
4501 int val2 ;
4502 int ecode2 = 0 ;
4503 int val3 ;
4504 int ecode3 = 0 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 PyObject * obj2 = 0 ;
4508 char * kwnames[] = {
4509 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4510 };
4511
4512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4514 if (!SWIG_IsOK(res1)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4516 }
4517 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4518 ecode2 = SWIG_AsVal_int(obj1, &val2);
4519 if (!SWIG_IsOK(ecode2)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4521 }
4522 arg2 = static_cast< int >(val2);
4523 ecode3 = SWIG_AsVal_int(obj2, &val3);
4524 if (!SWIG_IsOK(ecode3)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4526 }
4527 arg3 = static_cast< int >(val3);
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 (arg1)->SetScrollRate(arg2,arg3);
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 resultobj = SWIG_Py_Void();
4535 return resultobj;
4536 fail:
4537 return NULL;
4538 }
4539
4540
4541 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4542 PyObject *resultobj = 0;
4543 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4544 int *arg2 = (int *) 0 ;
4545 int *arg3 = (int *) 0 ;
4546 void *argp1 = 0 ;
4547 int res1 = 0 ;
4548 int temp2 ;
4549 int res2 = SWIG_TMPOBJ ;
4550 int temp3 ;
4551 int res3 = SWIG_TMPOBJ ;
4552 PyObject *swig_obj[1] ;
4553
4554 arg2 = &temp2;
4555 arg3 = &temp3;
4556 if (!args) SWIG_fail;
4557 swig_obj[0] = args;
4558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4559 if (!SWIG_IsOK(res1)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4561 }
4562 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 resultobj = SWIG_Py_Void();
4570 if (SWIG_IsTmpObj(res2)) {
4571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4572 } else {
4573 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4575 }
4576 if (SWIG_IsTmpObj(res3)) {
4577 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4578 } else {
4579 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4580 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4581 }
4582 return resultobj;
4583 fail:
4584 return NULL;
4585 }
4586
4587
4588 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj = 0;
4590 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4591 bool arg2 ;
4592 bool arg3 ;
4593 void *argp1 = 0 ;
4594 int res1 = 0 ;
4595 bool val2 ;
4596 int ecode2 = 0 ;
4597 bool val3 ;
4598 int ecode3 = 0 ;
4599 PyObject * obj0 = 0 ;
4600 PyObject * obj1 = 0 ;
4601 PyObject * obj2 = 0 ;
4602 char * kwnames[] = {
4603 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4604 };
4605
4606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4608 if (!SWIG_IsOK(res1)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4610 }
4611 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4612 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4613 if (!SWIG_IsOK(ecode2)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4615 }
4616 arg2 = static_cast< bool >(val2);
4617 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4618 if (!SWIG_IsOK(ecode3)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4620 }
4621 arg3 = static_cast< bool >(val3);
4622 {
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 (arg1)->EnableScrolling(arg2,arg3);
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 resultobj = SWIG_Py_Void();
4629 return resultobj;
4630 fail:
4631 return NULL;
4632 }
4633
4634
4635 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4636 PyObject *resultobj = 0;
4637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4638 int *arg2 = (int *) 0 ;
4639 int *arg3 = (int *) 0 ;
4640 void *argp1 = 0 ;
4641 int res1 = 0 ;
4642 int temp2 ;
4643 int res2 = SWIG_TMPOBJ ;
4644 int temp3 ;
4645 int res3 = SWIG_TMPOBJ ;
4646 PyObject *swig_obj[1] ;
4647
4648 arg2 = &temp2;
4649 arg3 = &temp3;
4650 if (!args) SWIG_fail;
4651 swig_obj[0] = args;
4652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4653 if (!SWIG_IsOK(res1)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4655 }
4656 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 resultobj = SWIG_Py_Void();
4664 if (SWIG_IsTmpObj(res2)) {
4665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4666 } else {
4667 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4669 }
4670 if (SWIG_IsTmpObj(res3)) {
4671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4672 } else {
4673 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4675 }
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj = 0;
4684 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4685 double arg2 ;
4686 double arg3 ;
4687 void *argp1 = 0 ;
4688 int res1 = 0 ;
4689 double val2 ;
4690 int ecode2 = 0 ;
4691 double val3 ;
4692 int ecode3 = 0 ;
4693 PyObject * obj0 = 0 ;
4694 PyObject * obj1 = 0 ;
4695 PyObject * obj2 = 0 ;
4696 char * kwnames[] = {
4697 (char *) "self",(char *) "xs",(char *) "ys", NULL
4698 };
4699
4700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4702 if (!SWIG_IsOK(res1)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4704 }
4705 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4706 ecode2 = SWIG_AsVal_double(obj1, &val2);
4707 if (!SWIG_IsOK(ecode2)) {
4708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4709 }
4710 arg2 = static_cast< double >(val2);
4711 ecode3 = SWIG_AsVal_double(obj2, &val3);
4712 if (!SWIG_IsOK(ecode3)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4714 }
4715 arg3 = static_cast< double >(val3);
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->SetScale(arg2,arg3);
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_Py_Void();
4723 return resultobj;
4724 fail:
4725 return NULL;
4726 }
4727
4728
4729 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4730 PyObject *resultobj = 0;
4731 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4732 double result;
4733 void *argp1 = 0 ;
4734 int res1 = 0 ;
4735 PyObject *swig_obj[1] ;
4736
4737 if (!args) SWIG_fail;
4738 swig_obj[0] = args;
4739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4740 if (!SWIG_IsOK(res1)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4742 }
4743 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_From_double(static_cast< double >(result));
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4758 PyObject *resultobj = 0;
4759 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4760 double result;
4761 void *argp1 = 0 ;
4762 int res1 = 0 ;
4763 PyObject *swig_obj[1] ;
4764
4765 if (!args) SWIG_fail;
4766 swig_obj[0] = args;
4767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4768 if (!SWIG_IsOK(res1)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4770 }
4771 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4772 {
4773 PyThreadState* __tstate = wxPyBeginAllowThreads();
4774 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4775 wxPyEndAllowThreads(__tstate);
4776 if (PyErr_Occurred()) SWIG_fail;
4777 }
4778 resultobj = SWIG_From_double(static_cast< double >(result));
4779 return resultobj;
4780 fail:
4781 return NULL;
4782 }
4783
4784
4785 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4786 PyObject *resultobj = 0;
4787 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4788 wxPoint *arg2 = 0 ;
4789 wxPoint result;
4790 void *argp1 = 0 ;
4791 int res1 = 0 ;
4792 wxPoint temp2 ;
4793
4794 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4796 if (!SWIG_IsOK(res1)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4798 }
4799 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4800 {
4801 arg2 = &temp2;
4802 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4803 }
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4818 PyObject *resultobj = 0;
4819 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4820 int arg2 ;
4821 int arg3 ;
4822 int *arg4 = (int *) 0 ;
4823 int *arg5 = (int *) 0 ;
4824 void *argp1 = 0 ;
4825 int res1 = 0 ;
4826 int val2 ;
4827 int ecode2 = 0 ;
4828 int val3 ;
4829 int ecode3 = 0 ;
4830 int temp4 ;
4831 int res4 = SWIG_TMPOBJ ;
4832 int temp5 ;
4833 int res5 = SWIG_TMPOBJ ;
4834
4835 arg4 = &temp4;
4836 arg5 = &temp5;
4837 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4839 if (!SWIG_IsOK(res1)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 }
4842 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4843 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4844 if (!SWIG_IsOK(ecode2)) {
4845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4846 }
4847 arg2 = static_cast< int >(val2);
4848 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4849 if (!SWIG_IsOK(ecode3)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4851 }
4852 arg3 = static_cast< int >(val3);
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = SWIG_Py_Void();
4860 if (SWIG_IsTmpObj(res4)) {
4861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4862 } else {
4863 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4865 }
4866 if (SWIG_IsTmpObj(res5)) {
4867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4868 } else {
4869 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4871 }
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4879 int argc;
4880 PyObject *argv[4];
4881
4882 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4883 --argc;
4884 if (argc == 2) {
4885 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4886 }
4887 if (argc == 3) {
4888 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4889 }
4890
4891 fail:
4892 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4893 return NULL;
4894 }
4895
4896
4897 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4898 PyObject *resultobj = 0;
4899 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4900 wxPoint *arg2 = 0 ;
4901 wxPoint result;
4902 void *argp1 = 0 ;
4903 int res1 = 0 ;
4904 wxPoint temp2 ;
4905
4906 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4910 }
4911 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4912 {
4913 arg2 = &temp2;
4914 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4930 PyObject *resultobj = 0;
4931 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4932 int arg2 ;
4933 int arg3 ;
4934 int *arg4 = (int *) 0 ;
4935 int *arg5 = (int *) 0 ;
4936 void *argp1 = 0 ;
4937 int res1 = 0 ;
4938 int val2 ;
4939 int ecode2 = 0 ;
4940 int val3 ;
4941 int ecode3 = 0 ;
4942 int temp4 ;
4943 int res4 = SWIG_TMPOBJ ;
4944 int temp5 ;
4945 int res5 = SWIG_TMPOBJ ;
4946
4947 arg4 = &temp4;
4948 arg5 = &temp5;
4949 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4951 if (!SWIG_IsOK(res1)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4953 }
4954 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4955 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4956 if (!SWIG_IsOK(ecode2)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4958 }
4959 arg2 = static_cast< int >(val2);
4960 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4961 if (!SWIG_IsOK(ecode3)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4963 }
4964 arg3 = static_cast< int >(val3);
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 resultobj = SWIG_Py_Void();
4972 if (SWIG_IsTmpObj(res4)) {
4973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4974 } else {
4975 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4977 }
4978 if (SWIG_IsTmpObj(res5)) {
4979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4980 } else {
4981 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4983 }
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4991 int argc;
4992 PyObject *argv[4];
4993
4994 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4995 --argc;
4996 if (argc == 2) {
4997 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4998 }
4999 if (argc == 3) {
5000 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5001 }
5002
5003 fail:
5004 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5005 return NULL;
5006 }
5007
5008
5009 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5010 PyObject *resultobj = 0;
5011 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5012 void *argp1 = 0 ;
5013 int res1 = 0 ;
5014 PyObject *swig_obj[1] ;
5015
5016 if (!args) SWIG_fail;
5017 swig_obj[0] = args;
5018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5019 if (!SWIG_IsOK(res1)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5021 }
5022 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5023 {
5024 PyThreadState* __tstate = wxPyBeginAllowThreads();
5025 (arg1)->AdjustScrollbars();
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 resultobj = SWIG_Py_Void();
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj = 0;
5038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5039 wxScrollWinEvent *arg2 = 0 ;
5040 int result;
5041 void *argp1 = 0 ;
5042 int res1 = 0 ;
5043 void *argp2 = 0 ;
5044 int res2 = 0 ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 char * kwnames[] = {
5048 (char *) "self",(char *) "event", NULL
5049 };
5050
5051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5053 if (!SWIG_IsOK(res1)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5055 }
5056 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5058 if (!SWIG_IsOK(res2)) {
5059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5060 }
5061 if (!argp2) {
5062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 }
5064 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (int)(arg1)->CalcScrollInc(*arg2);
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 resultobj = SWIG_From_int(static_cast< int >(result));
5072 return resultobj;
5073 fail:
5074 return NULL;
5075 }
5076
5077
5078 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj = 0;
5080 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5081 wxWindow *arg2 = (wxWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 void *argp2 = 0 ;
5085 int res2 = 0 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char * kwnames[] = {
5089 (char *) "self",(char *) "target", NULL
5090 };
5091
5092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5094 if (!SWIG_IsOK(res1)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5096 }
5097 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5099 if (!SWIG_IsOK(res2)) {
5100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5101 }
5102 arg2 = reinterpret_cast< wxWindow * >(argp2);
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetTargetWindow(arg2);
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = SWIG_Py_Void();
5110 return resultobj;
5111 fail:
5112 return NULL;
5113 }
5114
5115
5116 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5117 PyObject *resultobj = 0;
5118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5119 wxWindow *result = 0 ;
5120 void *argp1 = 0 ;
5121 int res1 = 0 ;
5122 PyObject *swig_obj[1] ;
5123
5124 if (!args) SWIG_fail;
5125 swig_obj[0] = args;
5126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5127 if (!SWIG_IsOK(res1)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 }
5130 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5131 {
5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
5133 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 {
5138 resultobj = wxPyMake_wxObject(result, 0);
5139 }
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj = 0;
5148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5149 wxDC *arg2 = 0 ;
5150 void *argp1 = 0 ;
5151 int res1 = 0 ;
5152 void *argp2 = 0 ;
5153 int res2 = 0 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 char * kwnames[] = {
5157 (char *) "self",(char *) "dc", NULL
5158 };
5159
5160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5162 if (!SWIG_IsOK(res1)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5164 }
5165 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5167 if (!SWIG_IsOK(res2)) {
5168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5169 }
5170 if (!argp2) {
5171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5172 }
5173 arg2 = reinterpret_cast< wxDC * >(argp2);
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->DoPrepareDC(*arg2);
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 resultobj = SWIG_Py_Void();
5181 return resultobj;
5182 fail:
5183 return NULL;
5184 }
5185
5186
5187 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj = 0;
5189 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5190 SwigValueWrapper<wxVisualAttributes > result;
5191 int val1 ;
5192 int ecode1 = 0 ;
5193 PyObject * obj0 = 0 ;
5194 char * kwnames[] = {
5195 (char *) "variant", NULL
5196 };
5197
5198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5199 if (obj0) {
5200 ecode1 = SWIG_AsVal_int(obj0, &val1);
5201 if (!SWIG_IsOK(ecode1)) {
5202 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5203 }
5204 arg1 = static_cast< wxWindowVariant >(val1);
5205 }
5206 {
5207 if (!wxPyCheckForApp()) SWIG_fail;
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5210 wxPyEndAllowThreads(__tstate);
5211 if (PyErr_Occurred()) SWIG_fail;
5212 }
5213 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5214 return resultobj;
5215 fail:
5216 return NULL;
5217 }
5218
5219
5220 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5221 PyObject *obj;
5222 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5223 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5224 return SWIG_Py_Void();
5225 }
5226
5227 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5228 return SWIG_Python_InitShadowInstance(args);
5229 }
5230
5231 SWIGINTERN int FrameNameStr_set(PyObject *) {
5232 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5233 return 1;
5234 }
5235
5236
5237 SWIGINTERN PyObject *FrameNameStr_get(void) {
5238 PyObject *pyobj = 0;
5239
5240 {
5241 #if wxUSE_UNICODE
5242 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5243 #else
5244 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5245 #endif
5246 }
5247 return pyobj;
5248 }
5249
5250
5251 SWIGINTERN int DialogNameStr_set(PyObject *) {
5252 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5253 return 1;
5254 }
5255
5256
5257 SWIGINTERN PyObject *DialogNameStr_get(void) {
5258 PyObject *pyobj = 0;
5259
5260 {
5261 #if wxUSE_UNICODE
5262 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5263 #else
5264 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5265 #endif
5266 }
5267 return pyobj;
5268 }
5269
5270
5271 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5272 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5273 return 1;
5274 }
5275
5276
5277 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5278 PyObject *pyobj = 0;
5279
5280 {
5281 #if wxUSE_UNICODE
5282 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5283 #else
5284 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5285 #endif
5286 }
5287 return pyobj;
5288 }
5289
5290
5291 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5292 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5293 return 1;
5294 }
5295
5296
5297 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5298 PyObject *pyobj = 0;
5299
5300 {
5301 #if wxUSE_UNICODE
5302 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5303 #else
5304 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5305 #endif
5306 }
5307 return pyobj;
5308 }
5309
5310
5311 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj = 0;
5313 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5314 bool arg2 = (bool) true ;
5315 void *argp1 = 0 ;
5316 int res1 = 0 ;
5317 bool val2 ;
5318 int ecode2 = 0 ;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 char * kwnames[] = {
5322 (char *) "self",(char *) "maximize", NULL
5323 };
5324
5325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5327 if (!SWIG_IsOK(res1)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5329 }
5330 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5331 if (obj1) {
5332 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5333 if (!SWIG_IsOK(ecode2)) {
5334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5335 }
5336 arg2 = static_cast< bool >(val2);
5337 }
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 (arg1)->Maximize(arg2);
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 resultobj = SWIG_Py_Void();
5345 return resultobj;
5346 fail:
5347 return NULL;
5348 }
5349
5350
5351 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5352 PyObject *resultobj = 0;
5353 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5354 void *argp1 = 0 ;
5355 int res1 = 0 ;
5356 PyObject *swig_obj[1] ;
5357
5358 if (!args) SWIG_fail;
5359 swig_obj[0] = args;
5360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5361 if (!SWIG_IsOK(res1)) {
5362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5363 }
5364 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 (arg1)->Restore();
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 resultobj = SWIG_Py_Void();
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj = 0;
5380 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5381 bool arg2 = (bool) true ;
5382 void *argp1 = 0 ;
5383 int res1 = 0 ;
5384 bool val2 ;
5385 int ecode2 = 0 ;
5386 PyObject * obj0 = 0 ;
5387 PyObject * obj1 = 0 ;
5388 char * kwnames[] = {
5389 (char *) "self",(char *) "iconize", NULL
5390 };
5391
5392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5394 if (!SWIG_IsOK(res1)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5396 }
5397 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5398 if (obj1) {
5399 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5400 if (!SWIG_IsOK(ecode2)) {
5401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5402 }
5403 arg2 = static_cast< bool >(val2);
5404 }
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 (arg1)->Iconize(arg2);
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_Py_Void();
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5419 PyObject *resultobj = 0;
5420 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5421 bool result;
5422 void *argp1 = 0 ;
5423 int res1 = 0 ;
5424 PyObject *swig_obj[1] ;
5425
5426 if (!args) SWIG_fail;
5427 swig_obj[0] = args;
5428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5429 if (!SWIG_IsOK(res1)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5431 }
5432 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5449 PyObject *resultobj = 0;
5450 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5451 bool result;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 PyObject *swig_obj[1] ;
5455
5456 if (!args) SWIG_fail;
5457 swig_obj[0] = args;
5458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5459 if (!SWIG_IsOK(res1)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5461 }
5462 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 {
5470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5471 }
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5479 PyObject *resultobj = 0;
5480 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5481 bool result;
5482 void *argp1 = 0 ;
5483 int res1 = 0 ;
5484 PyObject *swig_obj[1] ;
5485
5486 if (!args) SWIG_fail;
5487 swig_obj[0] = args;
5488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5489 if (!SWIG_IsOK(res1)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5491 }
5492 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
5502 return resultobj;
5503 fail:
5504 return NULL;
5505 }
5506
5507
5508 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5509 PyObject *resultobj = 0;
5510 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5511 wxIcon result;
5512 void *argp1 = 0 ;
5513 int res1 = 0 ;
5514 PyObject *swig_obj[1] ;
5515
5516 if (!args) SWIG_fail;
5517 swig_obj[0] = args;
5518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5519 if (!SWIG_IsOK(res1)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5521 }
5522 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj = 0;
5538 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5539 wxIcon *arg2 = 0 ;
5540 void *argp1 = 0 ;
5541 int res1 = 0 ;
5542 void *argp2 = 0 ;
5543 int res2 = 0 ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 char * kwnames[] = {
5547 (char *) "self",(char *) "icon", NULL
5548 };
5549
5550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5552 if (!SWIG_IsOK(res1)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5554 }
5555 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5556 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5557 if (!SWIG_IsOK(res2)) {
5558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5559 }
5560 if (!argp2) {
5561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5562 }
5563 arg2 = reinterpret_cast< wxIcon * >(argp2);
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 (arg1)->SetIcon((wxIcon const &)*arg2);
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 resultobj = SWIG_Py_Void();
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj = 0;
5579 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5580 wxIconBundle *arg2 = 0 ;
5581 void *argp1 = 0 ;
5582 int res1 = 0 ;
5583 void *argp2 = 0 ;
5584 int res2 = 0 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char * kwnames[] = {
5588 (char *) "self",(char *) "icons", NULL
5589 };
5590
5591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5593 if (!SWIG_IsOK(res1)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5595 }
5596 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5598 if (!SWIG_IsOK(res2)) {
5599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5600 }
5601 if (!argp2) {
5602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5603 }
5604 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 resultobj = SWIG_Py_Void();
5612 return resultobj;
5613 fail:
5614 return NULL;
5615 }
5616
5617
5618 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5619 PyObject *resultobj = 0;
5620 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5621 bool arg2 ;
5622 long arg3 = (long) wxFULLSCREEN_ALL ;
5623 bool result;
5624 void *argp1 = 0 ;
5625 int res1 = 0 ;
5626 bool val2 ;
5627 int ecode2 = 0 ;
5628 long val3 ;
5629 int ecode3 = 0 ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 PyObject * obj2 = 0 ;
5633 char * kwnames[] = {
5634 (char *) "self",(char *) "show",(char *) "style", NULL
5635 };
5636
5637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5639 if (!SWIG_IsOK(res1)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5641 }
5642 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5643 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5644 if (!SWIG_IsOK(ecode2)) {
5645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5646 }
5647 arg2 = static_cast< bool >(val2);
5648 if (obj2) {
5649 ecode3 = SWIG_AsVal_long(obj2, &val3);
5650 if (!SWIG_IsOK(ecode3)) {
5651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5652 }
5653 arg3 = static_cast< long >(val3);
5654 }
5655 {
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 {
5662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5663 }
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5671 PyObject *resultobj = 0;
5672 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 PyObject *swig_obj[1] ;
5677
5678 if (!args) SWIG_fail;
5679 swig_obj[0] = args;
5680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5681 if (!SWIG_IsOK(res1)) {
5682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5683 }
5684 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 {
5692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5693 }
5694 return resultobj;
5695 fail:
5696 return NULL;
5697 }
5698
5699
5700 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5701 PyObject *resultobj = 0;
5702 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5703 wxString *arg2 = 0 ;
5704 void *argp1 = 0 ;
5705 int res1 = 0 ;
5706 bool temp2 = false ;
5707 PyObject * obj0 = 0 ;
5708 PyObject * obj1 = 0 ;
5709 char * kwnames[] = {
5710 (char *) "self",(char *) "title", NULL
5711 };
5712
5713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5715 if (!SWIG_IsOK(res1)) {
5716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5717 }
5718 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5719 {
5720 arg2 = wxString_in_helper(obj1);
5721 if (arg2 == NULL) SWIG_fail;
5722 temp2 = true;
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 (arg1)->SetTitle((wxString const &)*arg2);
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 resultobj = SWIG_Py_Void();
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return resultobj;
5736 fail:
5737 {
5738 if (temp2)
5739 delete arg2;
5740 }
5741 return NULL;
5742 }
5743
5744
5745 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5746 PyObject *resultobj = 0;
5747 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5748 wxString result;
5749 void *argp1 = 0 ;
5750 int res1 = 0 ;
5751 PyObject *swig_obj[1] ;
5752
5753 if (!args) SWIG_fail;
5754 swig_obj[0] = args;
5755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5756 if (!SWIG_IsOK(res1)) {
5757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5758 }
5759 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 #if wxUSE_UNICODE
5768 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5769 #else
5770 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5771 #endif
5772 }
5773 return resultobj;
5774 fail:
5775 return NULL;
5776 }
5777
5778
5779 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj = 0;
5781 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5782 wxRegion *arg2 = 0 ;
5783 bool result;
5784 void *argp1 = 0 ;
5785 int res1 = 0 ;
5786 void *argp2 = 0 ;
5787 int res2 = 0 ;
5788 PyObject * obj0 = 0 ;
5789 PyObject * obj1 = 0 ;
5790 char * kwnames[] = {
5791 (char *) "self",(char *) "region", NULL
5792 };
5793
5794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5796 if (!SWIG_IsOK(res1)) {
5797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5798 }
5799 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5800 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5801 if (!SWIG_IsOK(res2)) {
5802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5803 }
5804 if (!argp2) {
5805 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5806 }
5807 arg2 = reinterpret_cast< wxRegion * >(argp2);
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5816 }
5817 return resultobj;
5818 fail:
5819 return NULL;
5820 }
5821
5822
5823 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj = 0;
5825 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5826 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5827 void *argp1 = 0 ;
5828 int res1 = 0 ;
5829 int val2 ;
5830 int ecode2 = 0 ;
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char * kwnames[] = {
5834 (char *) "self",(char *) "flags", NULL
5835 };
5836
5837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5839 if (!SWIG_IsOK(res1)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5841 }
5842 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5843 if (obj1) {
5844 ecode2 = SWIG_AsVal_int(obj1, &val2);
5845 if (!SWIG_IsOK(ecode2)) {
5846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5847 }
5848 arg2 = static_cast< int >(val2);
5849 }
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 (arg1)->RequestUserAttention(arg2);
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 resultobj = SWIG_Py_Void();
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5864 PyObject *resultobj = 0;
5865 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5866 bool result;
5867 void *argp1 = 0 ;
5868 int res1 = 0 ;
5869 PyObject *swig_obj[1] ;
5870
5871 if (!args) SWIG_fail;
5872 swig_obj[0] = args;
5873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5874 if (!SWIG_IsOK(res1)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5876 }
5877 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 result = (bool)(arg1)->IsActive();
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
5884 {
5885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5886 }
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj = 0;
5895 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5896 bool arg2 ;
5897 void *argp1 = 0 ;
5898 int res1 = 0 ;
5899 bool val2 ;
5900 int ecode2 = 0 ;
5901 PyObject * obj0 = 0 ;
5902 PyObject * obj1 = 0 ;
5903 char * kwnames[] = {
5904 (char *) "self",(char *) "on", NULL
5905 };
5906
5907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5909 if (!SWIG_IsOK(res1)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5911 }
5912 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5913 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5914 if (!SWIG_IsOK(ecode2)) {
5915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5916 }
5917 arg2 = static_cast< bool >(val2);
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_Py_Void();
5925 return resultobj;
5926 fail:
5927 return NULL;
5928 }
5929
5930
5931 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5932 PyObject *resultobj = 0;
5933 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5934 bool result;
5935 void *argp1 = 0 ;
5936 int res1 = 0 ;
5937 PyObject *swig_obj[1] ;
5938
5939 if (!args) SWIG_fail;
5940 swig_obj[0] = args;
5941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5942 if (!SWIG_IsOK(res1)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5944 }
5945 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 }
5952 {
5953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5954 }
5955 return resultobj;
5956 fail:
5957 return NULL;
5958 }
5959
5960
5961 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj = 0;
5963 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5964 int arg2 = (int) wxBOTH ;
5965 void *argp1 = 0 ;
5966 int res1 = 0 ;
5967 int val2 ;
5968 int ecode2 = 0 ;
5969 PyObject * obj0 = 0 ;
5970 PyObject * obj1 = 0 ;
5971 char * kwnames[] = {
5972 (char *) "self",(char *) "dir", NULL
5973 };
5974
5975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5977 if (!SWIG_IsOK(res1)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5979 }
5980 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5981 if (obj1) {
5982 ecode2 = SWIG_AsVal_int(obj1, &val2);
5983 if (!SWIG_IsOK(ecode2)) {
5984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5985 }
5986 arg2 = static_cast< int >(val2);
5987 }
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 (arg1)->CenterOnScreen(arg2);
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = SWIG_Py_Void();
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj = 0;
6003 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6004 bool arg2 = (bool) true ;
6005 bool result;
6006 void *argp1 = 0 ;
6007 int res1 = 0 ;
6008 bool val2 ;
6009 int ecode2 = 0 ;
6010 PyObject * obj0 = 0 ;
6011 PyObject * obj1 = 0 ;
6012 char * kwnames[] = {
6013 (char *) "self",(char *) "enable", NULL
6014 };
6015
6016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6018 if (!SWIG_IsOK(res1)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6020 }
6021 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6022 if (obj1) {
6023 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6024 if (!SWIG_IsOK(ecode2)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6026 }
6027 arg2 = static_cast< bool >(val2);
6028 }
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 {
6036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6037 }
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj = 0;
6046 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6047 byte arg2 ;
6048 bool result;
6049 void *argp1 = 0 ;
6050 int res1 = 0 ;
6051 unsigned char val2 ;
6052 int ecode2 = 0 ;
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 char * kwnames[] = {
6056 (char *) "self",(char *) "alpha", NULL
6057 };
6058
6059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6061 if (!SWIG_IsOK(res1)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6063 }
6064 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6065 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6066 if (!SWIG_IsOK(ecode2)) {
6067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6068 }
6069 arg2 = static_cast< byte >(val2);
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (bool)(arg1)->SetTransparent(arg2);
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
6077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6078 }
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6086 PyObject *resultobj = 0;
6087 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6088 bool result;
6089 void *argp1 = 0 ;
6090 int res1 = 0 ;
6091 PyObject *swig_obj[1] ;
6092
6093 if (!args) SWIG_fail;
6094 swig_obj[0] = args;
6095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6096 if (!SWIG_IsOK(res1)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6098 }
6099 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 result = (bool)(arg1)->CanSetTransparent();
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 {
6107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6108 }
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6116 PyObject *resultobj = 0;
6117 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6118 wxWindow *result = 0 ;
6119 void *argp1 = 0 ;
6120 int res1 = 0 ;
6121 PyObject *swig_obj[1] ;
6122
6123 if (!args) SWIG_fail;
6124 swig_obj[0] = args;
6125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6126 if (!SWIG_IsOK(res1)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6128 }
6129 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 {
6137 resultobj = wxPyMake_wxObject(result, 0);
6138 }
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj = 0;
6147 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6148 wxWindow *arg2 = (wxWindow *) 0 ;
6149 wxWindow *result = 0 ;
6150 void *argp1 = 0 ;
6151 int res1 = 0 ;
6152 void *argp2 = 0 ;
6153 int res2 = 0 ;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj1 = 0 ;
6156 char * kwnames[] = {
6157 (char *) "self",(char *) "child", NULL
6158 };
6159
6160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6162 if (!SWIG_IsOK(res1)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6164 }
6165 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6167 if (!SWIG_IsOK(res2)) {
6168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6169 }
6170 arg2 = reinterpret_cast< wxWindow * >(argp2);
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 {
6178 resultobj = wxPyMake_wxObject(result, 0);
6179 }
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj = 0;
6188 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6189 wxWindow *arg2 = (wxWindow *) 0 ;
6190 void *argp1 = 0 ;
6191 int res1 = 0 ;
6192 void *argp2 = 0 ;
6193 int res2 = 0 ;
6194 PyObject * obj0 = 0 ;
6195 PyObject * obj1 = 0 ;
6196 char * kwnames[] = {
6197 (char *) "self",(char *) "win", NULL
6198 };
6199
6200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6202 if (!SWIG_IsOK(res1)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6204 }
6205 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6207 if (!SWIG_IsOK(res2)) {
6208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6209 }
6210 arg2 = reinterpret_cast< wxWindow * >(argp2);
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 (arg1)->SetTmpDefaultItem(arg2);
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 resultobj = SWIG_Py_Void();
6218 return resultobj;
6219 fail:
6220 return NULL;
6221 }
6222
6223
6224 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6225 PyObject *resultobj = 0;
6226 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6227 wxWindow *result = 0 ;
6228 void *argp1 = 0 ;
6229 int res1 = 0 ;
6230 PyObject *swig_obj[1] ;
6231
6232 if (!args) SWIG_fail;
6233 swig_obj[0] = args;
6234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6235 if (!SWIG_IsOK(res1)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6237 }
6238 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 {
6246 resultobj = wxPyMake_wxObject(result, 0);
6247 }
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6255 PyObject *obj;
6256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6257 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6258 return SWIG_Py_Void();
6259 }
6260
6261 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj = 0;
6263 wxWindow *arg1 = (wxWindow *) 0 ;
6264 int arg2 = (int) (int)-1 ;
6265 wxString const &arg3_defvalue = wxPyEmptyString ;
6266 wxString *arg3 = (wxString *) &arg3_defvalue ;
6267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6269 wxSize const &arg5_defvalue = wxDefaultSize ;
6270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6271 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6272 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6273 wxString *arg7 = (wxString *) &arg7_defvalue ;
6274 wxFrame *result = 0 ;
6275 void *argp1 = 0 ;
6276 int res1 = 0 ;
6277 int val2 ;
6278 int ecode2 = 0 ;
6279 bool temp3 = false ;
6280 wxPoint temp4 ;
6281 wxSize temp5 ;
6282 long val6 ;
6283 int ecode6 = 0 ;
6284 bool temp7 = false ;
6285 PyObject * obj0 = 0 ;
6286 PyObject * obj1 = 0 ;
6287 PyObject * obj2 = 0 ;
6288 PyObject * obj3 = 0 ;
6289 PyObject * obj4 = 0 ;
6290 PyObject * obj5 = 0 ;
6291 PyObject * obj6 = 0 ;
6292 char * kwnames[] = {
6293 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6294 };
6295
6296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6298 if (!SWIG_IsOK(res1)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6300 }
6301 arg1 = reinterpret_cast< wxWindow * >(argp1);
6302 if (obj1) {
6303 ecode2 = SWIG_AsVal_int(obj1, &val2);
6304 if (!SWIG_IsOK(ecode2)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6306 }
6307 arg2 = static_cast< int >(val2);
6308 }
6309 if (obj2) {
6310 {
6311 arg3 = wxString_in_helper(obj2);
6312 if (arg3 == NULL) SWIG_fail;
6313 temp3 = true;
6314 }
6315 }
6316 if (obj3) {
6317 {
6318 arg4 = &temp4;
6319 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6320 }
6321 }
6322 if (obj4) {
6323 {
6324 arg5 = &temp5;
6325 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6326 }
6327 }
6328 if (obj5) {
6329 ecode6 = SWIG_AsVal_long(obj5, &val6);
6330 if (!SWIG_IsOK(ecode6)) {
6331 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6332 }
6333 arg6 = static_cast< long >(val6);
6334 }
6335 if (obj6) {
6336 {
6337 arg7 = wxString_in_helper(obj6);
6338 if (arg7 == NULL) SWIG_fail;
6339 temp7 = true;
6340 }
6341 }
6342 {
6343 if (!wxPyCheckForApp()) SWIG_fail;
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6350 {
6351 if (temp3)
6352 delete arg3;
6353 }
6354 {
6355 if (temp7)
6356 delete arg7;
6357 }
6358 return resultobj;
6359 fail:
6360 {
6361 if (temp3)
6362 delete arg3;
6363 }
6364 {
6365 if (temp7)
6366 delete arg7;
6367 }
6368 return NULL;
6369 }
6370
6371
6372 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6373 PyObject *resultobj = 0;
6374 wxFrame *result = 0 ;
6375
6376 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6377 {
6378 if (!wxPyCheckForApp()) SWIG_fail;
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = (wxFrame *)new wxFrame();
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj = 0;
6393 wxFrame *arg1 = (wxFrame *) 0 ;
6394 wxWindow *arg2 = (wxWindow *) 0 ;
6395 int arg3 = (int) (int)-1 ;
6396 wxString const &arg4_defvalue = wxPyEmptyString ;
6397 wxString *arg4 = (wxString *) &arg4_defvalue ;
6398 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6399 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6400 wxSize const &arg6_defvalue = wxDefaultSize ;
6401 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6402 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6403 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6404 wxString *arg8 = (wxString *) &arg8_defvalue ;
6405 bool result;
6406 void *argp1 = 0 ;
6407 int res1 = 0 ;
6408 void *argp2 = 0 ;
6409 int res2 = 0 ;
6410 int val3 ;
6411 int ecode3 = 0 ;
6412 bool temp4 = false ;
6413 wxPoint temp5 ;
6414 wxSize temp6 ;
6415 long val7 ;
6416 int ecode7 = 0 ;
6417 bool temp8 = false ;
6418 PyObject * obj0 = 0 ;
6419 PyObject * obj1 = 0 ;
6420 PyObject * obj2 = 0 ;
6421 PyObject * obj3 = 0 ;
6422 PyObject * obj4 = 0 ;
6423 PyObject * obj5 = 0 ;
6424 PyObject * obj6 = 0 ;
6425 PyObject * obj7 = 0 ;
6426 char * kwnames[] = {
6427 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6428 };
6429
6430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6432 if (!SWIG_IsOK(res1)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6434 }
6435 arg1 = reinterpret_cast< wxFrame * >(argp1);
6436 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6437 if (!SWIG_IsOK(res2)) {
6438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6439 }
6440 arg2 = reinterpret_cast< wxWindow * >(argp2);
6441 if (obj2) {
6442 ecode3 = SWIG_AsVal_int(obj2, &val3);
6443 if (!SWIG_IsOK(ecode3)) {
6444 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6445 }
6446 arg3 = static_cast< int >(val3);
6447 }
6448 if (obj3) {
6449 {
6450 arg4 = wxString_in_helper(obj3);
6451 if (arg4 == NULL) SWIG_fail;
6452 temp4 = true;
6453 }
6454 }
6455 if (obj4) {
6456 {
6457 arg5 = &temp5;
6458 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6459 }
6460 }
6461 if (obj5) {
6462 {
6463 arg6 = &temp6;
6464 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6465 }
6466 }
6467 if (obj6) {
6468 ecode7 = SWIG_AsVal_long(obj6, &val7);
6469 if (!SWIG_IsOK(ecode7)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6471 }
6472 arg7 = static_cast< long >(val7);
6473 }
6474 if (obj7) {
6475 {
6476 arg8 = wxString_in_helper(obj7);
6477 if (arg8 == NULL) SWIG_fail;
6478 temp8 = true;
6479 }
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 {
6488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6489 }
6490 {
6491 if (temp4)
6492 delete arg4;
6493 }
6494 {
6495 if (temp8)
6496 delete arg8;
6497 }
6498 return resultobj;
6499 fail:
6500 {
6501 if (temp4)
6502 delete arg4;
6503 }
6504 {
6505 if (temp8)
6506 delete arg8;
6507 }
6508 return NULL;
6509 }
6510
6511
6512 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6513 PyObject *resultobj = 0;
6514 wxFrame *arg1 = (wxFrame *) 0 ;
6515 void *argp1 = 0 ;
6516 int res1 = 0 ;
6517 PyObject *swig_obj[1] ;
6518
6519 if (!args) SWIG_fail;
6520 swig_obj[0] = args;
6521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6522 if (!SWIG_IsOK(res1)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6524 }
6525 arg1 = reinterpret_cast< wxFrame * >(argp1);
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 (arg1)->SendSizeEvent();
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 resultobj = SWIG_Py_Void();
6533 return resultobj;
6534 fail:
6535 return NULL;
6536 }
6537
6538
6539 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj = 0;
6541 wxFrame *arg1 = (wxFrame *) 0 ;
6542 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6543 void *argp1 = 0 ;
6544 int res1 = 0 ;
6545 void *argp2 = 0 ;
6546 int res2 = 0 ;
6547 PyObject * obj0 = 0 ;
6548 PyObject * obj1 = 0 ;
6549 char * kwnames[] = {
6550 (char *) "self",(char *) "menubar", NULL
6551 };
6552
6553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6555 if (!SWIG_IsOK(res1)) {
6556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6557 }
6558 arg1 = reinterpret_cast< wxFrame * >(argp1);
6559 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6560 if (!SWIG_IsOK(res2)) {
6561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6562 }
6563 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->SetMenuBar(arg2);
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 resultobj = SWIG_Py_Void();
6571 return resultobj;
6572 fail:
6573 return NULL;
6574 }
6575
6576
6577 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6578 PyObject *resultobj = 0;
6579 wxFrame *arg1 = (wxFrame *) 0 ;
6580 wxMenuBar *result = 0 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 PyObject *swig_obj[1] ;
6584
6585 if (!args) SWIG_fail;
6586 swig_obj[0] = args;
6587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6588 if (!SWIG_IsOK(res1)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6590 }
6591 arg1 = reinterpret_cast< wxFrame * >(argp1);
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 resultobj = wxPyMake_wxObject(result, 0);
6600 }
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj = 0;
6609 wxFrame *arg1 = (wxFrame *) 0 ;
6610 int arg2 ;
6611 bool result;
6612 void *argp1 = 0 ;
6613 int res1 = 0 ;
6614 int val2 ;
6615 int ecode2 = 0 ;
6616 PyObject * obj0 = 0 ;
6617 PyObject * obj1 = 0 ;
6618 char * kwnames[] = {
6619 (char *) "self",(char *) "winid", NULL
6620 };
6621
6622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6624 if (!SWIG_IsOK(res1)) {
6625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6626 }
6627 arg1 = reinterpret_cast< wxFrame * >(argp1);
6628 ecode2 = SWIG_AsVal_int(obj1, &val2);
6629 if (!SWIG_IsOK(ecode2)) {
6630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6631 }
6632 arg2 = static_cast< int >(val2);
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 result = (bool)(arg1)->ProcessCommand(arg2);
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 {
6640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6641 }
6642 return resultobj;
6643 fail:
6644 return NULL;
6645 }
6646
6647
6648 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj = 0;
6650 wxFrame *arg1 = (wxFrame *) 0 ;
6651 int arg2 = (int) 1 ;
6652 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6653 int arg4 = (int) 0 ;
6654 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6655 wxString *arg5 = (wxString *) &arg5_defvalue ;
6656 wxStatusBar *result = 0 ;
6657 void *argp1 = 0 ;
6658 int res1 = 0 ;
6659 int val2 ;
6660 int ecode2 = 0 ;
6661 long val3 ;
6662 int ecode3 = 0 ;
6663 int val4 ;
6664 int ecode4 = 0 ;
6665 bool temp5 = false ;
6666 PyObject * obj0 = 0 ;
6667 PyObject * obj1 = 0 ;
6668 PyObject * obj2 = 0 ;
6669 PyObject * obj3 = 0 ;
6670 PyObject * obj4 = 0 ;
6671 char * kwnames[] = {
6672 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6673 };
6674
6675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6677 if (!SWIG_IsOK(res1)) {
6678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6679 }
6680 arg1 = reinterpret_cast< wxFrame * >(argp1);
6681 if (obj1) {
6682 ecode2 = SWIG_AsVal_int(obj1, &val2);
6683 if (!SWIG_IsOK(ecode2)) {
6684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6685 }
6686 arg2 = static_cast< int >(val2);
6687 }
6688 if (obj2) {
6689 ecode3 = SWIG_AsVal_long(obj2, &val3);
6690 if (!SWIG_IsOK(ecode3)) {
6691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6692 }
6693 arg3 = static_cast< long >(val3);
6694 }
6695 if (obj3) {
6696 ecode4 = SWIG_AsVal_int(obj3, &val4);
6697 if (!SWIG_IsOK(ecode4)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6699 }
6700 arg4 = static_cast< int >(val4);
6701 }
6702 if (obj4) {
6703 {
6704 arg5 = wxString_in_helper(obj4);
6705 if (arg5 == NULL) SWIG_fail;
6706 temp5 = true;
6707 }
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 {
6716 resultobj = wxPyMake_wxObject(result, (bool)0);
6717 }
6718 {
6719 if (temp5)
6720 delete arg5;
6721 }
6722 return resultobj;
6723 fail:
6724 {
6725 if (temp5)
6726 delete arg5;
6727 }
6728 return NULL;
6729 }
6730
6731
6732 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6733 PyObject *resultobj = 0;
6734 wxFrame *arg1 = (wxFrame *) 0 ;
6735 wxStatusBar *result = 0 ;
6736 void *argp1 = 0 ;
6737 int res1 = 0 ;
6738 PyObject *swig_obj[1] ;
6739
6740 if (!args) SWIG_fail;
6741 swig_obj[0] = args;
6742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6743 if (!SWIG_IsOK(res1)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6745 }
6746 arg1 = reinterpret_cast< wxFrame * >(argp1);
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 {
6754 resultobj = wxPyMake_wxObject(result, (bool)0);
6755 }
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj = 0;
6764 wxFrame *arg1 = (wxFrame *) 0 ;
6765 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6766 void *argp1 = 0 ;
6767 int res1 = 0 ;
6768 void *argp2 = 0 ;
6769 int res2 = 0 ;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char * kwnames[] = {
6773 (char *) "self",(char *) "statBar", NULL
6774 };
6775
6776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6778 if (!SWIG_IsOK(res1)) {
6779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6780 }
6781 arg1 = reinterpret_cast< wxFrame * >(argp1);
6782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6783 if (!SWIG_IsOK(res2)) {
6784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6785 }
6786 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 (arg1)->SetStatusBar(arg2);
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 resultobj = SWIG_Py_Void();
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj = 0;
6802 wxFrame *arg1 = (wxFrame *) 0 ;
6803 wxString *arg2 = 0 ;
6804 int arg3 = (int) 0 ;
6805 void *argp1 = 0 ;
6806 int res1 = 0 ;
6807 bool temp2 = false ;
6808 int val3 ;
6809 int ecode3 = 0 ;
6810 PyObject * obj0 = 0 ;
6811 PyObject * obj1 = 0 ;
6812 PyObject * obj2 = 0 ;
6813 char * kwnames[] = {
6814 (char *) "self",(char *) "text",(char *) "number", NULL
6815 };
6816
6817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6819 if (!SWIG_IsOK(res1)) {
6820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6821 }
6822 arg1 = reinterpret_cast< wxFrame * >(argp1);
6823 {
6824 arg2 = wxString_in_helper(obj1);
6825 if (arg2 == NULL) SWIG_fail;
6826 temp2 = true;
6827 }
6828 if (obj2) {
6829 ecode3 = SWIG_AsVal_int(obj2, &val3);
6830 if (!SWIG_IsOK(ecode3)) {
6831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6832 }
6833 arg3 = static_cast< int >(val3);
6834 }
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 resultobj = SWIG_Py_Void();
6842 {
6843 if (temp2)
6844 delete arg2;
6845 }
6846 return resultobj;
6847 fail:
6848 {
6849 if (temp2)
6850 delete arg2;
6851 }
6852 return NULL;
6853 }
6854
6855
6856 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj = 0;
6858 wxFrame *arg1 = (wxFrame *) 0 ;
6859 int arg2 ;
6860 int *arg3 = (int *) 0 ;
6861 void *argp1 = 0 ;
6862 int res1 = 0 ;
6863 PyObject * obj0 = 0 ;
6864 PyObject * obj1 = 0 ;
6865 char * kwnames[] = {
6866 (char *) "self",(char *) "widths", NULL
6867 };
6868
6869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6871 if (!SWIG_IsOK(res1)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6873 }
6874 arg1 = reinterpret_cast< wxFrame * >(argp1);
6875 {
6876 arg2 = PyList_Size(obj1);
6877 arg3 = int_LIST_helper(obj1);
6878 if (arg3 == NULL) SWIG_fail;
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = SWIG_Py_Void();
6887 {
6888 if (arg3) delete [] arg3;
6889 }
6890 return resultobj;
6891 fail:
6892 {
6893 if (arg3) delete [] arg3;
6894 }
6895 return NULL;
6896 }
6897
6898
6899 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6900 PyObject *resultobj = 0;
6901 wxFrame *arg1 = (wxFrame *) 0 ;
6902 wxString *arg2 = 0 ;
6903 int arg3 = (int) 0 ;
6904 void *argp1 = 0 ;
6905 int res1 = 0 ;
6906 bool temp2 = false ;
6907 int val3 ;
6908 int ecode3 = 0 ;
6909 PyObject * obj0 = 0 ;
6910 PyObject * obj1 = 0 ;
6911 PyObject * obj2 = 0 ;
6912 char * kwnames[] = {
6913 (char *) "self",(char *) "text",(char *) "number", NULL
6914 };
6915
6916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6918 if (!SWIG_IsOK(res1)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6920 }
6921 arg1 = reinterpret_cast< wxFrame * >(argp1);
6922 {
6923 arg2 = wxString_in_helper(obj1);
6924 if (arg2 == NULL) SWIG_fail;
6925 temp2 = true;
6926 }
6927 if (obj2) {
6928 ecode3 = SWIG_AsVal_int(obj2, &val3);
6929 if (!SWIG_IsOK(ecode3)) {
6930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6931 }
6932 arg3 = static_cast< int >(val3);
6933 }
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 resultobj = SWIG_Py_Void();
6941 {
6942 if (temp2)
6943 delete arg2;
6944 }
6945 return resultobj;
6946 fail:
6947 {
6948 if (temp2)
6949 delete arg2;
6950 }
6951 return NULL;
6952 }
6953
6954
6955 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj = 0;
6957 wxFrame *arg1 = (wxFrame *) 0 ;
6958 int arg2 = (int) 0 ;
6959 void *argp1 = 0 ;
6960 int res1 = 0 ;
6961 int val2 ;
6962 int ecode2 = 0 ;
6963 PyObject * obj0 = 0 ;
6964 PyObject * obj1 = 0 ;
6965 char * kwnames[] = {
6966 (char *) "self",(char *) "number", NULL
6967 };
6968
6969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6971 if (!SWIG_IsOK(res1)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6973 }
6974 arg1 = reinterpret_cast< wxFrame * >(argp1);
6975 if (obj1) {
6976 ecode2 = SWIG_AsVal_int(obj1, &val2);
6977 if (!SWIG_IsOK(ecode2)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6979 }
6980 arg2 = static_cast< int >(val2);
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 (arg1)->PopStatusText(arg2);
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = SWIG_Py_Void();
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj = 0;
6997 wxFrame *arg1 = (wxFrame *) 0 ;
6998 int arg2 ;
6999 void *argp1 = 0 ;
7000 int res1 = 0 ;
7001 int val2 ;
7002 int ecode2 = 0 ;
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 char * kwnames[] = {
7006 (char *) "self",(char *) "n", NULL
7007 };
7008
7009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7011 if (!SWIG_IsOK(res1)) {
7012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7013 }
7014 arg1 = reinterpret_cast< wxFrame * >(argp1);
7015 ecode2 = SWIG_AsVal_int(obj1, &val2);
7016 if (!SWIG_IsOK(ecode2)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7018 }
7019 arg2 = static_cast< int >(val2);
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->SetStatusBarPane(arg2);
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 resultobj = SWIG_Py_Void();
7027 return resultobj;
7028 fail:
7029 return NULL;
7030 }
7031
7032
7033 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7034 PyObject *resultobj = 0;
7035 wxFrame *arg1 = (wxFrame *) 0 ;
7036 int result;
7037 void *argp1 = 0 ;
7038 int res1 = 0 ;
7039 PyObject *swig_obj[1] ;
7040
7041 if (!args) SWIG_fail;
7042 swig_obj[0] = args;
7043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7044 if (!SWIG_IsOK(res1)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7046 }
7047 arg1 = reinterpret_cast< wxFrame * >(argp1);
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 resultobj = SWIG_From_int(static_cast< int >(result));
7055 return resultobj;
7056 fail:
7057 return NULL;
7058 }
7059
7060
7061 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj = 0;
7063 wxFrame *arg1 = (wxFrame *) 0 ;
7064 long arg2 = (long) -1 ;
7065 int arg3 = (int) -1 ;
7066 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7067 wxString *arg4 = (wxString *) &arg4_defvalue ;
7068 wxToolBar *result = 0 ;
7069 void *argp1 = 0 ;
7070 int res1 = 0 ;
7071 long val2 ;
7072 int ecode2 = 0 ;
7073 int val3 ;
7074 int ecode3 = 0 ;
7075 bool temp4 = false ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 PyObject * obj3 = 0 ;
7080 char * kwnames[] = {
7081 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7082 };
7083
7084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7086 if (!SWIG_IsOK(res1)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7088 }
7089 arg1 = reinterpret_cast< wxFrame * >(argp1);
7090 if (obj1) {
7091 ecode2 = SWIG_AsVal_long(obj1, &val2);
7092 if (!SWIG_IsOK(ecode2)) {
7093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7094 }
7095 arg2 = static_cast< long >(val2);
7096 }
7097 if (obj2) {
7098 ecode3 = SWIG_AsVal_int(obj2, &val3);
7099 if (!SWIG_IsOK(ecode3)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7101 }
7102 arg3 = static_cast< int >(val3);
7103 }
7104 if (obj3) {
7105 {
7106 arg4 = wxString_in_helper(obj3);
7107 if (arg4 == NULL) SWIG_fail;
7108 temp4 = true;
7109 }
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 {
7118 resultobj = wxPyMake_wxObject(result, (bool)0);
7119 }
7120 {
7121 if (temp4)
7122 delete arg4;
7123 }
7124 return resultobj;
7125 fail:
7126 {
7127 if (temp4)
7128 delete arg4;
7129 }
7130 return NULL;
7131 }
7132
7133
7134 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7135 PyObject *resultobj = 0;
7136 wxFrame *arg1 = (wxFrame *) 0 ;
7137 wxToolBar *result = 0 ;
7138 void *argp1 = 0 ;
7139 int res1 = 0 ;
7140 PyObject *swig_obj[1] ;
7141
7142 if (!args) SWIG_fail;
7143 swig_obj[0] = args;
7144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7145 if (!SWIG_IsOK(res1)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7147 }
7148 arg1 = reinterpret_cast< wxFrame * >(argp1);
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 {
7156 resultobj = wxPyMake_wxObject(result, (bool)0);
7157 }
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj = 0;
7166 wxFrame *arg1 = (wxFrame *) 0 ;
7167 wxToolBar *arg2 = (wxToolBar *) 0 ;
7168 void *argp1 = 0 ;
7169 int res1 = 0 ;
7170 void *argp2 = 0 ;
7171 int res2 = 0 ;
7172 PyObject * obj0 = 0 ;
7173 PyObject * obj1 = 0 ;
7174 char * kwnames[] = {
7175 (char *) "self",(char *) "toolbar", NULL
7176 };
7177
7178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7180 if (!SWIG_IsOK(res1)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7182 }
7183 arg1 = reinterpret_cast< wxFrame * >(argp1);
7184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7185 if (!SWIG_IsOK(res2)) {
7186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7187 }
7188 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 (arg1)->SetToolBar(arg2);
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) SWIG_fail;
7194 }
7195 resultobj = SWIG_Py_Void();
7196 return resultobj;
7197 fail:
7198 return NULL;
7199 }
7200
7201
7202 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7203 PyObject *resultobj = 0;
7204 wxFrame *arg1 = (wxFrame *) 0 ;
7205 wxString *arg2 = 0 ;
7206 bool arg3 ;
7207 void *argp1 = 0 ;
7208 int res1 = 0 ;
7209 bool temp2 = false ;
7210 bool val3 ;
7211 int ecode3 = 0 ;
7212 PyObject * obj0 = 0 ;
7213 PyObject * obj1 = 0 ;
7214 PyObject * obj2 = 0 ;
7215 char * kwnames[] = {
7216 (char *) "self",(char *) "text",(char *) "show", NULL
7217 };
7218
7219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7221 if (!SWIG_IsOK(res1)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7223 }
7224 arg1 = reinterpret_cast< wxFrame * >(argp1);
7225 {
7226 arg2 = wxString_in_helper(obj1);
7227 if (arg2 == NULL) SWIG_fail;
7228 temp2 = true;
7229 }
7230 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7231 if (!SWIG_IsOK(ecode3)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7233 }
7234 arg3 = static_cast< bool >(val3);
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 resultobj = SWIG_Py_Void();
7242 {
7243 if (temp2)
7244 delete arg2;
7245 }
7246 return resultobj;
7247 fail:
7248 {
7249 if (temp2)
7250 delete arg2;
7251 }
7252 return NULL;
7253 }
7254
7255
7256 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj = 0;
7258 wxFrame *arg1 = (wxFrame *) 0 ;
7259 wxMenu *arg2 = (wxMenu *) NULL ;
7260 void *argp1 = 0 ;
7261 int res1 = 0 ;
7262 void *argp2 = 0 ;
7263 int res2 = 0 ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 char * kwnames[] = {
7267 (char *) "self",(char *) "menu", NULL
7268 };
7269
7270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7272 if (!SWIG_IsOK(res1)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7274 }
7275 arg1 = reinterpret_cast< wxFrame * >(argp1);
7276 if (obj1) {
7277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7278 if (!SWIG_IsOK(res2)) {
7279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7280 }
7281 arg2 = reinterpret_cast< wxMenu * >(argp2);
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->DoMenuUpdates(arg2);
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 resultobj = SWIG_Py_Void();
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj = 0;
7298 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7299 SwigValueWrapper<wxVisualAttributes > result;
7300 int val1 ;
7301 int ecode1 = 0 ;
7302 PyObject * obj0 = 0 ;
7303 char * kwnames[] = {
7304 (char *) "variant", NULL
7305 };
7306
7307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7308 if (obj0) {
7309 ecode1 = SWIG_AsVal_int(obj0, &val1);
7310 if (!SWIG_IsOK(ecode1)) {
7311 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7312 }
7313 arg1 = static_cast< wxWindowVariant >(val1);
7314 }
7315 {
7316 if (!wxPyCheckForApp()) SWIG_fail;
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 result = wxFrame::GetClassDefaultAttributes(arg1);
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7330 PyObject *obj;
7331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7332 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7333 return SWIG_Py_Void();
7334 }
7335
7336 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7337 return SWIG_Python_InitShadowInstance(args);
7338 }
7339
7340 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj = 0;
7342 wxWindow *arg1 = (wxWindow *) 0 ;
7343 int arg2 = (int) (int)-1 ;
7344 wxString const &arg3_defvalue = wxPyEmptyString ;
7345 wxString *arg3 = (wxString *) &arg3_defvalue ;
7346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7348 wxSize const &arg5_defvalue = wxDefaultSize ;
7349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7350 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7351 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7352 wxString *arg7 = (wxString *) &arg7_defvalue ;
7353 wxDialog *result = 0 ;
7354 void *argp1 = 0 ;
7355 int res1 = 0 ;
7356 int val2 ;
7357 int ecode2 = 0 ;
7358 bool temp3 = false ;
7359 wxPoint temp4 ;
7360 wxSize temp5 ;
7361 long val6 ;
7362 int ecode6 = 0 ;
7363 bool temp7 = false ;
7364 PyObject * obj0 = 0 ;
7365 PyObject * obj1 = 0 ;
7366 PyObject * obj2 = 0 ;
7367 PyObject * obj3 = 0 ;
7368 PyObject * obj4 = 0 ;
7369 PyObject * obj5 = 0 ;
7370 PyObject * obj6 = 0 ;
7371 char * kwnames[] = {
7372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7373 };
7374
7375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7377 if (!SWIG_IsOK(res1)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7379 }
7380 arg1 = reinterpret_cast< wxWindow * >(argp1);
7381 if (obj1) {
7382 ecode2 = SWIG_AsVal_int(obj1, &val2);
7383 if (!SWIG_IsOK(ecode2)) {
7384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7385 }
7386 arg2 = static_cast< int >(val2);
7387 }
7388 if (obj2) {
7389 {
7390 arg3 = wxString_in_helper(obj2);
7391 if (arg3 == NULL) SWIG_fail;
7392 temp3 = true;
7393 }
7394 }
7395 if (obj3) {
7396 {
7397 arg4 = &temp4;
7398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7399 }
7400 }
7401 if (obj4) {
7402 {
7403 arg5 = &temp5;
7404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7405 }
7406 }
7407 if (obj5) {
7408 ecode6 = SWIG_AsVal_long(obj5, &val6);
7409 if (!SWIG_IsOK(ecode6)) {
7410 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7411 }
7412 arg6 = static_cast< long >(val6);
7413 }
7414 if (obj6) {
7415 {
7416 arg7 = wxString_in_helper(obj6);
7417 if (arg7 == NULL) SWIG_fail;
7418 temp7 = true;
7419 }
7420 }
7421 {
7422 if (!wxPyCheckForApp()) SWIG_fail;
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7429 {
7430 if (temp3)
7431 delete arg3;
7432 }
7433 {
7434 if (temp7)
7435 delete arg7;
7436 }
7437 return resultobj;
7438 fail:
7439 {
7440 if (temp3)
7441 delete arg3;
7442 }
7443 {
7444 if (temp7)
7445 delete arg7;
7446 }
7447 return NULL;
7448 }
7449
7450
7451 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7452 PyObject *resultobj = 0;
7453 wxDialog *result = 0 ;
7454
7455 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7456 {
7457 if (!wxPyCheckForApp()) SWIG_fail;
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (wxDialog *)new wxDialog();
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj = 0;
7472 wxDialog *arg1 = (wxDialog *) 0 ;
7473 wxWindow *arg2 = (wxWindow *) 0 ;
7474 int arg3 = (int) (int)-1 ;
7475 wxString const &arg4_defvalue = wxPyEmptyString ;
7476 wxString *arg4 = (wxString *) &arg4_defvalue ;
7477 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7478 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7479 wxSize const &arg6_defvalue = wxDefaultSize ;
7480 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7481 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7482 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7483 wxString *arg8 = (wxString *) &arg8_defvalue ;
7484 bool result;
7485 void *argp1 = 0 ;
7486 int res1 = 0 ;
7487 void *argp2 = 0 ;
7488 int res2 = 0 ;
7489 int val3 ;
7490 int ecode3 = 0 ;
7491 bool temp4 = false ;
7492 wxPoint temp5 ;
7493 wxSize temp6 ;
7494 long val7 ;
7495 int ecode7 = 0 ;
7496 bool temp8 = false ;
7497 PyObject * obj0 = 0 ;
7498 PyObject * obj1 = 0 ;
7499 PyObject * obj2 = 0 ;
7500 PyObject * obj3 = 0 ;
7501 PyObject * obj4 = 0 ;
7502 PyObject * obj5 = 0 ;
7503 PyObject * obj6 = 0 ;
7504 PyObject * obj7 = 0 ;
7505 char * kwnames[] = {
7506 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7507 };
7508
7509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7511 if (!SWIG_IsOK(res1)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7513 }
7514 arg1 = reinterpret_cast< wxDialog * >(argp1);
7515 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7516 if (!SWIG_IsOK(res2)) {
7517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7518 }
7519 arg2 = reinterpret_cast< wxWindow * >(argp2);
7520 if (obj2) {
7521 ecode3 = SWIG_AsVal_int(obj2, &val3);
7522 if (!SWIG_IsOK(ecode3)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7524 }
7525 arg3 = static_cast< int >(val3);
7526 }
7527 if (obj3) {
7528 {
7529 arg4 = wxString_in_helper(obj3);
7530 if (arg4 == NULL) SWIG_fail;
7531 temp4 = true;
7532 }
7533 }
7534 if (obj4) {
7535 {
7536 arg5 = &temp5;
7537 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7538 }
7539 }
7540 if (obj5) {
7541 {
7542 arg6 = &temp6;
7543 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7544 }
7545 }
7546 if (obj6) {
7547 ecode7 = SWIG_AsVal_long(obj6, &val7);
7548 if (!SWIG_IsOK(ecode7)) {
7549 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7550 }
7551 arg7 = static_cast< long >(val7);
7552 }
7553 if (obj7) {
7554 {
7555 arg8 = wxString_in_helper(obj7);
7556 if (arg8 == NULL) SWIG_fail;
7557 temp8 = true;
7558 }
7559 }
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 {
7567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7568 }
7569 {
7570 if (temp4)
7571 delete arg4;
7572 }
7573 {
7574 if (temp8)
7575 delete arg8;
7576 }
7577 return resultobj;
7578 fail:
7579 {
7580 if (temp4)
7581 delete arg4;
7582 }
7583 {
7584 if (temp8)
7585 delete arg8;
7586 }
7587 return NULL;
7588 }
7589
7590
7591 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj = 0;
7593 wxDialog *arg1 = (wxDialog *) 0 ;
7594 int arg2 ;
7595 void *argp1 = 0 ;
7596 int res1 = 0 ;
7597 int val2 ;
7598 int ecode2 = 0 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char * kwnames[] = {
7602 (char *) "self",(char *) "returnCode", NULL
7603 };
7604
7605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7607 if (!SWIG_IsOK(res1)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7609 }
7610 arg1 = reinterpret_cast< wxDialog * >(argp1);
7611 ecode2 = SWIG_AsVal_int(obj1, &val2);
7612 if (!SWIG_IsOK(ecode2)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7614 }
7615 arg2 = static_cast< int >(val2);
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->SetReturnCode(arg2);
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 resultobj = SWIG_Py_Void();
7623 return resultobj;
7624 fail:
7625 return NULL;
7626 }
7627
7628
7629 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7630 PyObject *resultobj = 0;
7631 wxDialog *arg1 = (wxDialog *) 0 ;
7632 int result;
7633 void *argp1 = 0 ;
7634 int res1 = 0 ;
7635 PyObject *swig_obj[1] ;
7636
7637 if (!args) SWIG_fail;
7638 swig_obj[0] = args;
7639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7640 if (!SWIG_IsOK(res1)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7642 }
7643 arg1 = reinterpret_cast< wxDialog * >(argp1);
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 resultobj = SWIG_From_int(static_cast< int >(result));
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj = 0;
7659 wxDialog *arg1 = (wxDialog *) 0 ;
7660 int arg2 ;
7661 void *argp1 = 0 ;
7662 int res1 = 0 ;
7663 int val2 ;
7664 int ecode2 = 0 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 char * kwnames[] = {
7668 (char *) "self",(char *) "affirmativeId", NULL
7669 };
7670
7671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7673 if (!SWIG_IsOK(res1)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7675 }
7676 arg1 = reinterpret_cast< wxDialog * >(argp1);
7677 ecode2 = SWIG_AsVal_int(obj1, &val2);
7678 if (!SWIG_IsOK(ecode2)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7680 }
7681 arg2 = static_cast< int >(val2);
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->SetAffirmativeId(arg2);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_Py_Void();
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7696 PyObject *resultobj = 0;
7697 wxDialog *arg1 = (wxDialog *) 0 ;
7698 int result;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 PyObject *swig_obj[1] ;
7702
7703 if (!args) SWIG_fail;
7704 swig_obj[0] = args;
7705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7706 if (!SWIG_IsOK(res1)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7708 }
7709 arg1 = reinterpret_cast< wxDialog * >(argp1);
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_From_int(static_cast< int >(result));
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj = 0;
7725 wxDialog *arg1 = (wxDialog *) 0 ;
7726 int arg2 ;
7727 void *argp1 = 0 ;
7728 int res1 = 0 ;
7729 int val2 ;
7730 int ecode2 = 0 ;
7731 PyObject * obj0 = 0 ;
7732 PyObject * obj1 = 0 ;
7733 char * kwnames[] = {
7734 (char *) "self",(char *) "escapeId", NULL
7735 };
7736
7737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7739 if (!SWIG_IsOK(res1)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7741 }
7742 arg1 = reinterpret_cast< wxDialog * >(argp1);
7743 ecode2 = SWIG_AsVal_int(obj1, &val2);
7744 if (!SWIG_IsOK(ecode2)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7746 }
7747 arg2 = static_cast< int >(val2);
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 (arg1)->SetEscapeId(arg2);
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 resultobj = SWIG_Py_Void();
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7762 PyObject *resultobj = 0;
7763 wxDialog *arg1 = (wxDialog *) 0 ;
7764 int result;
7765 void *argp1 = 0 ;
7766 int res1 = 0 ;
7767 PyObject *swig_obj[1] ;
7768
7769 if (!args) SWIG_fail;
7770 swig_obj[0] = args;
7771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7772 if (!SWIG_IsOK(res1)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7774 }
7775 arg1 = reinterpret_cast< wxDialog * >(argp1);
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_From_int(static_cast< int >(result));
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj = 0;
7791 wxDialog *arg1 = (wxDialog *) 0 ;
7792 wxString *arg2 = 0 ;
7793 wxSizer *result = 0 ;
7794 void *argp1 = 0 ;
7795 int res1 = 0 ;
7796 bool temp2 = false ;
7797 PyObject * obj0 = 0 ;
7798 PyObject * obj1 = 0 ;
7799 char * kwnames[] = {
7800 (char *) "self",(char *) "message", NULL
7801 };
7802
7803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7805 if (!SWIG_IsOK(res1)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7807 }
7808 arg1 = reinterpret_cast< wxDialog * >(argp1);
7809 {
7810 arg2 = wxString_in_helper(obj1);
7811 if (arg2 == NULL) SWIG_fail;
7812 temp2 = true;
7813 }
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 {
7821 resultobj = wxPyMake_wxObject(result, (bool)0);
7822 }
7823 {
7824 if (temp2)
7825 delete arg2;
7826 }
7827 return resultobj;
7828 fail:
7829 {
7830 if (temp2)
7831 delete arg2;
7832 }
7833 return NULL;
7834 }
7835
7836
7837 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7838 PyObject *resultobj = 0;
7839 wxDialog *arg1 = (wxDialog *) 0 ;
7840 long arg2 ;
7841 bool arg3 = (bool) false ;
7842 int arg4 = (int) 0 ;
7843 wxSizer *result = 0 ;
7844 void *argp1 = 0 ;
7845 int res1 = 0 ;
7846 long val2 ;
7847 int ecode2 = 0 ;
7848 bool val3 ;
7849 int ecode3 = 0 ;
7850 int val4 ;
7851 int ecode4 = 0 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 PyObject * obj2 = 0 ;
7855 PyObject * obj3 = 0 ;
7856 char * kwnames[] = {
7857 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7858 };
7859
7860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7862 if (!SWIG_IsOK(res1)) {
7863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7864 }
7865 arg1 = reinterpret_cast< wxDialog * >(argp1);
7866 ecode2 = SWIG_AsVal_long(obj1, &val2);
7867 if (!SWIG_IsOK(ecode2)) {
7868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7869 }
7870 arg2 = static_cast< long >(val2);
7871 if (obj2) {
7872 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7873 if (!SWIG_IsOK(ecode3)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7875 }
7876 arg3 = static_cast< bool >(val3);
7877 }
7878 if (obj3) {
7879 ecode4 = SWIG_AsVal_int(obj3, &val4);
7880 if (!SWIG_IsOK(ecode4)) {
7881 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7882 }
7883 arg4 = static_cast< int >(val4);
7884 }
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 {
7892 resultobj = wxPyMake_wxObject(result, (bool)0);
7893 }
7894 return resultobj;
7895 fail:
7896 return NULL;
7897 }
7898
7899
7900 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7901 PyObject *resultobj = 0;
7902 wxDialog *arg1 = (wxDialog *) 0 ;
7903 long arg2 ;
7904 wxStdDialogButtonSizer *result = 0 ;
7905 void *argp1 = 0 ;
7906 int res1 = 0 ;
7907 long val2 ;
7908 int ecode2 = 0 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 char * kwnames[] = {
7912 (char *) "self",(char *) "flags", NULL
7913 };
7914
7915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7917 if (!SWIG_IsOK(res1)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7919 }
7920 arg1 = reinterpret_cast< wxDialog * >(argp1);
7921 ecode2 = SWIG_AsVal_long(obj1, &val2);
7922 if (!SWIG_IsOK(ecode2)) {
7923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7924 }
7925 arg2 = static_cast< long >(val2);
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7940 PyObject *resultobj = 0;
7941 wxDialog *arg1 = (wxDialog *) 0 ;
7942 bool result;
7943 void *argp1 = 0 ;
7944 int res1 = 0 ;
7945 PyObject *swig_obj[1] ;
7946
7947 if (!args) SWIG_fail;
7948 swig_obj[0] = args;
7949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7950 if (!SWIG_IsOK(res1)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7952 }
7953 arg1 = reinterpret_cast< wxDialog * >(argp1);
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = (bool)((wxDialog const *)arg1)->IsModal();
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 {
7961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7962 }
7963 return resultobj;
7964 fail:
7965 return NULL;
7966 }
7967
7968
7969 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7970 PyObject *resultobj = 0;
7971 wxDialog *arg1 = (wxDialog *) 0 ;
7972 int result;
7973 void *argp1 = 0 ;
7974 int res1 = 0 ;
7975 PyObject *swig_obj[1] ;
7976
7977 if (!args) SWIG_fail;
7978 swig_obj[0] = args;
7979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7980 if (!SWIG_IsOK(res1)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7982 }
7983 arg1 = reinterpret_cast< wxDialog * >(argp1);
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (int)(arg1)->ShowModal();
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 resultobj = SWIG_From_int(static_cast< int >(result));
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj = 0;
7999 wxDialog *arg1 = (wxDialog *) 0 ;
8000 int arg2 ;
8001 void *argp1 = 0 ;
8002 int res1 = 0 ;
8003 int val2 ;
8004 int ecode2 = 0 ;
8005 PyObject * obj0 = 0 ;
8006 PyObject * obj1 = 0 ;
8007 char * kwnames[] = {
8008 (char *) "self",(char *) "retCode", NULL
8009 };
8010
8011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8013 if (!SWIG_IsOK(res1)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8015 }
8016 arg1 = reinterpret_cast< wxDialog * >(argp1);
8017 ecode2 = SWIG_AsVal_int(obj1, &val2);
8018 if (!SWIG_IsOK(ecode2)) {
8019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8020 }
8021 arg2 = static_cast< int >(val2);
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 (arg1)->EndModal(arg2);
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 resultobj = SWIG_Py_Void();
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj = 0;
8037 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8038 SwigValueWrapper<wxVisualAttributes > result;
8039 int val1 ;
8040 int ecode1 = 0 ;
8041 PyObject * obj0 = 0 ;
8042 char * kwnames[] = {
8043 (char *) "variant", NULL
8044 };
8045
8046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8047 if (obj0) {
8048 ecode1 = SWIG_AsVal_int(obj0, &val1);
8049 if (!SWIG_IsOK(ecode1)) {
8050 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8051 }
8052 arg1 = static_cast< wxWindowVariant >(val1);
8053 }
8054 {
8055 if (!wxPyCheckForApp()) SWIG_fail;
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = wxDialog::GetClassDefaultAttributes(arg1);
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8069 PyObject *obj;
8070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8071 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8072 return SWIG_Py_Void();
8073 }
8074
8075 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8076 return SWIG_Python_InitShadowInstance(args);
8077 }
8078
8079 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj = 0;
8081 wxWindow *arg1 = (wxWindow *) 0 ;
8082 int arg2 = (int) (int)-1 ;
8083 wxString const &arg3_defvalue = wxPyEmptyString ;
8084 wxString *arg3 = (wxString *) &arg3_defvalue ;
8085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8087 wxSize const &arg5_defvalue = wxDefaultSize ;
8088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8089 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8090 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8091 wxString *arg7 = (wxString *) &arg7_defvalue ;
8092 wxMiniFrame *result = 0 ;
8093 void *argp1 = 0 ;
8094 int res1 = 0 ;
8095 int val2 ;
8096 int ecode2 = 0 ;
8097 bool temp3 = false ;
8098 wxPoint temp4 ;
8099 wxSize temp5 ;
8100 long val6 ;
8101 int ecode6 = 0 ;
8102 bool temp7 = false ;
8103 PyObject * obj0 = 0 ;
8104 PyObject * obj1 = 0 ;
8105 PyObject * obj2 = 0 ;
8106 PyObject * obj3 = 0 ;
8107 PyObject * obj4 = 0 ;
8108 PyObject * obj5 = 0 ;
8109 PyObject * obj6 = 0 ;
8110 char * kwnames[] = {
8111 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8112 };
8113
8114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8116 if (!SWIG_IsOK(res1)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8118 }
8119 arg1 = reinterpret_cast< wxWindow * >(argp1);
8120 if (obj1) {
8121 ecode2 = SWIG_AsVal_int(obj1, &val2);
8122 if (!SWIG_IsOK(ecode2)) {
8123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8124 }
8125 arg2 = static_cast< int >(val2);
8126 }
8127 if (obj2) {
8128 {
8129 arg3 = wxString_in_helper(obj2);
8130 if (arg3 == NULL) SWIG_fail;
8131 temp3 = true;
8132 }
8133 }
8134 if (obj3) {
8135 {
8136 arg4 = &temp4;
8137 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8138 }
8139 }
8140 if (obj4) {
8141 {
8142 arg5 = &temp5;
8143 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8144 }
8145 }
8146 if (obj5) {
8147 ecode6 = SWIG_AsVal_long(obj5, &val6);
8148 if (!SWIG_IsOK(ecode6)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8150 }
8151 arg6 = static_cast< long >(val6);
8152 }
8153 if (obj6) {
8154 {
8155 arg7 = wxString_in_helper(obj6);
8156 if (arg7 == NULL) SWIG_fail;
8157 temp7 = true;
8158 }
8159 }
8160 {
8161 if (!wxPyCheckForApp()) SWIG_fail;
8162 PyThreadState* __tstate = wxPyBeginAllowThreads();
8163 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8168 {
8169 if (temp3)
8170 delete arg3;
8171 }
8172 {
8173 if (temp7)
8174 delete arg7;
8175 }
8176 return resultobj;
8177 fail:
8178 {
8179 if (temp3)
8180 delete arg3;
8181 }
8182 {
8183 if (temp7)
8184 delete arg7;
8185 }
8186 return NULL;
8187 }
8188
8189
8190 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8191 PyObject *resultobj = 0;
8192 wxMiniFrame *result = 0 ;
8193
8194 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8195 {
8196 if (!wxPyCheckForApp()) SWIG_fail;
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (wxMiniFrame *)new wxMiniFrame();
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj = 0;
8211 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8212 wxWindow *arg2 = (wxWindow *) 0 ;
8213 int arg3 = (int) (int)-1 ;
8214 wxString const &arg4_defvalue = wxPyEmptyString ;
8215 wxString *arg4 = (wxString *) &arg4_defvalue ;
8216 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8217 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8218 wxSize const &arg6_defvalue = wxDefaultSize ;
8219 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8220 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8221 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8222 wxString *arg8 = (wxString *) &arg8_defvalue ;
8223 bool result;
8224 void *argp1 = 0 ;
8225 int res1 = 0 ;
8226 void *argp2 = 0 ;
8227 int res2 = 0 ;
8228 int val3 ;
8229 int ecode3 = 0 ;
8230 bool temp4 = false ;
8231 wxPoint temp5 ;
8232 wxSize temp6 ;
8233 long val7 ;
8234 int ecode7 = 0 ;
8235 bool temp8 = false ;
8236 PyObject * obj0 = 0 ;
8237 PyObject * obj1 = 0 ;
8238 PyObject * obj2 = 0 ;
8239 PyObject * obj3 = 0 ;
8240 PyObject * obj4 = 0 ;
8241 PyObject * obj5 = 0 ;
8242 PyObject * obj6 = 0 ;
8243 PyObject * obj7 = 0 ;
8244 char * kwnames[] = {
8245 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8246 };
8247
8248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8250 if (!SWIG_IsOK(res1)) {
8251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8252 }
8253 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8254 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8255 if (!SWIG_IsOK(res2)) {
8256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8257 }
8258 arg2 = reinterpret_cast< wxWindow * >(argp2);
8259 if (obj2) {
8260 ecode3 = SWIG_AsVal_int(obj2, &val3);
8261 if (!SWIG_IsOK(ecode3)) {
8262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8263 }
8264 arg3 = static_cast< int >(val3);
8265 }
8266 if (obj3) {
8267 {
8268 arg4 = wxString_in_helper(obj3);
8269 if (arg4 == NULL) SWIG_fail;
8270 temp4 = true;
8271 }
8272 }
8273 if (obj4) {
8274 {
8275 arg5 = &temp5;
8276 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8277 }
8278 }
8279 if (obj5) {
8280 {
8281 arg6 = &temp6;
8282 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8283 }
8284 }
8285 if (obj6) {
8286 ecode7 = SWIG_AsVal_long(obj6, &val7);
8287 if (!SWIG_IsOK(ecode7)) {
8288 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8289 }
8290 arg7 = static_cast< long >(val7);
8291 }
8292 if (obj7) {
8293 {
8294 arg8 = wxString_in_helper(obj7);
8295 if (arg8 == NULL) SWIG_fail;
8296 temp8 = true;
8297 }
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 {
8306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8307 }
8308 {
8309 if (temp4)
8310 delete arg4;
8311 }
8312 {
8313 if (temp8)
8314 delete arg8;
8315 }
8316 return resultobj;
8317 fail:
8318 {
8319 if (temp4)
8320 delete arg4;
8321 }
8322 {
8323 if (temp8)
8324 delete arg8;
8325 }
8326 return NULL;
8327 }
8328
8329
8330 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8331 PyObject *obj;
8332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8333 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8334 return SWIG_Py_Void();
8335 }
8336
8337 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8338 return SWIG_Python_InitShadowInstance(args);
8339 }
8340
8341 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj = 0;
8343 wxBitmap *arg1 = 0 ;
8344 wxWindow *arg2 = (wxWindow *) 0 ;
8345 int arg3 ;
8346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8348 wxSize const &arg5_defvalue = wxDefaultSize ;
8349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8350 long arg6 = (long) wxNO_BORDER ;
8351 wxSplashScreenWindow *result = 0 ;
8352 void *argp1 = 0 ;
8353 int res1 = 0 ;
8354 void *argp2 = 0 ;
8355 int res2 = 0 ;
8356 int val3 ;
8357 int ecode3 = 0 ;
8358 wxPoint temp4 ;
8359 wxSize temp5 ;
8360 long val6 ;
8361 int ecode6 = 0 ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 PyObject * obj2 = 0 ;
8365 PyObject * obj3 = 0 ;
8366 PyObject * obj4 = 0 ;
8367 PyObject * obj5 = 0 ;
8368 char * kwnames[] = {
8369 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8370 };
8371
8372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8373 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8374 if (!SWIG_IsOK(res1)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8376 }
8377 if (!argp1) {
8378 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8379 }
8380 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8381 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8382 if (!SWIG_IsOK(res2)) {
8383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8384 }
8385 arg2 = reinterpret_cast< wxWindow * >(argp2);
8386 ecode3 = SWIG_AsVal_int(obj2, &val3);
8387 if (!SWIG_IsOK(ecode3)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8389 }
8390 arg3 = static_cast< int >(val3);
8391 if (obj3) {
8392 {
8393 arg4 = &temp4;
8394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8395 }
8396 }
8397 if (obj4) {
8398 {
8399 arg5 = &temp5;
8400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8401 }
8402 }
8403 if (obj5) {
8404 ecode6 = SWIG_AsVal_long(obj5, &val6);
8405 if (!SWIG_IsOK(ecode6)) {
8406 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8407 }
8408 arg6 = static_cast< long >(val6);
8409 }
8410 {
8411 if (!wxPyCheckForApp()) SWIG_fail;
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8418 return resultobj;
8419 fail:
8420 return NULL;
8421 }
8422
8423
8424 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj = 0;
8426 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8427 wxBitmap *arg2 = 0 ;
8428 void *argp1 = 0 ;
8429 int res1 = 0 ;
8430 void *argp2 = 0 ;
8431 int res2 = 0 ;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 char * kwnames[] = {
8435 (char *) "self",(char *) "bitmap", NULL
8436 };
8437
8438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8440 if (!SWIG_IsOK(res1)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8442 }
8443 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8444 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8445 if (!SWIG_IsOK(res2)) {
8446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8447 }
8448 if (!argp2) {
8449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8450 }
8451 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8455 wxPyEndAllowThreads(__tstate);
8456 if (PyErr_Occurred()) SWIG_fail;
8457 }
8458 resultobj = SWIG_Py_Void();
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8466 PyObject *resultobj = 0;
8467 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8468 wxBitmap *result = 0 ;
8469 void *argp1 = 0 ;
8470 int res1 = 0 ;
8471 PyObject *swig_obj[1] ;
8472
8473 if (!args) SWIG_fail;
8474 swig_obj[0] = args;
8475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8476 if (!SWIG_IsOK(res1)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8478 }
8479 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 {
8483 wxBitmap &_result_ref = (arg1)->GetBitmap();
8484 result = (wxBitmap *) &_result_ref;
8485 }
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 {
8490 wxBitmap* resultptr = new wxBitmap(*result);
8491 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8492 }
8493 return resultobj;
8494 fail:
8495 return NULL;
8496 }
8497
8498
8499 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8500 PyObject *obj;
8501 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8502 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8503 return SWIG_Py_Void();
8504 }
8505
8506 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8507 return SWIG_Python_InitShadowInstance(args);
8508 }
8509
8510 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj = 0;
8512 wxBitmap *arg1 = 0 ;
8513 long arg2 ;
8514 int arg3 ;
8515 wxWindow *arg4 = (wxWindow *) 0 ;
8516 int arg5 = (int) -1 ;
8517 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8518 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8519 wxSize const &arg7_defvalue = wxDefaultSize ;
8520 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8521 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8522 wxSplashScreen *result = 0 ;
8523 void *argp1 = 0 ;
8524 int res1 = 0 ;
8525 long val2 ;
8526 int ecode2 = 0 ;
8527 int val3 ;
8528 int ecode3 = 0 ;
8529 void *argp4 = 0 ;
8530 int res4 = 0 ;
8531 int val5 ;
8532 int ecode5 = 0 ;
8533 wxPoint temp6 ;
8534 wxSize temp7 ;
8535 long val8 ;
8536 int ecode8 = 0 ;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 PyObject * obj2 = 0 ;
8540 PyObject * obj3 = 0 ;
8541 PyObject * obj4 = 0 ;
8542 PyObject * obj5 = 0 ;
8543 PyObject * obj6 = 0 ;
8544 PyObject * obj7 = 0 ;
8545 char * kwnames[] = {
8546 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8547 };
8548
8549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8550 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8551 if (!SWIG_IsOK(res1)) {
8552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8553 }
8554 if (!argp1) {
8555 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8556 }
8557 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8558 ecode2 = SWIG_AsVal_long(obj1, &val2);
8559 if (!SWIG_IsOK(ecode2)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8561 }
8562 arg2 = static_cast< long >(val2);
8563 ecode3 = SWIG_AsVal_int(obj2, &val3);
8564 if (!SWIG_IsOK(ecode3)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8566 }
8567 arg3 = static_cast< int >(val3);
8568 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8569 if (!SWIG_IsOK(res4)) {
8570 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8571 }
8572 arg4 = reinterpret_cast< wxWindow * >(argp4);
8573 if (obj4) {
8574 ecode5 = SWIG_AsVal_int(obj4, &val5);
8575 if (!SWIG_IsOK(ecode5)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8577 }
8578 arg5 = static_cast< int >(val5);
8579 }
8580 if (obj5) {
8581 {
8582 arg6 = &temp6;
8583 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8584 }
8585 }
8586 if (obj6) {
8587 {
8588 arg7 = &temp7;
8589 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8590 }
8591 }
8592 if (obj7) {
8593 ecode8 = SWIG_AsVal_long(obj7, &val8);
8594 if (!SWIG_IsOK(ecode8)) {
8595 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8596 }
8597 arg8 = static_cast< long >(val8);
8598 }
8599 {
8600 if (!wxPyCheckForApp()) SWIG_fail;
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8607 return resultobj;
8608 fail:
8609 return NULL;
8610 }
8611
8612
8613 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8614 PyObject *resultobj = 0;
8615 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8616 long result;
8617 void *argp1 = 0 ;
8618 int res1 = 0 ;
8619 PyObject *swig_obj[1] ;
8620
8621 if (!args) SWIG_fail;
8622 swig_obj[0] = args;
8623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8624 if (!SWIG_IsOK(res1)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8626 }
8627 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 resultobj = SWIG_From_long(static_cast< long >(result));
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8642 PyObject *resultobj = 0;
8643 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8644 wxSplashScreenWindow *result = 0 ;
8645 void *argp1 = 0 ;
8646 int res1 = 0 ;
8647 PyObject *swig_obj[1] ;
8648
8649 if (!args) SWIG_fail;
8650 swig_obj[0] = args;
8651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8652 if (!SWIG_IsOK(res1)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8654 }
8655 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8670 PyObject *resultobj = 0;
8671 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8672 int result;
8673 void *argp1 = 0 ;
8674 int res1 = 0 ;
8675 PyObject *swig_obj[1] ;
8676
8677 if (!args) SWIG_fail;
8678 swig_obj[0] = args;
8679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8680 if (!SWIG_IsOK(res1)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8682 }
8683 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 resultobj = SWIG_From_int(static_cast< int >(result));
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8698 PyObject *obj;
8699 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8700 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8701 return SWIG_Py_Void();
8702 }
8703
8704 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8705 return SWIG_Python_InitShadowInstance(args);
8706 }
8707
8708 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj = 0;
8710 wxWindow *arg1 = (wxWindow *) 0 ;
8711 int arg2 = (int) -1 ;
8712 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8713 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8714 wxString *arg4 = (wxString *) &arg4_defvalue ;
8715 wxStatusBar *result = 0 ;
8716 void *argp1 = 0 ;
8717 int res1 = 0 ;
8718 int val2 ;
8719 int ecode2 = 0 ;
8720 long val3 ;
8721 int ecode3 = 0 ;
8722 bool temp4 = false ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725 PyObject * obj2 = 0 ;
8726 PyObject * obj3 = 0 ;
8727 char * kwnames[] = {
8728 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8729 };
8730
8731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8733 if (!SWIG_IsOK(res1)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8735 }
8736 arg1 = reinterpret_cast< wxWindow * >(argp1);
8737 if (obj1) {
8738 ecode2 = SWIG_AsVal_int(obj1, &val2);
8739 if (!SWIG_IsOK(ecode2)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8741 }
8742 arg2 = static_cast< int >(val2);
8743 }
8744 if (obj2) {
8745 ecode3 = SWIG_AsVal_long(obj2, &val3);
8746 if (!SWIG_IsOK(ecode3)) {
8747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8748 }
8749 arg3 = static_cast< long >(val3);
8750 }
8751 if (obj3) {
8752 {
8753 arg4 = wxString_in_helper(obj3);
8754 if (arg4 == NULL) SWIG_fail;
8755 temp4 = true;
8756 }
8757 }
8758 {
8759 if (!wxPyCheckForApp()) SWIG_fail;
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) SWIG_fail;
8764 }
8765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8766 {
8767 if (temp4)
8768 delete arg4;
8769 }
8770 return resultobj;
8771 fail:
8772 {
8773 if (temp4)
8774 delete arg4;
8775 }
8776 return NULL;
8777 }
8778
8779
8780 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8781 PyObject *resultobj = 0;
8782 wxStatusBar *result = 0 ;
8783
8784 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8785 {
8786 if (!wxPyCheckForApp()) SWIG_fail;
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 result = (wxStatusBar *)new wxStatusBar();
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8793 return resultobj;
8794 fail:
8795 return NULL;
8796 }
8797
8798
8799 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj = 0;
8801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8802 wxWindow *arg2 = (wxWindow *) 0 ;
8803 int arg3 = (int) -1 ;
8804 long arg4 = (long) wxST_SIZEGRIP ;
8805 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8806 wxString *arg5 = (wxString *) &arg5_defvalue ;
8807 bool result;
8808 void *argp1 = 0 ;
8809 int res1 = 0 ;
8810 void *argp2 = 0 ;
8811 int res2 = 0 ;
8812 int val3 ;
8813 int ecode3 = 0 ;
8814 long val4 ;
8815 int ecode4 = 0 ;
8816 bool temp5 = false ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 PyObject * obj2 = 0 ;
8820 PyObject * obj3 = 0 ;
8821 PyObject * obj4 = 0 ;
8822 char * kwnames[] = {
8823 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8824 };
8825
8826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8828 if (!SWIG_IsOK(res1)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8830 }
8831 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8832 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8833 if (!SWIG_IsOK(res2)) {
8834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8835 }
8836 arg2 = reinterpret_cast< wxWindow * >(argp2);
8837 if (obj2) {
8838 ecode3 = SWIG_AsVal_int(obj2, &val3);
8839 if (!SWIG_IsOK(ecode3)) {
8840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8841 }
8842 arg3 = static_cast< int >(val3);
8843 }
8844 if (obj3) {
8845 ecode4 = SWIG_AsVal_long(obj3, &val4);
8846 if (!SWIG_IsOK(ecode4)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8848 }
8849 arg4 = static_cast< long >(val4);
8850 }
8851 if (obj4) {
8852 {
8853 arg5 = wxString_in_helper(obj4);
8854 if (arg5 == NULL) SWIG_fail;
8855 temp5 = true;
8856 }
8857 }
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 {
8865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8866 }
8867 {
8868 if (temp5)
8869 delete arg5;
8870 }
8871 return resultobj;
8872 fail:
8873 {
8874 if (temp5)
8875 delete arg5;
8876 }
8877 return NULL;
8878 }
8879
8880
8881 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj = 0;
8883 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8884 int arg2 = (int) 1 ;
8885 void *argp1 = 0 ;
8886 int res1 = 0 ;
8887 int val2 ;
8888 int ecode2 = 0 ;
8889 PyObject * obj0 = 0 ;
8890 PyObject * obj1 = 0 ;
8891 char * kwnames[] = {
8892 (char *) "self",(char *) "number", NULL
8893 };
8894
8895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8897 if (!SWIG_IsOK(res1)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8899 }
8900 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8901 if (obj1) {
8902 ecode2 = SWIG_AsVal_int(obj1, &val2);
8903 if (!SWIG_IsOK(ecode2)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8905 }
8906 arg2 = static_cast< int >(val2);
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 (arg1)->SetFieldsCount(arg2);
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 resultobj = SWIG_Py_Void();
8915 return resultobj;
8916 fail:
8917 return NULL;
8918 }
8919
8920
8921 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8922 PyObject *resultobj = 0;
8923 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8924 int result;
8925 void *argp1 = 0 ;
8926 int res1 = 0 ;
8927 PyObject *swig_obj[1] ;
8928
8929 if (!args) SWIG_fail;
8930 swig_obj[0] = args;
8931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8932 if (!SWIG_IsOK(res1)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8934 }
8935 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 resultobj = SWIG_From_int(static_cast< int >(result));
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj = 0;
8951 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8952 wxString *arg2 = 0 ;
8953 int arg3 = (int) 0 ;
8954 void *argp1 = 0 ;
8955 int res1 = 0 ;
8956 bool temp2 = false ;
8957 int val3 ;
8958 int ecode3 = 0 ;
8959 PyObject * obj0 = 0 ;
8960 PyObject * obj1 = 0 ;
8961 PyObject * obj2 = 0 ;
8962 char * kwnames[] = {
8963 (char *) "self",(char *) "text",(char *) "number", NULL
8964 };
8965
8966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8968 if (!SWIG_IsOK(res1)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8970 }
8971 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8972 {
8973 arg2 = wxString_in_helper(obj1);
8974 if (arg2 == NULL) SWIG_fail;
8975 temp2 = true;
8976 }
8977 if (obj2) {
8978 ecode3 = SWIG_AsVal_int(obj2, &val3);
8979 if (!SWIG_IsOK(ecode3)) {
8980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8981 }
8982 arg3 = static_cast< int >(val3);
8983 }
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 resultobj = SWIG_Py_Void();
8991 {
8992 if (temp2)
8993 delete arg2;
8994 }
8995 return resultobj;
8996 fail:
8997 {
8998 if (temp2)
8999 delete arg2;
9000 }
9001 return NULL;
9002 }
9003
9004
9005 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj = 0;
9007 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9008 int arg2 = (int) 0 ;
9009 wxString result;
9010 void *argp1 = 0 ;
9011 int res1 = 0 ;
9012 int val2 ;
9013 int ecode2 = 0 ;
9014 PyObject * obj0 = 0 ;
9015 PyObject * obj1 = 0 ;
9016 char * kwnames[] = {
9017 (char *) "self",(char *) "number", NULL
9018 };
9019
9020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9022 if (!SWIG_IsOK(res1)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9024 }
9025 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9026 if (obj1) {
9027 ecode2 = SWIG_AsVal_int(obj1, &val2);
9028 if (!SWIG_IsOK(ecode2)) {
9029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9030 }
9031 arg2 = static_cast< int >(val2);
9032 }
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9036 wxPyEndAllowThreads(__tstate);
9037 if (PyErr_Occurred()) SWIG_fail;
9038 }
9039 {
9040 #if wxUSE_UNICODE
9041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9042 #else
9043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9044 #endif
9045 }
9046 return resultobj;
9047 fail:
9048 return NULL;
9049 }
9050
9051
9052 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj = 0;
9054 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9055 wxString *arg2 = 0 ;
9056 int arg3 = (int) 0 ;
9057 void *argp1 = 0 ;
9058 int res1 = 0 ;
9059 bool temp2 = false ;
9060 int val3 ;
9061 int ecode3 = 0 ;
9062 PyObject * obj0 = 0 ;
9063 PyObject * obj1 = 0 ;
9064 PyObject * obj2 = 0 ;
9065 char * kwnames[] = {
9066 (char *) "self",(char *) "text",(char *) "number", NULL
9067 };
9068
9069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9071 if (!SWIG_IsOK(res1)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9073 }
9074 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9075 {
9076 arg2 = wxString_in_helper(obj1);
9077 if (arg2 == NULL) SWIG_fail;
9078 temp2 = true;
9079 }
9080 if (obj2) {
9081 ecode3 = SWIG_AsVal_int(obj2, &val3);
9082 if (!SWIG_IsOK(ecode3)) {
9083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9084 }
9085 arg3 = static_cast< int >(val3);
9086 }
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 resultobj = SWIG_Py_Void();
9094 {
9095 if (temp2)
9096 delete arg2;
9097 }
9098 return resultobj;
9099 fail:
9100 {
9101 if (temp2)
9102 delete arg2;
9103 }
9104 return NULL;
9105 }
9106
9107
9108 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj = 0;
9110 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9111 int arg2 = (int) 0 ;
9112 void *argp1 = 0 ;
9113 int res1 = 0 ;
9114 int val2 ;
9115 int ecode2 = 0 ;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 char * kwnames[] = {
9119 (char *) "self",(char *) "number", NULL
9120 };
9121
9122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9124 if (!SWIG_IsOK(res1)) {
9125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9126 }
9127 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9128 if (obj1) {
9129 ecode2 = SWIG_AsVal_int(obj1, &val2);
9130 if (!SWIG_IsOK(ecode2)) {
9131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9132 }
9133 arg2 = static_cast< int >(val2);
9134 }
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 (arg1)->PopStatusText(arg2);
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 resultobj = SWIG_Py_Void();
9142 return resultobj;
9143 fail:
9144 return NULL;
9145 }
9146
9147
9148 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9149 PyObject *resultobj = 0;
9150 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9151 int arg2 ;
9152 int *arg3 = (int *) 0 ;
9153 void *argp1 = 0 ;
9154 int res1 = 0 ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 char * kwnames[] = {
9158 (char *) "self",(char *) "widths", NULL
9159 };
9160
9161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9163 if (!SWIG_IsOK(res1)) {
9164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9165 }
9166 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9167 {
9168 arg2 = PyList_Size(obj1);
9169 arg3 = int_LIST_helper(obj1);
9170 if (arg3 == NULL) SWIG_fail;
9171 }
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 resultobj = SWIG_Py_Void();
9179 {
9180 if (arg3) delete [] arg3;
9181 }
9182 return resultobj;
9183 fail:
9184 {
9185 if (arg3) delete [] arg3;
9186 }
9187 return NULL;
9188 }
9189
9190
9191 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj = 0;
9193 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9194 int arg2 ;
9195 int *arg3 = (int *) 0 ;
9196 void *argp1 = 0 ;
9197 int res1 = 0 ;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char * kwnames[] = {
9201 (char *) "self",(char *) "styles", NULL
9202 };
9203
9204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9206 if (!SWIG_IsOK(res1)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9208 }
9209 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9210 {
9211 arg2 = PyList_Size(obj1);
9212 arg3 = int_LIST_helper(obj1);
9213 if (arg3 == NULL) SWIG_fail;
9214 }
9215 {
9216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9217 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 resultobj = SWIG_Py_Void();
9222 {
9223 if (arg3) delete [] arg3;
9224 }
9225 return resultobj;
9226 fail:
9227 {
9228 if (arg3) delete [] arg3;
9229 }
9230 return NULL;
9231 }
9232
9233
9234 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj = 0;
9236 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9237 int arg2 ;
9238 wxRect result;
9239 void *argp1 = 0 ;
9240 int res1 = 0 ;
9241 int val2 ;
9242 int ecode2 = 0 ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 char * kwnames[] = {
9246 (char *) "self",(char *) "i", NULL
9247 };
9248
9249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9251 if (!SWIG_IsOK(res1)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9253 }
9254 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9255 ecode2 = SWIG_AsVal_int(obj1, &val2);
9256 if (!SWIG_IsOK(ecode2)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9258 }
9259 arg2 = static_cast< int >(val2);
9260 {
9261 PyThreadState* __tstate = wxPyBeginAllowThreads();
9262 result = wxStatusBar_GetFieldRect(arg1,arg2);
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9267 return resultobj;
9268 fail:
9269 return NULL;
9270 }
9271
9272
9273 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9274 PyObject *resultobj = 0;
9275 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9276 int arg2 ;
9277 void *argp1 = 0 ;
9278 int res1 = 0 ;
9279 int val2 ;
9280 int ecode2 = 0 ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 char * kwnames[] = {
9284 (char *) "self",(char *) "height", NULL
9285 };
9286
9287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9289 if (!SWIG_IsOK(res1)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9291 }
9292 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9293 ecode2 = SWIG_AsVal_int(obj1, &val2);
9294 if (!SWIG_IsOK(ecode2)) {
9295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9296 }
9297 arg2 = static_cast< int >(val2);
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 (arg1)->SetMinHeight(arg2);
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = SWIG_Py_Void();
9305 return resultobj;
9306 fail:
9307 return NULL;
9308 }
9309
9310
9311 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9312 PyObject *resultobj = 0;
9313 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9314 int result;
9315 void *argp1 = 0 ;
9316 int res1 = 0 ;
9317 PyObject *swig_obj[1] ;
9318
9319 if (!args) SWIG_fail;
9320 swig_obj[0] = args;
9321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9322 if (!SWIG_IsOK(res1)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9324 }
9325 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_From_int(static_cast< int >(result));
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9340 PyObject *resultobj = 0;
9341 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9342 int result;
9343 void *argp1 = 0 ;
9344 int res1 = 0 ;
9345 PyObject *swig_obj[1] ;
9346
9347 if (!args) SWIG_fail;
9348 swig_obj[0] = args;
9349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9350 if (!SWIG_IsOK(res1)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9352 }
9353 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_From_int(static_cast< int >(result));
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj = 0;
9369 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9370 SwigValueWrapper<wxVisualAttributes > result;
9371 int val1 ;
9372 int ecode1 = 0 ;
9373 PyObject * obj0 = 0 ;
9374 char * kwnames[] = {
9375 (char *) "variant", NULL
9376 };
9377
9378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9379 if (obj0) {
9380 ecode1 = SWIG_AsVal_int(obj0, &val1);
9381 if (!SWIG_IsOK(ecode1)) {
9382 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9383 }
9384 arg1 = static_cast< wxWindowVariant >(val1);
9385 }
9386 {
9387 if (!wxPyCheckForApp()) SWIG_fail;
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9401 PyObject *obj;
9402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9403 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9404 return SWIG_Py_Void();
9405 }
9406
9407 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9408 return SWIG_Python_InitShadowInstance(args);
9409 }
9410
9411 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9412 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9413 return 1;
9414 }
9415
9416
9417 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9418 PyObject *pyobj = 0;
9419
9420 {
9421 #if wxUSE_UNICODE
9422 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9423 #else
9424 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9425 #endif
9426 }
9427 return pyobj;
9428 }
9429
9430
9431 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj = 0;
9433 wxWindow *arg1 = (wxWindow *) 0 ;
9434 int arg2 = (int) -1 ;
9435 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9436 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9437 wxSize const &arg4_defvalue = wxDefaultSize ;
9438 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9439 long arg5 = (long) wxSP_3D ;
9440 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9441 wxString *arg6 = (wxString *) &arg6_defvalue ;
9442 wxSplitterWindow *result = 0 ;
9443 void *argp1 = 0 ;
9444 int res1 = 0 ;
9445 int val2 ;
9446 int ecode2 = 0 ;
9447 wxPoint temp3 ;
9448 wxSize temp4 ;
9449 long val5 ;
9450 int ecode5 = 0 ;
9451 bool temp6 = false ;
9452 PyObject * obj0 = 0 ;
9453 PyObject * obj1 = 0 ;
9454 PyObject * obj2 = 0 ;
9455 PyObject * obj3 = 0 ;
9456 PyObject * obj4 = 0 ;
9457 PyObject * obj5 = 0 ;
9458 char * kwnames[] = {
9459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9460 };
9461
9462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9464 if (!SWIG_IsOK(res1)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9466 }
9467 arg1 = reinterpret_cast< wxWindow * >(argp1);
9468 if (obj1) {
9469 ecode2 = SWIG_AsVal_int(obj1, &val2);
9470 if (!SWIG_IsOK(ecode2)) {
9471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9472 }
9473 arg2 = static_cast< int >(val2);
9474 }
9475 if (obj2) {
9476 {
9477 arg3 = &temp3;
9478 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9479 }
9480 }
9481 if (obj3) {
9482 {
9483 arg4 = &temp4;
9484 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9485 }
9486 }
9487 if (obj4) {
9488 ecode5 = SWIG_AsVal_long(obj4, &val5);
9489 if (!SWIG_IsOK(ecode5)) {
9490 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9491 }
9492 arg5 = static_cast< long >(val5);
9493 }
9494 if (obj5) {
9495 {
9496 arg6 = wxString_in_helper(obj5);
9497 if (arg6 == NULL) SWIG_fail;
9498 temp6 = true;
9499 }
9500 }
9501 {
9502 if (!wxPyCheckForApp()) SWIG_fail;
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9509 {
9510 if (temp6)
9511 delete arg6;
9512 }
9513 return resultobj;
9514 fail:
9515 {
9516 if (temp6)
9517 delete arg6;
9518 }
9519 return NULL;
9520 }
9521
9522
9523 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9524 PyObject *resultobj = 0;
9525 wxSplitterWindow *result = 0 ;
9526
9527 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9528 {
9529 if (!wxPyCheckForApp()) SWIG_fail;
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (wxSplitterWindow *)new wxSplitterWindow();
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj = 0;
9544 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9545 wxWindow *arg2 = (wxWindow *) 0 ;
9546 int arg3 = (int) -1 ;
9547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9549 wxSize const &arg5_defvalue = wxDefaultSize ;
9550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9551 long arg6 = (long) wxSP_3D ;
9552 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9553 wxString *arg7 = (wxString *) &arg7_defvalue ;
9554 bool result;
9555 void *argp1 = 0 ;
9556 int res1 = 0 ;
9557 void *argp2 = 0 ;
9558 int res2 = 0 ;
9559 int val3 ;
9560 int ecode3 = 0 ;
9561 wxPoint temp4 ;
9562 wxSize temp5 ;
9563 long val6 ;
9564 int ecode6 = 0 ;
9565 bool temp7 = false ;
9566 PyObject * obj0 = 0 ;
9567 PyObject * obj1 = 0 ;
9568 PyObject * obj2 = 0 ;
9569 PyObject * obj3 = 0 ;
9570 PyObject * obj4 = 0 ;
9571 PyObject * obj5 = 0 ;
9572 PyObject * obj6 = 0 ;
9573 char * kwnames[] = {
9574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9575 };
9576
9577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9579 if (!SWIG_IsOK(res1)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9581 }
9582 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9584 if (!SWIG_IsOK(res2)) {
9585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9586 }
9587 arg2 = reinterpret_cast< wxWindow * >(argp2);
9588 if (obj2) {
9589 ecode3 = SWIG_AsVal_int(obj2, &val3);
9590 if (!SWIG_IsOK(ecode3)) {
9591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9592 }
9593 arg3 = static_cast< int >(val3);
9594 }
9595 if (obj3) {
9596 {
9597 arg4 = &temp4;
9598 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9599 }
9600 }
9601 if (obj4) {
9602 {
9603 arg5 = &temp5;
9604 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9605 }
9606 }
9607 if (obj5) {
9608 ecode6 = SWIG_AsVal_long(obj5, &val6);
9609 if (!SWIG_IsOK(ecode6)) {
9610 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9611 }
9612 arg6 = static_cast< long >(val6);
9613 }
9614 if (obj6) {
9615 {
9616 arg7 = wxString_in_helper(obj6);
9617 if (arg7 == NULL) SWIG_fail;
9618 temp7 = true;
9619 }
9620 }
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 {
9628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9629 }
9630 {
9631 if (temp7)
9632 delete arg7;
9633 }
9634 return resultobj;
9635 fail:
9636 {
9637 if (temp7)
9638 delete arg7;
9639 }
9640 return NULL;
9641 }
9642
9643
9644 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9645 PyObject *resultobj = 0;
9646 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9647 wxWindow *result = 0 ;
9648 void *argp1 = 0 ;
9649 int res1 = 0 ;
9650 PyObject *swig_obj[1] ;
9651
9652 if (!args) SWIG_fail;
9653 swig_obj[0] = args;
9654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9655 if (!SWIG_IsOK(res1)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9657 }
9658 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 resultobj = wxPyMake_wxObject(result, 0);
9667 }
9668 return resultobj;
9669 fail:
9670 return NULL;
9671 }
9672
9673
9674 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9675 PyObject *resultobj = 0;
9676 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9677 wxWindow *result = 0 ;
9678 void *argp1 = 0 ;
9679 int res1 = 0 ;
9680 PyObject *swig_obj[1] ;
9681
9682 if (!args) SWIG_fail;
9683 swig_obj[0] = args;
9684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9685 if (!SWIG_IsOK(res1)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9687 }
9688 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9692 wxPyEndAllowThreads(__tstate);
9693 if (PyErr_Occurred()) SWIG_fail;
9694 }
9695 {
9696 resultobj = wxPyMake_wxObject(result, 0);
9697 }
9698 return resultobj;
9699 fail:
9700 return NULL;
9701 }
9702
9703
9704 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj = 0;
9706 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9707 int arg2 ;
9708 void *argp1 = 0 ;
9709 int res1 = 0 ;
9710 int val2 ;
9711 int ecode2 = 0 ;
9712 PyObject * obj0 = 0 ;
9713 PyObject * obj1 = 0 ;
9714 char * kwnames[] = {
9715 (char *) "self",(char *) "mode", NULL
9716 };
9717
9718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9720 if (!SWIG_IsOK(res1)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9722 }
9723 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9724 ecode2 = SWIG_AsVal_int(obj1, &val2);
9725 if (!SWIG_IsOK(ecode2)) {
9726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9727 }
9728 arg2 = static_cast< int >(val2);
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->SetSplitMode(arg2);
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = SWIG_Py_Void();
9736 return resultobj;
9737 fail:
9738 return NULL;
9739 }
9740
9741
9742 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9743 PyObject *resultobj = 0;
9744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9745 wxSplitMode result;
9746 void *argp1 = 0 ;
9747 int res1 = 0 ;
9748 PyObject *swig_obj[1] ;
9749
9750 if (!args) SWIG_fail;
9751 swig_obj[0] = args;
9752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9753 if (!SWIG_IsOK(res1)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9755 }
9756 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_From_int(static_cast< int >(result));
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj = 0;
9772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9773 wxWindow *arg2 = (wxWindow *) 0 ;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 void *argp2 = 0 ;
9777 int res2 = 0 ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 char * kwnames[] = {
9781 (char *) "self",(char *) "window", NULL
9782 };
9783
9784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9786 if (!SWIG_IsOK(res1)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9788 }
9789 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9790 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9791 if (!SWIG_IsOK(res2)) {
9792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9793 }
9794 arg2 = reinterpret_cast< wxWindow * >(argp2);
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 (arg1)->Initialize(arg2);
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = SWIG_Py_Void();
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj = 0;
9810 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9811 wxWindow *arg2 = (wxWindow *) 0 ;
9812 wxWindow *arg3 = (wxWindow *) 0 ;
9813 int arg4 = (int) 0 ;
9814 bool result;
9815 void *argp1 = 0 ;
9816 int res1 = 0 ;
9817 void *argp2 = 0 ;
9818 int res2 = 0 ;
9819 void *argp3 = 0 ;
9820 int res3 = 0 ;
9821 int val4 ;
9822 int ecode4 = 0 ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 PyObject * obj3 = 0 ;
9827 char * kwnames[] = {
9828 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9829 };
9830
9831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9833 if (!SWIG_IsOK(res1)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9835 }
9836 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9837 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9838 if (!SWIG_IsOK(res2)) {
9839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9840 }
9841 arg2 = reinterpret_cast< wxWindow * >(argp2);
9842 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9843 if (!SWIG_IsOK(res3)) {
9844 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9845 }
9846 arg3 = reinterpret_cast< wxWindow * >(argp3);
9847 if (obj3) {
9848 ecode4 = SWIG_AsVal_int(obj3, &val4);
9849 if (!SWIG_IsOK(ecode4)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9851 }
9852 arg4 = static_cast< int >(val4);
9853 }
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 {
9861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9862 }
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj = 0;
9871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9872 wxWindow *arg2 = (wxWindow *) 0 ;
9873 wxWindow *arg3 = (wxWindow *) 0 ;
9874 int arg4 = (int) 0 ;
9875 bool result;
9876 void *argp1 = 0 ;
9877 int res1 = 0 ;
9878 void *argp2 = 0 ;
9879 int res2 = 0 ;
9880 void *argp3 = 0 ;
9881 int res3 = 0 ;
9882 int val4 ;
9883 int ecode4 = 0 ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
9886 PyObject * obj2 = 0 ;
9887 PyObject * obj3 = 0 ;
9888 char * kwnames[] = {
9889 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9890 };
9891
9892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9894 if (!SWIG_IsOK(res1)) {
9895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9896 }
9897 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9899 if (!SWIG_IsOK(res2)) {
9900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9901 }
9902 arg2 = reinterpret_cast< wxWindow * >(argp2);
9903 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9904 if (!SWIG_IsOK(res3)) {
9905 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9906 }
9907 arg3 = reinterpret_cast< wxWindow * >(argp3);
9908 if (obj3) {
9909 ecode4 = SWIG_AsVal_int(obj3, &val4);
9910 if (!SWIG_IsOK(ecode4)) {
9911 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9912 }
9913 arg4 = static_cast< int >(val4);
9914 }
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 {
9922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9923 }
9924 return resultobj;
9925 fail:
9926 return NULL;
9927 }
9928
9929
9930 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj = 0;
9932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9933 wxWindow *arg2 = (wxWindow *) NULL ;
9934 bool result;
9935 void *argp1 = 0 ;
9936 int res1 = 0 ;
9937 void *argp2 = 0 ;
9938 int res2 = 0 ;
9939 PyObject * obj0 = 0 ;
9940 PyObject * obj1 = 0 ;
9941 char * kwnames[] = {
9942 (char *) "self",(char *) "toRemove", NULL
9943 };
9944
9945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9947 if (!SWIG_IsOK(res1)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9949 }
9950 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9951 if (obj1) {
9952 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9953 if (!SWIG_IsOK(res2)) {
9954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9955 }
9956 arg2 = reinterpret_cast< wxWindow * >(argp2);
9957 }
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 result = (bool)(arg1)->Unsplit(arg2);
9961 wxPyEndAllowThreads(__tstate);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 }
9964 {
9965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9966 }
9967 return resultobj;
9968 fail:
9969 return NULL;
9970 }
9971
9972
9973 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj = 0;
9975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9976 wxWindow *arg2 = (wxWindow *) 0 ;
9977 wxWindow *arg3 = (wxWindow *) 0 ;
9978 bool result;
9979 void *argp1 = 0 ;
9980 int res1 = 0 ;
9981 void *argp2 = 0 ;
9982 int res2 = 0 ;
9983 void *argp3 = 0 ;
9984 int res3 = 0 ;
9985 PyObject * obj0 = 0 ;
9986 PyObject * obj1 = 0 ;
9987 PyObject * obj2 = 0 ;
9988 char * kwnames[] = {
9989 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9990 };
9991
9992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9994 if (!SWIG_IsOK(res1)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9996 }
9997 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9999 if (!SWIG_IsOK(res2)) {
10000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10001 }
10002 arg2 = reinterpret_cast< wxWindow * >(argp2);
10003 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10004 if (!SWIG_IsOK(res3)) {
10005 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10006 }
10007 arg3 = reinterpret_cast< wxWindow * >(argp3);
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 {
10015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10016 }
10017 return resultobj;
10018 fail:
10019 return NULL;
10020 }
10021
10022
10023 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10024 PyObject *resultobj = 0;
10025 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10026 void *argp1 = 0 ;
10027 int res1 = 0 ;
10028 PyObject *swig_obj[1] ;
10029
10030 if (!args) SWIG_fail;
10031 swig_obj[0] = args;
10032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10033 if (!SWIG_IsOK(res1)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10035 }
10036 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 (arg1)->UpdateSize();
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = SWIG_Py_Void();
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10051 PyObject *resultobj = 0;
10052 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10053 bool result;
10054 void *argp1 = 0 ;
10055 int res1 = 0 ;
10056 PyObject *swig_obj[1] ;
10057
10058 if (!args) SWIG_fail;
10059 swig_obj[0] = args;
10060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10061 if (!SWIG_IsOK(res1)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10063 }
10064 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 {
10072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10073 }
10074 return resultobj;
10075 fail:
10076 return NULL;
10077 }
10078
10079
10080 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj = 0;
10082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10083 int arg2 ;
10084 void *argp1 = 0 ;
10085 int res1 = 0 ;
10086 int val2 ;
10087 int ecode2 = 0 ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 char * kwnames[] = {
10091 (char *) "self",(char *) "width", NULL
10092 };
10093
10094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10096 if (!SWIG_IsOK(res1)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10098 }
10099 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10100 ecode2 = SWIG_AsVal_int(obj1, &val2);
10101 if (!SWIG_IsOK(ecode2)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10103 }
10104 arg2 = static_cast< int >(val2);
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->SetSashSize(arg2);
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_Py_Void();
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj = 0;
10120 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10121 int arg2 ;
10122 void *argp1 = 0 ;
10123 int res1 = 0 ;
10124 int val2 ;
10125 int ecode2 = 0 ;
10126 PyObject * obj0 = 0 ;
10127 PyObject * obj1 = 0 ;
10128 char * kwnames[] = {
10129 (char *) "self",(char *) "width", NULL
10130 };
10131
10132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10134 if (!SWIG_IsOK(res1)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10136 }
10137 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10138 ecode2 = SWIG_AsVal_int(obj1, &val2);
10139 if (!SWIG_IsOK(ecode2)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10141 }
10142 arg2 = static_cast< int >(val2);
10143 {
10144 PyThreadState* __tstate = wxPyBeginAllowThreads();
10145 (arg1)->SetBorderSize(arg2);
10146 wxPyEndAllowThreads(__tstate);
10147 if (PyErr_Occurred()) SWIG_fail;
10148 }
10149 resultobj = SWIG_Py_Void();
10150 return resultobj;
10151 fail:
10152 return NULL;
10153 }
10154
10155
10156 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10157 PyObject *resultobj = 0;
10158 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10159 int result;
10160 void *argp1 = 0 ;
10161 int res1 = 0 ;
10162 PyObject *swig_obj[1] ;
10163
10164 if (!args) SWIG_fail;
10165 swig_obj[0] = args;
10166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10167 if (!SWIG_IsOK(res1)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10169 }
10170 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 resultobj = SWIG_From_int(static_cast< int >(result));
10178 return resultobj;
10179 fail:
10180 return NULL;
10181 }
10182
10183
10184 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10185 PyObject *resultobj = 0;
10186 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10187 int result;
10188 void *argp1 = 0 ;
10189 int res1 = 0 ;
10190 PyObject *swig_obj[1] ;
10191
10192 if (!args) SWIG_fail;
10193 swig_obj[0] = args;
10194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10195 if (!SWIG_IsOK(res1)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10197 }
10198 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 resultobj = SWIG_From_int(static_cast< int >(result));
10206 return resultobj;
10207 fail:
10208 return NULL;
10209 }
10210
10211
10212 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj = 0;
10214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10215 int arg2 ;
10216 bool arg3 = (bool) true ;
10217 void *argp1 = 0 ;
10218 int res1 = 0 ;
10219 int val2 ;
10220 int ecode2 = 0 ;
10221 bool val3 ;
10222 int ecode3 = 0 ;
10223 PyObject * obj0 = 0 ;
10224 PyObject * obj1 = 0 ;
10225 PyObject * obj2 = 0 ;
10226 char * kwnames[] = {
10227 (char *) "self",(char *) "position",(char *) "redraw", NULL
10228 };
10229
10230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10232 if (!SWIG_IsOK(res1)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10234 }
10235 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10236 ecode2 = SWIG_AsVal_int(obj1, &val2);
10237 if (!SWIG_IsOK(ecode2)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10239 }
10240 arg2 = static_cast< int >(val2);
10241 if (obj2) {
10242 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10243 if (!SWIG_IsOK(ecode3)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10245 }
10246 arg3 = static_cast< bool >(val3);
10247 }
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 (arg1)->SetSashPosition(arg2,arg3);
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = SWIG_Py_Void();
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10262 PyObject *resultobj = 0;
10263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10264 int result;
10265 void *argp1 = 0 ;
10266 int res1 = 0 ;
10267 PyObject *swig_obj[1] ;
10268
10269 if (!args) SWIG_fail;
10270 swig_obj[0] = args;
10271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10272 if (!SWIG_IsOK(res1)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10274 }
10275 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 resultobj = SWIG_From_int(static_cast< int >(result));
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj = 0;
10291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10292 double arg2 ;
10293 void *argp1 = 0 ;
10294 int res1 = 0 ;
10295 double val2 ;
10296 int ecode2 = 0 ;
10297 PyObject * obj0 = 0 ;
10298 PyObject * obj1 = 0 ;
10299 char * kwnames[] = {
10300 (char *) "self",(char *) "gravity", NULL
10301 };
10302
10303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10305 if (!SWIG_IsOK(res1)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10307 }
10308 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10309 ecode2 = SWIG_AsVal_double(obj1, &val2);
10310 if (!SWIG_IsOK(ecode2)) {
10311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10312 }
10313 arg2 = static_cast< double >(val2);
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 (arg1)->SetSashGravity(arg2);
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 resultobj = SWIG_Py_Void();
10321 return resultobj;
10322 fail:
10323 return NULL;
10324 }
10325
10326
10327 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10328 PyObject *resultobj = 0;
10329 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10330 double result;
10331 void *argp1 = 0 ;
10332 int res1 = 0 ;
10333 PyObject *swig_obj[1] ;
10334
10335 if (!args) SWIG_fail;
10336 swig_obj[0] = args;
10337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10338 if (!SWIG_IsOK(res1)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10340 }
10341 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10345 wxPyEndAllowThreads(__tstate);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
10348 resultobj = SWIG_From_double(static_cast< double >(result));
10349 return resultobj;
10350 fail:
10351 return NULL;
10352 }
10353
10354
10355 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj = 0;
10357 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10358 int arg2 ;
10359 void *argp1 = 0 ;
10360 int res1 = 0 ;
10361 int val2 ;
10362 int ecode2 = 0 ;
10363 PyObject * obj0 = 0 ;
10364 PyObject * obj1 = 0 ;
10365 char * kwnames[] = {
10366 (char *) "self",(char *) "min", NULL
10367 };
10368
10369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10371 if (!SWIG_IsOK(res1)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10373 }
10374 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10375 ecode2 = SWIG_AsVal_int(obj1, &val2);
10376 if (!SWIG_IsOK(ecode2)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10378 }
10379 arg2 = static_cast< int >(val2);
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 (arg1)->SetMinimumPaneSize(arg2);
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_Py_Void();
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10394 PyObject *resultobj = 0;
10395 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10396 int result;
10397 void *argp1 = 0 ;
10398 int res1 = 0 ;
10399 PyObject *swig_obj[1] ;
10400
10401 if (!args) SWIG_fail;
10402 swig_obj[0] = args;
10403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10404 if (!SWIG_IsOK(res1)) {
10405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10406 }
10407 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 resultobj = SWIG_From_int(static_cast< int >(result));
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj = 0;
10423 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10424 int arg2 ;
10425 int arg3 ;
10426 int arg4 = (int) 5 ;
10427 bool result;
10428 void *argp1 = 0 ;
10429 int res1 = 0 ;
10430 int val2 ;
10431 int ecode2 = 0 ;
10432 int val3 ;
10433 int ecode3 = 0 ;
10434 int val4 ;
10435 int ecode4 = 0 ;
10436 PyObject * obj0 = 0 ;
10437 PyObject * obj1 = 0 ;
10438 PyObject * obj2 = 0 ;
10439 PyObject * obj3 = 0 ;
10440 char * kwnames[] = {
10441 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10442 };
10443
10444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10446 if (!SWIG_IsOK(res1)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10448 }
10449 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10450 ecode2 = SWIG_AsVal_int(obj1, &val2);
10451 if (!SWIG_IsOK(ecode2)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10453 }
10454 arg2 = static_cast< int >(val2);
10455 ecode3 = SWIG_AsVal_int(obj2, &val3);
10456 if (!SWIG_IsOK(ecode3)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10458 }
10459 arg3 = static_cast< int >(val3);
10460 if (obj3) {
10461 ecode4 = SWIG_AsVal_int(obj3, &val4);
10462 if (!SWIG_IsOK(ecode4)) {
10463 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10464 }
10465 arg4 = static_cast< int >(val4);
10466 }
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 {
10474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10475 }
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10483 PyObject *resultobj = 0;
10484 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10485 void *argp1 = 0 ;
10486 int res1 = 0 ;
10487 PyObject *swig_obj[1] ;
10488
10489 if (!args) SWIG_fail;
10490 swig_obj[0] = args;
10491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10492 if (!SWIG_IsOK(res1)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10494 }
10495 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 (arg1)->SizeWindows();
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 resultobj = SWIG_Py_Void();
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj = 0;
10511 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10512 bool arg2 ;
10513 void *argp1 = 0 ;
10514 int res1 = 0 ;
10515 bool val2 ;
10516 int ecode2 = 0 ;
10517 PyObject * obj0 = 0 ;
10518 PyObject * obj1 = 0 ;
10519 char * kwnames[] = {
10520 (char *) "self",(char *) "needUpdating", NULL
10521 };
10522
10523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10525 if (!SWIG_IsOK(res1)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10527 }
10528 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10530 if (!SWIG_IsOK(ecode2)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10532 }
10533 arg2 = static_cast< bool >(val2);
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 (arg1)->SetNeedUpdating(arg2);
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 resultobj = SWIG_Py_Void();
10541 return resultobj;
10542 fail:
10543 return NULL;
10544 }
10545
10546
10547 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10548 PyObject *resultobj = 0;
10549 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10550 bool result;
10551 void *argp1 = 0 ;
10552 int res1 = 0 ;
10553 PyObject *swig_obj[1] ;
10554
10555 if (!args) SWIG_fail;
10556 swig_obj[0] = args;
10557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10558 if (!SWIG_IsOK(res1)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10560 }
10561 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 {
10569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10570 }
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj = 0;
10579 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10580 SwigValueWrapper<wxVisualAttributes > result;
10581 int val1 ;
10582 int ecode1 = 0 ;
10583 PyObject * obj0 = 0 ;
10584 char * kwnames[] = {
10585 (char *) "variant", NULL
10586 };
10587
10588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10589 if (obj0) {
10590 ecode1 = SWIG_AsVal_int(obj0, &val1);
10591 if (!SWIG_IsOK(ecode1)) {
10592 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10593 }
10594 arg1 = static_cast< wxWindowVariant >(val1);
10595 }
10596 {
10597 if (!wxPyCheckForApp()) SWIG_fail;
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10604 return resultobj;
10605 fail:
10606 return NULL;
10607 }
10608
10609
10610 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10611 PyObject *obj;
10612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10614 return SWIG_Py_Void();
10615 }
10616
10617 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10618 return SWIG_Python_InitShadowInstance(args);
10619 }
10620
10621 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj = 0;
10623 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10624 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10625 wxSplitterEvent *result = 0 ;
10626 int val1 ;
10627 int ecode1 = 0 ;
10628 void *argp2 = 0 ;
10629 int res2 = 0 ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 char * kwnames[] = {
10633 (char *) "type",(char *) "splitter", NULL
10634 };
10635
10636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10637 if (obj0) {
10638 ecode1 = SWIG_AsVal_int(obj0, &val1);
10639 if (!SWIG_IsOK(ecode1)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10641 }
10642 arg1 = static_cast< wxEventType >(val1);
10643 }
10644 if (obj1) {
10645 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10646 if (!SWIG_IsOK(res2)) {
10647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10648 }
10649 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10650 }
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10658 return resultobj;
10659 fail:
10660 return NULL;
10661 }
10662
10663
10664 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj = 0;
10666 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10667 int arg2 ;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 int val2 ;
10671 int ecode2 = 0 ;
10672 PyObject * obj0 = 0 ;
10673 PyObject * obj1 = 0 ;
10674 char * kwnames[] = {
10675 (char *) "self",(char *) "pos", NULL
10676 };
10677
10678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10680 if (!SWIG_IsOK(res1)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10682 }
10683 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10684 ecode2 = SWIG_AsVal_int(obj1, &val2);
10685 if (!SWIG_IsOK(ecode2)) {
10686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10687 }
10688 arg2 = static_cast< int >(val2);
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 (arg1)->SetSashPosition(arg2);
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 resultobj = SWIG_Py_Void();
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10703 PyObject *resultobj = 0;
10704 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10705 int result;
10706 void *argp1 = 0 ;
10707 int res1 = 0 ;
10708 PyObject *swig_obj[1] ;
10709
10710 if (!args) SWIG_fail;
10711 swig_obj[0] = args;
10712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10713 if (!SWIG_IsOK(res1)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10715 }
10716 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = SWIG_From_int(static_cast< int >(result));
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10731 PyObject *resultobj = 0;
10732 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10733 wxWindow *result = 0 ;
10734 void *argp1 = 0 ;
10735 int res1 = 0 ;
10736 PyObject *swig_obj[1] ;
10737
10738 if (!args) SWIG_fail;
10739 swig_obj[0] = args;
10740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10741 if (!SWIG_IsOK(res1)) {
10742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10743 }
10744 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 {
10752 resultobj = wxPyMake_wxObject(result, 0);
10753 }
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10761 PyObject *resultobj = 0;
10762 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10763 int result;
10764 void *argp1 = 0 ;
10765 int res1 = 0 ;
10766 PyObject *swig_obj[1] ;
10767
10768 if (!args) SWIG_fail;
10769 swig_obj[0] = args;
10770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10771 if (!SWIG_IsOK(res1)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10773 }
10774 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_From_int(static_cast< int >(result));
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10789 PyObject *resultobj = 0;
10790 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10791 int result;
10792 void *argp1 = 0 ;
10793 int res1 = 0 ;
10794 PyObject *swig_obj[1] ;
10795
10796 if (!args) SWIG_fail;
10797 swig_obj[0] = args;
10798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10799 if (!SWIG_IsOK(res1)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10801 }
10802 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_From_int(static_cast< int >(result));
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10817 PyObject *obj;
10818 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10819 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10820 return SWIG_Py_Void();
10821 }
10822
10823 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10824 return SWIG_Python_InitShadowInstance(args);
10825 }
10826
10827 SWIGINTERN int SashNameStr_set(PyObject *) {
10828 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10829 return 1;
10830 }
10831
10832
10833 SWIGINTERN PyObject *SashNameStr_get(void) {
10834 PyObject *pyobj = 0;
10835
10836 {
10837 #if wxUSE_UNICODE
10838 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10839 #else
10840 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10841 #endif
10842 }
10843 return pyobj;
10844 }
10845
10846
10847 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10848 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10849 return 1;
10850 }
10851
10852
10853 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10854 PyObject *pyobj = 0;
10855
10856 {
10857 #if wxUSE_UNICODE
10858 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10859 #else
10860 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10861 #endif
10862 }
10863 return pyobj;
10864 }
10865
10866
10867 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj = 0;
10869 wxWindow *arg1 = (wxWindow *) 0 ;
10870 int arg2 = (int) -1 ;
10871 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10872 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10873 wxSize const &arg4_defvalue = wxDefaultSize ;
10874 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10875 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10876 wxString const &arg6_defvalue = wxPySashNameStr ;
10877 wxString *arg6 = (wxString *) &arg6_defvalue ;
10878 wxSashWindow *result = 0 ;
10879 void *argp1 = 0 ;
10880 int res1 = 0 ;
10881 int val2 ;
10882 int ecode2 = 0 ;
10883 wxPoint temp3 ;
10884 wxSize temp4 ;
10885 long val5 ;
10886 int ecode5 = 0 ;
10887 bool temp6 = false ;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 PyObject * obj2 = 0 ;
10891 PyObject * obj3 = 0 ;
10892 PyObject * obj4 = 0 ;
10893 PyObject * obj5 = 0 ;
10894 char * kwnames[] = {
10895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10896 };
10897
10898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10900 if (!SWIG_IsOK(res1)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10902 }
10903 arg1 = reinterpret_cast< wxWindow * >(argp1);
10904 if (obj1) {
10905 ecode2 = SWIG_AsVal_int(obj1, &val2);
10906 if (!SWIG_IsOK(ecode2)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10908 }
10909 arg2 = static_cast< int >(val2);
10910 }
10911 if (obj2) {
10912 {
10913 arg3 = &temp3;
10914 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10915 }
10916 }
10917 if (obj3) {
10918 {
10919 arg4 = &temp4;
10920 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10921 }
10922 }
10923 if (obj4) {
10924 ecode5 = SWIG_AsVal_long(obj4, &val5);
10925 if (!SWIG_IsOK(ecode5)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10927 }
10928 arg5 = static_cast< long >(val5);
10929 }
10930 if (obj5) {
10931 {
10932 arg6 = wxString_in_helper(obj5);
10933 if (arg6 == NULL) SWIG_fail;
10934 temp6 = true;
10935 }
10936 }
10937 {
10938 if (!wxPyCheckForApp()) SWIG_fail;
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10945 {
10946 if (temp6)
10947 delete arg6;
10948 }
10949 return resultobj;
10950 fail:
10951 {
10952 if (temp6)
10953 delete arg6;
10954 }
10955 return NULL;
10956 }
10957
10958
10959 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10960 PyObject *resultobj = 0;
10961 wxSashWindow *result = 0 ;
10962
10963 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10964 {
10965 if (!wxPyCheckForApp()) SWIG_fail;
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 result = (wxSashWindow *)new wxSashWindow();
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10972 return resultobj;
10973 fail:
10974 return NULL;
10975 }
10976
10977
10978 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10979 PyObject *resultobj = 0;
10980 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10981 wxWindow *arg2 = (wxWindow *) 0 ;
10982 int arg3 = (int) -1 ;
10983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10985 wxSize const &arg5_defvalue = wxDefaultSize ;
10986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10987 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10988 wxString const &arg7_defvalue = wxPySashNameStr ;
10989 wxString *arg7 = (wxString *) &arg7_defvalue ;
10990 bool result;
10991 void *argp1 = 0 ;
10992 int res1 = 0 ;
10993 void *argp2 = 0 ;
10994 int res2 = 0 ;
10995 int val3 ;
10996 int ecode3 = 0 ;
10997 wxPoint temp4 ;
10998 wxSize temp5 ;
10999 long val6 ;
11000 int ecode6 = 0 ;
11001 bool temp7 = false ;
11002 PyObject * obj0 = 0 ;
11003 PyObject * obj1 = 0 ;
11004 PyObject * obj2 = 0 ;
11005 PyObject * obj3 = 0 ;
11006 PyObject * obj4 = 0 ;
11007 PyObject * obj5 = 0 ;
11008 PyObject * obj6 = 0 ;
11009 char * kwnames[] = {
11010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11011 };
11012
11013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11015 if (!SWIG_IsOK(res1)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11017 }
11018 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11019 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11020 if (!SWIG_IsOK(res2)) {
11021 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11022 }
11023 arg2 = reinterpret_cast< wxWindow * >(argp2);
11024 if (obj2) {
11025 ecode3 = SWIG_AsVal_int(obj2, &val3);
11026 if (!SWIG_IsOK(ecode3)) {
11027 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11028 }
11029 arg3 = static_cast< int >(val3);
11030 }
11031 if (obj3) {
11032 {
11033 arg4 = &temp4;
11034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11035 }
11036 }
11037 if (obj4) {
11038 {
11039 arg5 = &temp5;
11040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11041 }
11042 }
11043 if (obj5) {
11044 ecode6 = SWIG_AsVal_long(obj5, &val6);
11045 if (!SWIG_IsOK(ecode6)) {
11046 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11047 }
11048 arg6 = static_cast< long >(val6);
11049 }
11050 if (obj6) {
11051 {
11052 arg7 = wxString_in_helper(obj6);
11053 if (arg7 == NULL) SWIG_fail;
11054 temp7 = true;
11055 }
11056 }
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 {
11064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11065 }
11066 {
11067 if (temp7)
11068 delete arg7;
11069 }
11070 return resultobj;
11071 fail:
11072 {
11073 if (temp7)
11074 delete arg7;
11075 }
11076 return NULL;
11077 }
11078
11079
11080 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj = 0;
11082 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11083 wxSashEdgePosition arg2 ;
11084 bool arg3 ;
11085 void *argp1 = 0 ;
11086 int res1 = 0 ;
11087 int val2 ;
11088 int ecode2 = 0 ;
11089 bool val3 ;
11090 int ecode3 = 0 ;
11091 PyObject * obj0 = 0 ;
11092 PyObject * obj1 = 0 ;
11093 PyObject * obj2 = 0 ;
11094 char * kwnames[] = {
11095 (char *) "self",(char *) "edge",(char *) "sash", NULL
11096 };
11097
11098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11100 if (!SWIG_IsOK(res1)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11102 }
11103 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11104 ecode2 = SWIG_AsVal_int(obj1, &val2);
11105 if (!SWIG_IsOK(ecode2)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11107 }
11108 arg2 = static_cast< wxSashEdgePosition >(val2);
11109 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11110 if (!SWIG_IsOK(ecode3)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11112 }
11113 arg3 = static_cast< bool >(val3);
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 (arg1)->SetSashVisible(arg2,arg3);
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = SWIG_Py_Void();
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj = 0;
11129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11130 wxSashEdgePosition arg2 ;
11131 bool result;
11132 void *argp1 = 0 ;
11133 int res1 = 0 ;
11134 int val2 ;
11135 int ecode2 = 0 ;
11136 PyObject * obj0 = 0 ;
11137 PyObject * obj1 = 0 ;
11138 char * kwnames[] = {
11139 (char *) "self",(char *) "edge", NULL
11140 };
11141
11142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11144 if (!SWIG_IsOK(res1)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11146 }
11147 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11148 ecode2 = SWIG_AsVal_int(obj1, &val2);
11149 if (!SWIG_IsOK(ecode2)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11151 }
11152 arg2 = static_cast< wxSashEdgePosition >(val2);
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 {
11160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11161 }
11162 return resultobj;
11163 fail:
11164 return NULL;
11165 }
11166
11167
11168 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj = 0;
11170 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11171 wxSashEdgePosition arg2 ;
11172 bool arg3 ;
11173 void *argp1 = 0 ;
11174 int res1 = 0 ;
11175 int val2 ;
11176 int ecode2 = 0 ;
11177 bool val3 ;
11178 int ecode3 = 0 ;
11179 PyObject * obj0 = 0 ;
11180 PyObject * obj1 = 0 ;
11181 PyObject * obj2 = 0 ;
11182 char * kwnames[] = {
11183 (char *) "self",(char *) "edge",(char *) "border", NULL
11184 };
11185
11186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11188 if (!SWIG_IsOK(res1)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11190 }
11191 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11192 ecode2 = SWIG_AsVal_int(obj1, &val2);
11193 if (!SWIG_IsOK(ecode2)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11195 }
11196 arg2 = static_cast< wxSashEdgePosition >(val2);
11197 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11198 if (!SWIG_IsOK(ecode3)) {
11199 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11200 }
11201 arg3 = static_cast< bool >(val3);
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 (arg1)->SetSashBorder(arg2,arg3);
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 resultobj = SWIG_Py_Void();
11209 return resultobj;
11210 fail:
11211 return NULL;
11212 }
11213
11214
11215 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11216 PyObject *resultobj = 0;
11217 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11218 wxSashEdgePosition arg2 ;
11219 bool result;
11220 void *argp1 = 0 ;
11221 int res1 = 0 ;
11222 int val2 ;
11223 int ecode2 = 0 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 char * kwnames[] = {
11227 (char *) "self",(char *) "edge", NULL
11228 };
11229
11230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11232 if (!SWIG_IsOK(res1)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11234 }
11235 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11236 ecode2 = SWIG_AsVal_int(obj1, &val2);
11237 if (!SWIG_IsOK(ecode2)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11239 }
11240 arg2 = static_cast< wxSashEdgePosition >(val2);
11241 {
11242 PyThreadState* __tstate = wxPyBeginAllowThreads();
11243 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 {
11248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11249 }
11250 return resultobj;
11251 fail:
11252 return NULL;
11253 }
11254
11255
11256 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11257 PyObject *resultobj = 0;
11258 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11259 wxSashEdgePosition arg2 ;
11260 int result;
11261 void *argp1 = 0 ;
11262 int res1 = 0 ;
11263 int val2 ;
11264 int ecode2 = 0 ;
11265 PyObject * obj0 = 0 ;
11266 PyObject * obj1 = 0 ;
11267 char * kwnames[] = {
11268 (char *) "self",(char *) "edge", NULL
11269 };
11270
11271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11273 if (!SWIG_IsOK(res1)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11275 }
11276 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11277 ecode2 = SWIG_AsVal_int(obj1, &val2);
11278 if (!SWIG_IsOK(ecode2)) {
11279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11280 }
11281 arg2 = static_cast< wxSashEdgePosition >(val2);
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11285 wxPyEndAllowThreads(__tstate);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 }
11288 resultobj = SWIG_From_int(static_cast< int >(result));
11289 return resultobj;
11290 fail:
11291 return NULL;
11292 }
11293
11294
11295 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11296 PyObject *resultobj = 0;
11297 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11298 int arg2 ;
11299 void *argp1 = 0 ;
11300 int res1 = 0 ;
11301 int val2 ;
11302 int ecode2 = 0 ;
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 char * kwnames[] = {
11306 (char *) "self",(char *) "width", NULL
11307 };
11308
11309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11311 if (!SWIG_IsOK(res1)) {
11312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11313 }
11314 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11315 ecode2 = SWIG_AsVal_int(obj1, &val2);
11316 if (!SWIG_IsOK(ecode2)) {
11317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11318 }
11319 arg2 = static_cast< int >(val2);
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 (arg1)->SetDefaultBorderSize(arg2);
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 resultobj = SWIG_Py_Void();
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11334 PyObject *resultobj = 0;
11335 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11336 int result;
11337 void *argp1 = 0 ;
11338 int res1 = 0 ;
11339 PyObject *swig_obj[1] ;
11340
11341 if (!args) SWIG_fail;
11342 swig_obj[0] = args;
11343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11344 if (!SWIG_IsOK(res1)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11346 }
11347 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 resultobj = SWIG_From_int(static_cast< int >(result));
11355 return resultobj;
11356 fail:
11357 return NULL;
11358 }
11359
11360
11361 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11362 PyObject *resultobj = 0;
11363 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11364 int arg2 ;
11365 void *argp1 = 0 ;
11366 int res1 = 0 ;
11367 int val2 ;
11368 int ecode2 = 0 ;
11369 PyObject * obj0 = 0 ;
11370 PyObject * obj1 = 0 ;
11371 char * kwnames[] = {
11372 (char *) "self",(char *) "width", NULL
11373 };
11374
11375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11377 if (!SWIG_IsOK(res1)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11379 }
11380 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11381 ecode2 = SWIG_AsVal_int(obj1, &val2);
11382 if (!SWIG_IsOK(ecode2)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11384 }
11385 arg2 = static_cast< int >(val2);
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 (arg1)->SetExtraBorderSize(arg2);
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = SWIG_Py_Void();
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11400 PyObject *resultobj = 0;
11401 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11402 int result;
11403 void *argp1 = 0 ;
11404 int res1 = 0 ;
11405 PyObject *swig_obj[1] ;
11406
11407 if (!args) SWIG_fail;
11408 swig_obj[0] = args;
11409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11410 if (!SWIG_IsOK(res1)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11412 }
11413 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_From_int(static_cast< int >(result));
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj = 0;
11429 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11430 int arg2 ;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 int val2 ;
11434 int ecode2 = 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 char * kwnames[] = {
11438 (char *) "self",(char *) "min", NULL
11439 };
11440
11441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11443 if (!SWIG_IsOK(res1)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11445 }
11446 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11447 ecode2 = SWIG_AsVal_int(obj1, &val2);
11448 if (!SWIG_IsOK(ecode2)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11450 }
11451 arg2 = static_cast< int >(val2);
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 (arg1)->SetMinimumSizeX(arg2);
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = SWIG_Py_Void();
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj = 0;
11467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11468 int arg2 ;
11469 void *argp1 = 0 ;
11470 int res1 = 0 ;
11471 int val2 ;
11472 int ecode2 = 0 ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char * kwnames[] = {
11476 (char *) "self",(char *) "min", NULL
11477 };
11478
11479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11481 if (!SWIG_IsOK(res1)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11483 }
11484 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11485 ecode2 = SWIG_AsVal_int(obj1, &val2);
11486 if (!SWIG_IsOK(ecode2)) {
11487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11488 }
11489 arg2 = static_cast< int >(val2);
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 (arg1)->SetMinimumSizeY(arg2);
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
11496 resultobj = SWIG_Py_Void();
11497 return resultobj;
11498 fail:
11499 return NULL;
11500 }
11501
11502
11503 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11504 PyObject *resultobj = 0;
11505 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11506 int result;
11507 void *argp1 = 0 ;
11508 int res1 = 0 ;
11509 PyObject *swig_obj[1] ;
11510
11511 if (!args) SWIG_fail;
11512 swig_obj[0] = args;
11513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11514 if (!SWIG_IsOK(res1)) {
11515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11516 }
11517 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 resultobj = SWIG_From_int(static_cast< int >(result));
11525 return resultobj;
11526 fail:
11527 return NULL;
11528 }
11529
11530
11531 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11532 PyObject *resultobj = 0;
11533 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11534 int result;
11535 void *argp1 = 0 ;
11536 int res1 = 0 ;
11537 PyObject *swig_obj[1] ;
11538
11539 if (!args) SWIG_fail;
11540 swig_obj[0] = args;
11541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11542 if (!SWIG_IsOK(res1)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11544 }
11545 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
11552 resultobj = SWIG_From_int(static_cast< int >(result));
11553 return resultobj;
11554 fail:
11555 return NULL;
11556 }
11557
11558
11559 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11560 PyObject *resultobj = 0;
11561 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11562 int arg2 ;
11563 void *argp1 = 0 ;
11564 int res1 = 0 ;
11565 int val2 ;
11566 int ecode2 = 0 ;
11567 PyObject * obj0 = 0 ;
11568 PyObject * obj1 = 0 ;
11569 char * kwnames[] = {
11570 (char *) "self",(char *) "max", NULL
11571 };
11572
11573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11575 if (!SWIG_IsOK(res1)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11577 }
11578 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11579 ecode2 = SWIG_AsVal_int(obj1, &val2);
11580 if (!SWIG_IsOK(ecode2)) {
11581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11582 }
11583 arg2 = static_cast< int >(val2);
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 (arg1)->SetMaximumSizeX(arg2);
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 resultobj = SWIG_Py_Void();
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj = 0;
11599 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11600 int arg2 ;
11601 void *argp1 = 0 ;
11602 int res1 = 0 ;
11603 int val2 ;
11604 int ecode2 = 0 ;
11605 PyObject * obj0 = 0 ;
11606 PyObject * obj1 = 0 ;
11607 char * kwnames[] = {
11608 (char *) "self",(char *) "max", NULL
11609 };
11610
11611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11613 if (!SWIG_IsOK(res1)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11615 }
11616 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11617 ecode2 = SWIG_AsVal_int(obj1, &val2);
11618 if (!SWIG_IsOK(ecode2)) {
11619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11620 }
11621 arg2 = static_cast< int >(val2);
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->SetMaximumSizeY(arg2);
11625 wxPyEndAllowThreads(__tstate);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 resultobj = SWIG_Py_Void();
11629 return resultobj;
11630 fail:
11631 return NULL;
11632 }
11633
11634
11635 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11636 PyObject *resultobj = 0;
11637 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11638 int result;
11639 void *argp1 = 0 ;
11640 int res1 = 0 ;
11641 PyObject *swig_obj[1] ;
11642
11643 if (!args) SWIG_fail;
11644 swig_obj[0] = args;
11645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11646 if (!SWIG_IsOK(res1)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11648 }
11649 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 resultobj = SWIG_From_int(static_cast< int >(result));
11657 return resultobj;
11658 fail:
11659 return NULL;
11660 }
11661
11662
11663 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11664 PyObject *resultobj = 0;
11665 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11666 int result;
11667 void *argp1 = 0 ;
11668 int res1 = 0 ;
11669 PyObject *swig_obj[1] ;
11670
11671 if (!args) SWIG_fail;
11672 swig_obj[0] = args;
11673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11674 if (!SWIG_IsOK(res1)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11676 }
11677 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_From_int(static_cast< int >(result));
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj = 0;
11693 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11694 int arg2 ;
11695 int arg3 ;
11696 int arg4 = (int) 2 ;
11697 wxSashEdgePosition result;
11698 void *argp1 = 0 ;
11699 int res1 = 0 ;
11700 int val2 ;
11701 int ecode2 = 0 ;
11702 int val3 ;
11703 int ecode3 = 0 ;
11704 int val4 ;
11705 int ecode4 = 0 ;
11706 PyObject * obj0 = 0 ;
11707 PyObject * obj1 = 0 ;
11708 PyObject * obj2 = 0 ;
11709 PyObject * obj3 = 0 ;
11710 char * kwnames[] = {
11711 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11712 };
11713
11714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11716 if (!SWIG_IsOK(res1)) {
11717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11718 }
11719 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11720 ecode2 = SWIG_AsVal_int(obj1, &val2);
11721 if (!SWIG_IsOK(ecode2)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11723 }
11724 arg2 = static_cast< int >(val2);
11725 ecode3 = SWIG_AsVal_int(obj2, &val3);
11726 if (!SWIG_IsOK(ecode3)) {
11727 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11728 }
11729 arg3 = static_cast< int >(val3);
11730 if (obj3) {
11731 ecode4 = SWIG_AsVal_int(obj3, &val4);
11732 if (!SWIG_IsOK(ecode4)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11734 }
11735 arg4 = static_cast< int >(val4);
11736 }
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11740 wxPyEndAllowThreads(__tstate);
11741 if (PyErr_Occurred()) SWIG_fail;
11742 }
11743 resultobj = SWIG_From_int(static_cast< int >(result));
11744 return resultobj;
11745 fail:
11746 return NULL;
11747 }
11748
11749
11750 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11751 PyObject *resultobj = 0;
11752 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11753 void *argp1 = 0 ;
11754 int res1 = 0 ;
11755 PyObject *swig_obj[1] ;
11756
11757 if (!args) SWIG_fail;
11758 swig_obj[0] = args;
11759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11760 if (!SWIG_IsOK(res1)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11762 }
11763 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->SizeWindows();
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 resultobj = SWIG_Py_Void();
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11778 PyObject *obj;
11779 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11780 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11781 return SWIG_Py_Void();
11782 }
11783
11784 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11785 return SWIG_Python_InitShadowInstance(args);
11786 }
11787
11788 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11789 PyObject *resultobj = 0;
11790 int arg1 = (int) 0 ;
11791 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11792 wxSashEvent *result = 0 ;
11793 int val1 ;
11794 int ecode1 = 0 ;
11795 int val2 ;
11796 int ecode2 = 0 ;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 char * kwnames[] = {
11800 (char *) "id",(char *) "edge", NULL
11801 };
11802
11803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11804 if (obj0) {
11805 ecode1 = SWIG_AsVal_int(obj0, &val1);
11806 if (!SWIG_IsOK(ecode1)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11808 }
11809 arg1 = static_cast< int >(val1);
11810 }
11811 if (obj1) {
11812 ecode2 = SWIG_AsVal_int(obj1, &val2);
11813 if (!SWIG_IsOK(ecode2)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11815 }
11816 arg2 = static_cast< wxSashEdgePosition >(val2);
11817 }
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11825 return resultobj;
11826 fail:
11827 return NULL;
11828 }
11829
11830
11831 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11832 PyObject *resultobj = 0;
11833 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11834 wxSashEdgePosition arg2 ;
11835 void *argp1 = 0 ;
11836 int res1 = 0 ;
11837 int val2 ;
11838 int ecode2 = 0 ;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841 char * kwnames[] = {
11842 (char *) "self",(char *) "edge", NULL
11843 };
11844
11845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11847 if (!SWIG_IsOK(res1)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11849 }
11850 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11851 ecode2 = SWIG_AsVal_int(obj1, &val2);
11852 if (!SWIG_IsOK(ecode2)) {
11853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11854 }
11855 arg2 = static_cast< wxSashEdgePosition >(val2);
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 (arg1)->SetEdge(arg2);
11859 wxPyEndAllowThreads(__tstate);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 resultobj = SWIG_Py_Void();
11863 return resultobj;
11864 fail:
11865 return NULL;
11866 }
11867
11868
11869 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11870 PyObject *resultobj = 0;
11871 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11872 wxSashEdgePosition result;
11873 void *argp1 = 0 ;
11874 int res1 = 0 ;
11875 PyObject *swig_obj[1] ;
11876
11877 if (!args) SWIG_fail;
11878 swig_obj[0] = args;
11879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11880 if (!SWIG_IsOK(res1)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11882 }
11883 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 resultobj = SWIG_From_int(static_cast< int >(result));
11891 return resultobj;
11892 fail:
11893 return NULL;
11894 }
11895
11896
11897 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj = 0;
11899 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11900 wxRect *arg2 = 0 ;
11901 void *argp1 = 0 ;
11902 int res1 = 0 ;
11903 wxRect temp2 ;
11904 PyObject * obj0 = 0 ;
11905 PyObject * obj1 = 0 ;
11906 char * kwnames[] = {
11907 (char *) "self",(char *) "rect", NULL
11908 };
11909
11910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11912 if (!SWIG_IsOK(res1)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11914 }
11915 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11916 {
11917 arg2 = &temp2;
11918 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11919 }
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 (arg1)->SetDragRect((wxRect const &)*arg2);
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = SWIG_Py_Void();
11927 return resultobj;
11928 fail:
11929 return NULL;
11930 }
11931
11932
11933 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11934 PyObject *resultobj = 0;
11935 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11936 wxRect result;
11937 void *argp1 = 0 ;
11938 int res1 = 0 ;
11939 PyObject *swig_obj[1] ;
11940
11941 if (!args) SWIG_fail;
11942 swig_obj[0] = args;
11943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11944 if (!SWIG_IsOK(res1)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11946 }
11947 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = ((wxSashEvent const *)arg1)->GetDragRect();
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11955 return resultobj;
11956 fail:
11957 return NULL;
11958 }
11959
11960
11961 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj = 0;
11963 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11964 wxSashDragStatus arg2 ;
11965 void *argp1 = 0 ;
11966 int res1 = 0 ;
11967 int val2 ;
11968 int ecode2 = 0 ;
11969 PyObject * obj0 = 0 ;
11970 PyObject * obj1 = 0 ;
11971 char * kwnames[] = {
11972 (char *) "self",(char *) "status", NULL
11973 };
11974
11975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11977 if (!SWIG_IsOK(res1)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11979 }
11980 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11981 ecode2 = SWIG_AsVal_int(obj1, &val2);
11982 if (!SWIG_IsOK(ecode2)) {
11983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11984 }
11985 arg2 = static_cast< wxSashDragStatus >(val2);
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->SetDragStatus(arg2);
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 resultobj = SWIG_Py_Void();
11993 return resultobj;
11994 fail:
11995 return NULL;
11996 }
11997
11998
11999 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12000 PyObject *resultobj = 0;
12001 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12002 wxSashDragStatus result;
12003 void *argp1 = 0 ;
12004 int res1 = 0 ;
12005 PyObject *swig_obj[1] ;
12006
12007 if (!args) SWIG_fail;
12008 swig_obj[0] = args;
12009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12012 }
12013 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 resultobj = SWIG_From_int(static_cast< int >(result));
12021 return resultobj;
12022 fail:
12023 return NULL;
12024 }
12025
12026
12027 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12028 PyObject *obj;
12029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12030 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12031 return SWIG_Py_Void();
12032 }
12033
12034 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12035 return SWIG_Python_InitShadowInstance(args);
12036 }
12037
12038 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12039 PyObject *resultobj = 0;
12040 int arg1 = (int) 0 ;
12041 wxQueryLayoutInfoEvent *result = 0 ;
12042 int val1 ;
12043 int ecode1 = 0 ;
12044 PyObject * obj0 = 0 ;
12045 char * kwnames[] = {
12046 (char *) "id", NULL
12047 };
12048
12049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12050 if (obj0) {
12051 ecode1 = SWIG_AsVal_int(obj0, &val1);
12052 if (!SWIG_IsOK(ecode1)) {
12053 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12054 }
12055 arg1 = static_cast< int >(val1);
12056 }
12057 {
12058 PyThreadState* __tstate = wxPyBeginAllowThreads();
12059 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
12063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12064 return resultobj;
12065 fail:
12066 return NULL;
12067 }
12068
12069
12070 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj = 0;
12072 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12073 int arg2 ;
12074 void *argp1 = 0 ;
12075 int res1 = 0 ;
12076 int val2 ;
12077 int ecode2 = 0 ;
12078 PyObject * obj0 = 0 ;
12079 PyObject * obj1 = 0 ;
12080 char * kwnames[] = {
12081 (char *) "self",(char *) "length", NULL
12082 };
12083
12084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12086 if (!SWIG_IsOK(res1)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12088 }
12089 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12090 ecode2 = SWIG_AsVal_int(obj1, &val2);
12091 if (!SWIG_IsOK(ecode2)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12093 }
12094 arg2 = static_cast< int >(val2);
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 (arg1)->SetRequestedLength(arg2);
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = SWIG_Py_Void();
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12109 PyObject *resultobj = 0;
12110 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12111 int result;
12112 void *argp1 = 0 ;
12113 int res1 = 0 ;
12114 PyObject *swig_obj[1] ;
12115
12116 if (!args) SWIG_fail;
12117 swig_obj[0] = args;
12118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12119 if (!SWIG_IsOK(res1)) {
12120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12121 }
12122 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 resultobj = SWIG_From_int(static_cast< int >(result));
12130 return resultobj;
12131 fail:
12132 return NULL;
12133 }
12134
12135
12136 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj = 0;
12138 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12139 int arg2 ;
12140 void *argp1 = 0 ;
12141 int res1 = 0 ;
12142 int val2 ;
12143 int ecode2 = 0 ;
12144 PyObject * obj0 = 0 ;
12145 PyObject * obj1 = 0 ;
12146 char * kwnames[] = {
12147 (char *) "self",(char *) "flags", NULL
12148 };
12149
12150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12152 if (!SWIG_IsOK(res1)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12154 }
12155 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12156 ecode2 = SWIG_AsVal_int(obj1, &val2);
12157 if (!SWIG_IsOK(ecode2)) {
12158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12159 }
12160 arg2 = static_cast< int >(val2);
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 (arg1)->SetFlags(arg2);
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 resultobj = SWIG_Py_Void();
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12175 PyObject *resultobj = 0;
12176 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12177 int result;
12178 void *argp1 = 0 ;
12179 int res1 = 0 ;
12180 PyObject *swig_obj[1] ;
12181
12182 if (!args) SWIG_fail;
12183 swig_obj[0] = args;
12184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12185 if (!SWIG_IsOK(res1)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12187 }
12188 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 resultobj = SWIG_From_int(static_cast< int >(result));
12196 return resultobj;
12197 fail:
12198 return NULL;
12199 }
12200
12201
12202 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj = 0;
12204 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12205 wxSize *arg2 = 0 ;
12206 void *argp1 = 0 ;
12207 int res1 = 0 ;
12208 wxSize temp2 ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 char * kwnames[] = {
12212 (char *) "self",(char *) "size", NULL
12213 };
12214
12215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12217 if (!SWIG_IsOK(res1)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12219 }
12220 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12221 {
12222 arg2 = &temp2;
12223 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12224 }
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 (arg1)->SetSize((wxSize const &)*arg2);
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_Py_Void();
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12239 PyObject *resultobj = 0;
12240 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12241 wxSize result;
12242 void *argp1 = 0 ;
12243 int res1 = 0 ;
12244 PyObject *swig_obj[1] ;
12245
12246 if (!args) SWIG_fail;
12247 swig_obj[0] = args;
12248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12249 if (!SWIG_IsOK(res1)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12251 }
12252 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj = 0;
12268 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12269 wxLayoutOrientation arg2 ;
12270 void *argp1 = 0 ;
12271 int res1 = 0 ;
12272 int val2 ;
12273 int ecode2 = 0 ;
12274 PyObject * obj0 = 0 ;
12275 PyObject * obj1 = 0 ;
12276 char * kwnames[] = {
12277 (char *) "self",(char *) "orient", NULL
12278 };
12279
12280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12282 if (!SWIG_IsOK(res1)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12284 }
12285 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12286 ecode2 = SWIG_AsVal_int(obj1, &val2);
12287 if (!SWIG_IsOK(ecode2)) {
12288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12289 }
12290 arg2 = static_cast< wxLayoutOrientation >(val2);
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->SetOrientation(arg2);
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 resultobj = SWIG_Py_Void();
12298 return resultobj;
12299 fail:
12300 return NULL;
12301 }
12302
12303
12304 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12305 PyObject *resultobj = 0;
12306 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12307 wxLayoutOrientation result;
12308 void *argp1 = 0 ;
12309 int res1 = 0 ;
12310 PyObject *swig_obj[1] ;
12311
12312 if (!args) SWIG_fail;
12313 swig_obj[0] = args;
12314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12315 if (!SWIG_IsOK(res1)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12317 }
12318 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = SWIG_From_int(static_cast< int >(result));
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj = 0;
12334 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12335 wxLayoutAlignment arg2 ;
12336 void *argp1 = 0 ;
12337 int res1 = 0 ;
12338 int val2 ;
12339 int ecode2 = 0 ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj1 = 0 ;
12342 char * kwnames[] = {
12343 (char *) "self",(char *) "align", NULL
12344 };
12345
12346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12348 if (!SWIG_IsOK(res1)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12350 }
12351 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12352 ecode2 = SWIG_AsVal_int(obj1, &val2);
12353 if (!SWIG_IsOK(ecode2)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12355 }
12356 arg2 = static_cast< wxLayoutAlignment >(val2);
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 (arg1)->SetAlignment(arg2);
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 resultobj = SWIG_Py_Void();
12364 return resultobj;
12365 fail:
12366 return NULL;
12367 }
12368
12369
12370 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12371 PyObject *resultobj = 0;
12372 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12373 wxLayoutAlignment result;
12374 void *argp1 = 0 ;
12375 int res1 = 0 ;
12376 PyObject *swig_obj[1] ;
12377
12378 if (!args) SWIG_fail;
12379 swig_obj[0] = args;
12380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12381 if (!SWIG_IsOK(res1)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12383 }
12384 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 resultobj = SWIG_From_int(static_cast< int >(result));
12392 return resultobj;
12393 fail:
12394 return NULL;
12395 }
12396
12397
12398 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12399 PyObject *obj;
12400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12401 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12402 return SWIG_Py_Void();
12403 }
12404
12405 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12406 return SWIG_Python_InitShadowInstance(args);
12407 }
12408
12409 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj = 0;
12411 int arg1 = (int) 0 ;
12412 wxCalculateLayoutEvent *result = 0 ;
12413 int val1 ;
12414 int ecode1 = 0 ;
12415 PyObject * obj0 = 0 ;
12416 char * kwnames[] = {
12417 (char *) "id", NULL
12418 };
12419
12420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12421 if (obj0) {
12422 ecode1 = SWIG_AsVal_int(obj0, &val1);
12423 if (!SWIG_IsOK(ecode1)) {
12424 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12425 }
12426 arg1 = static_cast< int >(val1);
12427 }
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12431 wxPyEndAllowThreads(__tstate);
12432 if (PyErr_Occurred()) SWIG_fail;
12433 }
12434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12435 return resultobj;
12436 fail:
12437 return NULL;
12438 }
12439
12440
12441 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12442 PyObject *resultobj = 0;
12443 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12444 int arg2 ;
12445 void *argp1 = 0 ;
12446 int res1 = 0 ;
12447 int val2 ;
12448 int ecode2 = 0 ;
12449 PyObject * obj0 = 0 ;
12450 PyObject * obj1 = 0 ;
12451 char * kwnames[] = {
12452 (char *) "self",(char *) "flags", NULL
12453 };
12454
12455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12457 if (!SWIG_IsOK(res1)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12459 }
12460 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12461 ecode2 = SWIG_AsVal_int(obj1, &val2);
12462 if (!SWIG_IsOK(ecode2)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12464 }
12465 arg2 = static_cast< int >(val2);
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 (arg1)->SetFlags(arg2);
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 resultobj = SWIG_Py_Void();
12473 return resultobj;
12474 fail:
12475 return NULL;
12476 }
12477
12478
12479 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12480 PyObject *resultobj = 0;
12481 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12482 int result;
12483 void *argp1 = 0 ;
12484 int res1 = 0 ;
12485 PyObject *swig_obj[1] ;
12486
12487 if (!args) SWIG_fail;
12488 swig_obj[0] = args;
12489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12490 if (!SWIG_IsOK(res1)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12492 }
12493 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 resultobj = SWIG_From_int(static_cast< int >(result));
12501 return resultobj;
12502 fail:
12503 return NULL;
12504 }
12505
12506
12507 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj = 0;
12509 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12510 wxRect *arg2 = 0 ;
12511 void *argp1 = 0 ;
12512 int res1 = 0 ;
12513 wxRect temp2 ;
12514 PyObject * obj0 = 0 ;
12515 PyObject * obj1 = 0 ;
12516 char * kwnames[] = {
12517 (char *) "self",(char *) "rect", NULL
12518 };
12519
12520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12522 if (!SWIG_IsOK(res1)) {
12523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12524 }
12525 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12526 {
12527 arg2 = &temp2;
12528 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12529 }
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 (arg1)->SetRect((wxRect const &)*arg2);
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_Py_Void();
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12544 PyObject *resultobj = 0;
12545 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12546 wxRect result;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 PyObject *swig_obj[1] ;
12550
12551 if (!args) SWIG_fail;
12552 swig_obj[0] = args;
12553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12554 if (!SWIG_IsOK(res1)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12556 }
12557 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12572 PyObject *obj;
12573 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12574 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12575 return SWIG_Py_Void();
12576 }
12577
12578 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12579 return SWIG_Python_InitShadowInstance(args);
12580 }
12581
12582 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj = 0;
12584 wxWindow *arg1 = (wxWindow *) 0 ;
12585 int arg2 = (int) -1 ;
12586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12588 wxSize const &arg4_defvalue = wxDefaultSize ;
12589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12590 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12591 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12592 wxString *arg6 = (wxString *) &arg6_defvalue ;
12593 wxSashLayoutWindow *result = 0 ;
12594 void *argp1 = 0 ;
12595 int res1 = 0 ;
12596 int val2 ;
12597 int ecode2 = 0 ;
12598 wxPoint temp3 ;
12599 wxSize temp4 ;
12600 long val5 ;
12601 int ecode5 = 0 ;
12602 bool temp6 = false ;
12603 PyObject * obj0 = 0 ;
12604 PyObject * obj1 = 0 ;
12605 PyObject * obj2 = 0 ;
12606 PyObject * obj3 = 0 ;
12607 PyObject * obj4 = 0 ;
12608 PyObject * obj5 = 0 ;
12609 char * kwnames[] = {
12610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12611 };
12612
12613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12615 if (!SWIG_IsOK(res1)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12617 }
12618 arg1 = reinterpret_cast< wxWindow * >(argp1);
12619 if (obj1) {
12620 ecode2 = SWIG_AsVal_int(obj1, &val2);
12621 if (!SWIG_IsOK(ecode2)) {
12622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12623 }
12624 arg2 = static_cast< int >(val2);
12625 }
12626 if (obj2) {
12627 {
12628 arg3 = &temp3;
12629 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12630 }
12631 }
12632 if (obj3) {
12633 {
12634 arg4 = &temp4;
12635 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12636 }
12637 }
12638 if (obj4) {
12639 ecode5 = SWIG_AsVal_long(obj4, &val5);
12640 if (!SWIG_IsOK(ecode5)) {
12641 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12642 }
12643 arg5 = static_cast< long >(val5);
12644 }
12645 if (obj5) {
12646 {
12647 arg6 = wxString_in_helper(obj5);
12648 if (arg6 == NULL) SWIG_fail;
12649 temp6 = true;
12650 }
12651 }
12652 {
12653 if (!wxPyCheckForApp()) SWIG_fail;
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12660 {
12661 if (temp6)
12662 delete arg6;
12663 }
12664 return resultobj;
12665 fail:
12666 {
12667 if (temp6)
12668 delete arg6;
12669 }
12670 return NULL;
12671 }
12672
12673
12674 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12675 PyObject *resultobj = 0;
12676 wxSashLayoutWindow *result = 0 ;
12677
12678 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12679 {
12680 if (!wxPyCheckForApp()) SWIG_fail;
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj = 0;
12695 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12696 wxWindow *arg2 = (wxWindow *) 0 ;
12697 int arg3 = (int) -1 ;
12698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12700 wxSize const &arg5_defvalue = wxDefaultSize ;
12701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12702 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12703 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12704 wxString *arg7 = (wxString *) &arg7_defvalue ;
12705 bool result;
12706 void *argp1 = 0 ;
12707 int res1 = 0 ;
12708 void *argp2 = 0 ;
12709 int res2 = 0 ;
12710 int val3 ;
12711 int ecode3 = 0 ;
12712 wxPoint temp4 ;
12713 wxSize temp5 ;
12714 long val6 ;
12715 int ecode6 = 0 ;
12716 bool temp7 = false ;
12717 PyObject * obj0 = 0 ;
12718 PyObject * obj1 = 0 ;
12719 PyObject * obj2 = 0 ;
12720 PyObject * obj3 = 0 ;
12721 PyObject * obj4 = 0 ;
12722 PyObject * obj5 = 0 ;
12723 PyObject * obj6 = 0 ;
12724 char * kwnames[] = {
12725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12726 };
12727
12728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12730 if (!SWIG_IsOK(res1)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12732 }
12733 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12734 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12735 if (!SWIG_IsOK(res2)) {
12736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12737 }
12738 arg2 = reinterpret_cast< wxWindow * >(argp2);
12739 if (obj2) {
12740 ecode3 = SWIG_AsVal_int(obj2, &val3);
12741 if (!SWIG_IsOK(ecode3)) {
12742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12743 }
12744 arg3 = static_cast< int >(val3);
12745 }
12746 if (obj3) {
12747 {
12748 arg4 = &temp4;
12749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12750 }
12751 }
12752 if (obj4) {
12753 {
12754 arg5 = &temp5;
12755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12756 }
12757 }
12758 if (obj5) {
12759 ecode6 = SWIG_AsVal_long(obj5, &val6);
12760 if (!SWIG_IsOK(ecode6)) {
12761 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12762 }
12763 arg6 = static_cast< long >(val6);
12764 }
12765 if (obj6) {
12766 {
12767 arg7 = wxString_in_helper(obj6);
12768 if (arg7 == NULL) SWIG_fail;
12769 temp7 = true;
12770 }
12771 }
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 {
12779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12780 }
12781 {
12782 if (temp7)
12783 delete arg7;
12784 }
12785 return resultobj;
12786 fail:
12787 {
12788 if (temp7)
12789 delete arg7;
12790 }
12791 return NULL;
12792 }
12793
12794
12795 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12796 PyObject *resultobj = 0;
12797 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12798 wxLayoutAlignment result;
12799 void *argp1 = 0 ;
12800 int res1 = 0 ;
12801 PyObject *swig_obj[1] ;
12802
12803 if (!args) SWIG_fail;
12804 swig_obj[0] = args;
12805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12806 if (!SWIG_IsOK(res1)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12808 }
12809 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12813 wxPyEndAllowThreads(__tstate);
12814 if (PyErr_Occurred()) SWIG_fail;
12815 }
12816 resultobj = SWIG_From_int(static_cast< int >(result));
12817 return resultobj;
12818 fail:
12819 return NULL;
12820 }
12821
12822
12823 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12824 PyObject *resultobj = 0;
12825 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12826 wxLayoutOrientation result;
12827 void *argp1 = 0 ;
12828 int res1 = 0 ;
12829 PyObject *swig_obj[1] ;
12830
12831 if (!args) SWIG_fail;
12832 swig_obj[0] = args;
12833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12834 if (!SWIG_IsOK(res1)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12836 }
12837 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = SWIG_From_int(static_cast< int >(result));
12845 return resultobj;
12846 fail:
12847 return NULL;
12848 }
12849
12850
12851 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj = 0;
12853 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12854 wxLayoutAlignment arg2 ;
12855 void *argp1 = 0 ;
12856 int res1 = 0 ;
12857 int val2 ;
12858 int ecode2 = 0 ;
12859 PyObject * obj0 = 0 ;
12860 PyObject * obj1 = 0 ;
12861 char * kwnames[] = {
12862 (char *) "self",(char *) "alignment", NULL
12863 };
12864
12865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12867 if (!SWIG_IsOK(res1)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12869 }
12870 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12871 ecode2 = SWIG_AsVal_int(obj1, &val2);
12872 if (!SWIG_IsOK(ecode2)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12874 }
12875 arg2 = static_cast< wxLayoutAlignment >(val2);
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 (arg1)->SetAlignment(arg2);
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = SWIG_Py_Void();
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12890 PyObject *resultobj = 0;
12891 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12892 wxSize *arg2 = 0 ;
12893 void *argp1 = 0 ;
12894 int res1 = 0 ;
12895 wxSize temp2 ;
12896 PyObject * obj0 = 0 ;
12897 PyObject * obj1 = 0 ;
12898 char * kwnames[] = {
12899 (char *) "self",(char *) "size", NULL
12900 };
12901
12902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12904 if (!SWIG_IsOK(res1)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12906 }
12907 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12908 {
12909 arg2 = &temp2;
12910 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12911 }
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = SWIG_Py_Void();
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj = 0;
12927 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12928 wxLayoutOrientation arg2 ;
12929 void *argp1 = 0 ;
12930 int res1 = 0 ;
12931 int val2 ;
12932 int ecode2 = 0 ;
12933 PyObject * obj0 = 0 ;
12934 PyObject * obj1 = 0 ;
12935 char * kwnames[] = {
12936 (char *) "self",(char *) "orientation", NULL
12937 };
12938
12939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12941 if (!SWIG_IsOK(res1)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12943 }
12944 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12945 ecode2 = SWIG_AsVal_int(obj1, &val2);
12946 if (!SWIG_IsOK(ecode2)) {
12947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12948 }
12949 arg2 = static_cast< wxLayoutOrientation >(val2);
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 (arg1)->SetOrientation(arg2);
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 resultobj = SWIG_Py_Void();
12957 return resultobj;
12958 fail:
12959 return NULL;
12960 }
12961
12962
12963 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12964 PyObject *obj;
12965 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12966 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12967 return SWIG_Py_Void();
12968 }
12969
12970 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12971 return SWIG_Python_InitShadowInstance(args);
12972 }
12973
12974 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12975 PyObject *resultobj = 0;
12976 wxLayoutAlgorithm *result = 0 ;
12977
12978 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12993 PyObject *resultobj = 0;
12994 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12995 void *argp1 = 0 ;
12996 int res1 = 0 ;
12997 PyObject *swig_obj[1] ;
12998
12999 if (!args) SWIG_fail;
13000 swig_obj[0] = args;
13001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13002 if (!SWIG_IsOK(res1)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13004 }
13005 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 delete arg1;
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 resultobj = SWIG_Py_Void();
13014 return resultobj;
13015 fail:
13016 return NULL;
13017 }
13018
13019
13020 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj = 0;
13022 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13023 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13024 wxRect *arg3 = (wxRect *) NULL ;
13025 bool result;
13026 void *argp1 = 0 ;
13027 int res1 = 0 ;
13028 void *argp2 = 0 ;
13029 int res2 = 0 ;
13030 void *argp3 = 0 ;
13031 int res3 = 0 ;
13032 PyObject * obj0 = 0 ;
13033 PyObject * obj1 = 0 ;
13034 PyObject * obj2 = 0 ;
13035 char * kwnames[] = {
13036 (char *) "self",(char *) "frame",(char *) "rect", NULL
13037 };
13038
13039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13041 if (!SWIG_IsOK(res1)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13043 }
13044 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13045 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13046 if (!SWIG_IsOK(res2)) {
13047 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13048 }
13049 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13050 if (obj2) {
13051 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13052 if (!SWIG_IsOK(res3)) {
13053 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13054 }
13055 arg3 = reinterpret_cast< wxRect * >(argp3);
13056 }
13057 {
13058 PyThreadState* __tstate = wxPyBeginAllowThreads();
13059 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 {
13064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13065 }
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13073 PyObject *resultobj = 0;
13074 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13075 wxFrame *arg2 = (wxFrame *) 0 ;
13076 wxWindow *arg3 = (wxWindow *) NULL ;
13077 bool result;
13078 void *argp1 = 0 ;
13079 int res1 = 0 ;
13080 void *argp2 = 0 ;
13081 int res2 = 0 ;
13082 void *argp3 = 0 ;
13083 int res3 = 0 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 PyObject * obj2 = 0 ;
13087 char * kwnames[] = {
13088 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13089 };
13090
13091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13093 if (!SWIG_IsOK(res1)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13095 }
13096 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13097 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13098 if (!SWIG_IsOK(res2)) {
13099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13100 }
13101 arg2 = reinterpret_cast< wxFrame * >(argp2);
13102 if (obj2) {
13103 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13104 if (!SWIG_IsOK(res3)) {
13105 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13106 }
13107 arg3 = reinterpret_cast< wxWindow * >(argp3);
13108 }
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 {
13116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13117 }
13118 return resultobj;
13119 fail:
13120 return NULL;
13121 }
13122
13123
13124 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj = 0;
13126 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13127 wxWindow *arg2 = (wxWindow *) 0 ;
13128 wxWindow *arg3 = (wxWindow *) NULL ;
13129 bool result;
13130 void *argp1 = 0 ;
13131 int res1 = 0 ;
13132 void *argp2 = 0 ;
13133 int res2 = 0 ;
13134 void *argp3 = 0 ;
13135 int res3 = 0 ;
13136 PyObject * obj0 = 0 ;
13137 PyObject * obj1 = 0 ;
13138 PyObject * obj2 = 0 ;
13139 char * kwnames[] = {
13140 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13141 };
13142
13143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13145 if (!SWIG_IsOK(res1)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13147 }
13148 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13150 if (!SWIG_IsOK(res2)) {
13151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13152 }
13153 arg2 = reinterpret_cast< wxWindow * >(argp2);
13154 if (obj2) {
13155 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13156 if (!SWIG_IsOK(res3)) {
13157 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13158 }
13159 arg3 = reinterpret_cast< wxWindow * >(argp3);
13160 }
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 {
13168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13169 }
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13177 PyObject *obj;
13178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13179 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13180 return SWIG_Py_Void();
13181 }
13182
13183 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13184 return SWIG_Python_InitShadowInstance(args);
13185 }
13186
13187 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj = 0;
13189 wxWindow *arg1 = (wxWindow *) 0 ;
13190 int arg2 = (int) wxBORDER_NONE ;
13191 wxPopupWindow *result = 0 ;
13192 void *argp1 = 0 ;
13193 int res1 = 0 ;
13194 int val2 ;
13195 int ecode2 = 0 ;
13196 PyObject * obj0 = 0 ;
13197 PyObject * obj1 = 0 ;
13198 char * kwnames[] = {
13199 (char *) "parent",(char *) "flags", NULL
13200 };
13201
13202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13204 if (!SWIG_IsOK(res1)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13206 }
13207 arg1 = reinterpret_cast< wxWindow * >(argp1);
13208 if (obj1) {
13209 ecode2 = SWIG_AsVal_int(obj1, &val2);
13210 if (!SWIG_IsOK(ecode2)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13212 }
13213 arg2 = static_cast< int >(val2);
13214 }
13215 {
13216 if (!wxPyCheckForApp()) SWIG_fail;
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13230 PyObject *resultobj = 0;
13231 wxPopupWindow *result = 0 ;
13232
13233 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13234 {
13235 if (!wxPyCheckForApp()) SWIG_fail;
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (wxPopupWindow *)new wxPopupWindow();
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13242 return resultobj;
13243 fail:
13244 return NULL;
13245 }
13246
13247
13248 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj = 0;
13250 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13251 wxWindow *arg2 = (wxWindow *) 0 ;
13252 int arg3 = (int) wxBORDER_NONE ;
13253 bool result;
13254 void *argp1 = 0 ;
13255 int res1 = 0 ;
13256 void *argp2 = 0 ;
13257 int res2 = 0 ;
13258 int val3 ;
13259 int ecode3 = 0 ;
13260 PyObject * obj0 = 0 ;
13261 PyObject * obj1 = 0 ;
13262 PyObject * obj2 = 0 ;
13263 char * kwnames[] = {
13264 (char *) "self",(char *) "parent",(char *) "flags", NULL
13265 };
13266
13267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13269 if (!SWIG_IsOK(res1)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13271 }
13272 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13274 if (!SWIG_IsOK(res2)) {
13275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13276 }
13277 arg2 = reinterpret_cast< wxWindow * >(argp2);
13278 if (obj2) {
13279 ecode3 = SWIG_AsVal_int(obj2, &val3);
13280 if (!SWIG_IsOK(ecode3)) {
13281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13282 }
13283 arg3 = static_cast< int >(val3);
13284 }
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (bool)(arg1)->Create(arg2,arg3);
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 {
13292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13293 }
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj = 0;
13302 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13303 wxPoint *arg2 = 0 ;
13304 wxSize *arg3 = 0 ;
13305 void *argp1 = 0 ;
13306 int res1 = 0 ;
13307 wxPoint temp2 ;
13308 wxSize temp3 ;
13309 PyObject * obj0 = 0 ;
13310 PyObject * obj1 = 0 ;
13311 PyObject * obj2 = 0 ;
13312 char * kwnames[] = {
13313 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13314 };
13315
13316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13318 if (!SWIG_IsOK(res1)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13320 }
13321 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13322 {
13323 arg2 = &temp2;
13324 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13325 }
13326 {
13327 arg3 = &temp3;
13328 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13329 }
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = SWIG_Py_Void();
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13344 PyObject *obj;
13345 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13346 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13347 return SWIG_Py_Void();
13348 }
13349
13350 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13351 return SWIG_Python_InitShadowInstance(args);
13352 }
13353
13354 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj = 0;
13356 wxWindow *arg1 = (wxWindow *) 0 ;
13357 int arg2 = (int) wxBORDER_NONE ;
13358 wxPyPopupTransientWindow *result = 0 ;
13359 void *argp1 = 0 ;
13360 int res1 = 0 ;
13361 int val2 ;
13362 int ecode2 = 0 ;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 char * kwnames[] = {
13366 (char *) "parent",(char *) "style", NULL
13367 };
13368
13369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13371 if (!SWIG_IsOK(res1)) {
13372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13373 }
13374 arg1 = reinterpret_cast< wxWindow * >(argp1);
13375 if (obj1) {
13376 ecode2 = SWIG_AsVal_int(obj1, &val2);
13377 if (!SWIG_IsOK(ecode2)) {
13378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13379 }
13380 arg2 = static_cast< int >(val2);
13381 }
13382 {
13383 if (!wxPyCheckForApp()) SWIG_fail;
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13390 return resultobj;
13391 fail:
13392 return NULL;
13393 }
13394
13395
13396 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13397 PyObject *resultobj = 0;
13398 wxPyPopupTransientWindow *result = 0 ;
13399
13400 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13401 {
13402 if (!wxPyCheckForApp()) SWIG_fail;
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13409 return resultobj;
13410 fail:
13411 return NULL;
13412 }
13413
13414
13415 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj = 0;
13417 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13418 PyObject *arg2 = (PyObject *) 0 ;
13419 PyObject *arg3 = (PyObject *) 0 ;
13420 void *argp1 = 0 ;
13421 int res1 = 0 ;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 PyObject * obj2 = 0 ;
13425 char * kwnames[] = {
13426 (char *) "self",(char *) "self",(char *) "_class", NULL
13427 };
13428
13429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13431 if (!SWIG_IsOK(res1)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13433 }
13434 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13435 arg2 = obj1;
13436 arg3 = obj2;
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 (arg1)->_setCallbackInfo(arg2,arg3);
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 resultobj = SWIG_Py_Void();
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj = 0;
13452 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13453 wxWindow *arg2 = (wxWindow *) NULL ;
13454 void *argp1 = 0 ;
13455 int res1 = 0 ;
13456 void *argp2 = 0 ;
13457 int res2 = 0 ;
13458 PyObject * obj0 = 0 ;
13459 PyObject * obj1 = 0 ;
13460 char * kwnames[] = {
13461 (char *) "self",(char *) "focus", NULL
13462 };
13463
13464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13466 if (!SWIG_IsOK(res1)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13468 }
13469 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13470 if (obj1) {
13471 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13472 if (!SWIG_IsOK(res2)) {
13473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13474 }
13475 arg2 = reinterpret_cast< wxWindow * >(argp2);
13476 }
13477 {
13478 PyThreadState* __tstate = wxPyBeginAllowThreads();
13479 (arg1)->Popup(arg2);
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 resultobj = SWIG_Py_Void();
13484 return resultobj;
13485 fail:
13486 return NULL;
13487 }
13488
13489
13490 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13491 PyObject *resultobj = 0;
13492 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13493 void *argp1 = 0 ;
13494 int res1 = 0 ;
13495 PyObject *swig_obj[1] ;
13496
13497 if (!args) SWIG_fail;
13498 swig_obj[0] = args;
13499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13500 if (!SWIG_IsOK(res1)) {
13501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13502 }
13503 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 (arg1)->Dismiss();
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 resultobj = SWIG_Py_Void();
13511 return resultobj;
13512 fail:
13513 return NULL;
13514 }
13515
13516
13517 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13518 PyObject *obj;
13519 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13521 return SWIG_Py_Void();
13522 }
13523
13524 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13525 return SWIG_Python_InitShadowInstance(args);
13526 }
13527
13528 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj = 0;
13530 wxWindow *arg1 = (wxWindow *) 0 ;
13531 wxString *arg2 = 0 ;
13532 int arg3 = (int) 100 ;
13533 wxRect *arg4 = (wxRect *) NULL ;
13534 wxTipWindow *result = 0 ;
13535 void *argp1 = 0 ;
13536 int res1 = 0 ;
13537 bool temp2 = false ;
13538 int val3 ;
13539 int ecode3 = 0 ;
13540 void *argp4 = 0 ;
13541 int res4 = 0 ;
13542 PyObject * obj0 = 0 ;
13543 PyObject * obj1 = 0 ;
13544 PyObject * obj2 = 0 ;
13545 PyObject * obj3 = 0 ;
13546 char * kwnames[] = {
13547 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13548 };
13549
13550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13552 if (!SWIG_IsOK(res1)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13554 }
13555 arg1 = reinterpret_cast< wxWindow * >(argp1);
13556 {
13557 arg2 = wxString_in_helper(obj1);
13558 if (arg2 == NULL) SWIG_fail;
13559 temp2 = true;
13560 }
13561 if (obj2) {
13562 ecode3 = SWIG_AsVal_int(obj2, &val3);
13563 if (!SWIG_IsOK(ecode3)) {
13564 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13565 }
13566 arg3 = static_cast< int >(val3);
13567 }
13568 if (obj3) {
13569 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13570 if (!SWIG_IsOK(res4)) {
13571 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13572 }
13573 arg4 = reinterpret_cast< wxRect * >(argp4);
13574 }
13575 {
13576 if (!wxPyCheckForApp()) SWIG_fail;
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13583 {
13584 if (temp2)
13585 delete arg2;
13586 }
13587 return resultobj;
13588 fail:
13589 {
13590 if (temp2)
13591 delete arg2;
13592 }
13593 return NULL;
13594 }
13595
13596
13597 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj = 0;
13599 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13600 wxRect *arg2 = 0 ;
13601 void *argp1 = 0 ;
13602 int res1 = 0 ;
13603 wxRect temp2 ;
13604 PyObject * obj0 = 0 ;
13605 PyObject * obj1 = 0 ;
13606 char * kwnames[] = {
13607 (char *) "self",(char *) "rectBound", NULL
13608 };
13609
13610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13612 if (!SWIG_IsOK(res1)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13614 }
13615 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13616 {
13617 arg2 = &temp2;
13618 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13619 }
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 resultobj = SWIG_Py_Void();
13627 return resultobj;
13628 fail:
13629 return NULL;
13630 }
13631
13632
13633 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13634 PyObject *resultobj = 0;
13635 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13636 void *argp1 = 0 ;
13637 int res1 = 0 ;
13638 PyObject *swig_obj[1] ;
13639
13640 if (!args) SWIG_fail;
13641 swig_obj[0] = args;
13642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13643 if (!SWIG_IsOK(res1)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13645 }
13646 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13647 {
13648 PyThreadState* __tstate = wxPyBeginAllowThreads();
13649 (arg1)->Close();
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = SWIG_Py_Void();
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13661 PyObject *obj;
13662 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13664 return SWIG_Py_Void();
13665 }
13666
13667 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13668 return SWIG_Python_InitShadowInstance(args);
13669 }
13670
13671 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13672 PyObject *resultobj = 0;
13673 wxWindow *arg1 = (wxWindow *) 0 ;
13674 int arg2 = (int) wxID_ANY ;
13675 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13676 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13677 wxSize const &arg4_defvalue = wxDefaultSize ;
13678 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13679 long arg5 = (long) 0 ;
13680 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13681 wxString *arg6 = (wxString *) &arg6_defvalue ;
13682 wxPyVScrolledWindow *result = 0 ;
13683 void *argp1 = 0 ;
13684 int res1 = 0 ;
13685 int val2 ;
13686 int ecode2 = 0 ;
13687 wxPoint temp3 ;
13688 wxSize temp4 ;
13689 long val5 ;
13690 int ecode5 = 0 ;
13691 bool temp6 = false ;
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
13694 PyObject * obj2 = 0 ;
13695 PyObject * obj3 = 0 ;
13696 PyObject * obj4 = 0 ;
13697 PyObject * obj5 = 0 ;
13698 char * kwnames[] = {
13699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13700 };
13701
13702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13704 if (!SWIG_IsOK(res1)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13706 }
13707 arg1 = reinterpret_cast< wxWindow * >(argp1);
13708 if (obj1) {
13709 ecode2 = SWIG_AsVal_int(obj1, &val2);
13710 if (!SWIG_IsOK(ecode2)) {
13711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13712 }
13713 arg2 = static_cast< int >(val2);
13714 }
13715 if (obj2) {
13716 {
13717 arg3 = &temp3;
13718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13719 }
13720 }
13721 if (obj3) {
13722 {
13723 arg4 = &temp4;
13724 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13725 }
13726 }
13727 if (obj4) {
13728 ecode5 = SWIG_AsVal_long(obj4, &val5);
13729 if (!SWIG_IsOK(ecode5)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13731 }
13732 arg5 = static_cast< long >(val5);
13733 }
13734 if (obj5) {
13735 {
13736 arg6 = wxString_in_helper(obj5);
13737 if (arg6 == NULL) SWIG_fail;
13738 temp6 = true;
13739 }
13740 }
13741 {
13742 if (!wxPyCheckForApp()) SWIG_fail;
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13749 {
13750 if (temp6)
13751 delete arg6;
13752 }
13753 return resultobj;
13754 fail:
13755 {
13756 if (temp6)
13757 delete arg6;
13758 }
13759 return NULL;
13760 }
13761
13762
13763 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13764 PyObject *resultobj = 0;
13765 wxPyVScrolledWindow *result = 0 ;
13766
13767 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13768 {
13769 if (!wxPyCheckForApp()) SWIG_fail;
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj = 0;
13784 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13785 PyObject *arg2 = (PyObject *) 0 ;
13786 PyObject *arg3 = (PyObject *) 0 ;
13787 void *argp1 = 0 ;
13788 int res1 = 0 ;
13789 PyObject * obj0 = 0 ;
13790 PyObject * obj1 = 0 ;
13791 PyObject * obj2 = 0 ;
13792 char * kwnames[] = {
13793 (char *) "self",(char *) "self",(char *) "_class", NULL
13794 };
13795
13796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13798 if (!SWIG_IsOK(res1)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13800 }
13801 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13802 arg2 = obj1;
13803 arg3 = obj2;
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 (arg1)->_setCallbackInfo(arg2,arg3);
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 resultobj = SWIG_Py_Void();
13811 return resultobj;
13812 fail:
13813 return NULL;
13814 }
13815
13816
13817 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13818 PyObject *resultobj = 0;
13819 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13820 wxWindow *arg2 = (wxWindow *) 0 ;
13821 int arg3 = (int) wxID_ANY ;
13822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13824 wxSize const &arg5_defvalue = wxDefaultSize ;
13825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13826 long arg6 = (long) 0 ;
13827 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13828 wxString *arg7 = (wxString *) &arg7_defvalue ;
13829 bool result;
13830 void *argp1 = 0 ;
13831 int res1 = 0 ;
13832 void *argp2 = 0 ;
13833 int res2 = 0 ;
13834 int val3 ;
13835 int ecode3 = 0 ;
13836 wxPoint temp4 ;
13837 wxSize temp5 ;
13838 long val6 ;
13839 int ecode6 = 0 ;
13840 bool temp7 = false ;
13841 PyObject * obj0 = 0 ;
13842 PyObject * obj1 = 0 ;
13843 PyObject * obj2 = 0 ;
13844 PyObject * obj3 = 0 ;
13845 PyObject * obj4 = 0 ;
13846 PyObject * obj5 = 0 ;
13847 PyObject * obj6 = 0 ;
13848 char * kwnames[] = {
13849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13850 };
13851
13852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13854 if (!SWIG_IsOK(res1)) {
13855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13856 }
13857 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13859 if (!SWIG_IsOK(res2)) {
13860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13861 }
13862 arg2 = reinterpret_cast< wxWindow * >(argp2);
13863 if (obj2) {
13864 ecode3 = SWIG_AsVal_int(obj2, &val3);
13865 if (!SWIG_IsOK(ecode3)) {
13866 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13867 }
13868 arg3 = static_cast< int >(val3);
13869 }
13870 if (obj3) {
13871 {
13872 arg4 = &temp4;
13873 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13874 }
13875 }
13876 if (obj4) {
13877 {
13878 arg5 = &temp5;
13879 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13880 }
13881 }
13882 if (obj5) {
13883 ecode6 = SWIG_AsVal_long(obj5, &val6);
13884 if (!SWIG_IsOK(ecode6)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13886 }
13887 arg6 = static_cast< long >(val6);
13888 }
13889 if (obj6) {
13890 {
13891 arg7 = wxString_in_helper(obj6);
13892 if (arg7 == NULL) SWIG_fail;
13893 temp7 = true;
13894 }
13895 }
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 {
13903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13904 }
13905 {
13906 if (temp7)
13907 delete arg7;
13908 }
13909 return resultobj;
13910 fail:
13911 {
13912 if (temp7)
13913 delete arg7;
13914 }
13915 return NULL;
13916 }
13917
13918
13919 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj = 0;
13921 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13922 size_t arg2 ;
13923 void *argp1 = 0 ;
13924 int res1 = 0 ;
13925 size_t val2 ;
13926 int ecode2 = 0 ;
13927 PyObject * obj0 = 0 ;
13928 PyObject * obj1 = 0 ;
13929 char * kwnames[] = {
13930 (char *) "self",(char *) "count", NULL
13931 };
13932
13933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13935 if (!SWIG_IsOK(res1)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13937 }
13938 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13939 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13940 if (!SWIG_IsOK(ecode2)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13942 }
13943 arg2 = static_cast< size_t >(val2);
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 (arg1)->SetLineCount(arg2);
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 resultobj = SWIG_Py_Void();
13951 return resultobj;
13952 fail:
13953 return NULL;
13954 }
13955
13956
13957 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj = 0;
13959 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13960 size_t arg2 ;
13961 bool result;
13962 void *argp1 = 0 ;
13963 int res1 = 0 ;
13964 size_t val2 ;
13965 int ecode2 = 0 ;
13966 PyObject * obj0 = 0 ;
13967 PyObject * obj1 = 0 ;
13968 char * kwnames[] = {
13969 (char *) "self",(char *) "line", NULL
13970 };
13971
13972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13974 if (!SWIG_IsOK(res1)) {
13975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13976 }
13977 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13978 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13979 if (!SWIG_IsOK(ecode2)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13981 }
13982 arg2 = static_cast< size_t >(val2);
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
13985 result = (bool)(arg1)->ScrollToLine(arg2);
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 {
13990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13991 }
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj = 0;
14000 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14001 size_t arg2 ;
14002 void *argp1 = 0 ;
14003 int res1 = 0 ;
14004 size_t val2 ;
14005 int ecode2 = 0 ;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char * kwnames[] = {
14009 (char *) "self",(char *) "line", NULL
14010 };
14011
14012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14014 if (!SWIG_IsOK(res1)) {
14015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14016 }
14017 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14018 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14019 if (!SWIG_IsOK(ecode2)) {
14020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14021 }
14022 arg2 = static_cast< size_t >(val2);
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 (arg1)->RefreshLine(arg2);
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 resultobj = SWIG_Py_Void();
14030 return resultobj;
14031 fail:
14032 return NULL;
14033 }
14034
14035
14036 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj = 0;
14038 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14039 size_t arg2 ;
14040 size_t arg3 ;
14041 void *argp1 = 0 ;
14042 int res1 = 0 ;
14043 size_t val2 ;
14044 int ecode2 = 0 ;
14045 size_t val3 ;
14046 int ecode3 = 0 ;
14047 PyObject * obj0 = 0 ;
14048 PyObject * obj1 = 0 ;
14049 PyObject * obj2 = 0 ;
14050 char * kwnames[] = {
14051 (char *) "self",(char *) "from",(char *) "to", NULL
14052 };
14053
14054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14056 if (!SWIG_IsOK(res1)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14058 }
14059 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14060 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14061 if (!SWIG_IsOK(ecode2)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14063 }
14064 arg2 = static_cast< size_t >(val2);
14065 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14066 if (!SWIG_IsOK(ecode3)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14068 }
14069 arg3 = static_cast< size_t >(val3);
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 (arg1)->RefreshLines(arg2,arg3);
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 resultobj = SWIG_Py_Void();
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj = 0;
14085 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14086 int arg2 ;
14087 int arg3 ;
14088 int result;
14089 void *argp1 = 0 ;
14090 int res1 = 0 ;
14091 int val2 ;
14092 int ecode2 = 0 ;
14093 int val3 ;
14094 int ecode3 = 0 ;
14095 PyObject * obj0 = 0 ;
14096 PyObject * obj1 = 0 ;
14097 PyObject * obj2 = 0 ;
14098 char * kwnames[] = {
14099 (char *) "self",(char *) "x",(char *) "y", NULL
14100 };
14101
14102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14104 if (!SWIG_IsOK(res1)) {
14105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14106 }
14107 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14108 ecode2 = SWIG_AsVal_int(obj1, &val2);
14109 if (!SWIG_IsOK(ecode2)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14111 }
14112 arg2 = static_cast< int >(val2);
14113 ecode3 = SWIG_AsVal_int(obj2, &val3);
14114 if (!SWIG_IsOK(ecode3)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14116 }
14117 arg3 = static_cast< int >(val3);
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 resultobj = SWIG_From_int(static_cast< int >(result));
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj = 0;
14133 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14134 wxPoint *arg2 = 0 ;
14135 int result;
14136 void *argp1 = 0 ;
14137 int res1 = 0 ;
14138 wxPoint temp2 ;
14139 PyObject * obj0 = 0 ;
14140 PyObject * obj1 = 0 ;
14141 char * kwnames[] = {
14142 (char *) "self",(char *) "pt", NULL
14143 };
14144
14145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14147 if (!SWIG_IsOK(res1)) {
14148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14149 }
14150 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14151 {
14152 arg2 = &temp2;
14153 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14154 }
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14158 wxPyEndAllowThreads(__tstate);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 resultobj = SWIG_From_int(static_cast< int >(result));
14162 return resultobj;
14163 fail:
14164 return NULL;
14165 }
14166
14167
14168 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14169 PyObject *resultobj = 0;
14170 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14171 void *argp1 = 0 ;
14172 int res1 = 0 ;
14173 PyObject *swig_obj[1] ;
14174
14175 if (!args) SWIG_fail;
14176 swig_obj[0] = args;
14177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14178 if (!SWIG_IsOK(res1)) {
14179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14180 }
14181 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->RefreshAll();
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_Py_Void();
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14196 PyObject *resultobj = 0;
14197 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14198 size_t result;
14199 void *argp1 = 0 ;
14200 int res1 = 0 ;
14201 PyObject *swig_obj[1] ;
14202
14203 if (!args) SWIG_fail;
14204 swig_obj[0] = args;
14205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14206 if (!SWIG_IsOK(res1)) {
14207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14208 }
14209 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14224 PyObject *resultobj = 0;
14225 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14226 size_t result;
14227 void *argp1 = 0 ;
14228 int res1 = 0 ;
14229 PyObject *swig_obj[1] ;
14230
14231 if (!args) SWIG_fail;
14232 swig_obj[0] = args;
14233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14234 if (!SWIG_IsOK(res1)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14236 }
14237 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14245 return resultobj;
14246 fail:
14247 return NULL;
14248 }
14249
14250
14251 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14252 PyObject *resultobj = 0;
14253 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14254 size_t result;
14255 void *argp1 = 0 ;
14256 int res1 = 0 ;
14257 PyObject *swig_obj[1] ;
14258
14259 if (!args) SWIG_fail;
14260 swig_obj[0] = args;
14261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14262 if (!SWIG_IsOK(res1)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14264 }
14265 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj = 0;
14281 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14282 size_t arg2 ;
14283 bool result;
14284 void *argp1 = 0 ;
14285 int res1 = 0 ;
14286 size_t val2 ;
14287 int ecode2 = 0 ;
14288 PyObject * obj0 = 0 ;
14289 PyObject * obj1 = 0 ;
14290 char * kwnames[] = {
14291 (char *) "self",(char *) "line", NULL
14292 };
14293
14294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14296 if (!SWIG_IsOK(res1)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14298 }
14299 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14300 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14301 if (!SWIG_IsOK(ecode2)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14303 }
14304 arg2 = static_cast< size_t >(val2);
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 {
14312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14313 }
14314 return resultobj;
14315 fail:
14316 return NULL;
14317 }
14318
14319
14320 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14321 PyObject *resultobj = 0;
14322 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14323 size_t result;
14324 void *argp1 = 0 ;
14325 int res1 = 0 ;
14326 PyObject *swig_obj[1] ;
14327
14328 if (!args) SWIG_fail;
14329 swig_obj[0] = args;
14330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14331 if (!SWIG_IsOK(res1)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14333 }
14334 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14349 PyObject *resultobj = 0;
14350 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14351 size_t result;
14352 void *argp1 = 0 ;
14353 int res1 = 0 ;
14354 PyObject *swig_obj[1] ;
14355
14356 if (!args) SWIG_fail;
14357 swig_obj[0] = args;
14358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14359 if (!SWIG_IsOK(res1)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14361 }
14362 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14370 return resultobj;
14371 fail:
14372 return NULL;
14373 }
14374
14375
14376 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj = 0;
14378 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14379 size_t arg2 ;
14380 bool arg3 = (bool) false ;
14381 size_t result;
14382 void *argp1 = 0 ;
14383 int res1 = 0 ;
14384 size_t val2 ;
14385 int ecode2 = 0 ;
14386 bool val3 ;
14387 int ecode3 = 0 ;
14388 PyObject * obj0 = 0 ;
14389 PyObject * obj1 = 0 ;
14390 PyObject * obj2 = 0 ;
14391 char * kwnames[] = {
14392 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14393 };
14394
14395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14397 if (!SWIG_IsOK(res1)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14399 }
14400 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14401 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14402 if (!SWIG_IsOK(ecode2)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14404 }
14405 arg2 = static_cast< size_t >(val2);
14406 if (obj2) {
14407 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14408 if (!SWIG_IsOK(ecode3)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14410 }
14411 arg3 = static_cast< bool >(val3);
14412 }
14413 {
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14420 return resultobj;
14421 fail:
14422 return NULL;
14423 }
14424
14425
14426 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj = 0;
14428 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14429 size_t arg2 ;
14430 size_t arg3 ;
14431 int result;
14432 void *argp1 = 0 ;
14433 int res1 = 0 ;
14434 size_t val2 ;
14435 int ecode2 = 0 ;
14436 size_t val3 ;
14437 int ecode3 = 0 ;
14438 PyObject * obj0 = 0 ;
14439 PyObject * obj1 = 0 ;
14440 PyObject * obj2 = 0 ;
14441 char * kwnames[] = {
14442 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14443 };
14444
14445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14447 if (!SWIG_IsOK(res1)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14449 }
14450 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14451 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14452 if (!SWIG_IsOK(ecode2)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14454 }
14455 arg2 = static_cast< size_t >(val2);
14456 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14457 if (!SWIG_IsOK(ecode3)) {
14458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14459 }
14460 arg3 = static_cast< size_t >(val3);
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 resultobj = SWIG_From_int(static_cast< int >(result));
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14475 PyObject *obj;
14476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14478 return SWIG_Py_Void();
14479 }
14480
14481 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14482 return SWIG_Python_InitShadowInstance(args);
14483 }
14484
14485 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14486 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14487 return 1;
14488 }
14489
14490
14491 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14492 PyObject *pyobj = 0;
14493
14494 {
14495 #if wxUSE_UNICODE
14496 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14497 #else
14498 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14499 #endif
14500 }
14501 return pyobj;
14502 }
14503
14504
14505 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj = 0;
14507 wxWindow *arg1 = (wxWindow *) 0 ;
14508 int arg2 = (int) wxID_ANY ;
14509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14511 wxSize const &arg4_defvalue = wxDefaultSize ;
14512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14513 long arg5 = (long) 0 ;
14514 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14515 wxString *arg6 = (wxString *) &arg6_defvalue ;
14516 wxPyVListBox *result = 0 ;
14517 void *argp1 = 0 ;
14518 int res1 = 0 ;
14519 int val2 ;
14520 int ecode2 = 0 ;
14521 wxPoint temp3 ;
14522 wxSize temp4 ;
14523 long val5 ;
14524 int ecode5 = 0 ;
14525 bool temp6 = false ;
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 PyObject * obj2 = 0 ;
14529 PyObject * obj3 = 0 ;
14530 PyObject * obj4 = 0 ;
14531 PyObject * obj5 = 0 ;
14532 char * kwnames[] = {
14533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14534 };
14535
14536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14538 if (!SWIG_IsOK(res1)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14540 }
14541 arg1 = reinterpret_cast< wxWindow * >(argp1);
14542 if (obj1) {
14543 ecode2 = SWIG_AsVal_int(obj1, &val2);
14544 if (!SWIG_IsOK(ecode2)) {
14545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14546 }
14547 arg2 = static_cast< int >(val2);
14548 }
14549 if (obj2) {
14550 {
14551 arg3 = &temp3;
14552 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14553 }
14554 }
14555 if (obj3) {
14556 {
14557 arg4 = &temp4;
14558 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14559 }
14560 }
14561 if (obj4) {
14562 ecode5 = SWIG_AsVal_long(obj4, &val5);
14563 if (!SWIG_IsOK(ecode5)) {
14564 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14565 }
14566 arg5 = static_cast< long >(val5);
14567 }
14568 if (obj5) {
14569 {
14570 arg6 = wxString_in_helper(obj5);
14571 if (arg6 == NULL) SWIG_fail;
14572 temp6 = true;
14573 }
14574 }
14575 {
14576 if (!wxPyCheckForApp()) SWIG_fail;
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14583 {
14584 if (temp6)
14585 delete arg6;
14586 }
14587 return resultobj;
14588 fail:
14589 {
14590 if (temp6)
14591 delete arg6;
14592 }
14593 return NULL;
14594 }
14595
14596
14597 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14598 PyObject *resultobj = 0;
14599 wxPyVListBox *result = 0 ;
14600
14601 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14602 {
14603 if (!wxPyCheckForApp()) SWIG_fail;
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (wxPyVListBox *)new wxPyVListBox();
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj = 0;
14618 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14619 PyObject *arg2 = (PyObject *) 0 ;
14620 PyObject *arg3 = (PyObject *) 0 ;
14621 void *argp1 = 0 ;
14622 int res1 = 0 ;
14623 PyObject * obj0 = 0 ;
14624 PyObject * obj1 = 0 ;
14625 PyObject * obj2 = 0 ;
14626 char * kwnames[] = {
14627 (char *) "self",(char *) "self",(char *) "_class", NULL
14628 };
14629
14630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14632 if (!SWIG_IsOK(res1)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14634 }
14635 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14636 arg2 = obj1;
14637 arg3 = obj2;
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 (arg1)->_setCallbackInfo(arg2,arg3);
14641 wxPyEndAllowThreads(__tstate);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
14644 resultobj = SWIG_Py_Void();
14645 return resultobj;
14646 fail:
14647 return NULL;
14648 }
14649
14650
14651 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj = 0;
14653 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14654 wxWindow *arg2 = (wxWindow *) 0 ;
14655 int arg3 = (int) wxID_ANY ;
14656 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14657 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14658 wxSize const &arg5_defvalue = wxDefaultSize ;
14659 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14660 long arg6 = (long) 0 ;
14661 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14662 wxString *arg7 = (wxString *) &arg7_defvalue ;
14663 bool result;
14664 void *argp1 = 0 ;
14665 int res1 = 0 ;
14666 void *argp2 = 0 ;
14667 int res2 = 0 ;
14668 int val3 ;
14669 int ecode3 = 0 ;
14670 wxPoint temp4 ;
14671 wxSize temp5 ;
14672 long val6 ;
14673 int ecode6 = 0 ;
14674 bool temp7 = false ;
14675 PyObject * obj0 = 0 ;
14676 PyObject * obj1 = 0 ;
14677 PyObject * obj2 = 0 ;
14678 PyObject * obj3 = 0 ;
14679 PyObject * obj4 = 0 ;
14680 PyObject * obj5 = 0 ;
14681 PyObject * obj6 = 0 ;
14682 char * kwnames[] = {
14683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14684 };
14685
14686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14688 if (!SWIG_IsOK(res1)) {
14689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14690 }
14691 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14693 if (!SWIG_IsOK(res2)) {
14694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14695 }
14696 arg2 = reinterpret_cast< wxWindow * >(argp2);
14697 if (obj2) {
14698 ecode3 = SWIG_AsVal_int(obj2, &val3);
14699 if (!SWIG_IsOK(ecode3)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14701 }
14702 arg3 = static_cast< int >(val3);
14703 }
14704 if (obj3) {
14705 {
14706 arg4 = &temp4;
14707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14708 }
14709 }
14710 if (obj4) {
14711 {
14712 arg5 = &temp5;
14713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14714 }
14715 }
14716 if (obj5) {
14717 ecode6 = SWIG_AsVal_long(obj5, &val6);
14718 if (!SWIG_IsOK(ecode6)) {
14719 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14720 }
14721 arg6 = static_cast< long >(val6);
14722 }
14723 if (obj6) {
14724 {
14725 arg7 = wxString_in_helper(obj6);
14726 if (arg7 == NULL) SWIG_fail;
14727 temp7 = true;
14728 }
14729 }
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 {
14737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14738 }
14739 {
14740 if (temp7)
14741 delete arg7;
14742 }
14743 return resultobj;
14744 fail:
14745 {
14746 if (temp7)
14747 delete arg7;
14748 }
14749 return NULL;
14750 }
14751
14752
14753 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14754 PyObject *resultobj = 0;
14755 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14756 size_t result;
14757 void *argp1 = 0 ;
14758 int res1 = 0 ;
14759 PyObject *swig_obj[1] ;
14760
14761 if (!args) SWIG_fail;
14762 swig_obj[0] = args;
14763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14764 if (!SWIG_IsOK(res1)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14766 }
14767 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14771 wxPyEndAllowThreads(__tstate);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14775 return resultobj;
14776 fail:
14777 return NULL;
14778 }
14779
14780
14781 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14782 PyObject *resultobj = 0;
14783 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14784 bool result;
14785 void *argp1 = 0 ;
14786 int res1 = 0 ;
14787 PyObject *swig_obj[1] ;
14788
14789 if (!args) SWIG_fail;
14790 swig_obj[0] = args;
14791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14792 if (!SWIG_IsOK(res1)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14794 }
14795 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 {
14803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14804 }
14805 return resultobj;
14806 fail:
14807 return NULL;
14808 }
14809
14810
14811 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14812 PyObject *resultobj = 0;
14813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14814 int result;
14815 void *argp1 = 0 ;
14816 int res1 = 0 ;
14817 PyObject *swig_obj[1] ;
14818
14819 if (!args) SWIG_fail;
14820 swig_obj[0] = args;
14821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14822 if (!SWIG_IsOK(res1)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14824 }
14825 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14826 {
14827 PyThreadState* __tstate = wxPyBeginAllowThreads();
14828 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 resultobj = SWIG_From_int(static_cast< int >(result));
14833 return resultobj;
14834 fail:
14835 return NULL;
14836 }
14837
14838
14839 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj = 0;
14841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14842 size_t arg2 ;
14843 bool result;
14844 void *argp1 = 0 ;
14845 int res1 = 0 ;
14846 size_t val2 ;
14847 int ecode2 = 0 ;
14848 PyObject * obj0 = 0 ;
14849 PyObject * obj1 = 0 ;
14850 char * kwnames[] = {
14851 (char *) "self",(char *) "item", NULL
14852 };
14853
14854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14856 if (!SWIG_IsOK(res1)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14858 }
14859 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14860 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14861 if (!SWIG_IsOK(ecode2)) {
14862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14863 }
14864 arg2 = static_cast< size_t >(val2);
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 {
14872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14873 }
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14881 PyObject *resultobj = 0;
14882 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14883 size_t arg2 ;
14884 bool result;
14885 void *argp1 = 0 ;
14886 int res1 = 0 ;
14887 size_t val2 ;
14888 int ecode2 = 0 ;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 char * kwnames[] = {
14892 (char *) "self",(char *) "item", NULL
14893 };
14894
14895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14897 if (!SWIG_IsOK(res1)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14899 }
14900 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14901 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14902 if (!SWIG_IsOK(ecode2)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14904 }
14905 arg2 = static_cast< size_t >(val2);
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 {
14913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14914 }
14915 return resultobj;
14916 fail:
14917 return NULL;
14918 }
14919
14920
14921 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14922 PyObject *resultobj = 0;
14923 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14924 size_t result;
14925 void *argp1 = 0 ;
14926 int res1 = 0 ;
14927 PyObject *swig_obj[1] ;
14928
14929 if (!args) SWIG_fail;
14930 swig_obj[0] = args;
14931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14932 if (!SWIG_IsOK(res1)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14934 }
14935 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14950 PyObject *resultobj = 0;
14951 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14952 PyObject *result = 0 ;
14953 void *argp1 = 0 ;
14954 int res1 = 0 ;
14955 PyObject *swig_obj[1] ;
14956
14957 if (!args) SWIG_fail;
14958 swig_obj[0] = args;
14959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14960 if (!SWIG_IsOK(res1)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14962 }
14963 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 resultobj = result;
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj = 0;
14979 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14980 unsigned long arg2 ;
14981 PyObject *result = 0 ;
14982 void *argp1 = 0 ;
14983 int res1 = 0 ;
14984 unsigned long val2 ;
14985 int ecode2 = 0 ;
14986 PyObject * obj0 = 0 ;
14987 PyObject * obj1 = 0 ;
14988 char * kwnames[] = {
14989 (char *) "self",(char *) "cookie", NULL
14990 };
14991
14992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14994 if (!SWIG_IsOK(res1)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14996 }
14997 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14998 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14999 if (!SWIG_IsOK(ecode2)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15001 }
15002 arg2 = static_cast< unsigned long >(val2);
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 resultobj = result;
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15017 PyObject *resultobj = 0;
15018 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15019 wxPoint result;
15020 void *argp1 = 0 ;
15021 int res1 = 0 ;
15022 PyObject *swig_obj[1] ;
15023
15024 if (!args) SWIG_fail;
15025 swig_obj[0] = args;
15026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15027 if (!SWIG_IsOK(res1)) {
15028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15029 }
15030 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 result = ((wxPyVListBox const *)arg1)->GetMargins();
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15045 PyObject *resultobj = 0;
15046 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15047 wxColour *result = 0 ;
15048 void *argp1 = 0 ;
15049 int res1 = 0 ;
15050 PyObject *swig_obj[1] ;
15051
15052 if (!args) SWIG_fail;
15053 swig_obj[0] = args;
15054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15055 if (!SWIG_IsOK(res1)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15057 }
15058 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 {
15062 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15063 result = (wxColour *) &_result_ref;
15064 }
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15069 return resultobj;
15070 fail:
15071 return NULL;
15072 }
15073
15074
15075 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj = 0;
15077 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15078 size_t arg2 ;
15079 void *argp1 = 0 ;
15080 int res1 = 0 ;
15081 size_t val2 ;
15082 int ecode2 = 0 ;
15083 PyObject * obj0 = 0 ;
15084 PyObject * obj1 = 0 ;
15085 char * kwnames[] = {
15086 (char *) "self",(char *) "count", NULL
15087 };
15088
15089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15091 if (!SWIG_IsOK(res1)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15093 }
15094 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15095 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15096 if (!SWIG_IsOK(ecode2)) {
15097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15098 }
15099 arg2 = static_cast< size_t >(val2);
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->SetItemCount(arg2);
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 resultobj = SWIG_Py_Void();
15107 return resultobj;
15108 fail:
15109 return NULL;
15110 }
15111
15112
15113 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15114 PyObject *resultobj = 0;
15115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15116 void *argp1 = 0 ;
15117 int res1 = 0 ;
15118 PyObject *swig_obj[1] ;
15119
15120 if (!args) SWIG_fail;
15121 swig_obj[0] = args;
15122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15123 if (!SWIG_IsOK(res1)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 }
15126 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 (arg1)->Clear();
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 resultobj = SWIG_Py_Void();
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj = 0;
15142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15143 int arg2 ;
15144 void *argp1 = 0 ;
15145 int res1 = 0 ;
15146 int val2 ;
15147 int ecode2 = 0 ;
15148 PyObject * obj0 = 0 ;
15149 PyObject * obj1 = 0 ;
15150 char * kwnames[] = {
15151 (char *) "self",(char *) "selection", NULL
15152 };
15153
15154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15156 if (!SWIG_IsOK(res1)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15158 }
15159 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15160 ecode2 = SWIG_AsVal_int(obj1, &val2);
15161 if (!SWIG_IsOK(ecode2)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15163 }
15164 arg2 = static_cast< int >(val2);
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 (arg1)->SetSelection(arg2);
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 resultobj = SWIG_Py_Void();
15172 return resultobj;
15173 fail:
15174 return NULL;
15175 }
15176
15177
15178 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj = 0;
15180 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15181 size_t arg2 ;
15182 bool arg3 = (bool) true ;
15183 bool result;
15184 void *argp1 = 0 ;
15185 int res1 = 0 ;
15186 size_t val2 ;
15187 int ecode2 = 0 ;
15188 bool val3 ;
15189 int ecode3 = 0 ;
15190 PyObject * obj0 = 0 ;
15191 PyObject * obj1 = 0 ;
15192 PyObject * obj2 = 0 ;
15193 char * kwnames[] = {
15194 (char *) "self",(char *) "item",(char *) "select", NULL
15195 };
15196
15197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15199 if (!SWIG_IsOK(res1)) {
15200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15201 }
15202 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15203 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15204 if (!SWIG_IsOK(ecode2)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15206 }
15207 arg2 = static_cast< size_t >(val2);
15208 if (obj2) {
15209 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15210 if (!SWIG_IsOK(ecode3)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15212 }
15213 arg3 = static_cast< bool >(val3);
15214 }
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 result = (bool)(arg1)->Select(arg2,arg3);
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 {
15222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15223 }
15224 return resultobj;
15225 fail:
15226 return NULL;
15227 }
15228
15229
15230 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj = 0;
15232 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15233 size_t arg2 ;
15234 size_t arg3 ;
15235 bool result;
15236 void *argp1 = 0 ;
15237 int res1 = 0 ;
15238 size_t val2 ;
15239 int ecode2 = 0 ;
15240 size_t val3 ;
15241 int ecode3 = 0 ;
15242 PyObject * obj0 = 0 ;
15243 PyObject * obj1 = 0 ;
15244 PyObject * obj2 = 0 ;
15245 char * kwnames[] = {
15246 (char *) "self",(char *) "from",(char *) "to", NULL
15247 };
15248
15249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15251 if (!SWIG_IsOK(res1)) {
15252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15253 }
15254 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15255 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15256 if (!SWIG_IsOK(ecode2)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15258 }
15259 arg2 = static_cast< size_t >(val2);
15260 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15261 if (!SWIG_IsOK(ecode3)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15263 }
15264 arg3 = static_cast< size_t >(val3);
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (bool)(arg1)->SelectRange(arg2,arg3);
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 {
15272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15273 }
15274 return resultobj;
15275 fail:
15276 return NULL;
15277 }
15278
15279
15280 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj = 0;
15282 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15283 size_t arg2 ;
15284 void *argp1 = 0 ;
15285 int res1 = 0 ;
15286 size_t val2 ;
15287 int ecode2 = 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 char * kwnames[] = {
15291 (char *) "self",(char *) "item", NULL
15292 };
15293
15294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15296 if (!SWIG_IsOK(res1)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15298 }
15299 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15300 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15301 if (!SWIG_IsOK(ecode2)) {
15302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15303 }
15304 arg2 = static_cast< size_t >(val2);
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 (arg1)->Toggle(arg2);
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 resultobj = SWIG_Py_Void();
15312 return resultobj;
15313 fail:
15314 return NULL;
15315 }
15316
15317
15318 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15319 PyObject *resultobj = 0;
15320 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15321 bool result;
15322 void *argp1 = 0 ;
15323 int res1 = 0 ;
15324 PyObject *swig_obj[1] ;
15325
15326 if (!args) SWIG_fail;
15327 swig_obj[0] = args;
15328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15329 if (!SWIG_IsOK(res1)) {
15330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15331 }
15332 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 result = (bool)(arg1)->SelectAll();
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 {
15340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15341 }
15342 return resultobj;
15343 fail:
15344 return NULL;
15345 }
15346
15347
15348 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15349 PyObject *resultobj = 0;
15350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15351 bool result;
15352 void *argp1 = 0 ;
15353 int res1 = 0 ;
15354 PyObject *swig_obj[1] ;
15355
15356 if (!args) SWIG_fail;
15357 swig_obj[0] = args;
15358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15359 if (!SWIG_IsOK(res1)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15361 }
15362 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = (bool)(arg1)->DeselectAll();
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 {
15370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15371 }
15372 return resultobj;
15373 fail:
15374 return NULL;
15375 }
15376
15377
15378 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj = 0;
15380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15381 wxPoint *arg2 = 0 ;
15382 void *argp1 = 0 ;
15383 int res1 = 0 ;
15384 wxPoint temp2 ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 char * kwnames[] = {
15388 (char *) "self",(char *) "pt", NULL
15389 };
15390
15391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15393 if (!SWIG_IsOK(res1)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15395 }
15396 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15397 {
15398 arg2 = &temp2;
15399 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15400 }
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 (arg1)->SetMargins((wxPoint const &)*arg2);
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 resultobj = SWIG_Py_Void();
15408 return resultobj;
15409 fail:
15410 return NULL;
15411 }
15412
15413
15414 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15415 PyObject *resultobj = 0;
15416 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15417 int arg2 ;
15418 int arg3 ;
15419 void *argp1 = 0 ;
15420 int res1 = 0 ;
15421 int val2 ;
15422 int ecode2 = 0 ;
15423 int val3 ;
15424 int ecode3 = 0 ;
15425 PyObject * obj0 = 0 ;
15426 PyObject * obj1 = 0 ;
15427 PyObject * obj2 = 0 ;
15428 char * kwnames[] = {
15429 (char *) "self",(char *) "x",(char *) "y", NULL
15430 };
15431
15432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15434 if (!SWIG_IsOK(res1)) {
15435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15436 }
15437 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15438 ecode2 = SWIG_AsVal_int(obj1, &val2);
15439 if (!SWIG_IsOK(ecode2)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15441 }
15442 arg2 = static_cast< int >(val2);
15443 ecode3 = SWIG_AsVal_int(obj2, &val3);
15444 if (!SWIG_IsOK(ecode3)) {
15445 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15446 }
15447 arg3 = static_cast< int >(val3);
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 (arg1)->SetMargins(arg2,arg3);
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 resultobj = SWIG_Py_Void();
15455 return resultobj;
15456 fail:
15457 return NULL;
15458 }
15459
15460
15461 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15462 PyObject *resultobj = 0;
15463 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15464 wxColour *arg2 = 0 ;
15465 void *argp1 = 0 ;
15466 int res1 = 0 ;
15467 wxColour temp2 ;
15468 PyObject * obj0 = 0 ;
15469 PyObject * obj1 = 0 ;
15470 char * kwnames[] = {
15471 (char *) "self",(char *) "col", NULL
15472 };
15473
15474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15476 if (!SWIG_IsOK(res1)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15478 }
15479 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15480 {
15481 arg2 = &temp2;
15482 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15483 }
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 resultobj = SWIG_Py_Void();
15491 return resultobj;
15492 fail:
15493 return NULL;
15494 }
15495
15496
15497 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj = 0;
15499 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15500 wxDC *arg2 = 0 ;
15501 wxRect *arg3 = 0 ;
15502 size_t arg4 ;
15503 void *argp1 = 0 ;
15504 int res1 = 0 ;
15505 void *argp2 = 0 ;
15506 int res2 = 0 ;
15507 wxRect temp3 ;
15508 size_t val4 ;
15509 int ecode4 = 0 ;
15510 PyObject * obj0 = 0 ;
15511 PyObject * obj1 = 0 ;
15512 PyObject * obj2 = 0 ;
15513 PyObject * obj3 = 0 ;
15514 char * kwnames[] = {
15515 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15516 };
15517
15518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15520 if (!SWIG_IsOK(res1)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15522 }
15523 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15524 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15525 if (!SWIG_IsOK(res2)) {
15526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15527 }
15528 if (!argp2) {
15529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15530 }
15531 arg2 = reinterpret_cast< wxDC * >(argp2);
15532 {
15533 arg3 = &temp3;
15534 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15535 }
15536 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15537 if (!SWIG_IsOK(ecode4)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15539 }
15540 arg4 = static_cast< size_t >(val4);
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 resultobj = SWIG_Py_Void();
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj = 0;
15556 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15557 wxDC *arg2 = 0 ;
15558 wxRect *arg3 = 0 ;
15559 size_t arg4 ;
15560 void *argp1 = 0 ;
15561 int res1 = 0 ;
15562 void *argp2 = 0 ;
15563 int res2 = 0 ;
15564 wxRect temp3 ;
15565 size_t val4 ;
15566 int ecode4 = 0 ;
15567 PyObject * obj0 = 0 ;
15568 PyObject * obj1 = 0 ;
15569 PyObject * obj2 = 0 ;
15570 PyObject * obj3 = 0 ;
15571 char * kwnames[] = {
15572 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15573 };
15574
15575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15577 if (!SWIG_IsOK(res1)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15579 }
15580 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15581 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15582 if (!SWIG_IsOK(res2)) {
15583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15584 }
15585 if (!argp2) {
15586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15587 }
15588 arg2 = reinterpret_cast< wxDC * >(argp2);
15589 {
15590 arg3 = &temp3;
15591 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15592 }
15593 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15594 if (!SWIG_IsOK(ecode4)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15596 }
15597 arg4 = static_cast< size_t >(val4);
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 resultobj = SWIG_Py_Void();
15605 return resultobj;
15606 fail:
15607 return NULL;
15608 }
15609
15610
15611 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15612 PyObject *obj;
15613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15614 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15615 return SWIG_Py_Void();
15616 }
15617
15618 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15619 return SWIG_Python_InitShadowInstance(args);
15620 }
15621
15622 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj = 0;
15624 wxWindow *arg1 = (wxWindow *) 0 ;
15625 int arg2 = (int) wxID_ANY ;
15626 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15627 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15628 wxSize const &arg4_defvalue = wxDefaultSize ;
15629 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15630 long arg5 = (long) 0 ;
15631 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15632 wxString *arg6 = (wxString *) &arg6_defvalue ;
15633 wxPyHtmlListBox *result = 0 ;
15634 void *argp1 = 0 ;
15635 int res1 = 0 ;
15636 int val2 ;
15637 int ecode2 = 0 ;
15638 wxPoint temp3 ;
15639 wxSize temp4 ;
15640 long val5 ;
15641 int ecode5 = 0 ;
15642 bool temp6 = false ;
15643 PyObject * obj0 = 0 ;
15644 PyObject * obj1 = 0 ;
15645 PyObject * obj2 = 0 ;
15646 PyObject * obj3 = 0 ;
15647 PyObject * obj4 = 0 ;
15648 PyObject * obj5 = 0 ;
15649 char * kwnames[] = {
15650 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15651 };
15652
15653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15655 if (!SWIG_IsOK(res1)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15657 }
15658 arg1 = reinterpret_cast< wxWindow * >(argp1);
15659 if (obj1) {
15660 ecode2 = SWIG_AsVal_int(obj1, &val2);
15661 if (!SWIG_IsOK(ecode2)) {
15662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15663 }
15664 arg2 = static_cast< int >(val2);
15665 }
15666 if (obj2) {
15667 {
15668 arg3 = &temp3;
15669 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15670 }
15671 }
15672 if (obj3) {
15673 {
15674 arg4 = &temp4;
15675 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15676 }
15677 }
15678 if (obj4) {
15679 ecode5 = SWIG_AsVal_long(obj4, &val5);
15680 if (!SWIG_IsOK(ecode5)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15682 }
15683 arg5 = static_cast< long >(val5);
15684 }
15685 if (obj5) {
15686 {
15687 arg6 = wxString_in_helper(obj5);
15688 if (arg6 == NULL) SWIG_fail;
15689 temp6 = true;
15690 }
15691 }
15692 {
15693 if (!wxPyCheckForApp()) SWIG_fail;
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15700 {
15701 if (temp6)
15702 delete arg6;
15703 }
15704 return resultobj;
15705 fail:
15706 {
15707 if (temp6)
15708 delete arg6;
15709 }
15710 return NULL;
15711 }
15712
15713
15714 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15715 PyObject *resultobj = 0;
15716 wxPyHtmlListBox *result = 0 ;
15717
15718 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15719 {
15720 if (!wxPyCheckForApp()) SWIG_fail;
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj = 0;
15735 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15736 PyObject *arg2 = (PyObject *) 0 ;
15737 PyObject *arg3 = (PyObject *) 0 ;
15738 void *argp1 = 0 ;
15739 int res1 = 0 ;
15740 PyObject * obj0 = 0 ;
15741 PyObject * obj1 = 0 ;
15742 PyObject * obj2 = 0 ;
15743 char * kwnames[] = {
15744 (char *) "self",(char *) "self",(char *) "_class", NULL
15745 };
15746
15747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15749 if (!SWIG_IsOK(res1)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15751 }
15752 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15753 arg2 = obj1;
15754 arg3 = obj2;
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 (arg1)->_setCallbackInfo(arg2,arg3);
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 resultobj = SWIG_Py_Void();
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj = 0;
15770 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15771 wxWindow *arg2 = (wxWindow *) 0 ;
15772 int arg3 = (int) wxID_ANY ;
15773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15775 wxSize const &arg5_defvalue = wxDefaultSize ;
15776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15777 long arg6 = (long) 0 ;
15778 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15779 wxString *arg7 = (wxString *) &arg7_defvalue ;
15780 bool result;
15781 void *argp1 = 0 ;
15782 int res1 = 0 ;
15783 void *argp2 = 0 ;
15784 int res2 = 0 ;
15785 int val3 ;
15786 int ecode3 = 0 ;
15787 wxPoint temp4 ;
15788 wxSize temp5 ;
15789 long val6 ;
15790 int ecode6 = 0 ;
15791 bool temp7 = false ;
15792 PyObject * obj0 = 0 ;
15793 PyObject * obj1 = 0 ;
15794 PyObject * obj2 = 0 ;
15795 PyObject * obj3 = 0 ;
15796 PyObject * obj4 = 0 ;
15797 PyObject * obj5 = 0 ;
15798 PyObject * obj6 = 0 ;
15799 char * kwnames[] = {
15800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15801 };
15802
15803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15805 if (!SWIG_IsOK(res1)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15807 }
15808 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15809 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15810 if (!SWIG_IsOK(res2)) {
15811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15812 }
15813 arg2 = reinterpret_cast< wxWindow * >(argp2);
15814 if (obj2) {
15815 ecode3 = SWIG_AsVal_int(obj2, &val3);
15816 if (!SWIG_IsOK(ecode3)) {
15817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15818 }
15819 arg3 = static_cast< int >(val3);
15820 }
15821 if (obj3) {
15822 {
15823 arg4 = &temp4;
15824 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15825 }
15826 }
15827 if (obj4) {
15828 {
15829 arg5 = &temp5;
15830 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15831 }
15832 }
15833 if (obj5) {
15834 ecode6 = SWIG_AsVal_long(obj5, &val6);
15835 if (!SWIG_IsOK(ecode6)) {
15836 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15837 }
15838 arg6 = static_cast< long >(val6);
15839 }
15840 if (obj6) {
15841 {
15842 arg7 = wxString_in_helper(obj6);
15843 if (arg7 == NULL) SWIG_fail;
15844 temp7 = true;
15845 }
15846 }
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 {
15854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15855 }
15856 {
15857 if (temp7)
15858 delete arg7;
15859 }
15860 return resultobj;
15861 fail:
15862 {
15863 if (temp7)
15864 delete arg7;
15865 }
15866 return NULL;
15867 }
15868
15869
15870 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj = 0;
15872 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15873 size_t arg2 ;
15874 void *argp1 = 0 ;
15875 int res1 = 0 ;
15876 size_t val2 ;
15877 int ecode2 = 0 ;
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 char * kwnames[] = {
15881 (char *) "self",(char *) "count", NULL
15882 };
15883
15884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15886 if (!SWIG_IsOK(res1)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15888 }
15889 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15890 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15891 if (!SWIG_IsOK(ecode2)) {
15892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15893 }
15894 arg2 = static_cast< size_t >(val2);
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->SetItemCount(arg2);
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 resultobj = SWIG_Py_Void();
15902 return resultobj;
15903 fail:
15904 return NULL;
15905 }
15906
15907
15908 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15909 PyObject *resultobj = 0;
15910 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15911 wxFileSystem *result = 0 ;
15912 void *argp1 = 0 ;
15913 int res1 = 0 ;
15914 PyObject *swig_obj[1] ;
15915
15916 if (!args) SWIG_fail;
15917 swig_obj[0] = args;
15918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15919 if (!SWIG_IsOK(res1)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15921 }
15922 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15923 {
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 {
15926 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15927 result = (wxFileSystem *) &_result_ref;
15928 }
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15933 return resultobj;
15934 fail:
15935 return NULL;
15936 }
15937
15938
15939 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj = 0;
15941 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15942 size_t arg2 ;
15943 wxHtmlLinkInfo *arg3 = 0 ;
15944 void *argp1 = 0 ;
15945 int res1 = 0 ;
15946 size_t val2 ;
15947 int ecode2 = 0 ;
15948 void *argp3 = 0 ;
15949 int res3 = 0 ;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 PyObject * obj2 = 0 ;
15953 char * kwnames[] = {
15954 (char *) "self",(char *) "n",(char *) "link", NULL
15955 };
15956
15957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15959 if (!SWIG_IsOK(res1)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15961 }
15962 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15963 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15964 if (!SWIG_IsOK(ecode2)) {
15965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15966 }
15967 arg2 = static_cast< size_t >(val2);
15968 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15969 if (!SWIG_IsOK(res3)) {
15970 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15971 }
15972 if (!argp3) {
15973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15974 }
15975 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 resultobj = SWIG_Py_Void();
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15990 PyObject *obj;
15991 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15992 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15993 return SWIG_Py_Void();
15994 }
15995
15996 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15997 return SWIG_Python_InitShadowInstance(args);
15998 }
15999
16000 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16001 PyObject *resultobj = 0;
16002 wxPyTaskBarIcon *result = 0 ;
16003
16004 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16005 {
16006 if (!wxPyCheckForApp()) SWIG_fail;
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16013 return resultobj;
16014 fail:
16015 return NULL;
16016 }
16017
16018
16019 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16020 PyObject *resultobj = 0;
16021 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16022 void *argp1 = 0 ;
16023 int res1 = 0 ;
16024 PyObject *swig_obj[1] ;
16025
16026 if (!args) SWIG_fail;
16027 swig_obj[0] = args;
16028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16029 if (!SWIG_IsOK(res1)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16031 }
16032 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 delete arg1;
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 resultobj = SWIG_Py_Void();
16041 return resultobj;
16042 fail:
16043 return NULL;
16044 }
16045
16046
16047 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj = 0;
16049 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16050 PyObject *arg2 = (PyObject *) 0 ;
16051 PyObject *arg3 = (PyObject *) 0 ;
16052 int arg4 ;
16053 void *argp1 = 0 ;
16054 int res1 = 0 ;
16055 int val4 ;
16056 int ecode4 = 0 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 PyObject * obj2 = 0 ;
16060 PyObject * obj3 = 0 ;
16061 char * kwnames[] = {
16062 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16063 };
16064
16065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16067 if (!SWIG_IsOK(res1)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16069 }
16070 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16071 arg2 = obj1;
16072 arg3 = obj2;
16073 ecode4 = SWIG_AsVal_int(obj3, &val4);
16074 if (!SWIG_IsOK(ecode4)) {
16075 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16076 }
16077 arg4 = static_cast< int >(val4);
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 resultobj = SWIG_Py_Void();
16085 return resultobj;
16086 fail:
16087 return NULL;
16088 }
16089
16090
16091 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16092 PyObject *resultobj = 0;
16093 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16094 void *argp1 = 0 ;
16095 int res1 = 0 ;
16096 PyObject *swig_obj[1] ;
16097
16098 if (!args) SWIG_fail;
16099 swig_obj[0] = args;
16100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16101 if (!SWIG_IsOK(res1)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16103 }
16104 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 wxPyTaskBarIcon_Destroy(arg1);
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 resultobj = SWIG_Py_Void();
16112 return resultobj;
16113 fail:
16114 return NULL;
16115 }
16116
16117
16118 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16119 PyObject *resultobj = 0;
16120 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16121 bool result;
16122 void *argp1 = 0 ;
16123 int res1 = 0 ;
16124 PyObject *swig_obj[1] ;
16125
16126 if (!args) SWIG_fail;
16127 swig_obj[0] = args;
16128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16129 if (!SWIG_IsOK(res1)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16131 }
16132 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 {
16140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16141 }
16142 return resultobj;
16143 fail:
16144 return NULL;
16145 }
16146
16147
16148 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16149 PyObject *resultobj = 0;
16150 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16151 bool result;
16152 void *argp1 = 0 ;
16153 int res1 = 0 ;
16154 PyObject *swig_obj[1] ;
16155
16156 if (!args) SWIG_fail;
16157 swig_obj[0] = args;
16158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16159 if (!SWIG_IsOK(res1)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16161 }
16162 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16163 {
16164 PyThreadState* __tstate = wxPyBeginAllowThreads();
16165 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 {
16170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16171 }
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj = 0;
16180 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16181 wxIcon *arg2 = 0 ;
16182 wxString const &arg3_defvalue = wxPyEmptyString ;
16183 wxString *arg3 = (wxString *) &arg3_defvalue ;
16184 bool result;
16185 void *argp1 = 0 ;
16186 int res1 = 0 ;
16187 void *argp2 = 0 ;
16188 int res2 = 0 ;
16189 bool temp3 = false ;
16190 PyObject * obj0 = 0 ;
16191 PyObject * obj1 = 0 ;
16192 PyObject * obj2 = 0 ;
16193 char * kwnames[] = {
16194 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16195 };
16196
16197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16199 if (!SWIG_IsOK(res1)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16201 }
16202 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16203 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16204 if (!SWIG_IsOK(res2)) {
16205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16206 }
16207 if (!argp2) {
16208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16209 }
16210 arg2 = reinterpret_cast< wxIcon * >(argp2);
16211 if (obj2) {
16212 {
16213 arg3 = wxString_in_helper(obj2);
16214 if (arg3 == NULL) SWIG_fail;
16215 temp3 = true;
16216 }
16217 }
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16221 wxPyEndAllowThreads(__tstate);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 }
16224 {
16225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16226 }
16227 {
16228 if (temp3)
16229 delete arg3;
16230 }
16231 return resultobj;
16232 fail:
16233 {
16234 if (temp3)
16235 delete arg3;
16236 }
16237 return NULL;
16238 }
16239
16240
16241 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16242 PyObject *resultobj = 0;
16243 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16244 bool result;
16245 void *argp1 = 0 ;
16246 int res1 = 0 ;
16247 PyObject *swig_obj[1] ;
16248
16249 if (!args) SWIG_fail;
16250 swig_obj[0] = args;
16251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16252 if (!SWIG_IsOK(res1)) {
16253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16254 }
16255 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = (bool)(arg1)->RemoveIcon();
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16264 }
16265 return resultobj;
16266 fail:
16267 return NULL;
16268 }
16269
16270
16271 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj = 0;
16273 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16274 wxMenu *arg2 = (wxMenu *) 0 ;
16275 bool result;
16276 void *argp1 = 0 ;
16277 int res1 = 0 ;
16278 void *argp2 = 0 ;
16279 int res2 = 0 ;
16280 PyObject * obj0 = 0 ;
16281 PyObject * obj1 = 0 ;
16282 char * kwnames[] = {
16283 (char *) "self",(char *) "menu", NULL
16284 };
16285
16286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16288 if (!SWIG_IsOK(res1)) {
16289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16290 }
16291 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16292 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16293 if (!SWIG_IsOK(res2)) {
16294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16295 }
16296 arg2 = reinterpret_cast< wxMenu * >(argp2);
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 result = (bool)(arg1)->PopupMenu(arg2);
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 {
16304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16305 }
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16313 PyObject *obj;
16314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16316 return SWIG_Py_Void();
16317 }
16318
16319 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16320 return SWIG_Python_InitShadowInstance(args);
16321 }
16322
16323 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj = 0;
16325 wxEventType arg1 ;
16326 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16327 wxTaskBarIconEvent *result = 0 ;
16328 int val1 ;
16329 int ecode1 = 0 ;
16330 void *argp2 = 0 ;
16331 int res2 = 0 ;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 char * kwnames[] = {
16335 (char *) "evtType",(char *) "tbIcon", NULL
16336 };
16337
16338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16339 ecode1 = SWIG_AsVal_int(obj0, &val1);
16340 if (!SWIG_IsOK(ecode1)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16342 }
16343 arg1 = static_cast< wxEventType >(val1);
16344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16345 if (!SWIG_IsOK(res2)) {
16346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16347 }
16348 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16356 return resultobj;
16357 fail:
16358 return NULL;
16359 }
16360
16361
16362 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16363 PyObject *obj;
16364 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16365 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16366 return SWIG_Py_Void();
16367 }
16368
16369 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16370 return SWIG_Python_InitShadowInstance(args);
16371 }
16372
16373 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16374 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16375 return 1;
16376 }
16377
16378
16379 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16380 PyObject *pyobj = 0;
16381
16382 {
16383 #if wxUSE_UNICODE
16384 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16385 #else
16386 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16387 #endif
16388 }
16389 return pyobj;
16390 }
16391
16392
16393 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16394 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16395 return 1;
16396 }
16397
16398
16399 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16400 PyObject *pyobj = 0;
16401
16402 {
16403 #if wxUSE_UNICODE
16404 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16405 #else
16406 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16407 #endif
16408 }
16409 return pyobj;
16410 }
16411
16412
16413 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16414 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16415 return 1;
16416 }
16417
16418
16419 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16420 PyObject *pyobj = 0;
16421
16422 {
16423 #if wxUSE_UNICODE
16424 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16425 #else
16426 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16427 #endif
16428 }
16429 return pyobj;
16430 }
16431
16432
16433 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16434 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16435 return 1;
16436 }
16437
16438
16439 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16440 PyObject *pyobj = 0;
16441
16442 {
16443 #if wxUSE_UNICODE
16444 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16445 #else
16446 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16447 #endif
16448 }
16449 return pyobj;
16450 }
16451
16452
16453 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16454 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16455 return 1;
16456 }
16457
16458
16459 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16460 PyObject *pyobj = 0;
16461
16462 {
16463 #if wxUSE_UNICODE
16464 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16465 #else
16466 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16467 #endif
16468 }
16469 return pyobj;
16470 }
16471
16472
16473 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16474 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16475 return 1;
16476 }
16477
16478
16479 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16480 PyObject *pyobj = 0;
16481
16482 {
16483 #if wxUSE_UNICODE
16484 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16485 #else
16486 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16487 #endif
16488 }
16489 return pyobj;
16490 }
16491
16492
16493 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16494 PyObject *resultobj = 0;
16495 wxColourData *result = 0 ;
16496
16497 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16498 {
16499 PyThreadState* __tstate = wxPyBeginAllowThreads();
16500 result = (wxColourData *)new wxColourData();
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16512 PyObject *resultobj = 0;
16513 wxColourData *arg1 = (wxColourData *) 0 ;
16514 void *argp1 = 0 ;
16515 int res1 = 0 ;
16516 PyObject *swig_obj[1] ;
16517
16518 if (!args) SWIG_fail;
16519 swig_obj[0] = args;
16520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16521 if (!SWIG_IsOK(res1)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16523 }
16524 arg1 = reinterpret_cast< wxColourData * >(argp1);
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 delete arg1;
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 resultobj = SWIG_Py_Void();
16533 return resultobj;
16534 fail:
16535 return NULL;
16536 }
16537
16538
16539 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16540 PyObject *resultobj = 0;
16541 wxColourData *arg1 = (wxColourData *) 0 ;
16542 bool result;
16543 void *argp1 = 0 ;
16544 int res1 = 0 ;
16545 PyObject *swig_obj[1] ;
16546
16547 if (!args) SWIG_fail;
16548 swig_obj[0] = args;
16549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16550 if (!SWIG_IsOK(res1)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16552 }
16553 arg1 = reinterpret_cast< wxColourData * >(argp1);
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 result = (bool)(arg1)->GetChooseFull();
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 {
16561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16562 }
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16570 PyObject *resultobj = 0;
16571 wxColourData *arg1 = (wxColourData *) 0 ;
16572 wxColour result;
16573 void *argp1 = 0 ;
16574 int res1 = 0 ;
16575 PyObject *swig_obj[1] ;
16576
16577 if (!args) SWIG_fail;
16578 swig_obj[0] = args;
16579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16580 if (!SWIG_IsOK(res1)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16582 }
16583 arg1 = reinterpret_cast< wxColourData * >(argp1);
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (arg1)->GetColour();
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj = 0;
16599 wxColourData *arg1 = (wxColourData *) 0 ;
16600 int arg2 ;
16601 wxColour result;
16602 void *argp1 = 0 ;
16603 int res1 = 0 ;
16604 int val2 ;
16605 int ecode2 = 0 ;
16606 PyObject * obj0 = 0 ;
16607 PyObject * obj1 = 0 ;
16608 char * kwnames[] = {
16609 (char *) "self",(char *) "i", NULL
16610 };
16611
16612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16614 if (!SWIG_IsOK(res1)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16616 }
16617 arg1 = reinterpret_cast< wxColourData * >(argp1);
16618 ecode2 = SWIG_AsVal_int(obj1, &val2);
16619 if (!SWIG_IsOK(ecode2)) {
16620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16621 }
16622 arg2 = static_cast< int >(val2);
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = (arg1)->GetCustomColour(arg2);
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj = 0;
16638 wxColourData *arg1 = (wxColourData *) 0 ;
16639 int arg2 ;
16640 void *argp1 = 0 ;
16641 int res1 = 0 ;
16642 int val2 ;
16643 int ecode2 = 0 ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 char * kwnames[] = {
16647 (char *) "self",(char *) "flag", NULL
16648 };
16649
16650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16652 if (!SWIG_IsOK(res1)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16654 }
16655 arg1 = reinterpret_cast< wxColourData * >(argp1);
16656 ecode2 = SWIG_AsVal_int(obj1, &val2);
16657 if (!SWIG_IsOK(ecode2)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16659 }
16660 arg2 = static_cast< int >(val2);
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 (arg1)->SetChooseFull(arg2);
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 resultobj = SWIG_Py_Void();
16668 return resultobj;
16669 fail:
16670 return NULL;
16671 }
16672
16673
16674 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16675 PyObject *resultobj = 0;
16676 wxColourData *arg1 = (wxColourData *) 0 ;
16677 wxColour *arg2 = 0 ;
16678 void *argp1 = 0 ;
16679 int res1 = 0 ;
16680 wxColour temp2 ;
16681 PyObject * obj0 = 0 ;
16682 PyObject * obj1 = 0 ;
16683 char * kwnames[] = {
16684 (char *) "self",(char *) "colour", NULL
16685 };
16686
16687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16689 if (!SWIG_IsOK(res1)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16691 }
16692 arg1 = reinterpret_cast< wxColourData * >(argp1);
16693 {
16694 arg2 = &temp2;
16695 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16696 }
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 (arg1)->SetColour((wxColour const &)*arg2);
16700 wxPyEndAllowThreads(__tstate);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 }
16703 resultobj = SWIG_Py_Void();
16704 return resultobj;
16705 fail:
16706 return NULL;
16707 }
16708
16709
16710 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj = 0;
16712 wxColourData *arg1 = (wxColourData *) 0 ;
16713 int arg2 ;
16714 wxColour *arg3 = 0 ;
16715 void *argp1 = 0 ;
16716 int res1 = 0 ;
16717 int val2 ;
16718 int ecode2 = 0 ;
16719 wxColour temp3 ;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 PyObject * obj2 = 0 ;
16723 char * kwnames[] = {
16724 (char *) "self",(char *) "i",(char *) "colour", NULL
16725 };
16726
16727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16729 if (!SWIG_IsOK(res1)) {
16730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16731 }
16732 arg1 = reinterpret_cast< wxColourData * >(argp1);
16733 ecode2 = SWIG_AsVal_int(obj1, &val2);
16734 if (!SWIG_IsOK(ecode2)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16736 }
16737 arg2 = static_cast< int >(val2);
16738 {
16739 arg3 = &temp3;
16740 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16741 }
16742 {
16743 PyThreadState* __tstate = wxPyBeginAllowThreads();
16744 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 resultobj = SWIG_Py_Void();
16749 return resultobj;
16750 fail:
16751 return NULL;
16752 }
16753
16754
16755 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16756 PyObject *obj;
16757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16758 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16759 return SWIG_Py_Void();
16760 }
16761
16762 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16763 return SWIG_Python_InitShadowInstance(args);
16764 }
16765
16766 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj = 0;
16768 wxWindow *arg1 = (wxWindow *) 0 ;
16769 wxColourData *arg2 = (wxColourData *) NULL ;
16770 wxColourDialog *result = 0 ;
16771 void *argp1 = 0 ;
16772 int res1 = 0 ;
16773 void *argp2 = 0 ;
16774 int res2 = 0 ;
16775 PyObject * obj0 = 0 ;
16776 PyObject * obj1 = 0 ;
16777 char * kwnames[] = {
16778 (char *) "parent",(char *) "data", NULL
16779 };
16780
16781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16783 if (!SWIG_IsOK(res1)) {
16784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16785 }
16786 arg1 = reinterpret_cast< wxWindow * >(argp1);
16787 if (obj1) {
16788 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16789 if (!SWIG_IsOK(res2)) {
16790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16791 }
16792 arg2 = reinterpret_cast< wxColourData * >(argp2);
16793 }
16794 {
16795 if (!wxPyCheckForApp()) SWIG_fail;
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16802 return resultobj;
16803 fail:
16804 return NULL;
16805 }
16806
16807
16808 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16809 PyObject *resultobj = 0;
16810 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16811 wxColourData *result = 0 ;
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_wxColourDialog, 0 | 0 );
16819 if (!SWIG_IsOK(res1)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16821 }
16822 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 {
16826 wxColourData &_result_ref = (arg1)->GetColourData();
16827 result = (wxColourData *) &_result_ref;
16828 }
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16840 PyObject *obj;
16841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16842 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16843 return SWIG_Py_Void();
16844 }
16845
16846 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16847 return SWIG_Python_InitShadowInstance(args);
16848 }
16849
16850 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj = 0;
16852 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16853 wxColour const &arg2_defvalue = wxNullColour ;
16854 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16855 wxString const &arg3_defvalue = wxPyEmptyString ;
16856 wxString *arg3 = (wxString *) &arg3_defvalue ;
16857 wxColour result;
16858 void *argp1 = 0 ;
16859 int res1 = 0 ;
16860 wxColour temp2 ;
16861 bool temp3 = false ;
16862 PyObject * obj0 = 0 ;
16863 PyObject * obj1 = 0 ;
16864 PyObject * obj2 = 0 ;
16865 char * kwnames[] = {
16866 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16867 };
16868
16869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16870 if (obj0) {
16871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16872 if (!SWIG_IsOK(res1)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16874 }
16875 arg1 = reinterpret_cast< wxWindow * >(argp1);
16876 }
16877 if (obj1) {
16878 {
16879 arg2 = &temp2;
16880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16881 }
16882 }
16883 if (obj2) {
16884 {
16885 arg3 = wxString_in_helper(obj2);
16886 if (arg3 == NULL) SWIG_fail;
16887 temp3 = true;
16888 }
16889 }
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16897 {
16898 if (temp3)
16899 delete arg3;
16900 }
16901 return resultobj;
16902 fail:
16903 {
16904 if (temp3)
16905 delete arg3;
16906 }
16907 return NULL;
16908 }
16909
16910
16911 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj = 0;
16913 wxWindow *arg1 = (wxWindow *) 0 ;
16914 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16915 wxString *arg2 = (wxString *) &arg2_defvalue ;
16916 wxString const &arg3_defvalue = wxPyEmptyString ;
16917 wxString *arg3 = (wxString *) &arg3_defvalue ;
16918 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16919 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16920 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16921 wxSize const &arg6_defvalue = wxDefaultSize ;
16922 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16923 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16924 wxString *arg7 = (wxString *) &arg7_defvalue ;
16925 wxDirDialog *result = 0 ;
16926 void *argp1 = 0 ;
16927 int res1 = 0 ;
16928 bool temp2 = false ;
16929 bool temp3 = false ;
16930 long val4 ;
16931 int ecode4 = 0 ;
16932 wxPoint temp5 ;
16933 wxSize temp6 ;
16934 bool temp7 = false ;
16935 PyObject * obj0 = 0 ;
16936 PyObject * obj1 = 0 ;
16937 PyObject * obj2 = 0 ;
16938 PyObject * obj3 = 0 ;
16939 PyObject * obj4 = 0 ;
16940 PyObject * obj5 = 0 ;
16941 PyObject * obj6 = 0 ;
16942 char * kwnames[] = {
16943 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16944 };
16945
16946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16948 if (!SWIG_IsOK(res1)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16950 }
16951 arg1 = reinterpret_cast< wxWindow * >(argp1);
16952 if (obj1) {
16953 {
16954 arg2 = wxString_in_helper(obj1);
16955 if (arg2 == NULL) SWIG_fail;
16956 temp2 = true;
16957 }
16958 }
16959 if (obj2) {
16960 {
16961 arg3 = wxString_in_helper(obj2);
16962 if (arg3 == NULL) SWIG_fail;
16963 temp3 = true;
16964 }
16965 }
16966 if (obj3) {
16967 ecode4 = SWIG_AsVal_long(obj3, &val4);
16968 if (!SWIG_IsOK(ecode4)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16970 }
16971 arg4 = static_cast< long >(val4);
16972 }
16973 if (obj4) {
16974 {
16975 arg5 = &temp5;
16976 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16977 }
16978 }
16979 if (obj5) {
16980 {
16981 arg6 = &temp6;
16982 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16983 }
16984 }
16985 if (obj6) {
16986 {
16987 arg7 = wxString_in_helper(obj6);
16988 if (arg7 == NULL) SWIG_fail;
16989 temp7 = true;
16990 }
16991 }
16992 {
16993 if (!wxPyCheckForApp()) SWIG_fail;
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17000 {
17001 if (temp2)
17002 delete arg2;
17003 }
17004 {
17005 if (temp3)
17006 delete arg3;
17007 }
17008 {
17009 if (temp7)
17010 delete arg7;
17011 }
17012 return resultobj;
17013 fail:
17014 {
17015 if (temp2)
17016 delete arg2;
17017 }
17018 {
17019 if (temp3)
17020 delete arg3;
17021 }
17022 {
17023 if (temp7)
17024 delete arg7;
17025 }
17026 return NULL;
17027 }
17028
17029
17030 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17031 PyObject *resultobj = 0;
17032 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17033 wxString result;
17034 void *argp1 = 0 ;
17035 int res1 = 0 ;
17036 PyObject *swig_obj[1] ;
17037
17038 if (!args) SWIG_fail;
17039 swig_obj[0] = args;
17040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17041 if (!SWIG_IsOK(res1)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17043 }
17044 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17045 {
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 result = (arg1)->GetPath();
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 {
17052 #if wxUSE_UNICODE
17053 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17054 #else
17055 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17056 #endif
17057 }
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17065 PyObject *resultobj = 0;
17066 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17067 wxString result;
17068 void *argp1 = 0 ;
17069 int res1 = 0 ;
17070 PyObject *swig_obj[1] ;
17071
17072 if (!args) SWIG_fail;
17073 swig_obj[0] = args;
17074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17075 if (!SWIG_IsOK(res1)) {
17076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17077 }
17078 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 result = (arg1)->GetMessage();
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 {
17086 #if wxUSE_UNICODE
17087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17088 #else
17089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17090 #endif
17091 }
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj = 0;
17100 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17101 wxString *arg2 = 0 ;
17102 void *argp1 = 0 ;
17103 int res1 = 0 ;
17104 bool temp2 = false ;
17105 PyObject * obj0 = 0 ;
17106 PyObject * obj1 = 0 ;
17107 char * kwnames[] = {
17108 (char *) "self",(char *) "message", NULL
17109 };
17110
17111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17113 if (!SWIG_IsOK(res1)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17115 }
17116 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17117 {
17118 arg2 = wxString_in_helper(obj1);
17119 if (arg2 == NULL) SWIG_fail;
17120 temp2 = true;
17121 }
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 (arg1)->SetMessage((wxString const &)*arg2);
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = SWIG_Py_Void();
17129 {
17130 if (temp2)
17131 delete arg2;
17132 }
17133 return resultobj;
17134 fail:
17135 {
17136 if (temp2)
17137 delete arg2;
17138 }
17139 return NULL;
17140 }
17141
17142
17143 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj = 0;
17145 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17146 wxString *arg2 = 0 ;
17147 void *argp1 = 0 ;
17148 int res1 = 0 ;
17149 bool temp2 = false ;
17150 PyObject * obj0 = 0 ;
17151 PyObject * obj1 = 0 ;
17152 char * kwnames[] = {
17153 (char *) "self",(char *) "path", NULL
17154 };
17155
17156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17158 if (!SWIG_IsOK(res1)) {
17159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17160 }
17161 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17162 {
17163 arg2 = wxString_in_helper(obj1);
17164 if (arg2 == NULL) SWIG_fail;
17165 temp2 = true;
17166 }
17167 {
17168 PyThreadState* __tstate = wxPyBeginAllowThreads();
17169 (arg1)->SetPath((wxString const &)*arg2);
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 resultobj = SWIG_Py_Void();
17174 {
17175 if (temp2)
17176 delete arg2;
17177 }
17178 return resultobj;
17179 fail:
17180 {
17181 if (temp2)
17182 delete arg2;
17183 }
17184 return NULL;
17185 }
17186
17187
17188 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17189 PyObject *obj;
17190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17191 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17192 return SWIG_Py_Void();
17193 }
17194
17195 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17196 return SWIG_Python_InitShadowInstance(args);
17197 }
17198
17199 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj = 0;
17201 wxWindow *arg1 = (wxWindow *) 0 ;
17202 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17203 wxString *arg2 = (wxString *) &arg2_defvalue ;
17204 wxString const &arg3_defvalue = wxPyEmptyString ;
17205 wxString *arg3 = (wxString *) &arg3_defvalue ;
17206 wxString const &arg4_defvalue = wxPyEmptyString ;
17207 wxString *arg4 = (wxString *) &arg4_defvalue ;
17208 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17209 wxString *arg5 = (wxString *) &arg5_defvalue ;
17210 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17211 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17212 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17213 wxFileDialog *result = 0 ;
17214 void *argp1 = 0 ;
17215 int res1 = 0 ;
17216 bool temp2 = false ;
17217 bool temp3 = false ;
17218 bool temp4 = false ;
17219 bool temp5 = false ;
17220 long val6 ;
17221 int ecode6 = 0 ;
17222 wxPoint temp7 ;
17223 PyObject * obj0 = 0 ;
17224 PyObject * obj1 = 0 ;
17225 PyObject * obj2 = 0 ;
17226 PyObject * obj3 = 0 ;
17227 PyObject * obj4 = 0 ;
17228 PyObject * obj5 = 0 ;
17229 PyObject * obj6 = 0 ;
17230 char * kwnames[] = {
17231 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17232 };
17233
17234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17236 if (!SWIG_IsOK(res1)) {
17237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17238 }
17239 arg1 = reinterpret_cast< wxWindow * >(argp1);
17240 if (obj1) {
17241 {
17242 arg2 = wxString_in_helper(obj1);
17243 if (arg2 == NULL) SWIG_fail;
17244 temp2 = true;
17245 }
17246 }
17247 if (obj2) {
17248 {
17249 arg3 = wxString_in_helper(obj2);
17250 if (arg3 == NULL) SWIG_fail;
17251 temp3 = true;
17252 }
17253 }
17254 if (obj3) {
17255 {
17256 arg4 = wxString_in_helper(obj3);
17257 if (arg4 == NULL) SWIG_fail;
17258 temp4 = true;
17259 }
17260 }
17261 if (obj4) {
17262 {
17263 arg5 = wxString_in_helper(obj4);
17264 if (arg5 == NULL) SWIG_fail;
17265 temp5 = true;
17266 }
17267 }
17268 if (obj5) {
17269 ecode6 = SWIG_AsVal_long(obj5, &val6);
17270 if (!SWIG_IsOK(ecode6)) {
17271 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17272 }
17273 arg6 = static_cast< long >(val6);
17274 }
17275 if (obj6) {
17276 {
17277 arg7 = &temp7;
17278 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17279 }
17280 }
17281 {
17282 if (!wxPyCheckForApp()) SWIG_fail;
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17289 {
17290 if (temp2)
17291 delete arg2;
17292 }
17293 {
17294 if (temp3)
17295 delete arg3;
17296 }
17297 {
17298 if (temp4)
17299 delete arg4;
17300 }
17301 {
17302 if (temp5)
17303 delete arg5;
17304 }
17305 return resultobj;
17306 fail:
17307 {
17308 if (temp2)
17309 delete arg2;
17310 }
17311 {
17312 if (temp3)
17313 delete arg3;
17314 }
17315 {
17316 if (temp4)
17317 delete arg4;
17318 }
17319 {
17320 if (temp5)
17321 delete arg5;
17322 }
17323 return NULL;
17324 }
17325
17326
17327 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj = 0;
17329 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17330 wxString *arg2 = 0 ;
17331 void *argp1 = 0 ;
17332 int res1 = 0 ;
17333 bool temp2 = false ;
17334 PyObject * obj0 = 0 ;
17335 PyObject * obj1 = 0 ;
17336 char * kwnames[] = {
17337 (char *) "self",(char *) "message", NULL
17338 };
17339
17340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17342 if (!SWIG_IsOK(res1)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17344 }
17345 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17346 {
17347 arg2 = wxString_in_helper(obj1);
17348 if (arg2 == NULL) SWIG_fail;
17349 temp2 = true;
17350 }
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 (arg1)->SetMessage((wxString const &)*arg2);
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = SWIG_Py_Void();
17358 {
17359 if (temp2)
17360 delete arg2;
17361 }
17362 return resultobj;
17363 fail:
17364 {
17365 if (temp2)
17366 delete arg2;
17367 }
17368 return NULL;
17369 }
17370
17371
17372 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj = 0;
17374 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17375 wxString *arg2 = 0 ;
17376 void *argp1 = 0 ;
17377 int res1 = 0 ;
17378 bool temp2 = false ;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 char * kwnames[] = {
17382 (char *) "self",(char *) "path", NULL
17383 };
17384
17385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17387 if (!SWIG_IsOK(res1)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17389 }
17390 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17391 {
17392 arg2 = wxString_in_helper(obj1);
17393 if (arg2 == NULL) SWIG_fail;
17394 temp2 = true;
17395 }
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 (arg1)->SetPath((wxString const &)*arg2);
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 resultobj = SWIG_Py_Void();
17403 {
17404 if (temp2)
17405 delete arg2;
17406 }
17407 return resultobj;
17408 fail:
17409 {
17410 if (temp2)
17411 delete arg2;
17412 }
17413 return NULL;
17414 }
17415
17416
17417 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj = 0;
17419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17420 wxString *arg2 = 0 ;
17421 void *argp1 = 0 ;
17422 int res1 = 0 ;
17423 bool temp2 = false ;
17424 PyObject * obj0 = 0 ;
17425 PyObject * obj1 = 0 ;
17426 char * kwnames[] = {
17427 (char *) "self",(char *) "dir", NULL
17428 };
17429
17430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17432 if (!SWIG_IsOK(res1)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17434 }
17435 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17436 {
17437 arg2 = wxString_in_helper(obj1);
17438 if (arg2 == NULL) SWIG_fail;
17439 temp2 = true;
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 (arg1)->SetDirectory((wxString const &)*arg2);
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = SWIG_Py_Void();
17448 {
17449 if (temp2)
17450 delete arg2;
17451 }
17452 return resultobj;
17453 fail:
17454 {
17455 if (temp2)
17456 delete arg2;
17457 }
17458 return NULL;
17459 }
17460
17461
17462 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17463 PyObject *resultobj = 0;
17464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17465 wxString *arg2 = 0 ;
17466 void *argp1 = 0 ;
17467 int res1 = 0 ;
17468 bool temp2 = false ;
17469 PyObject * obj0 = 0 ;
17470 PyObject * obj1 = 0 ;
17471 char * kwnames[] = {
17472 (char *) "self",(char *) "name", NULL
17473 };
17474
17475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17477 if (!SWIG_IsOK(res1)) {
17478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17479 }
17480 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17481 {
17482 arg2 = wxString_in_helper(obj1);
17483 if (arg2 == NULL) SWIG_fail;
17484 temp2 = true;
17485 }
17486 {
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 (arg1)->SetFilename((wxString const &)*arg2);
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 resultobj = SWIG_Py_Void();
17493 {
17494 if (temp2)
17495 delete arg2;
17496 }
17497 return resultobj;
17498 fail:
17499 {
17500 if (temp2)
17501 delete arg2;
17502 }
17503 return NULL;
17504 }
17505
17506
17507 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj = 0;
17509 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17510 wxString *arg2 = 0 ;
17511 void *argp1 = 0 ;
17512 int res1 = 0 ;
17513 bool temp2 = false ;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 char * kwnames[] = {
17517 (char *) "self",(char *) "wildCard", NULL
17518 };
17519
17520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17522 if (!SWIG_IsOK(res1)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17524 }
17525 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17526 {
17527 arg2 = wxString_in_helper(obj1);
17528 if (arg2 == NULL) SWIG_fail;
17529 temp2 = true;
17530 }
17531 {
17532 PyThreadState* __tstate = wxPyBeginAllowThreads();
17533 (arg1)->SetWildcard((wxString const &)*arg2);
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 resultobj = SWIG_Py_Void();
17538 {
17539 if (temp2)
17540 delete arg2;
17541 }
17542 return resultobj;
17543 fail:
17544 {
17545 if (temp2)
17546 delete arg2;
17547 }
17548 return NULL;
17549 }
17550
17551
17552 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj = 0;
17554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17555 int arg2 ;
17556 void *argp1 = 0 ;
17557 int res1 = 0 ;
17558 int val2 ;
17559 int ecode2 = 0 ;
17560 PyObject * obj0 = 0 ;
17561 PyObject * obj1 = 0 ;
17562 char * kwnames[] = {
17563 (char *) "self",(char *) "filterIndex", NULL
17564 };
17565
17566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17568 if (!SWIG_IsOK(res1)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17570 }
17571 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17572 ecode2 = SWIG_AsVal_int(obj1, &val2);
17573 if (!SWIG_IsOK(ecode2)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17575 }
17576 arg2 = static_cast< int >(val2);
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 (arg1)->SetFilterIndex(arg2);
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 resultobj = SWIG_Py_Void();
17584 return resultobj;
17585 fail:
17586 return NULL;
17587 }
17588
17589
17590 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17591 PyObject *resultobj = 0;
17592 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17593 wxString result;
17594 void *argp1 = 0 ;
17595 int res1 = 0 ;
17596 PyObject *swig_obj[1] ;
17597
17598 if (!args) SWIG_fail;
17599 swig_obj[0] = args;
17600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17601 if (!SWIG_IsOK(res1)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17603 }
17604 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = ((wxFileDialog const *)arg1)->GetMessage();
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612 #if wxUSE_UNICODE
17613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17614 #else
17615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17616 #endif
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17625 PyObject *resultobj = 0;
17626 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17627 wxString result;
17628 void *argp1 = 0 ;
17629 int res1 = 0 ;
17630 PyObject *swig_obj[1] ;
17631
17632 if (!args) SWIG_fail;
17633 swig_obj[0] = args;
17634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17635 if (!SWIG_IsOK(res1)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17637 }
17638 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = ((wxFileDialog const *)arg1)->GetPath();
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 {
17646 #if wxUSE_UNICODE
17647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17648 #else
17649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17650 #endif
17651 }
17652 return resultobj;
17653 fail:
17654 return NULL;
17655 }
17656
17657
17658 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17659 PyObject *resultobj = 0;
17660 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17661 wxString result;
17662 void *argp1 = 0 ;
17663 int res1 = 0 ;
17664 PyObject *swig_obj[1] ;
17665
17666 if (!args) SWIG_fail;
17667 swig_obj[0] = args;
17668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17669 if (!SWIG_IsOK(res1)) {
17670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17671 }
17672 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = ((wxFileDialog const *)arg1)->GetDirectory();
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 {
17680 #if wxUSE_UNICODE
17681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17682 #else
17683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17684 #endif
17685 }
17686 return resultobj;
17687 fail:
17688 return NULL;
17689 }
17690
17691
17692 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17693 PyObject *resultobj = 0;
17694 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17695 wxString result;
17696 void *argp1 = 0 ;
17697 int res1 = 0 ;
17698 PyObject *swig_obj[1] ;
17699
17700 if (!args) SWIG_fail;
17701 swig_obj[0] = args;
17702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17703 if (!SWIG_IsOK(res1)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17705 }
17706 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 result = ((wxFileDialog const *)arg1)->GetFilename();
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 {
17714 #if wxUSE_UNICODE
17715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17716 #else
17717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17718 #endif
17719 }
17720 return resultobj;
17721 fail:
17722 return NULL;
17723 }
17724
17725
17726 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17727 PyObject *resultobj = 0;
17728 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17729 wxString result;
17730 void *argp1 = 0 ;
17731 int res1 = 0 ;
17732 PyObject *swig_obj[1] ;
17733
17734 if (!args) SWIG_fail;
17735 swig_obj[0] = args;
17736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17737 if (!SWIG_IsOK(res1)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17739 }
17740 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = ((wxFileDialog const *)arg1)->GetWildcard();
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748 #if wxUSE_UNICODE
17749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17750 #else
17751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17752 #endif
17753 }
17754 return resultobj;
17755 fail:
17756 return NULL;
17757 }
17758
17759
17760 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17761 PyObject *resultobj = 0;
17762 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17763 int result;
17764 void *argp1 = 0 ;
17765 int res1 = 0 ;
17766 PyObject *swig_obj[1] ;
17767
17768 if (!args) SWIG_fail;
17769 swig_obj[0] = args;
17770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17771 if (!SWIG_IsOK(res1)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17773 }
17774 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 resultobj = SWIG_From_int(static_cast< int >(result));
17782 return resultobj;
17783 fail:
17784 return NULL;
17785 }
17786
17787
17788 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17789 PyObject *resultobj = 0;
17790 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17791 PyObject *result = 0 ;
17792 void *argp1 = 0 ;
17793 int res1 = 0 ;
17794 PyObject *swig_obj[1] ;
17795
17796 if (!args) SWIG_fail;
17797 swig_obj[0] = args;
17798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17799 if (!SWIG_IsOK(res1)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17801 }
17802 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 resultobj = result;
17810 return resultobj;
17811 fail:
17812 return NULL;
17813 }
17814
17815
17816 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17817 PyObject *resultobj = 0;
17818 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17819 PyObject *result = 0 ;
17820 void *argp1 = 0 ;
17821 int res1 = 0 ;
17822 PyObject *swig_obj[1] ;
17823
17824 if (!args) SWIG_fail;
17825 swig_obj[0] = args;
17826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17827 if (!SWIG_IsOK(res1)) {
17828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17829 }
17830 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 resultobj = result;
17838 return resultobj;
17839 fail:
17840 return NULL;
17841 }
17842
17843
17844 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17845 PyObject *obj;
17846 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17847 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17848 return SWIG_Py_Void();
17849 }
17850
17851 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17852 return SWIG_Python_InitShadowInstance(args);
17853 }
17854
17855 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj = 0;
17857 wxWindow *arg1 = (wxWindow *) 0 ;
17858 wxString *arg2 = 0 ;
17859 wxString *arg3 = 0 ;
17860 int arg4 = (int) 0 ;
17861 wxString *arg5 = (wxString *) NULL ;
17862 long arg6 = (long) wxCHOICEDLG_STYLE ;
17863 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17864 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17865 wxMultiChoiceDialog *result = 0 ;
17866 void *argp1 = 0 ;
17867 int res1 = 0 ;
17868 bool temp2 = false ;
17869 bool temp3 = false ;
17870 long val6 ;
17871 int ecode6 = 0 ;
17872 wxPoint temp7 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 PyObject * obj2 = 0 ;
17876 PyObject * obj3 = 0 ;
17877 PyObject * obj4 = 0 ;
17878 PyObject * obj5 = 0 ;
17879 char * kwnames[] = {
17880 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17881 };
17882
17883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17885 if (!SWIG_IsOK(res1)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17887 }
17888 arg1 = reinterpret_cast< wxWindow * >(argp1);
17889 {
17890 arg2 = wxString_in_helper(obj1);
17891 if (arg2 == NULL) SWIG_fail;
17892 temp2 = true;
17893 }
17894 {
17895 arg3 = wxString_in_helper(obj2);
17896 if (arg3 == NULL) SWIG_fail;
17897 temp3 = true;
17898 }
17899 if (obj3) {
17900 {
17901 arg4 = PyList_Size(obj3);
17902 arg5 = wxString_LIST_helper(obj3);
17903 if (arg5 == NULL) SWIG_fail;
17904 }
17905 }
17906 if (obj4) {
17907 ecode6 = SWIG_AsVal_long(obj4, &val6);
17908 if (!SWIG_IsOK(ecode6)) {
17909 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17910 }
17911 arg6 = static_cast< long >(val6);
17912 }
17913 if (obj5) {
17914 {
17915 arg7 = &temp7;
17916 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17917 }
17918 }
17919 {
17920 if (!wxPyCheckForApp()) SWIG_fail;
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17927 {
17928 if (temp2)
17929 delete arg2;
17930 }
17931 {
17932 if (temp3)
17933 delete arg3;
17934 }
17935 {
17936 if (arg5) delete [] arg5;
17937 }
17938 return resultobj;
17939 fail:
17940 {
17941 if (temp2)
17942 delete arg2;
17943 }
17944 {
17945 if (temp3)
17946 delete arg3;
17947 }
17948 {
17949 if (arg5) delete [] arg5;
17950 }
17951 return NULL;
17952 }
17953
17954
17955 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj = 0;
17957 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17958 wxArrayInt *arg2 = 0 ;
17959 void *argp1 = 0 ;
17960 int res1 = 0 ;
17961 bool temp2 = false ;
17962 PyObject * obj0 = 0 ;
17963 PyObject * obj1 = 0 ;
17964 char * kwnames[] = {
17965 (char *) "self",(char *) "selections", NULL
17966 };
17967
17968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17970 if (!SWIG_IsOK(res1)) {
17971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17972 }
17973 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17974 {
17975 if (! PySequence_Check(obj1)) {
17976 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17977 SWIG_fail;
17978 }
17979 arg2 = new wxArrayInt;
17980 temp2 = true;
17981 int i, len=PySequence_Length(obj1);
17982 for (i=0; i<len; i++) {
17983 PyObject* item = PySequence_GetItem(obj1, i);
17984 PyObject* number = PyNumber_Int(item);
17985 arg2->Add(PyInt_AS_LONG(number));
17986 Py_DECREF(item);
17987 Py_DECREF(number);
17988 }
17989 }
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 resultobj = SWIG_Py_Void();
17997 {
17998 if (temp2) delete arg2;
17999 }
18000 return resultobj;
18001 fail:
18002 {
18003 if (temp2) delete arg2;
18004 }
18005 return NULL;
18006 }
18007
18008
18009 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18010 PyObject *resultobj = 0;
18011 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18012 PyObject *result = 0 ;
18013 void *argp1 = 0 ;
18014 int res1 = 0 ;
18015 PyObject *swig_obj[1] ;
18016
18017 if (!args) SWIG_fail;
18018 swig_obj[0] = args;
18019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18020 if (!SWIG_IsOK(res1)) {
18021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18022 }
18023 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
18030 resultobj = result;
18031 return resultobj;
18032 fail:
18033 return NULL;
18034 }
18035
18036
18037 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18038 PyObject *obj;
18039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18040 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18041 return SWIG_Py_Void();
18042 }
18043
18044 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18045 return SWIG_Python_InitShadowInstance(args);
18046 }
18047
18048 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj = 0;
18050 wxWindow *arg1 = (wxWindow *) 0 ;
18051 wxString *arg2 = 0 ;
18052 wxString *arg3 = 0 ;
18053 int arg4 ;
18054 wxString *arg5 = (wxString *) 0 ;
18055 long arg6 = (long) wxCHOICEDLG_STYLE ;
18056 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18057 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18058 wxSingleChoiceDialog *result = 0 ;
18059 void *argp1 = 0 ;
18060 int res1 = 0 ;
18061 bool temp2 = false ;
18062 bool temp3 = false ;
18063 long val6 ;
18064 int ecode6 = 0 ;
18065 wxPoint temp7 ;
18066 PyObject * obj0 = 0 ;
18067 PyObject * obj1 = 0 ;
18068 PyObject * obj2 = 0 ;
18069 PyObject * obj3 = 0 ;
18070 PyObject * obj4 = 0 ;
18071 PyObject * obj5 = 0 ;
18072 char * kwnames[] = {
18073 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18074 };
18075
18076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18078 if (!SWIG_IsOK(res1)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18080 }
18081 arg1 = reinterpret_cast< wxWindow * >(argp1);
18082 {
18083 arg2 = wxString_in_helper(obj1);
18084 if (arg2 == NULL) SWIG_fail;
18085 temp2 = true;
18086 }
18087 {
18088 arg3 = wxString_in_helper(obj2);
18089 if (arg3 == NULL) SWIG_fail;
18090 temp3 = true;
18091 }
18092 {
18093 arg4 = PyList_Size(obj3);
18094 arg5 = wxString_LIST_helper(obj3);
18095 if (arg5 == NULL) SWIG_fail;
18096 }
18097 if (obj4) {
18098 ecode6 = SWIG_AsVal_long(obj4, &val6);
18099 if (!SWIG_IsOK(ecode6)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18101 }
18102 arg6 = static_cast< long >(val6);
18103 }
18104 if (obj5) {
18105 {
18106 arg7 = &temp7;
18107 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18108 }
18109 }
18110 {
18111 if (!wxPyCheckForApp()) SWIG_fail;
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18118 {
18119 if (temp2)
18120 delete arg2;
18121 }
18122 {
18123 if (temp3)
18124 delete arg3;
18125 }
18126 {
18127 if (arg5) delete [] arg5;
18128 }
18129 return resultobj;
18130 fail:
18131 {
18132 if (temp2)
18133 delete arg2;
18134 }
18135 {
18136 if (temp3)
18137 delete arg3;
18138 }
18139 {
18140 if (arg5) delete [] arg5;
18141 }
18142 return NULL;
18143 }
18144
18145
18146 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18147 PyObject *resultobj = 0;
18148 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18149 int result;
18150 void *argp1 = 0 ;
18151 int res1 = 0 ;
18152 PyObject *swig_obj[1] ;
18153
18154 if (!args) SWIG_fail;
18155 swig_obj[0] = args;
18156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18157 if (!SWIG_IsOK(res1)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18159 }
18160 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 result = (int)(arg1)->GetSelection();
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 resultobj = SWIG_From_int(static_cast< int >(result));
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18175 PyObject *resultobj = 0;
18176 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18177 wxString result;
18178 void *argp1 = 0 ;
18179 int res1 = 0 ;
18180 PyObject *swig_obj[1] ;
18181
18182 if (!args) SWIG_fail;
18183 swig_obj[0] = args;
18184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18185 if (!SWIG_IsOK(res1)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18187 }
18188 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 result = (arg1)->GetStringSelection();
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 {
18196 #if wxUSE_UNICODE
18197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18198 #else
18199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18200 #endif
18201 }
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj = 0;
18210 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18211 int arg2 ;
18212 void *argp1 = 0 ;
18213 int res1 = 0 ;
18214 int val2 ;
18215 int ecode2 = 0 ;
18216 PyObject * obj0 = 0 ;
18217 PyObject * obj1 = 0 ;
18218 char * kwnames[] = {
18219 (char *) "self",(char *) "sel", NULL
18220 };
18221
18222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18224 if (!SWIG_IsOK(res1)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18226 }
18227 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18228 ecode2 = SWIG_AsVal_int(obj1, &val2);
18229 if (!SWIG_IsOK(ecode2)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18231 }
18232 arg2 = static_cast< int >(val2);
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 (arg1)->SetSelection(arg2);
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 resultobj = SWIG_Py_Void();
18240 return resultobj;
18241 fail:
18242 return NULL;
18243 }
18244
18245
18246 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18247 PyObject *obj;
18248 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18249 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18250 return SWIG_Py_Void();
18251 }
18252
18253 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18254 return SWIG_Python_InitShadowInstance(args);
18255 }
18256
18257 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18258 PyObject *resultobj = 0;
18259 wxWindow *arg1 = (wxWindow *) 0 ;
18260 wxString *arg2 = 0 ;
18261 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18262 wxString *arg3 = (wxString *) &arg3_defvalue ;
18263 wxString const &arg4_defvalue = wxPyEmptyString ;
18264 wxString *arg4 = (wxString *) &arg4_defvalue ;
18265 long arg5 = (long) wxTextEntryDialogStyle ;
18266 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18267 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18268 wxTextEntryDialog *result = 0 ;
18269 void *argp1 = 0 ;
18270 int res1 = 0 ;
18271 bool temp2 = false ;
18272 bool temp3 = false ;
18273 bool temp4 = false ;
18274 long val5 ;
18275 int ecode5 = 0 ;
18276 wxPoint temp6 ;
18277 PyObject * obj0 = 0 ;
18278 PyObject * obj1 = 0 ;
18279 PyObject * obj2 = 0 ;
18280 PyObject * obj3 = 0 ;
18281 PyObject * obj4 = 0 ;
18282 PyObject * obj5 = 0 ;
18283 char * kwnames[] = {
18284 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18285 };
18286
18287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18289 if (!SWIG_IsOK(res1)) {
18290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18291 }
18292 arg1 = reinterpret_cast< wxWindow * >(argp1);
18293 {
18294 arg2 = wxString_in_helper(obj1);
18295 if (arg2 == NULL) SWIG_fail;
18296 temp2 = true;
18297 }
18298 if (obj2) {
18299 {
18300 arg3 = wxString_in_helper(obj2);
18301 if (arg3 == NULL) SWIG_fail;
18302 temp3 = true;
18303 }
18304 }
18305 if (obj3) {
18306 {
18307 arg4 = wxString_in_helper(obj3);
18308 if (arg4 == NULL) SWIG_fail;
18309 temp4 = true;
18310 }
18311 }
18312 if (obj4) {
18313 ecode5 = SWIG_AsVal_long(obj4, &val5);
18314 if (!SWIG_IsOK(ecode5)) {
18315 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18316 }
18317 arg5 = static_cast< long >(val5);
18318 }
18319 if (obj5) {
18320 {
18321 arg6 = &temp6;
18322 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18323 }
18324 }
18325 {
18326 if (!wxPyCheckForApp()) SWIG_fail;
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18333 {
18334 if (temp2)
18335 delete arg2;
18336 }
18337 {
18338 if (temp3)
18339 delete arg3;
18340 }
18341 {
18342 if (temp4)
18343 delete arg4;
18344 }
18345 return resultobj;
18346 fail:
18347 {
18348 if (temp2)
18349 delete arg2;
18350 }
18351 {
18352 if (temp3)
18353 delete arg3;
18354 }
18355 {
18356 if (temp4)
18357 delete arg4;
18358 }
18359 return NULL;
18360 }
18361
18362
18363 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18364 PyObject *resultobj = 0;
18365 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18366 wxString result;
18367 void *argp1 = 0 ;
18368 int res1 = 0 ;
18369 PyObject *swig_obj[1] ;
18370
18371 if (!args) SWIG_fail;
18372 swig_obj[0] = args;
18373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18374 if (!SWIG_IsOK(res1)) {
18375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18376 }
18377 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (arg1)->GetValue();
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 {
18385 #if wxUSE_UNICODE
18386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18387 #else
18388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18389 #endif
18390 }
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj = 0;
18399 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18400 wxString *arg2 = 0 ;
18401 void *argp1 = 0 ;
18402 int res1 = 0 ;
18403 bool temp2 = false ;
18404 PyObject * obj0 = 0 ;
18405 PyObject * obj1 = 0 ;
18406 char * kwnames[] = {
18407 (char *) "self",(char *) "value", NULL
18408 };
18409
18410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18412 if (!SWIG_IsOK(res1)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18414 }
18415 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18416 {
18417 arg2 = wxString_in_helper(obj1);
18418 if (arg2 == NULL) SWIG_fail;
18419 temp2 = true;
18420 }
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 (arg1)->SetValue((wxString const &)*arg2);
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 resultobj = SWIG_Py_Void();
18428 {
18429 if (temp2)
18430 delete arg2;
18431 }
18432 return resultobj;
18433 fail:
18434 {
18435 if (temp2)
18436 delete arg2;
18437 }
18438 return NULL;
18439 }
18440
18441
18442 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18443 PyObject *obj;
18444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18445 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18446 return SWIG_Py_Void();
18447 }
18448
18449 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18450 return SWIG_Python_InitShadowInstance(args);
18451 }
18452
18453 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18454 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18455 return 1;
18456 }
18457
18458
18459 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18460 PyObject *pyobj = 0;
18461
18462 {
18463 #if wxUSE_UNICODE
18464 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18465 #else
18466 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18467 #endif
18468 }
18469 return pyobj;
18470 }
18471
18472
18473 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj = 0;
18475 wxWindow *arg1 = (wxWindow *) 0 ;
18476 wxString *arg2 = 0 ;
18477 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18478 wxString *arg3 = (wxString *) &arg3_defvalue ;
18479 wxString const &arg4_defvalue = wxPyEmptyString ;
18480 wxString *arg4 = (wxString *) &arg4_defvalue ;
18481 long arg5 = (long) wxTextEntryDialogStyle ;
18482 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18483 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18484 wxPasswordEntryDialog *result = 0 ;
18485 void *argp1 = 0 ;
18486 int res1 = 0 ;
18487 bool temp2 = false ;
18488 bool temp3 = false ;
18489 bool temp4 = false ;
18490 long val5 ;
18491 int ecode5 = 0 ;
18492 wxPoint temp6 ;
18493 PyObject * obj0 = 0 ;
18494 PyObject * obj1 = 0 ;
18495 PyObject * obj2 = 0 ;
18496 PyObject * obj3 = 0 ;
18497 PyObject * obj4 = 0 ;
18498 PyObject * obj5 = 0 ;
18499 char * kwnames[] = {
18500 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18501 };
18502
18503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18505 if (!SWIG_IsOK(res1)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18507 }
18508 arg1 = reinterpret_cast< wxWindow * >(argp1);
18509 {
18510 arg2 = wxString_in_helper(obj1);
18511 if (arg2 == NULL) SWIG_fail;
18512 temp2 = true;
18513 }
18514 if (obj2) {
18515 {
18516 arg3 = wxString_in_helper(obj2);
18517 if (arg3 == NULL) SWIG_fail;
18518 temp3 = true;
18519 }
18520 }
18521 if (obj3) {
18522 {
18523 arg4 = wxString_in_helper(obj3);
18524 if (arg4 == NULL) SWIG_fail;
18525 temp4 = true;
18526 }
18527 }
18528 if (obj4) {
18529 ecode5 = SWIG_AsVal_long(obj4, &val5);
18530 if (!SWIG_IsOK(ecode5)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18532 }
18533 arg5 = static_cast< long >(val5);
18534 }
18535 if (obj5) {
18536 {
18537 arg6 = &temp6;
18538 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18539 }
18540 }
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18548 {
18549 if (temp2)
18550 delete arg2;
18551 }
18552 {
18553 if (temp3)
18554 delete arg3;
18555 }
18556 {
18557 if (temp4)
18558 delete arg4;
18559 }
18560 return resultobj;
18561 fail:
18562 {
18563 if (temp2)
18564 delete arg2;
18565 }
18566 {
18567 if (temp3)
18568 delete arg3;
18569 }
18570 {
18571 if (temp4)
18572 delete arg4;
18573 }
18574 return NULL;
18575 }
18576
18577
18578 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18579 PyObject *obj;
18580 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18581 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18582 return SWIG_Py_Void();
18583 }
18584
18585 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18586 return SWIG_Python_InitShadowInstance(args);
18587 }
18588
18589 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj = 0;
18591 wxWindow *arg1 = (wxWindow *) 0 ;
18592 wxString *arg2 = 0 ;
18593 wxString *arg3 = 0 ;
18594 wxString *arg4 = 0 ;
18595 long arg5 ;
18596 long arg6 ;
18597 long arg7 ;
18598 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18599 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18600 wxNumberEntryDialog *result = 0 ;
18601 void *argp1 = 0 ;
18602 int res1 = 0 ;
18603 bool temp2 = false ;
18604 bool temp3 = false ;
18605 bool temp4 = false ;
18606 long val5 ;
18607 int ecode5 = 0 ;
18608 long val6 ;
18609 int ecode6 = 0 ;
18610 long val7 ;
18611 int ecode7 = 0 ;
18612 wxPoint temp8 ;
18613 PyObject * obj0 = 0 ;
18614 PyObject * obj1 = 0 ;
18615 PyObject * obj2 = 0 ;
18616 PyObject * obj3 = 0 ;
18617 PyObject * obj4 = 0 ;
18618 PyObject * obj5 = 0 ;
18619 PyObject * obj6 = 0 ;
18620 PyObject * obj7 = 0 ;
18621 char * kwnames[] = {
18622 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18623 };
18624
18625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18627 if (!SWIG_IsOK(res1)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18629 }
18630 arg1 = reinterpret_cast< wxWindow * >(argp1);
18631 {
18632 arg2 = wxString_in_helper(obj1);
18633 if (arg2 == NULL) SWIG_fail;
18634 temp2 = true;
18635 }
18636 {
18637 arg3 = wxString_in_helper(obj2);
18638 if (arg3 == NULL) SWIG_fail;
18639 temp3 = true;
18640 }
18641 {
18642 arg4 = wxString_in_helper(obj3);
18643 if (arg4 == NULL) SWIG_fail;
18644 temp4 = true;
18645 }
18646 ecode5 = SWIG_AsVal_long(obj4, &val5);
18647 if (!SWIG_IsOK(ecode5)) {
18648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18649 }
18650 arg5 = static_cast< long >(val5);
18651 ecode6 = SWIG_AsVal_long(obj5, &val6);
18652 if (!SWIG_IsOK(ecode6)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18654 }
18655 arg6 = static_cast< long >(val6);
18656 ecode7 = SWIG_AsVal_long(obj6, &val7);
18657 if (!SWIG_IsOK(ecode7)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18659 }
18660 arg7 = static_cast< long >(val7);
18661 if (obj7) {
18662 {
18663 arg8 = &temp8;
18664 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18665 }
18666 }
18667 {
18668 if (!wxPyCheckForApp()) SWIG_fail;
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18675 {
18676 if (temp2)
18677 delete arg2;
18678 }
18679 {
18680 if (temp3)
18681 delete arg3;
18682 }
18683 {
18684 if (temp4)
18685 delete arg4;
18686 }
18687 return resultobj;
18688 fail:
18689 {
18690 if (temp2)
18691 delete arg2;
18692 }
18693 {
18694 if (temp3)
18695 delete arg3;
18696 }
18697 {
18698 if (temp4)
18699 delete arg4;
18700 }
18701 return NULL;
18702 }
18703
18704
18705 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18706 PyObject *resultobj = 0;
18707 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18708 long result;
18709 void *argp1 = 0 ;
18710 int res1 = 0 ;
18711 PyObject *swig_obj[1] ;
18712
18713 if (!args) SWIG_fail;
18714 swig_obj[0] = args;
18715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18716 if (!SWIG_IsOK(res1)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18718 }
18719 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (long)(arg1)->GetValue();
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 resultobj = SWIG_From_long(static_cast< long >(result));
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18734 PyObject *obj;
18735 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18736 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18737 return SWIG_Py_Void();
18738 }
18739
18740 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18741 return SWIG_Python_InitShadowInstance(args);
18742 }
18743
18744 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18745 PyObject *resultobj = 0;
18746 wxFontData *result = 0 ;
18747
18748 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18749 {
18750 PyThreadState* __tstate = wxPyBeginAllowThreads();
18751 result = (wxFontData *)new wxFontData();
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18756 return resultobj;
18757 fail:
18758 return NULL;
18759 }
18760
18761
18762 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18763 PyObject *resultobj = 0;
18764 wxFontData *arg1 = (wxFontData *) 0 ;
18765 void *argp1 = 0 ;
18766 int res1 = 0 ;
18767 PyObject *swig_obj[1] ;
18768
18769 if (!args) SWIG_fail;
18770 swig_obj[0] = args;
18771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18772 if (!SWIG_IsOK(res1)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18774 }
18775 arg1 = reinterpret_cast< wxFontData * >(argp1);
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 delete arg1;
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 resultobj = SWIG_Py_Void();
18784 return resultobj;
18785 fail:
18786 return NULL;
18787 }
18788
18789
18790 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj = 0;
18792 wxFontData *arg1 = (wxFontData *) 0 ;
18793 bool arg2 ;
18794 void *argp1 = 0 ;
18795 int res1 = 0 ;
18796 bool val2 ;
18797 int ecode2 = 0 ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 char * kwnames[] = {
18801 (char *) "self",(char *) "enable", NULL
18802 };
18803
18804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18806 if (!SWIG_IsOK(res1)) {
18807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18808 }
18809 arg1 = reinterpret_cast< wxFontData * >(argp1);
18810 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18811 if (!SWIG_IsOK(ecode2)) {
18812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18813 }
18814 arg2 = static_cast< bool >(val2);
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 (arg1)->EnableEffects(arg2);
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = SWIG_Py_Void();
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18829 PyObject *resultobj = 0;
18830 wxFontData *arg1 = (wxFontData *) 0 ;
18831 bool result;
18832 void *argp1 = 0 ;
18833 int res1 = 0 ;
18834 PyObject *swig_obj[1] ;
18835
18836 if (!args) SWIG_fail;
18837 swig_obj[0] = args;
18838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18839 if (!SWIG_IsOK(res1)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18841 }
18842 arg1 = reinterpret_cast< wxFontData * >(argp1);
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 result = (bool)(arg1)->GetAllowSymbols();
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18851 }
18852 return resultobj;
18853 fail:
18854 return NULL;
18855 }
18856
18857
18858 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18859 PyObject *resultobj = 0;
18860 wxFontData *arg1 = (wxFontData *) 0 ;
18861 wxColour result;
18862 void *argp1 = 0 ;
18863 int res1 = 0 ;
18864 PyObject *swig_obj[1] ;
18865
18866 if (!args) SWIG_fail;
18867 swig_obj[0] = args;
18868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18869 if (!SWIG_IsOK(res1)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18871 }
18872 arg1 = reinterpret_cast< wxFontData * >(argp1);
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 result = (arg1)->GetColour();
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18887 PyObject *resultobj = 0;
18888 wxFontData *arg1 = (wxFontData *) 0 ;
18889 wxFont result;
18890 void *argp1 = 0 ;
18891 int res1 = 0 ;
18892 PyObject *swig_obj[1] ;
18893
18894 if (!args) SWIG_fail;
18895 swig_obj[0] = args;
18896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18897 if (!SWIG_IsOK(res1)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18899 }
18900 arg1 = reinterpret_cast< wxFontData * >(argp1);
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = (arg1)->GetChosenFont();
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18908 return resultobj;
18909 fail:
18910 return NULL;
18911 }
18912
18913
18914 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18915 PyObject *resultobj = 0;
18916 wxFontData *arg1 = (wxFontData *) 0 ;
18917 bool result;
18918 void *argp1 = 0 ;
18919 int res1 = 0 ;
18920 PyObject *swig_obj[1] ;
18921
18922 if (!args) SWIG_fail;
18923 swig_obj[0] = args;
18924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18925 if (!SWIG_IsOK(res1)) {
18926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18927 }
18928 arg1 = reinterpret_cast< wxFontData * >(argp1);
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 result = (bool)(arg1)->GetEnableEffects();
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 {
18936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18937 }
18938 return resultobj;
18939 fail:
18940 return NULL;
18941 }
18942
18943
18944 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18945 PyObject *resultobj = 0;
18946 wxFontData *arg1 = (wxFontData *) 0 ;
18947 wxFont result;
18948 void *argp1 = 0 ;
18949 int res1 = 0 ;
18950 PyObject *swig_obj[1] ;
18951
18952 if (!args) SWIG_fail;
18953 swig_obj[0] = args;
18954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18955 if (!SWIG_IsOK(res1)) {
18956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18957 }
18958 arg1 = reinterpret_cast< wxFontData * >(argp1);
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (arg1)->GetInitialFont();
18962 wxPyEndAllowThreads(__tstate);
18963 if (PyErr_Occurred()) SWIG_fail;
18964 }
18965 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18966 return resultobj;
18967 fail:
18968 return NULL;
18969 }
18970
18971
18972 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18973 PyObject *resultobj = 0;
18974 wxFontData *arg1 = (wxFontData *) 0 ;
18975 bool result;
18976 void *argp1 = 0 ;
18977 int res1 = 0 ;
18978 PyObject *swig_obj[1] ;
18979
18980 if (!args) SWIG_fail;
18981 swig_obj[0] = args;
18982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18983 if (!SWIG_IsOK(res1)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18985 }
18986 arg1 = reinterpret_cast< wxFontData * >(argp1);
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (bool)(arg1)->GetShowHelp();
18990 wxPyEndAllowThreads(__tstate);
18991 if (PyErr_Occurred()) SWIG_fail;
18992 }
18993 {
18994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18995 }
18996 return resultobj;
18997 fail:
18998 return NULL;
18999 }
19000
19001
19002 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19003 PyObject *resultobj = 0;
19004 wxFontData *arg1 = (wxFontData *) 0 ;
19005 bool arg2 ;
19006 void *argp1 = 0 ;
19007 int res1 = 0 ;
19008 bool val2 ;
19009 int ecode2 = 0 ;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 char * kwnames[] = {
19013 (char *) "self",(char *) "allowSymbols", NULL
19014 };
19015
19016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19018 if (!SWIG_IsOK(res1)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19020 }
19021 arg1 = reinterpret_cast< wxFontData * >(argp1);
19022 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19023 if (!SWIG_IsOK(ecode2)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19025 }
19026 arg2 = static_cast< bool >(val2);
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 (arg1)->SetAllowSymbols(arg2);
19030 wxPyEndAllowThreads(__tstate);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 }
19033 resultobj = SWIG_Py_Void();
19034 return resultobj;
19035 fail:
19036 return NULL;
19037 }
19038
19039
19040 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj = 0;
19042 wxFontData *arg1 = (wxFontData *) 0 ;
19043 wxFont *arg2 = 0 ;
19044 void *argp1 = 0 ;
19045 int res1 = 0 ;
19046 void *argp2 = 0 ;
19047 int res2 = 0 ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 char * kwnames[] = {
19051 (char *) "self",(char *) "font", NULL
19052 };
19053
19054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19056 if (!SWIG_IsOK(res1)) {
19057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19058 }
19059 arg1 = reinterpret_cast< wxFontData * >(argp1);
19060 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19061 if (!SWIG_IsOK(res2)) {
19062 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19063 }
19064 if (!argp2) {
19065 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19066 }
19067 arg2 = reinterpret_cast< wxFont * >(argp2);
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 (arg1)->SetChosenFont((wxFont const &)*arg2);
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 resultobj = SWIG_Py_Void();
19075 return resultobj;
19076 fail:
19077 return NULL;
19078 }
19079
19080
19081 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj = 0;
19083 wxFontData *arg1 = (wxFontData *) 0 ;
19084 wxColour *arg2 = 0 ;
19085 void *argp1 = 0 ;
19086 int res1 = 0 ;
19087 wxColour temp2 ;
19088 PyObject * obj0 = 0 ;
19089 PyObject * obj1 = 0 ;
19090 char * kwnames[] = {
19091 (char *) "self",(char *) "colour", NULL
19092 };
19093
19094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19096 if (!SWIG_IsOK(res1)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19098 }
19099 arg1 = reinterpret_cast< wxFontData * >(argp1);
19100 {
19101 arg2 = &temp2;
19102 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19103 }
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 (arg1)->SetColour((wxColour const &)*arg2);
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 resultobj = SWIG_Py_Void();
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj = 0;
19119 wxFontData *arg1 = (wxFontData *) 0 ;
19120 wxFont *arg2 = 0 ;
19121 void *argp1 = 0 ;
19122 int res1 = 0 ;
19123 void *argp2 = 0 ;
19124 int res2 = 0 ;
19125 PyObject * obj0 = 0 ;
19126 PyObject * obj1 = 0 ;
19127 char * kwnames[] = {
19128 (char *) "self",(char *) "font", NULL
19129 };
19130
19131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19133 if (!SWIG_IsOK(res1)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19135 }
19136 arg1 = reinterpret_cast< wxFontData * >(argp1);
19137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19138 if (!SWIG_IsOK(res2)) {
19139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19140 }
19141 if (!argp2) {
19142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19143 }
19144 arg2 = reinterpret_cast< wxFont * >(argp2);
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 (arg1)->SetInitialFont((wxFont const &)*arg2);
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 resultobj = SWIG_Py_Void();
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj = 0;
19160 wxFontData *arg1 = (wxFontData *) 0 ;
19161 int arg2 ;
19162 int arg3 ;
19163 void *argp1 = 0 ;
19164 int res1 = 0 ;
19165 int val2 ;
19166 int ecode2 = 0 ;
19167 int val3 ;
19168 int ecode3 = 0 ;
19169 PyObject * obj0 = 0 ;
19170 PyObject * obj1 = 0 ;
19171 PyObject * obj2 = 0 ;
19172 char * kwnames[] = {
19173 (char *) "self",(char *) "min",(char *) "max", NULL
19174 };
19175
19176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19178 if (!SWIG_IsOK(res1)) {
19179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19180 }
19181 arg1 = reinterpret_cast< wxFontData * >(argp1);
19182 ecode2 = SWIG_AsVal_int(obj1, &val2);
19183 if (!SWIG_IsOK(ecode2)) {
19184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19185 }
19186 arg2 = static_cast< int >(val2);
19187 ecode3 = SWIG_AsVal_int(obj2, &val3);
19188 if (!SWIG_IsOK(ecode3)) {
19189 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19190 }
19191 arg3 = static_cast< int >(val3);
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 (arg1)->SetRange(arg2,arg3);
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 resultobj = SWIG_Py_Void();
19199 return resultobj;
19200 fail:
19201 return NULL;
19202 }
19203
19204
19205 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19206 PyObject *resultobj = 0;
19207 wxFontData *arg1 = (wxFontData *) 0 ;
19208 bool arg2 ;
19209 void *argp1 = 0 ;
19210 int res1 = 0 ;
19211 bool val2 ;
19212 int ecode2 = 0 ;
19213 PyObject * obj0 = 0 ;
19214 PyObject * obj1 = 0 ;
19215 char * kwnames[] = {
19216 (char *) "self",(char *) "showHelp", NULL
19217 };
19218
19219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19221 if (!SWIG_IsOK(res1)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19223 }
19224 arg1 = reinterpret_cast< wxFontData * >(argp1);
19225 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19226 if (!SWIG_IsOK(ecode2)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19228 }
19229 arg2 = static_cast< bool >(val2);
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 (arg1)->SetShowHelp(arg2);
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 resultobj = SWIG_Py_Void();
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19244 PyObject *obj;
19245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19246 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19247 return SWIG_Py_Void();
19248 }
19249
19250 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19251 return SWIG_Python_InitShadowInstance(args);
19252 }
19253
19254 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj = 0;
19256 wxWindow *arg1 = (wxWindow *) 0 ;
19257 wxFontData *arg2 = 0 ;
19258 wxFontDialog *result = 0 ;
19259 void *argp1 = 0 ;
19260 int res1 = 0 ;
19261 void *argp2 = 0 ;
19262 int res2 = 0 ;
19263 PyObject * obj0 = 0 ;
19264 PyObject * obj1 = 0 ;
19265 char * kwnames[] = {
19266 (char *) "parent",(char *) "data", NULL
19267 };
19268
19269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19271 if (!SWIG_IsOK(res1)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19273 }
19274 arg1 = reinterpret_cast< wxWindow * >(argp1);
19275 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19276 if (!SWIG_IsOK(res2)) {
19277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19278 }
19279 if (!argp2) {
19280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19281 }
19282 arg2 = reinterpret_cast< wxFontData * >(argp2);
19283 {
19284 if (!wxPyCheckForApp()) SWIG_fail;
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19298 PyObject *resultobj = 0;
19299 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19300 wxFontData *result = 0 ;
19301 void *argp1 = 0 ;
19302 int res1 = 0 ;
19303 PyObject *swig_obj[1] ;
19304
19305 if (!args) SWIG_fail;
19306 swig_obj[0] = args;
19307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19308 if (!SWIG_IsOK(res1)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19310 }
19311 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 {
19315 wxFontData &_result_ref = (arg1)->GetFontData();
19316 result = (wxFontData *) &_result_ref;
19317 }
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19322 return resultobj;
19323 fail:
19324 return NULL;
19325 }
19326
19327
19328 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19329 PyObject *obj;
19330 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19331 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19332 return SWIG_Py_Void();
19333 }
19334
19335 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19336 return SWIG_Python_InitShadowInstance(args);
19337 }
19338
19339 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj = 0;
19341 wxWindow *arg1 = (wxWindow *) NULL ;
19342 wxFont const &arg2_defvalue = wxNullFont ;
19343 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19344 wxString const &arg3_defvalue = wxPyEmptyString ;
19345 wxString *arg3 = (wxString *) &arg3_defvalue ;
19346 wxFont result;
19347 void *argp1 = 0 ;
19348 int res1 = 0 ;
19349 void *argp2 = 0 ;
19350 int res2 = 0 ;
19351 bool temp3 = false ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 PyObject * obj2 = 0 ;
19355 char * kwnames[] = {
19356 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19357 };
19358
19359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19360 if (obj0) {
19361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19362 if (!SWIG_IsOK(res1)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19364 }
19365 arg1 = reinterpret_cast< wxWindow * >(argp1);
19366 }
19367 if (obj1) {
19368 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19369 if (!SWIG_IsOK(res2)) {
19370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19371 }
19372 if (!argp2) {
19373 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19374 }
19375 arg2 = reinterpret_cast< wxFont * >(argp2);
19376 }
19377 if (obj2) {
19378 {
19379 arg3 = wxString_in_helper(obj2);
19380 if (arg3 == NULL) SWIG_fail;
19381 temp3 = true;
19382 }
19383 }
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19391 {
19392 if (temp3)
19393 delete arg3;
19394 }
19395 return resultobj;
19396 fail:
19397 {
19398 if (temp3)
19399 delete arg3;
19400 }
19401 return NULL;
19402 }
19403
19404
19405 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj = 0;
19407 wxWindow *arg1 = (wxWindow *) 0 ;
19408 wxString *arg2 = 0 ;
19409 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19410 wxString *arg3 = (wxString *) &arg3_defvalue ;
19411 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19412 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19413 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19414 wxMessageDialog *result = 0 ;
19415 void *argp1 = 0 ;
19416 int res1 = 0 ;
19417 bool temp2 = false ;
19418 bool temp3 = false ;
19419 long val4 ;
19420 int ecode4 = 0 ;
19421 wxPoint temp5 ;
19422 PyObject * obj0 = 0 ;
19423 PyObject * obj1 = 0 ;
19424 PyObject * obj2 = 0 ;
19425 PyObject * obj3 = 0 ;
19426 PyObject * obj4 = 0 ;
19427 char * kwnames[] = {
19428 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19429 };
19430
19431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19433 if (!SWIG_IsOK(res1)) {
19434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19435 }
19436 arg1 = reinterpret_cast< wxWindow * >(argp1);
19437 {
19438 arg2 = wxString_in_helper(obj1);
19439 if (arg2 == NULL) SWIG_fail;
19440 temp2 = true;
19441 }
19442 if (obj2) {
19443 {
19444 arg3 = wxString_in_helper(obj2);
19445 if (arg3 == NULL) SWIG_fail;
19446 temp3 = true;
19447 }
19448 }
19449 if (obj3) {
19450 ecode4 = SWIG_AsVal_long(obj3, &val4);
19451 if (!SWIG_IsOK(ecode4)) {
19452 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19453 }
19454 arg4 = static_cast< long >(val4);
19455 }
19456 if (obj4) {
19457 {
19458 arg5 = &temp5;
19459 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19460 }
19461 }
19462 {
19463 if (!wxPyCheckForApp()) SWIG_fail;
19464 PyThreadState* __tstate = wxPyBeginAllowThreads();
19465 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19470 {
19471 if (temp2)
19472 delete arg2;
19473 }
19474 {
19475 if (temp3)
19476 delete arg3;
19477 }
19478 return resultobj;
19479 fail:
19480 {
19481 if (temp2)
19482 delete arg2;
19483 }
19484 {
19485 if (temp3)
19486 delete arg3;
19487 }
19488 return NULL;
19489 }
19490
19491
19492 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19493 PyObject *obj;
19494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19495 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19496 return SWIG_Py_Void();
19497 }
19498
19499 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19500 return SWIG_Python_InitShadowInstance(args);
19501 }
19502
19503 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj = 0;
19505 wxString *arg1 = 0 ;
19506 wxString *arg2 = 0 ;
19507 int arg3 = (int) 100 ;
19508 wxWindow *arg4 = (wxWindow *) NULL ;
19509 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19510 wxProgressDialog *result = 0 ;
19511 bool temp1 = false ;
19512 bool temp2 = false ;
19513 int val3 ;
19514 int ecode3 = 0 ;
19515 void *argp4 = 0 ;
19516 int res4 = 0 ;
19517 int val5 ;
19518 int ecode5 = 0 ;
19519 PyObject * obj0 = 0 ;
19520 PyObject * obj1 = 0 ;
19521 PyObject * obj2 = 0 ;
19522 PyObject * obj3 = 0 ;
19523 PyObject * obj4 = 0 ;
19524 char * kwnames[] = {
19525 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19526 };
19527
19528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19529 {
19530 arg1 = wxString_in_helper(obj0);
19531 if (arg1 == NULL) SWIG_fail;
19532 temp1 = true;
19533 }
19534 {
19535 arg2 = wxString_in_helper(obj1);
19536 if (arg2 == NULL) SWIG_fail;
19537 temp2 = true;
19538 }
19539 if (obj2) {
19540 ecode3 = SWIG_AsVal_int(obj2, &val3);
19541 if (!SWIG_IsOK(ecode3)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19543 }
19544 arg3 = static_cast< int >(val3);
19545 }
19546 if (obj3) {
19547 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19548 if (!SWIG_IsOK(res4)) {
19549 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19550 }
19551 arg4 = reinterpret_cast< wxWindow * >(argp4);
19552 }
19553 if (obj4) {
19554 ecode5 = SWIG_AsVal_int(obj4, &val5);
19555 if (!SWIG_IsOK(ecode5)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19557 }
19558 arg5 = static_cast< int >(val5);
19559 }
19560 {
19561 if (!wxPyCheckForApp()) SWIG_fail;
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19568 {
19569 if (temp1)
19570 delete arg1;
19571 }
19572 {
19573 if (temp2)
19574 delete arg2;
19575 }
19576 return resultobj;
19577 fail:
19578 {
19579 if (temp1)
19580 delete arg1;
19581 }
19582 {
19583 if (temp2)
19584 delete arg2;
19585 }
19586 return NULL;
19587 }
19588
19589
19590 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj = 0;
19592 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19593 int arg2 ;
19594 wxString const &arg3_defvalue = wxPyEmptyString ;
19595 wxString *arg3 = (wxString *) &arg3_defvalue ;
19596 bool *arg4 = (bool *) 0 ;
19597 bool result;
19598 void *argp1 = 0 ;
19599 int res1 = 0 ;
19600 int val2 ;
19601 int ecode2 = 0 ;
19602 bool temp3 = false ;
19603 bool temp4 ;
19604 int res4 = SWIG_TMPOBJ ;
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 PyObject * obj2 = 0 ;
19608 char * kwnames[] = {
19609 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19610 };
19611
19612 arg4 = &temp4;
19613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19615 if (!SWIG_IsOK(res1)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19617 }
19618 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19619 ecode2 = SWIG_AsVal_int(obj1, &val2);
19620 if (!SWIG_IsOK(ecode2)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19622 }
19623 arg2 = static_cast< int >(val2);
19624 if (obj2) {
19625 {
19626 arg3 = wxString_in_helper(obj2);
19627 if (arg3 == NULL) SWIG_fail;
19628 temp3 = true;
19629 }
19630 }
19631 {
19632 PyThreadState* __tstate = wxPyBeginAllowThreads();
19633 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 {
19638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19639 }
19640 if (SWIG_IsTmpObj(res4)) {
19641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19642 } else {
19643 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19645 }
19646 {
19647 if (temp3)
19648 delete arg3;
19649 }
19650 return resultobj;
19651 fail:
19652 {
19653 if (temp3)
19654 delete arg3;
19655 }
19656 return NULL;
19657 }
19658
19659
19660 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19661 PyObject *resultobj = 0;
19662 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19663 void *argp1 = 0 ;
19664 int res1 = 0 ;
19665 PyObject *swig_obj[1] ;
19666
19667 if (!args) SWIG_fail;
19668 swig_obj[0] = args;
19669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19670 if (!SWIG_IsOK(res1)) {
19671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19672 }
19673 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 (arg1)->Resume();
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 resultobj = SWIG_Py_Void();
19681 return resultobj;
19682 fail:
19683 return NULL;
19684 }
19685
19686
19687 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19688 PyObject *obj;
19689 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19690 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19691 return SWIG_Py_Void();
19692 }
19693
19694 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19695 return SWIG_Python_InitShadowInstance(args);
19696 }
19697
19698 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj = 0;
19700 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19701 int arg2 = (int) 0 ;
19702 wxFindDialogEvent *result = 0 ;
19703 int val1 ;
19704 int ecode1 = 0 ;
19705 int val2 ;
19706 int ecode2 = 0 ;
19707 PyObject * obj0 = 0 ;
19708 PyObject * obj1 = 0 ;
19709 char * kwnames[] = {
19710 (char *) "commandType",(char *) "id", NULL
19711 };
19712
19713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19714 if (obj0) {
19715 ecode1 = SWIG_AsVal_int(obj0, &val1);
19716 if (!SWIG_IsOK(ecode1)) {
19717 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19718 }
19719 arg1 = static_cast< wxEventType >(val1);
19720 }
19721 if (obj1) {
19722 ecode2 = SWIG_AsVal_int(obj1, &val2);
19723 if (!SWIG_IsOK(ecode2)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19725 }
19726 arg2 = static_cast< int >(val2);
19727 }
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19735 return resultobj;
19736 fail:
19737 return NULL;
19738 }
19739
19740
19741 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19742 PyObject *resultobj = 0;
19743 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19744 int result;
19745 void *argp1 = 0 ;
19746 int res1 = 0 ;
19747 PyObject *swig_obj[1] ;
19748
19749 if (!args) SWIG_fail;
19750 swig_obj[0] = args;
19751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19752 if (!SWIG_IsOK(res1)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19754 }
19755 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 result = (int)(arg1)->GetFlags();
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_From_int(static_cast< int >(result));
19763 return resultobj;
19764 fail:
19765 return NULL;
19766 }
19767
19768
19769 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19770 PyObject *resultobj = 0;
19771 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19772 wxString *result = 0 ;
19773 void *argp1 = 0 ;
19774 int res1 = 0 ;
19775 PyObject *swig_obj[1] ;
19776
19777 if (!args) SWIG_fail;
19778 swig_obj[0] = args;
19779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19780 if (!SWIG_IsOK(res1)) {
19781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19782 }
19783 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 {
19787 wxString const &_result_ref = (arg1)->GetFindString();
19788 result = (wxString *) &_result_ref;
19789 }
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794 #if wxUSE_UNICODE
19795 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19796 #else
19797 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19798 #endif
19799 }
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19807 PyObject *resultobj = 0;
19808 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19809 wxString *result = 0 ;
19810 void *argp1 = 0 ;
19811 int res1 = 0 ;
19812 PyObject *swig_obj[1] ;
19813
19814 if (!args) SWIG_fail;
19815 swig_obj[0] = args;
19816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19817 if (!SWIG_IsOK(res1)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19819 }
19820 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 {
19824 wxString const &_result_ref = (arg1)->GetReplaceString();
19825 result = (wxString *) &_result_ref;
19826 }
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
19831 #if wxUSE_UNICODE
19832 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19833 #else
19834 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19835 #endif
19836 }
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19844 PyObject *resultobj = 0;
19845 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19846 wxFindReplaceDialog *result = 0 ;
19847 void *argp1 = 0 ;
19848 int res1 = 0 ;
19849 PyObject *swig_obj[1] ;
19850
19851 if (!args) SWIG_fail;
19852 swig_obj[0] = args;
19853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19854 if (!SWIG_IsOK(res1)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19856 }
19857 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19872 PyObject *resultobj = 0;
19873 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19874 int arg2 ;
19875 void *argp1 = 0 ;
19876 int res1 = 0 ;
19877 int val2 ;
19878 int ecode2 = 0 ;
19879 PyObject * obj0 = 0 ;
19880 PyObject * obj1 = 0 ;
19881 char * kwnames[] = {
19882 (char *) "self",(char *) "flags", NULL
19883 };
19884
19885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19887 if (!SWIG_IsOK(res1)) {
19888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19889 }
19890 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19891 ecode2 = SWIG_AsVal_int(obj1, &val2);
19892 if (!SWIG_IsOK(ecode2)) {
19893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19894 }
19895 arg2 = static_cast< int >(val2);
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 (arg1)->SetFlags(arg2);
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_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj = 0;
19911 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19912 wxString *arg2 = 0 ;
19913 void *argp1 = 0 ;
19914 int res1 = 0 ;
19915 bool temp2 = false ;
19916 PyObject * obj0 = 0 ;
19917 PyObject * obj1 = 0 ;
19918 char * kwnames[] = {
19919 (char *) "self",(char *) "str", NULL
19920 };
19921
19922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19924 if (!SWIG_IsOK(res1)) {
19925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19926 }
19927 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19928 {
19929 arg2 = wxString_in_helper(obj1);
19930 if (arg2 == NULL) SWIG_fail;
19931 temp2 = true;
19932 }
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 (arg1)->SetFindString((wxString const &)*arg2);
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 resultobj = SWIG_Py_Void();
19940 {
19941 if (temp2)
19942 delete arg2;
19943 }
19944 return resultobj;
19945 fail:
19946 {
19947 if (temp2)
19948 delete arg2;
19949 }
19950 return NULL;
19951 }
19952
19953
19954 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj = 0;
19956 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19957 wxString *arg2 = 0 ;
19958 void *argp1 = 0 ;
19959 int res1 = 0 ;
19960 bool temp2 = false ;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 char * kwnames[] = {
19964 (char *) "self",(char *) "str", NULL
19965 };
19966
19967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19969 if (!SWIG_IsOK(res1)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19971 }
19972 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19973 {
19974 arg2 = wxString_in_helper(obj1);
19975 if (arg2 == NULL) SWIG_fail;
19976 temp2 = true;
19977 }
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 (arg1)->SetReplaceString((wxString const &)*arg2);
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 resultobj = SWIG_Py_Void();
19985 {
19986 if (temp2)
19987 delete arg2;
19988 }
19989 return resultobj;
19990 fail:
19991 {
19992 if (temp2)
19993 delete arg2;
19994 }
19995 return NULL;
19996 }
19997
19998
19999 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20000 PyObject *obj;
20001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20002 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20003 return SWIG_Py_Void();
20004 }
20005
20006 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20007 return SWIG_Python_InitShadowInstance(args);
20008 }
20009
20010 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj = 0;
20012 int arg1 = (int) 0 ;
20013 wxFindReplaceData *result = 0 ;
20014 int val1 ;
20015 int ecode1 = 0 ;
20016 PyObject * obj0 = 0 ;
20017 char * kwnames[] = {
20018 (char *) "flags", NULL
20019 };
20020
20021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20022 if (obj0) {
20023 ecode1 = SWIG_AsVal_int(obj0, &val1);
20024 if (!SWIG_IsOK(ecode1)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20026 }
20027 arg1 = static_cast< int >(val1);
20028 }
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20032 wxPyEndAllowThreads(__tstate);
20033 if (PyErr_Occurred()) SWIG_fail;
20034 }
20035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20036 return resultobj;
20037 fail:
20038 return NULL;
20039 }
20040
20041
20042 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20043 PyObject *resultobj = 0;
20044 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20045 void *argp1 = 0 ;
20046 int res1 = 0 ;
20047 PyObject *swig_obj[1] ;
20048
20049 if (!args) SWIG_fail;
20050 swig_obj[0] = args;
20051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20052 if (!SWIG_IsOK(res1)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20054 }
20055 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 delete arg1;
20059
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 resultobj = SWIG_Py_Void();
20064 return resultobj;
20065 fail:
20066 return NULL;
20067 }
20068
20069
20070 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20071 PyObject *resultobj = 0;
20072 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20073 wxString *result = 0 ;
20074 void *argp1 = 0 ;
20075 int res1 = 0 ;
20076 PyObject *swig_obj[1] ;
20077
20078 if (!args) SWIG_fail;
20079 swig_obj[0] = args;
20080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20081 if (!SWIG_IsOK(res1)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20083 }
20084 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 {
20088 wxString const &_result_ref = (arg1)->GetFindString();
20089 result = (wxString *) &_result_ref;
20090 }
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 {
20095 #if wxUSE_UNICODE
20096 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20097 #else
20098 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20099 #endif
20100 }
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20108 PyObject *resultobj = 0;
20109 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20110 wxString *result = 0 ;
20111 void *argp1 = 0 ;
20112 int res1 = 0 ;
20113 PyObject *swig_obj[1] ;
20114
20115 if (!args) SWIG_fail;
20116 swig_obj[0] = args;
20117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20118 if (!SWIG_IsOK(res1)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20120 }
20121 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 {
20125 wxString const &_result_ref = (arg1)->GetReplaceString();
20126 result = (wxString *) &_result_ref;
20127 }
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 {
20132 #if wxUSE_UNICODE
20133 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20134 #else
20135 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20136 #endif
20137 }
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20145 PyObject *resultobj = 0;
20146 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20147 int result;
20148 void *argp1 = 0 ;
20149 int res1 = 0 ;
20150 PyObject *swig_obj[1] ;
20151
20152 if (!args) SWIG_fail;
20153 swig_obj[0] = args;
20154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20155 if (!SWIG_IsOK(res1)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20157 }
20158 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (int)(arg1)->GetFlags();
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 resultobj = SWIG_From_int(static_cast< int >(result));
20166 return resultobj;
20167 fail:
20168 return NULL;
20169 }
20170
20171
20172 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj = 0;
20174 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20175 int arg2 ;
20176 void *argp1 = 0 ;
20177 int res1 = 0 ;
20178 int val2 ;
20179 int ecode2 = 0 ;
20180 PyObject * obj0 = 0 ;
20181 PyObject * obj1 = 0 ;
20182 char * kwnames[] = {
20183 (char *) "self",(char *) "flags", NULL
20184 };
20185
20186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20188 if (!SWIG_IsOK(res1)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20190 }
20191 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20192 ecode2 = SWIG_AsVal_int(obj1, &val2);
20193 if (!SWIG_IsOK(ecode2)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20195 }
20196 arg2 = static_cast< int >(val2);
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->SetFlags(arg2);
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 resultobj = SWIG_Py_Void();
20204 return resultobj;
20205 fail:
20206 return NULL;
20207 }
20208
20209
20210 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20211 PyObject *resultobj = 0;
20212 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20213 wxString *arg2 = 0 ;
20214 void *argp1 = 0 ;
20215 int res1 = 0 ;
20216 bool temp2 = false ;
20217 PyObject * obj0 = 0 ;
20218 PyObject * obj1 = 0 ;
20219 char * kwnames[] = {
20220 (char *) "self",(char *) "str", NULL
20221 };
20222
20223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20225 if (!SWIG_IsOK(res1)) {
20226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20227 }
20228 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20229 {
20230 arg2 = wxString_in_helper(obj1);
20231 if (arg2 == NULL) SWIG_fail;
20232 temp2 = true;
20233 }
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 (arg1)->SetFindString((wxString const &)*arg2);
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 resultobj = SWIG_Py_Void();
20241 {
20242 if (temp2)
20243 delete arg2;
20244 }
20245 return resultobj;
20246 fail:
20247 {
20248 if (temp2)
20249 delete arg2;
20250 }
20251 return NULL;
20252 }
20253
20254
20255 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj = 0;
20257 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20258 wxString *arg2 = 0 ;
20259 void *argp1 = 0 ;
20260 int res1 = 0 ;
20261 bool temp2 = false ;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char * kwnames[] = {
20265 (char *) "self",(char *) "str", NULL
20266 };
20267
20268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20270 if (!SWIG_IsOK(res1)) {
20271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20272 }
20273 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20274 {
20275 arg2 = wxString_in_helper(obj1);
20276 if (arg2 == NULL) SWIG_fail;
20277 temp2 = true;
20278 }
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 (arg1)->SetReplaceString((wxString const &)*arg2);
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 resultobj = SWIG_Py_Void();
20286 {
20287 if (temp2)
20288 delete arg2;
20289 }
20290 return resultobj;
20291 fail:
20292 {
20293 if (temp2)
20294 delete arg2;
20295 }
20296 return NULL;
20297 }
20298
20299
20300 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20301 PyObject *obj;
20302 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20303 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20304 return SWIG_Py_Void();
20305 }
20306
20307 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20308 return SWIG_Python_InitShadowInstance(args);
20309 }
20310
20311 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20312 PyObject *resultobj = 0;
20313 wxWindow *arg1 = (wxWindow *) 0 ;
20314 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20315 wxString *arg3 = 0 ;
20316 int arg4 = (int) 0 ;
20317 wxFindReplaceDialog *result = 0 ;
20318 void *argp1 = 0 ;
20319 int res1 = 0 ;
20320 void *argp2 = 0 ;
20321 int res2 = 0 ;
20322 bool temp3 = false ;
20323 int val4 ;
20324 int ecode4 = 0 ;
20325 PyObject * obj0 = 0 ;
20326 PyObject * obj1 = 0 ;
20327 PyObject * obj2 = 0 ;
20328 PyObject * obj3 = 0 ;
20329 char * kwnames[] = {
20330 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20331 };
20332
20333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20335 if (!SWIG_IsOK(res1)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20337 }
20338 arg1 = reinterpret_cast< wxWindow * >(argp1);
20339 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20340 if (!SWIG_IsOK(res2)) {
20341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20342 }
20343 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20344 {
20345 arg3 = wxString_in_helper(obj2);
20346 if (arg3 == NULL) SWIG_fail;
20347 temp3 = true;
20348 }
20349 if (obj3) {
20350 ecode4 = SWIG_AsVal_int(obj3, &val4);
20351 if (!SWIG_IsOK(ecode4)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20353 }
20354 arg4 = static_cast< int >(val4);
20355 }
20356 {
20357 if (!wxPyCheckForApp()) SWIG_fail;
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20364 {
20365 if (temp3)
20366 delete arg3;
20367 }
20368 return resultobj;
20369 fail:
20370 {
20371 if (temp3)
20372 delete arg3;
20373 }
20374 return NULL;
20375 }
20376
20377
20378 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20379 PyObject *resultobj = 0;
20380 wxFindReplaceDialog *result = 0 ;
20381
20382 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20383 {
20384 if (!wxPyCheckForApp()) SWIG_fail;
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj = 0;
20399 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20400 wxWindow *arg2 = (wxWindow *) 0 ;
20401 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20402 wxString *arg4 = 0 ;
20403 int arg5 = (int) 0 ;
20404 bool result;
20405 void *argp1 = 0 ;
20406 int res1 = 0 ;
20407 void *argp2 = 0 ;
20408 int res2 = 0 ;
20409 void *argp3 = 0 ;
20410 int res3 = 0 ;
20411 bool temp4 = false ;
20412 int val5 ;
20413 int ecode5 = 0 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 PyObject * obj2 = 0 ;
20417 PyObject * obj3 = 0 ;
20418 PyObject * obj4 = 0 ;
20419 char * kwnames[] = {
20420 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20421 };
20422
20423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20425 if (!SWIG_IsOK(res1)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20427 }
20428 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20430 if (!SWIG_IsOK(res2)) {
20431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20432 }
20433 arg2 = reinterpret_cast< wxWindow * >(argp2);
20434 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20435 if (!SWIG_IsOK(res3)) {
20436 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20437 }
20438 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20439 {
20440 arg4 = wxString_in_helper(obj3);
20441 if (arg4 == NULL) SWIG_fail;
20442 temp4 = true;
20443 }
20444 if (obj4) {
20445 ecode5 = SWIG_AsVal_int(obj4, &val5);
20446 if (!SWIG_IsOK(ecode5)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20448 }
20449 arg5 = static_cast< int >(val5);
20450 }
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 {
20458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20459 }
20460 {
20461 if (temp4)
20462 delete arg4;
20463 }
20464 return resultobj;
20465 fail:
20466 {
20467 if (temp4)
20468 delete arg4;
20469 }
20470 return NULL;
20471 }
20472
20473
20474 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20475 PyObject *resultobj = 0;
20476 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20477 wxFindReplaceData *result = 0 ;
20478 void *argp1 = 0 ;
20479 int res1 = 0 ;
20480 PyObject *swig_obj[1] ;
20481
20482 if (!args) SWIG_fail;
20483 swig_obj[0] = args;
20484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20485 if (!SWIG_IsOK(res1)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20487 }
20488 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 result = (wxFindReplaceData *)(arg1)->GetData();
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj = 0;
20504 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20505 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20506 void *argp1 = 0 ;
20507 int res1 = 0 ;
20508 void *argp2 = 0 ;
20509 int res2 = 0 ;
20510 PyObject * obj0 = 0 ;
20511 PyObject * obj1 = 0 ;
20512 char * kwnames[] = {
20513 (char *) "self",(char *) "data", NULL
20514 };
20515
20516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20518 if (!SWIG_IsOK(res1)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20520 }
20521 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20522 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20523 if (!SWIG_IsOK(res2)) {
20524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20525 }
20526 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20527 {
20528 PyThreadState* __tstate = wxPyBeginAllowThreads();
20529 (arg1)->SetData(arg2);
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 resultobj = SWIG_Py_Void();
20534 return resultobj;
20535 fail:
20536 return NULL;
20537 }
20538
20539
20540 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20541 PyObject *obj;
20542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20543 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20544 return SWIG_Py_Void();
20545 }
20546
20547 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20548 return SWIG_Python_InitShadowInstance(args);
20549 }
20550
20551 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj = 0;
20553 wxWindow *arg1 = (wxWindow *) 0 ;
20554 int arg2 = (int) (int)-1 ;
20555 wxString const &arg3_defvalue = wxPyEmptyString ;
20556 wxString *arg3 = (wxString *) &arg3_defvalue ;
20557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20559 wxSize const &arg5_defvalue = wxDefaultSize ;
20560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20561 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20562 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20563 wxString *arg7 = (wxString *) &arg7_defvalue ;
20564 wxMDIParentFrame *result = 0 ;
20565 void *argp1 = 0 ;
20566 int res1 = 0 ;
20567 int val2 ;
20568 int ecode2 = 0 ;
20569 bool temp3 = false ;
20570 wxPoint temp4 ;
20571 wxSize temp5 ;
20572 long val6 ;
20573 int ecode6 = 0 ;
20574 bool temp7 = false ;
20575 PyObject * obj0 = 0 ;
20576 PyObject * obj1 = 0 ;
20577 PyObject * obj2 = 0 ;
20578 PyObject * obj3 = 0 ;
20579 PyObject * obj4 = 0 ;
20580 PyObject * obj5 = 0 ;
20581 PyObject * obj6 = 0 ;
20582 char * kwnames[] = {
20583 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20584 };
20585
20586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20588 if (!SWIG_IsOK(res1)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20590 }
20591 arg1 = reinterpret_cast< wxWindow * >(argp1);
20592 if (obj1) {
20593 ecode2 = SWIG_AsVal_int(obj1, &val2);
20594 if (!SWIG_IsOK(ecode2)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20596 }
20597 arg2 = static_cast< int >(val2);
20598 }
20599 if (obj2) {
20600 {
20601 arg3 = wxString_in_helper(obj2);
20602 if (arg3 == NULL) SWIG_fail;
20603 temp3 = true;
20604 }
20605 }
20606 if (obj3) {
20607 {
20608 arg4 = &temp4;
20609 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20610 }
20611 }
20612 if (obj4) {
20613 {
20614 arg5 = &temp5;
20615 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20616 }
20617 }
20618 if (obj5) {
20619 ecode6 = SWIG_AsVal_long(obj5, &val6);
20620 if (!SWIG_IsOK(ecode6)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20622 }
20623 arg6 = static_cast< long >(val6);
20624 }
20625 if (obj6) {
20626 {
20627 arg7 = wxString_in_helper(obj6);
20628 if (arg7 == NULL) SWIG_fail;
20629 temp7 = true;
20630 }
20631 }
20632 {
20633 if (!wxPyCheckForApp()) SWIG_fail;
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20640 {
20641 if (temp3)
20642 delete arg3;
20643 }
20644 {
20645 if (temp7)
20646 delete arg7;
20647 }
20648 return resultobj;
20649 fail:
20650 {
20651 if (temp3)
20652 delete arg3;
20653 }
20654 {
20655 if (temp7)
20656 delete arg7;
20657 }
20658 return NULL;
20659 }
20660
20661
20662 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20663 PyObject *resultobj = 0;
20664 wxMDIParentFrame *result = 0 ;
20665
20666 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20667 {
20668 if (!wxPyCheckForApp()) SWIG_fail;
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20675 return resultobj;
20676 fail:
20677 return NULL;
20678 }
20679
20680
20681 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj = 0;
20683 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20684 wxWindow *arg2 = (wxWindow *) 0 ;
20685 int arg3 = (int) (int)-1 ;
20686 wxString const &arg4_defvalue = wxPyEmptyString ;
20687 wxString *arg4 = (wxString *) &arg4_defvalue ;
20688 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20689 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20690 wxSize const &arg6_defvalue = wxDefaultSize ;
20691 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20692 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20693 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20694 wxString *arg8 = (wxString *) &arg8_defvalue ;
20695 bool result;
20696 void *argp1 = 0 ;
20697 int res1 = 0 ;
20698 void *argp2 = 0 ;
20699 int res2 = 0 ;
20700 int val3 ;
20701 int ecode3 = 0 ;
20702 bool temp4 = false ;
20703 wxPoint temp5 ;
20704 wxSize temp6 ;
20705 long val7 ;
20706 int ecode7 = 0 ;
20707 bool temp8 = false ;
20708 PyObject * obj0 = 0 ;
20709 PyObject * obj1 = 0 ;
20710 PyObject * obj2 = 0 ;
20711 PyObject * obj3 = 0 ;
20712 PyObject * obj4 = 0 ;
20713 PyObject * obj5 = 0 ;
20714 PyObject * obj6 = 0 ;
20715 PyObject * obj7 = 0 ;
20716 char * kwnames[] = {
20717 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20718 };
20719
20720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20722 if (!SWIG_IsOK(res1)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20724 }
20725 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20726 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20727 if (!SWIG_IsOK(res2)) {
20728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20729 }
20730 arg2 = reinterpret_cast< wxWindow * >(argp2);
20731 if (obj2) {
20732 ecode3 = SWIG_AsVal_int(obj2, &val3);
20733 if (!SWIG_IsOK(ecode3)) {
20734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20735 }
20736 arg3 = static_cast< int >(val3);
20737 }
20738 if (obj3) {
20739 {
20740 arg4 = wxString_in_helper(obj3);
20741 if (arg4 == NULL) SWIG_fail;
20742 temp4 = true;
20743 }
20744 }
20745 if (obj4) {
20746 {
20747 arg5 = &temp5;
20748 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20749 }
20750 }
20751 if (obj5) {
20752 {
20753 arg6 = &temp6;
20754 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20755 }
20756 }
20757 if (obj6) {
20758 ecode7 = SWIG_AsVal_long(obj6, &val7);
20759 if (!SWIG_IsOK(ecode7)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20761 }
20762 arg7 = static_cast< long >(val7);
20763 }
20764 if (obj7) {
20765 {
20766 arg8 = wxString_in_helper(obj7);
20767 if (arg8 == NULL) SWIG_fail;
20768 temp8 = true;
20769 }
20770 }
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 {
20778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20779 }
20780 {
20781 if (temp4)
20782 delete arg4;
20783 }
20784 {
20785 if (temp8)
20786 delete arg8;
20787 }
20788 return resultobj;
20789 fail:
20790 {
20791 if (temp4)
20792 delete arg4;
20793 }
20794 {
20795 if (temp8)
20796 delete arg8;
20797 }
20798 return NULL;
20799 }
20800
20801
20802 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20803 PyObject *resultobj = 0;
20804 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20805 void *argp1 = 0 ;
20806 int res1 = 0 ;
20807 PyObject *swig_obj[1] ;
20808
20809 if (!args) SWIG_fail;
20810 swig_obj[0] = args;
20811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20812 if (!SWIG_IsOK(res1)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20814 }
20815 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 (arg1)->ActivateNext();
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 resultobj = SWIG_Py_Void();
20823 return resultobj;
20824 fail:
20825 return NULL;
20826 }
20827
20828
20829 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20830 PyObject *resultobj = 0;
20831 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20832 void *argp1 = 0 ;
20833 int res1 = 0 ;
20834 PyObject *swig_obj[1] ;
20835
20836 if (!args) SWIG_fail;
20837 swig_obj[0] = args;
20838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20839 if (!SWIG_IsOK(res1)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20841 }
20842 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20843 {
20844 PyThreadState* __tstate = wxPyBeginAllowThreads();
20845 (arg1)->ActivatePrevious();
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 resultobj = SWIG_Py_Void();
20850 return resultobj;
20851 fail:
20852 return NULL;
20853 }
20854
20855
20856 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20857 PyObject *resultobj = 0;
20858 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20859 void *argp1 = 0 ;
20860 int res1 = 0 ;
20861 PyObject *swig_obj[1] ;
20862
20863 if (!args) SWIG_fail;
20864 swig_obj[0] = args;
20865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20866 if (!SWIG_IsOK(res1)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20868 }
20869 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20870 {
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 (arg1)->ArrangeIcons();
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 resultobj = SWIG_Py_Void();
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20884 PyObject *resultobj = 0;
20885 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20886 void *argp1 = 0 ;
20887 int res1 = 0 ;
20888 PyObject *swig_obj[1] ;
20889
20890 if (!args) SWIG_fail;
20891 swig_obj[0] = args;
20892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20893 if (!SWIG_IsOK(res1)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20895 }
20896 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 (arg1)->Cascade();
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 resultobj = SWIG_Py_Void();
20904 return resultobj;
20905 fail:
20906 return NULL;
20907 }
20908
20909
20910 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20911 PyObject *resultobj = 0;
20912 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20913 wxMDIChildFrame *result = 0 ;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 PyObject *swig_obj[1] ;
20917
20918 if (!args) SWIG_fail;
20919 swig_obj[0] = args;
20920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20921 if (!SWIG_IsOK(res1)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20923 }
20924 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 {
20932 resultobj = wxPyMake_wxObject(result, (bool)0);
20933 }
20934 return resultobj;
20935 fail:
20936 return NULL;
20937 }
20938
20939
20940 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20941 PyObject *resultobj = 0;
20942 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20943 wxMDIClientWindow *result = 0 ;
20944 void *argp1 = 0 ;
20945 int res1 = 0 ;
20946 PyObject *swig_obj[1] ;
20947
20948 if (!args) SWIG_fail;
20949 swig_obj[0] = args;
20950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20951 if (!SWIG_IsOK(res1)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20953 }
20954 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20955 {
20956 PyThreadState* __tstate = wxPyBeginAllowThreads();
20957 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 {
20962 resultobj = wxPyMake_wxObject(result, (bool)0);
20963 }
20964 return resultobj;
20965 fail:
20966 return NULL;
20967 }
20968
20969
20970 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20971 PyObject *resultobj = 0;
20972 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20973 wxWindow *result = 0 ;
20974 void *argp1 = 0 ;
20975 int res1 = 0 ;
20976 PyObject *swig_obj[1] ;
20977
20978 if (!args) SWIG_fail;
20979 swig_obj[0] = args;
20980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20981 if (!SWIG_IsOK(res1)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20983 }
20984 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 result = (wxWindow *)(arg1)->GetToolBar();
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 resultobj = wxPyMake_wxObject(result, 0);
20993 }
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj = 0;
21002 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21003 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21004 void *argp1 = 0 ;
21005 int res1 = 0 ;
21006 int val2 ;
21007 int ecode2 = 0 ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 char * kwnames[] = {
21011 (char *) "self",(char *) "orient", NULL
21012 };
21013
21014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21016 if (!SWIG_IsOK(res1)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21018 }
21019 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21020 if (obj1) {
21021 ecode2 = SWIG_AsVal_int(obj1, &val2);
21022 if (!SWIG_IsOK(ecode2)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21024 }
21025 arg2 = static_cast< wxOrientation >(val2);
21026 }
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 (arg1)->Tile(arg2);
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_Py_Void();
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21041 PyObject *obj;
21042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21043 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21044 return SWIG_Py_Void();
21045 }
21046
21047 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21048 return SWIG_Python_InitShadowInstance(args);
21049 }
21050
21051 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21052 PyObject *resultobj = 0;
21053 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21054 int arg2 = (int) (int)-1 ;
21055 wxString const &arg3_defvalue = wxPyEmptyString ;
21056 wxString *arg3 = (wxString *) &arg3_defvalue ;
21057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21059 wxSize const &arg5_defvalue = wxDefaultSize ;
21060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21061 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21062 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21063 wxString *arg7 = (wxString *) &arg7_defvalue ;
21064 wxMDIChildFrame *result = 0 ;
21065 void *argp1 = 0 ;
21066 int res1 = 0 ;
21067 int val2 ;
21068 int ecode2 = 0 ;
21069 bool temp3 = false ;
21070 wxPoint temp4 ;
21071 wxSize temp5 ;
21072 long val6 ;
21073 int ecode6 = 0 ;
21074 bool temp7 = false ;
21075 PyObject * obj0 = 0 ;
21076 PyObject * obj1 = 0 ;
21077 PyObject * obj2 = 0 ;
21078 PyObject * obj3 = 0 ;
21079 PyObject * obj4 = 0 ;
21080 PyObject * obj5 = 0 ;
21081 PyObject * obj6 = 0 ;
21082 char * kwnames[] = {
21083 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21084 };
21085
21086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21088 if (!SWIG_IsOK(res1)) {
21089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21090 }
21091 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21092 if (obj1) {
21093 ecode2 = SWIG_AsVal_int(obj1, &val2);
21094 if (!SWIG_IsOK(ecode2)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21096 }
21097 arg2 = static_cast< int >(val2);
21098 }
21099 if (obj2) {
21100 {
21101 arg3 = wxString_in_helper(obj2);
21102 if (arg3 == NULL) SWIG_fail;
21103 temp3 = true;
21104 }
21105 }
21106 if (obj3) {
21107 {
21108 arg4 = &temp4;
21109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21110 }
21111 }
21112 if (obj4) {
21113 {
21114 arg5 = &temp5;
21115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21116 }
21117 }
21118 if (obj5) {
21119 ecode6 = SWIG_AsVal_long(obj5, &val6);
21120 if (!SWIG_IsOK(ecode6)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21122 }
21123 arg6 = static_cast< long >(val6);
21124 }
21125 if (obj6) {
21126 {
21127 arg7 = wxString_in_helper(obj6);
21128 if (arg7 == NULL) SWIG_fail;
21129 temp7 = true;
21130 }
21131 }
21132 {
21133 if (!wxPyCheckForApp()) SWIG_fail;
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21140 {
21141 if (temp3)
21142 delete arg3;
21143 }
21144 {
21145 if (temp7)
21146 delete arg7;
21147 }
21148 return resultobj;
21149 fail:
21150 {
21151 if (temp3)
21152 delete arg3;
21153 }
21154 {
21155 if (temp7)
21156 delete arg7;
21157 }
21158 return NULL;
21159 }
21160
21161
21162 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21163 PyObject *resultobj = 0;
21164 wxMDIChildFrame *result = 0 ;
21165
21166 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21167 {
21168 if (!wxPyCheckForApp()) SWIG_fail;
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj = 0;
21183 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21184 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21185 int arg3 = (int) (int)-1 ;
21186 wxString const &arg4_defvalue = wxPyEmptyString ;
21187 wxString *arg4 = (wxString *) &arg4_defvalue ;
21188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21190 wxSize const &arg6_defvalue = wxDefaultSize ;
21191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21192 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21193 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21194 wxString *arg8 = (wxString *) &arg8_defvalue ;
21195 bool result;
21196 void *argp1 = 0 ;
21197 int res1 = 0 ;
21198 void *argp2 = 0 ;
21199 int res2 = 0 ;
21200 int val3 ;
21201 int ecode3 = 0 ;
21202 bool temp4 = false ;
21203 wxPoint temp5 ;
21204 wxSize temp6 ;
21205 long val7 ;
21206 int ecode7 = 0 ;
21207 bool temp8 = false ;
21208 PyObject * obj0 = 0 ;
21209 PyObject * obj1 = 0 ;
21210 PyObject * obj2 = 0 ;
21211 PyObject * obj3 = 0 ;
21212 PyObject * obj4 = 0 ;
21213 PyObject * obj5 = 0 ;
21214 PyObject * obj6 = 0 ;
21215 PyObject * obj7 = 0 ;
21216 char * kwnames[] = {
21217 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21218 };
21219
21220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21222 if (!SWIG_IsOK(res1)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21224 }
21225 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21227 if (!SWIG_IsOK(res2)) {
21228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21229 }
21230 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21231 if (obj2) {
21232 ecode3 = SWIG_AsVal_int(obj2, &val3);
21233 if (!SWIG_IsOK(ecode3)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21235 }
21236 arg3 = static_cast< int >(val3);
21237 }
21238 if (obj3) {
21239 {
21240 arg4 = wxString_in_helper(obj3);
21241 if (arg4 == NULL) SWIG_fail;
21242 temp4 = true;
21243 }
21244 }
21245 if (obj4) {
21246 {
21247 arg5 = &temp5;
21248 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21249 }
21250 }
21251 if (obj5) {
21252 {
21253 arg6 = &temp6;
21254 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21255 }
21256 }
21257 if (obj6) {
21258 ecode7 = SWIG_AsVal_long(obj6, &val7);
21259 if (!SWIG_IsOK(ecode7)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21261 }
21262 arg7 = static_cast< long >(val7);
21263 }
21264 if (obj7) {
21265 {
21266 arg8 = wxString_in_helper(obj7);
21267 if (arg8 == NULL) SWIG_fail;
21268 temp8 = true;
21269 }
21270 }
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 {
21278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21279 }
21280 {
21281 if (temp4)
21282 delete arg4;
21283 }
21284 {
21285 if (temp8)
21286 delete arg8;
21287 }
21288 return resultobj;
21289 fail:
21290 {
21291 if (temp4)
21292 delete arg4;
21293 }
21294 {
21295 if (temp8)
21296 delete arg8;
21297 }
21298 return NULL;
21299 }
21300
21301
21302 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21303 PyObject *resultobj = 0;
21304 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21305 void *argp1 = 0 ;
21306 int res1 = 0 ;
21307 PyObject *swig_obj[1] ;
21308
21309 if (!args) SWIG_fail;
21310 swig_obj[0] = args;
21311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21312 if (!SWIG_IsOK(res1)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21314 }
21315 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 (arg1)->Activate();
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 resultobj = SWIG_Py_Void();
21323 return resultobj;
21324 fail:
21325 return NULL;
21326 }
21327
21328
21329 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21330 PyObject *obj;
21331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21332 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21333 return SWIG_Py_Void();
21334 }
21335
21336 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21337 return SWIG_Python_InitShadowInstance(args);
21338 }
21339
21340 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj = 0;
21342 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21343 long arg2 = (long) 0 ;
21344 wxMDIClientWindow *result = 0 ;
21345 void *argp1 = 0 ;
21346 int res1 = 0 ;
21347 long val2 ;
21348 int ecode2 = 0 ;
21349 PyObject * obj0 = 0 ;
21350 PyObject * obj1 = 0 ;
21351 char * kwnames[] = {
21352 (char *) "parent",(char *) "style", NULL
21353 };
21354
21355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21357 if (!SWIG_IsOK(res1)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21359 }
21360 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21361 if (obj1) {
21362 ecode2 = SWIG_AsVal_long(obj1, &val2);
21363 if (!SWIG_IsOK(ecode2)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21365 }
21366 arg2 = static_cast< long >(val2);
21367 }
21368 {
21369 if (!wxPyCheckForApp()) SWIG_fail;
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21383 PyObject *resultobj = 0;
21384 wxMDIClientWindow *result = 0 ;
21385
21386 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21387 {
21388 if (!wxPyCheckForApp()) SWIG_fail;
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj = 0;
21403 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21404 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21405 long arg3 = (long) 0 ;
21406 bool result;
21407 void *argp1 = 0 ;
21408 int res1 = 0 ;
21409 void *argp2 = 0 ;
21410 int res2 = 0 ;
21411 long val3 ;
21412 int ecode3 = 0 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 PyObject * obj2 = 0 ;
21416 char * kwnames[] = {
21417 (char *) "self",(char *) "parent",(char *) "style", NULL
21418 };
21419
21420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21422 if (!SWIG_IsOK(res1)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21424 }
21425 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21426 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21427 if (!SWIG_IsOK(res2)) {
21428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21429 }
21430 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21431 if (obj2) {
21432 ecode3 = SWIG_AsVal_long(obj2, &val3);
21433 if (!SWIG_IsOK(ecode3)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21435 }
21436 arg3 = static_cast< long >(val3);
21437 }
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (bool)(arg1)->Create(arg2,arg3);
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 {
21445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21446 }
21447 return resultobj;
21448 fail:
21449 return NULL;
21450 }
21451
21452
21453 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21454 PyObject *obj;
21455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21456 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21457 return SWIG_Py_Void();
21458 }
21459
21460 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21461 return SWIG_Python_InitShadowInstance(args);
21462 }
21463
21464 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21465 PyObject *resultobj = 0;
21466 wxWindow *arg1 = (wxWindow *) 0 ;
21467 int arg2 = (int) (int)-1 ;
21468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21470 wxSize const &arg4_defvalue = wxDefaultSize ;
21471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21472 long arg5 = (long) 0 ;
21473 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21474 wxString *arg6 = (wxString *) &arg6_defvalue ;
21475 wxPyWindow *result = 0 ;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 int val2 ;
21479 int ecode2 = 0 ;
21480 wxPoint temp3 ;
21481 wxSize temp4 ;
21482 long val5 ;
21483 int ecode5 = 0 ;
21484 bool temp6 = false ;
21485 PyObject * obj0 = 0 ;
21486 PyObject * obj1 = 0 ;
21487 PyObject * obj2 = 0 ;
21488 PyObject * obj3 = 0 ;
21489 PyObject * obj4 = 0 ;
21490 PyObject * obj5 = 0 ;
21491 char * kwnames[] = {
21492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21493 };
21494
21495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21497 if (!SWIG_IsOK(res1)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21499 }
21500 arg1 = reinterpret_cast< wxWindow * >(argp1);
21501 if (obj1) {
21502 ecode2 = SWIG_AsVal_int(obj1, &val2);
21503 if (!SWIG_IsOK(ecode2)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21505 }
21506 arg2 = static_cast< int >(val2);
21507 }
21508 if (obj2) {
21509 {
21510 arg3 = &temp3;
21511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21512 }
21513 }
21514 if (obj3) {
21515 {
21516 arg4 = &temp4;
21517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21518 }
21519 }
21520 if (obj4) {
21521 ecode5 = SWIG_AsVal_long(obj4, &val5);
21522 if (!SWIG_IsOK(ecode5)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21524 }
21525 arg5 = static_cast< long >(val5);
21526 }
21527 if (obj5) {
21528 {
21529 arg6 = wxString_in_helper(obj5);
21530 if (arg6 == NULL) SWIG_fail;
21531 temp6 = true;
21532 }
21533 }
21534 {
21535 if (!wxPyCheckForApp()) SWIG_fail;
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21542 {
21543 if (temp6)
21544 delete arg6;
21545 }
21546 return resultobj;
21547 fail:
21548 {
21549 if (temp6)
21550 delete arg6;
21551 }
21552 return NULL;
21553 }
21554
21555
21556 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21557 PyObject *resultobj = 0;
21558 wxPyWindow *result = 0 ;
21559
21560 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21561 {
21562 if (!wxPyCheckForApp()) SWIG_fail;
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (wxPyWindow *)new wxPyWindow();
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21569 return resultobj;
21570 fail:
21571 return NULL;
21572 }
21573
21574
21575 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj = 0;
21577 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21578 PyObject *arg2 = (PyObject *) 0 ;
21579 PyObject *arg3 = (PyObject *) 0 ;
21580 void *argp1 = 0 ;
21581 int res1 = 0 ;
21582 PyObject * obj0 = 0 ;
21583 PyObject * obj1 = 0 ;
21584 PyObject * obj2 = 0 ;
21585 char * kwnames[] = {
21586 (char *) "self",(char *) "self",(char *) "_class", NULL
21587 };
21588
21589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21591 if (!SWIG_IsOK(res1)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21593 }
21594 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21595 arg2 = obj1;
21596 arg3 = obj2;
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->_setCallbackInfo(arg2,arg3);
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 resultobj = SWIG_Py_Void();
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj = 0;
21612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21613 wxSize *arg2 = 0 ;
21614 void *argp1 = 0 ;
21615 int res1 = 0 ;
21616 wxSize temp2 ;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char * kwnames[] = {
21620 (char *) "self",(char *) "size", NULL
21621 };
21622
21623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21625 if (!SWIG_IsOK(res1)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21627 }
21628 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21629 {
21630 arg2 = &temp2;
21631 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21632 }
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 (arg1)->SetBestSize((wxSize const &)*arg2);
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 resultobj = SWIG_Py_Void();
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj = 0;
21648 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21649 wxDC *arg2 = (wxDC *) 0 ;
21650 bool result;
21651 void *argp1 = 0 ;
21652 int res1 = 0 ;
21653 void *argp2 = 0 ;
21654 int res2 = 0 ;
21655 PyObject * obj0 = 0 ;
21656 PyObject * obj1 = 0 ;
21657 char * kwnames[] = {
21658 (char *) "self",(char *) "dc", NULL
21659 };
21660
21661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21663 if (!SWIG_IsOK(res1)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21665 }
21666 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21667 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21668 if (!SWIG_IsOK(res2)) {
21669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21670 }
21671 arg2 = reinterpret_cast< wxDC * >(argp2);
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = (bool)(arg1)->DoEraseBackground(arg2);
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 {
21679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21680 }
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj = 0;
21689 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21690 int arg2 ;
21691 int arg3 ;
21692 int arg4 ;
21693 int arg5 ;
21694 void *argp1 = 0 ;
21695 int res1 = 0 ;
21696 int val2 ;
21697 int ecode2 = 0 ;
21698 int val3 ;
21699 int ecode3 = 0 ;
21700 int val4 ;
21701 int ecode4 = 0 ;
21702 int val5 ;
21703 int ecode5 = 0 ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 PyObject * obj2 = 0 ;
21707 PyObject * obj3 = 0 ;
21708 PyObject * obj4 = 0 ;
21709 char * kwnames[] = {
21710 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21711 };
21712
21713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21715 if (!SWIG_IsOK(res1)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21717 }
21718 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21719 ecode2 = SWIG_AsVal_int(obj1, &val2);
21720 if (!SWIG_IsOK(ecode2)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21722 }
21723 arg2 = static_cast< int >(val2);
21724 ecode3 = SWIG_AsVal_int(obj2, &val3);
21725 if (!SWIG_IsOK(ecode3)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21727 }
21728 arg3 = static_cast< int >(val3);
21729 ecode4 = SWIG_AsVal_int(obj3, &val4);
21730 if (!SWIG_IsOK(ecode4)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21732 }
21733 arg4 = static_cast< int >(val4);
21734 ecode5 = SWIG_AsVal_int(obj4, &val5);
21735 if (!SWIG_IsOK(ecode5)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21737 }
21738 arg5 = static_cast< int >(val5);
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 resultobj = SWIG_Py_Void();
21746 return resultobj;
21747 fail:
21748 return NULL;
21749 }
21750
21751
21752 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21753 PyObject *resultobj = 0;
21754 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21755 int arg2 ;
21756 int arg3 ;
21757 int arg4 ;
21758 int arg5 ;
21759 int arg6 = (int) wxSIZE_AUTO ;
21760 void *argp1 = 0 ;
21761 int res1 = 0 ;
21762 int val2 ;
21763 int ecode2 = 0 ;
21764 int val3 ;
21765 int ecode3 = 0 ;
21766 int val4 ;
21767 int ecode4 = 0 ;
21768 int val5 ;
21769 int ecode5 = 0 ;
21770 int val6 ;
21771 int ecode6 = 0 ;
21772 PyObject * obj0 = 0 ;
21773 PyObject * obj1 = 0 ;
21774 PyObject * obj2 = 0 ;
21775 PyObject * obj3 = 0 ;
21776 PyObject * obj4 = 0 ;
21777 PyObject * obj5 = 0 ;
21778 char * kwnames[] = {
21779 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21780 };
21781
21782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21784 if (!SWIG_IsOK(res1)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21786 }
21787 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21788 ecode2 = SWIG_AsVal_int(obj1, &val2);
21789 if (!SWIG_IsOK(ecode2)) {
21790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21791 }
21792 arg2 = static_cast< int >(val2);
21793 ecode3 = SWIG_AsVal_int(obj2, &val3);
21794 if (!SWIG_IsOK(ecode3)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21796 }
21797 arg3 = static_cast< int >(val3);
21798 ecode4 = SWIG_AsVal_int(obj3, &val4);
21799 if (!SWIG_IsOK(ecode4)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21801 }
21802 arg4 = static_cast< int >(val4);
21803 ecode5 = SWIG_AsVal_int(obj4, &val5);
21804 if (!SWIG_IsOK(ecode5)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21806 }
21807 arg5 = static_cast< int >(val5);
21808 if (obj5) {
21809 ecode6 = SWIG_AsVal_int(obj5, &val6);
21810 if (!SWIG_IsOK(ecode6)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21812 }
21813 arg6 = static_cast< int >(val6);
21814 }
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 resultobj = SWIG_Py_Void();
21822 return resultobj;
21823 fail:
21824 return NULL;
21825 }
21826
21827
21828 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj = 0;
21830 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21831 int arg2 ;
21832 int arg3 ;
21833 void *argp1 = 0 ;
21834 int res1 = 0 ;
21835 int val2 ;
21836 int ecode2 = 0 ;
21837 int val3 ;
21838 int ecode3 = 0 ;
21839 PyObject * obj0 = 0 ;
21840 PyObject * obj1 = 0 ;
21841 PyObject * obj2 = 0 ;
21842 char * kwnames[] = {
21843 (char *) "self",(char *) "width",(char *) "height", NULL
21844 };
21845
21846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21848 if (!SWIG_IsOK(res1)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21850 }
21851 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21852 ecode2 = SWIG_AsVal_int(obj1, &val2);
21853 if (!SWIG_IsOK(ecode2)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21855 }
21856 arg2 = static_cast< int >(val2);
21857 ecode3 = SWIG_AsVal_int(obj2, &val3);
21858 if (!SWIG_IsOK(ecode3)) {
21859 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21860 }
21861 arg3 = static_cast< int >(val3);
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 (arg1)->DoSetClientSize(arg2,arg3);
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = SWIG_Py_Void();
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj = 0;
21877 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21878 int arg2 ;
21879 int arg3 ;
21880 void *argp1 = 0 ;
21881 int res1 = 0 ;
21882 int val2 ;
21883 int ecode2 = 0 ;
21884 int val3 ;
21885 int ecode3 = 0 ;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 PyObject * obj2 = 0 ;
21889 char * kwnames[] = {
21890 (char *) "self",(char *) "x",(char *) "y", NULL
21891 };
21892
21893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21895 if (!SWIG_IsOK(res1)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21897 }
21898 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21899 ecode2 = SWIG_AsVal_int(obj1, &val2);
21900 if (!SWIG_IsOK(ecode2)) {
21901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21902 }
21903 arg2 = static_cast< int >(val2);
21904 ecode3 = SWIG_AsVal_int(obj2, &val3);
21905 if (!SWIG_IsOK(ecode3)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21907 }
21908 arg3 = static_cast< int >(val3);
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 (arg1)->DoSetVirtualSize(arg2,arg3);
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 resultobj = SWIG_Py_Void();
21916 return resultobj;
21917 fail:
21918 return NULL;
21919 }
21920
21921
21922 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21923 PyObject *resultobj = 0;
21924 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21925 int *arg2 = (int *) 0 ;
21926 int *arg3 = (int *) 0 ;
21927 void *argp1 = 0 ;
21928 int res1 = 0 ;
21929 int temp2 ;
21930 int res2 = SWIG_TMPOBJ ;
21931 int temp3 ;
21932 int res3 = SWIG_TMPOBJ ;
21933 PyObject *swig_obj[1] ;
21934
21935 arg2 = &temp2;
21936 arg3 = &temp3;
21937 if (!args) SWIG_fail;
21938 swig_obj[0] = args;
21939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21940 if (!SWIG_IsOK(res1)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21942 }
21943 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 resultobj = SWIG_Py_Void();
21951 if (SWIG_IsTmpObj(res2)) {
21952 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21953 } else {
21954 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21956 }
21957 if (SWIG_IsTmpObj(res3)) {
21958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21959 } else {
21960 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21962 }
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21970 PyObject *resultobj = 0;
21971 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21972 int *arg2 = (int *) 0 ;
21973 int *arg3 = (int *) 0 ;
21974 void *argp1 = 0 ;
21975 int res1 = 0 ;
21976 int temp2 ;
21977 int res2 = SWIG_TMPOBJ ;
21978 int temp3 ;
21979 int res3 = SWIG_TMPOBJ ;
21980 PyObject *swig_obj[1] ;
21981
21982 arg2 = &temp2;
21983 arg3 = &temp3;
21984 if (!args) SWIG_fail;
21985 swig_obj[0] = args;
21986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21987 if (!SWIG_IsOK(res1)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21989 }
21990 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21994 wxPyEndAllowThreads(__tstate);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 resultobj = SWIG_Py_Void();
21998 if (SWIG_IsTmpObj(res2)) {
21999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22000 } else {
22001 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22002 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22003 }
22004 if (SWIG_IsTmpObj(res3)) {
22005 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22006 } else {
22007 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22008 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22009 }
22010 return resultobj;
22011 fail:
22012 return NULL;
22013 }
22014
22015
22016 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22017 PyObject *resultobj = 0;
22018 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22019 int *arg2 = (int *) 0 ;
22020 int *arg3 = (int *) 0 ;
22021 void *argp1 = 0 ;
22022 int res1 = 0 ;
22023 int temp2 ;
22024 int res2 = SWIG_TMPOBJ ;
22025 int temp3 ;
22026 int res3 = SWIG_TMPOBJ ;
22027 PyObject *swig_obj[1] ;
22028
22029 arg2 = &temp2;
22030 arg3 = &temp3;
22031 if (!args) SWIG_fail;
22032 swig_obj[0] = args;
22033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22034 if (!SWIG_IsOK(res1)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22036 }
22037 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 resultobj = SWIG_Py_Void();
22045 if (SWIG_IsTmpObj(res2)) {
22046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22047 } else {
22048 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22050 }
22051 if (SWIG_IsTmpObj(res3)) {
22052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22053 } else {
22054 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22055 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22056 }
22057 return resultobj;
22058 fail:
22059 return NULL;
22060 }
22061
22062
22063 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22064 PyObject *resultobj = 0;
22065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22066 wxSize result;
22067 void *argp1 = 0 ;
22068 int res1 = 0 ;
22069 PyObject *swig_obj[1] ;
22070
22071 if (!args) SWIG_fail;
22072 swig_obj[0] = args;
22073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22074 if (!SWIG_IsOK(res1)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22076 }
22077 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22092 PyObject *resultobj = 0;
22093 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22094 wxSize result;
22095 void *argp1 = 0 ;
22096 int res1 = 0 ;
22097 PyObject *swig_obj[1] ;
22098
22099 if (!args) SWIG_fail;
22100 swig_obj[0] = args;
22101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22102 if (!SWIG_IsOK(res1)) {
22103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22104 }
22105 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22120 PyObject *resultobj = 0;
22121 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22122 SwigValueWrapper<wxVisualAttributes > result;
22123 void *argp1 = 0 ;
22124 int res1 = 0 ;
22125 PyObject *swig_obj[1] ;
22126
22127 if (!args) SWIG_fail;
22128 swig_obj[0] = args;
22129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22130 if (!SWIG_IsOK(res1)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22132 }
22133 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (arg1)->GetDefaultAttributes();
22137 wxPyEndAllowThreads(__tstate);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
22140 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22148 PyObject *resultobj = 0;
22149 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22150 void *argp1 = 0 ;
22151 int res1 = 0 ;
22152 PyObject *swig_obj[1] ;
22153
22154 if (!args) SWIG_fail;
22155 swig_obj[0] = args;
22156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22157 if (!SWIG_IsOK(res1)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22159 }
22160 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 (arg1)->OnInternalIdle();
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 resultobj = SWIG_Py_Void();
22168 return resultobj;
22169 fail:
22170 return NULL;
22171 }
22172
22173
22174 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22175 PyObject *obj;
22176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22178 return SWIG_Py_Void();
22179 }
22180
22181 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22182 return SWIG_Python_InitShadowInstance(args);
22183 }
22184
22185 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj = 0;
22187 wxWindow *arg1 = (wxWindow *) 0 ;
22188 int arg2 = (int) (int)-1 ;
22189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22191 wxSize const &arg4_defvalue = wxDefaultSize ;
22192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22193 long arg5 = (long) 0 ;
22194 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22195 wxString *arg6 = (wxString *) &arg6_defvalue ;
22196 wxPyPanel *result = 0 ;
22197 void *argp1 = 0 ;
22198 int res1 = 0 ;
22199 int val2 ;
22200 int ecode2 = 0 ;
22201 wxPoint temp3 ;
22202 wxSize temp4 ;
22203 long val5 ;
22204 int ecode5 = 0 ;
22205 bool temp6 = false ;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 PyObject * obj2 = 0 ;
22209 PyObject * obj3 = 0 ;
22210 PyObject * obj4 = 0 ;
22211 PyObject * obj5 = 0 ;
22212 char * kwnames[] = {
22213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22214 };
22215
22216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22218 if (!SWIG_IsOK(res1)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22220 }
22221 arg1 = reinterpret_cast< wxWindow * >(argp1);
22222 if (obj1) {
22223 ecode2 = SWIG_AsVal_int(obj1, &val2);
22224 if (!SWIG_IsOK(ecode2)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22226 }
22227 arg2 = static_cast< int >(val2);
22228 }
22229 if (obj2) {
22230 {
22231 arg3 = &temp3;
22232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22233 }
22234 }
22235 if (obj3) {
22236 {
22237 arg4 = &temp4;
22238 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22239 }
22240 }
22241 if (obj4) {
22242 ecode5 = SWIG_AsVal_long(obj4, &val5);
22243 if (!SWIG_IsOK(ecode5)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22245 }
22246 arg5 = static_cast< long >(val5);
22247 }
22248 if (obj5) {
22249 {
22250 arg6 = wxString_in_helper(obj5);
22251 if (arg6 == NULL) SWIG_fail;
22252 temp6 = true;
22253 }
22254 }
22255 {
22256 if (!wxPyCheckForApp()) SWIG_fail;
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22263 {
22264 if (temp6)
22265 delete arg6;
22266 }
22267 return resultobj;
22268 fail:
22269 {
22270 if (temp6)
22271 delete arg6;
22272 }
22273 return NULL;
22274 }
22275
22276
22277 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22278 PyObject *resultobj = 0;
22279 wxPyPanel *result = 0 ;
22280
22281 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22282 {
22283 if (!wxPyCheckForApp()) SWIG_fail;
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = (wxPyPanel *)new wxPyPanel();
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj = 0;
22298 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22299 PyObject *arg2 = (PyObject *) 0 ;
22300 PyObject *arg3 = (PyObject *) 0 ;
22301 void *argp1 = 0 ;
22302 int res1 = 0 ;
22303 PyObject * obj0 = 0 ;
22304 PyObject * obj1 = 0 ;
22305 PyObject * obj2 = 0 ;
22306 char * kwnames[] = {
22307 (char *) "self",(char *) "self",(char *) "_class", NULL
22308 };
22309
22310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22312 if (!SWIG_IsOK(res1)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22314 }
22315 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22316 arg2 = obj1;
22317 arg3 = obj2;
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 (arg1)->_setCallbackInfo(arg2,arg3);
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 resultobj = SWIG_Py_Void();
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj = 0;
22333 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22334 wxSize *arg2 = 0 ;
22335 void *argp1 = 0 ;
22336 int res1 = 0 ;
22337 wxSize temp2 ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 char * kwnames[] = {
22341 (char *) "self",(char *) "size", NULL
22342 };
22343
22344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22346 if (!SWIG_IsOK(res1)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22348 }
22349 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22350 {
22351 arg2 = &temp2;
22352 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22353 }
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->SetBestSize((wxSize const &)*arg2);
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 resultobj = SWIG_Py_Void();
22361 return resultobj;
22362 fail:
22363 return NULL;
22364 }
22365
22366
22367 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj = 0;
22369 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22370 wxDC *arg2 = (wxDC *) 0 ;
22371 bool result;
22372 void *argp1 = 0 ;
22373 int res1 = 0 ;
22374 void *argp2 = 0 ;
22375 int res2 = 0 ;
22376 PyObject * obj0 = 0 ;
22377 PyObject * obj1 = 0 ;
22378 char * kwnames[] = {
22379 (char *) "self",(char *) "dc", NULL
22380 };
22381
22382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22384 if (!SWIG_IsOK(res1)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22386 }
22387 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22389 if (!SWIG_IsOK(res2)) {
22390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22391 }
22392 arg2 = reinterpret_cast< wxDC * >(argp2);
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 result = (bool)(arg1)->DoEraseBackground(arg2);
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 {
22400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22401 }
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj = 0;
22410 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22411 int arg2 ;
22412 int arg3 ;
22413 int arg4 ;
22414 int arg5 ;
22415 void *argp1 = 0 ;
22416 int res1 = 0 ;
22417 int val2 ;
22418 int ecode2 = 0 ;
22419 int val3 ;
22420 int ecode3 = 0 ;
22421 int val4 ;
22422 int ecode4 = 0 ;
22423 int val5 ;
22424 int ecode5 = 0 ;
22425 PyObject * obj0 = 0 ;
22426 PyObject * obj1 = 0 ;
22427 PyObject * obj2 = 0 ;
22428 PyObject * obj3 = 0 ;
22429 PyObject * obj4 = 0 ;
22430 char * kwnames[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22432 };
22433
22434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22436 if (!SWIG_IsOK(res1)) {
22437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22438 }
22439 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22440 ecode2 = SWIG_AsVal_int(obj1, &val2);
22441 if (!SWIG_IsOK(ecode2)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22443 }
22444 arg2 = static_cast< int >(val2);
22445 ecode3 = SWIG_AsVal_int(obj2, &val3);
22446 if (!SWIG_IsOK(ecode3)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22448 }
22449 arg3 = static_cast< int >(val3);
22450 ecode4 = SWIG_AsVal_int(obj3, &val4);
22451 if (!SWIG_IsOK(ecode4)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22453 }
22454 arg4 = static_cast< int >(val4);
22455 ecode5 = SWIG_AsVal_int(obj4, &val5);
22456 if (!SWIG_IsOK(ecode5)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22458 }
22459 arg5 = static_cast< int >(val5);
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 resultobj = SWIG_Py_Void();
22467 return resultobj;
22468 fail:
22469 return NULL;
22470 }
22471
22472
22473 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22474 PyObject *resultobj = 0;
22475 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22476 int arg2 ;
22477 int arg3 ;
22478 int arg4 ;
22479 int arg5 ;
22480 int arg6 = (int) wxSIZE_AUTO ;
22481 void *argp1 = 0 ;
22482 int res1 = 0 ;
22483 int val2 ;
22484 int ecode2 = 0 ;
22485 int val3 ;
22486 int ecode3 = 0 ;
22487 int val4 ;
22488 int ecode4 = 0 ;
22489 int val5 ;
22490 int ecode5 = 0 ;
22491 int val6 ;
22492 int ecode6 = 0 ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 PyObject * obj3 = 0 ;
22497 PyObject * obj4 = 0 ;
22498 PyObject * obj5 = 0 ;
22499 char * kwnames[] = {
22500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22501 };
22502
22503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22505 if (!SWIG_IsOK(res1)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22507 }
22508 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22509 ecode2 = SWIG_AsVal_int(obj1, &val2);
22510 if (!SWIG_IsOK(ecode2)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22512 }
22513 arg2 = static_cast< int >(val2);
22514 ecode3 = SWIG_AsVal_int(obj2, &val3);
22515 if (!SWIG_IsOK(ecode3)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22517 }
22518 arg3 = static_cast< int >(val3);
22519 ecode4 = SWIG_AsVal_int(obj3, &val4);
22520 if (!SWIG_IsOK(ecode4)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22522 }
22523 arg4 = static_cast< int >(val4);
22524 ecode5 = SWIG_AsVal_int(obj4, &val5);
22525 if (!SWIG_IsOK(ecode5)) {
22526 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22527 }
22528 arg5 = static_cast< int >(val5);
22529 if (obj5) {
22530 ecode6 = SWIG_AsVal_int(obj5, &val6);
22531 if (!SWIG_IsOK(ecode6)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22533 }
22534 arg6 = static_cast< int >(val6);
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22539 wxPyEndAllowThreads(__tstate);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 }
22542 resultobj = SWIG_Py_Void();
22543 return resultobj;
22544 fail:
22545 return NULL;
22546 }
22547
22548
22549 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj = 0;
22551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22552 int arg2 ;
22553 int arg3 ;
22554 void *argp1 = 0 ;
22555 int res1 = 0 ;
22556 int val2 ;
22557 int ecode2 = 0 ;
22558 int val3 ;
22559 int ecode3 = 0 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 PyObject * obj2 = 0 ;
22563 char * kwnames[] = {
22564 (char *) "self",(char *) "width",(char *) "height", NULL
22565 };
22566
22567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22569 if (!SWIG_IsOK(res1)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22571 }
22572 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22573 ecode2 = SWIG_AsVal_int(obj1, &val2);
22574 if (!SWIG_IsOK(ecode2)) {
22575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22576 }
22577 arg2 = static_cast< int >(val2);
22578 ecode3 = SWIG_AsVal_int(obj2, &val3);
22579 if (!SWIG_IsOK(ecode3)) {
22580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22581 }
22582 arg3 = static_cast< int >(val3);
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->DoSetClientSize(arg2,arg3);
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 resultobj = SWIG_Py_Void();
22590 return resultobj;
22591 fail:
22592 return NULL;
22593 }
22594
22595
22596 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj = 0;
22598 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22599 int arg2 ;
22600 int arg3 ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 int val2 ;
22604 int ecode2 = 0 ;
22605 int val3 ;
22606 int ecode3 = 0 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 PyObject * obj2 = 0 ;
22610 char * kwnames[] = {
22611 (char *) "self",(char *) "x",(char *) "y", NULL
22612 };
22613
22614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22616 if (!SWIG_IsOK(res1)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22618 }
22619 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22620 ecode2 = SWIG_AsVal_int(obj1, &val2);
22621 if (!SWIG_IsOK(ecode2)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22623 }
22624 arg2 = static_cast< int >(val2);
22625 ecode3 = SWIG_AsVal_int(obj2, &val3);
22626 if (!SWIG_IsOK(ecode3)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22628 }
22629 arg3 = static_cast< int >(val3);
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 (arg1)->DoSetVirtualSize(arg2,arg3);
22633 wxPyEndAllowThreads(__tstate);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 resultobj = SWIG_Py_Void();
22637 return resultobj;
22638 fail:
22639 return NULL;
22640 }
22641
22642
22643 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22644 PyObject *resultobj = 0;
22645 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22646 int *arg2 = (int *) 0 ;
22647 int *arg3 = (int *) 0 ;
22648 void *argp1 = 0 ;
22649 int res1 = 0 ;
22650 int temp2 ;
22651 int res2 = SWIG_TMPOBJ ;
22652 int temp3 ;
22653 int res3 = SWIG_TMPOBJ ;
22654 PyObject *swig_obj[1] ;
22655
22656 arg2 = &temp2;
22657 arg3 = &temp3;
22658 if (!args) SWIG_fail;
22659 swig_obj[0] = args;
22660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22661 if (!SWIG_IsOK(res1)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22663 }
22664 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 resultobj = SWIG_Py_Void();
22672 if (SWIG_IsTmpObj(res2)) {
22673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22674 } else {
22675 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22676 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22677 }
22678 if (SWIG_IsTmpObj(res3)) {
22679 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22680 } else {
22681 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22682 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22691 PyObject *resultobj = 0;
22692 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22693 int *arg2 = (int *) 0 ;
22694 int *arg3 = (int *) 0 ;
22695 void *argp1 = 0 ;
22696 int res1 = 0 ;
22697 int temp2 ;
22698 int res2 = SWIG_TMPOBJ ;
22699 int temp3 ;
22700 int res3 = SWIG_TMPOBJ ;
22701 PyObject *swig_obj[1] ;
22702
22703 arg2 = &temp2;
22704 arg3 = &temp3;
22705 if (!args) SWIG_fail;
22706 swig_obj[0] = args;
22707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22708 if (!SWIG_IsOK(res1)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22710 }
22711 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22715 wxPyEndAllowThreads(__tstate);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 resultobj = SWIG_Py_Void();
22719 if (SWIG_IsTmpObj(res2)) {
22720 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22721 } else {
22722 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22723 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22724 }
22725 if (SWIG_IsTmpObj(res3)) {
22726 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22727 } else {
22728 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22729 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22738 PyObject *resultobj = 0;
22739 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22740 int *arg2 = (int *) 0 ;
22741 int *arg3 = (int *) 0 ;
22742 void *argp1 = 0 ;
22743 int res1 = 0 ;
22744 int temp2 ;
22745 int res2 = SWIG_TMPOBJ ;
22746 int temp3 ;
22747 int res3 = SWIG_TMPOBJ ;
22748 PyObject *swig_obj[1] ;
22749
22750 arg2 = &temp2;
22751 arg3 = &temp3;
22752 if (!args) SWIG_fail;
22753 swig_obj[0] = args;
22754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22755 if (!SWIG_IsOK(res1)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22757 }
22758 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 resultobj = SWIG_Py_Void();
22766 if (SWIG_IsTmpObj(res2)) {
22767 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22768 } else {
22769 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22770 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22771 }
22772 if (SWIG_IsTmpObj(res3)) {
22773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22774 } else {
22775 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22777 }
22778 return resultobj;
22779 fail:
22780 return NULL;
22781 }
22782
22783
22784 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22785 PyObject *resultobj = 0;
22786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22787 wxSize result;
22788 void *argp1 = 0 ;
22789 int res1 = 0 ;
22790 PyObject *swig_obj[1] ;
22791
22792 if (!args) SWIG_fail;
22793 swig_obj[0] = args;
22794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22795 if (!SWIG_IsOK(res1)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22797 }
22798 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22806 return resultobj;
22807 fail:
22808 return NULL;
22809 }
22810
22811
22812 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22813 PyObject *resultobj = 0;
22814 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22815 wxSize result;
22816 void *argp1 = 0 ;
22817 int res1 = 0 ;
22818 PyObject *swig_obj[1] ;
22819
22820 if (!args) SWIG_fail;
22821 swig_obj[0] = args;
22822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22823 if (!SWIG_IsOK(res1)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22825 }
22826 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22841 PyObject *resultobj = 0;
22842 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22843 SwigValueWrapper<wxVisualAttributes > result;
22844 void *argp1 = 0 ;
22845 int res1 = 0 ;
22846 PyObject *swig_obj[1] ;
22847
22848 if (!args) SWIG_fail;
22849 swig_obj[0] = args;
22850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22851 if (!SWIG_IsOK(res1)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22853 }
22854 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (arg1)->GetDefaultAttributes();
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22862 return resultobj;
22863 fail:
22864 return NULL;
22865 }
22866
22867
22868 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22869 PyObject *resultobj = 0;
22870 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22871 void *argp1 = 0 ;
22872 int res1 = 0 ;
22873 PyObject *swig_obj[1] ;
22874
22875 if (!args) SWIG_fail;
22876 swig_obj[0] = args;
22877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22878 if (!SWIG_IsOK(res1)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22880 }
22881 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 (arg1)->OnInternalIdle();
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_Py_Void();
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22896 PyObject *obj;
22897 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22899 return SWIG_Py_Void();
22900 }
22901
22902 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22903 return SWIG_Python_InitShadowInstance(args);
22904 }
22905
22906 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22907 PyObject *resultobj = 0;
22908 wxWindow *arg1 = (wxWindow *) 0 ;
22909 int arg2 = (int) (int)-1 ;
22910 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22911 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22912 wxSize const &arg4_defvalue = wxDefaultSize ;
22913 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22914 long arg5 = (long) 0 ;
22915 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22916 wxString *arg6 = (wxString *) &arg6_defvalue ;
22917 wxPyScrolledWindow *result = 0 ;
22918 void *argp1 = 0 ;
22919 int res1 = 0 ;
22920 int val2 ;
22921 int ecode2 = 0 ;
22922 wxPoint temp3 ;
22923 wxSize temp4 ;
22924 long val5 ;
22925 int ecode5 = 0 ;
22926 bool temp6 = false ;
22927 PyObject * obj0 = 0 ;
22928 PyObject * obj1 = 0 ;
22929 PyObject * obj2 = 0 ;
22930 PyObject * obj3 = 0 ;
22931 PyObject * obj4 = 0 ;
22932 PyObject * obj5 = 0 ;
22933 char * kwnames[] = {
22934 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22935 };
22936
22937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22939 if (!SWIG_IsOK(res1)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22941 }
22942 arg1 = reinterpret_cast< wxWindow * >(argp1);
22943 if (obj1) {
22944 ecode2 = SWIG_AsVal_int(obj1, &val2);
22945 if (!SWIG_IsOK(ecode2)) {
22946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22947 }
22948 arg2 = static_cast< int >(val2);
22949 }
22950 if (obj2) {
22951 {
22952 arg3 = &temp3;
22953 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22954 }
22955 }
22956 if (obj3) {
22957 {
22958 arg4 = &temp4;
22959 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22960 }
22961 }
22962 if (obj4) {
22963 ecode5 = SWIG_AsVal_long(obj4, &val5);
22964 if (!SWIG_IsOK(ecode5)) {
22965 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22966 }
22967 arg5 = static_cast< long >(val5);
22968 }
22969 if (obj5) {
22970 {
22971 arg6 = wxString_in_helper(obj5);
22972 if (arg6 == NULL) SWIG_fail;
22973 temp6 = true;
22974 }
22975 }
22976 {
22977 if (!wxPyCheckForApp()) SWIG_fail;
22978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22979 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22984 {
22985 if (temp6)
22986 delete arg6;
22987 }
22988 return resultobj;
22989 fail:
22990 {
22991 if (temp6)
22992 delete arg6;
22993 }
22994 return NULL;
22995 }
22996
22997
22998 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22999 PyObject *resultobj = 0;
23000 wxPyScrolledWindow *result = 0 ;
23001
23002 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23003 {
23004 if (!wxPyCheckForApp()) SWIG_fail;
23005 PyThreadState* __tstate = wxPyBeginAllowThreads();
23006 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23011 return resultobj;
23012 fail:
23013 return NULL;
23014 }
23015
23016
23017 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23018 PyObject *resultobj = 0;
23019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23020 PyObject *arg2 = (PyObject *) 0 ;
23021 PyObject *arg3 = (PyObject *) 0 ;
23022 void *argp1 = 0 ;
23023 int res1 = 0 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 PyObject * obj2 = 0 ;
23027 char * kwnames[] = {
23028 (char *) "self",(char *) "self",(char *) "_class", NULL
23029 };
23030
23031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23033 if (!SWIG_IsOK(res1)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23035 }
23036 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23037 arg2 = obj1;
23038 arg3 = obj2;
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 (arg1)->_setCallbackInfo(arg2,arg3);
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = SWIG_Py_Void();
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj = 0;
23054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23055 wxSize *arg2 = 0 ;
23056 void *argp1 = 0 ;
23057 int res1 = 0 ;
23058 wxSize temp2 ;
23059 PyObject * obj0 = 0 ;
23060 PyObject * obj1 = 0 ;
23061 char * kwnames[] = {
23062 (char *) "self",(char *) "size", NULL
23063 };
23064
23065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23067 if (!SWIG_IsOK(res1)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23069 }
23070 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23071 {
23072 arg2 = &temp2;
23073 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23074 }
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 (arg1)->SetBestSize((wxSize const &)*arg2);
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 resultobj = SWIG_Py_Void();
23082 return resultobj;
23083 fail:
23084 return NULL;
23085 }
23086
23087
23088 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj = 0;
23090 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23091 wxDC *arg2 = (wxDC *) 0 ;
23092 bool result;
23093 void *argp1 = 0 ;
23094 int res1 = 0 ;
23095 void *argp2 = 0 ;
23096 int res2 = 0 ;
23097 PyObject * obj0 = 0 ;
23098 PyObject * obj1 = 0 ;
23099 char * kwnames[] = {
23100 (char *) "self",(char *) "dc", NULL
23101 };
23102
23103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23105 if (!SWIG_IsOK(res1)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23107 }
23108 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23109 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23110 if (!SWIG_IsOK(res2)) {
23111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23112 }
23113 arg2 = reinterpret_cast< wxDC * >(argp2);
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = (bool)(arg1)->DoEraseBackground(arg2);
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 {
23121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23122 }
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj = 0;
23131 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23132 int arg2 ;
23133 int arg3 ;
23134 int arg4 ;
23135 int arg5 ;
23136 void *argp1 = 0 ;
23137 int res1 = 0 ;
23138 int val2 ;
23139 int ecode2 = 0 ;
23140 int val3 ;
23141 int ecode3 = 0 ;
23142 int val4 ;
23143 int ecode4 = 0 ;
23144 int val5 ;
23145 int ecode5 = 0 ;
23146 PyObject * obj0 = 0 ;
23147 PyObject * obj1 = 0 ;
23148 PyObject * obj2 = 0 ;
23149 PyObject * obj3 = 0 ;
23150 PyObject * obj4 = 0 ;
23151 char * kwnames[] = {
23152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23153 };
23154
23155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23157 if (!SWIG_IsOK(res1)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23159 }
23160 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23161 ecode2 = SWIG_AsVal_int(obj1, &val2);
23162 if (!SWIG_IsOK(ecode2)) {
23163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23164 }
23165 arg2 = static_cast< int >(val2);
23166 ecode3 = SWIG_AsVal_int(obj2, &val3);
23167 if (!SWIG_IsOK(ecode3)) {
23168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23169 }
23170 arg3 = static_cast< int >(val3);
23171 ecode4 = SWIG_AsVal_int(obj3, &val4);
23172 if (!SWIG_IsOK(ecode4)) {
23173 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23174 }
23175 arg4 = static_cast< int >(val4);
23176 ecode5 = SWIG_AsVal_int(obj4, &val5);
23177 if (!SWIG_IsOK(ecode5)) {
23178 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23179 }
23180 arg5 = static_cast< int >(val5);
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 resultobj = SWIG_Py_Void();
23188 return resultobj;
23189 fail:
23190 return NULL;
23191 }
23192
23193
23194 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23195 PyObject *resultobj = 0;
23196 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23197 int arg2 ;
23198 int arg3 ;
23199 int arg4 ;
23200 int arg5 ;
23201 int arg6 = (int) wxSIZE_AUTO ;
23202 void *argp1 = 0 ;
23203 int res1 = 0 ;
23204 int val2 ;
23205 int ecode2 = 0 ;
23206 int val3 ;
23207 int ecode3 = 0 ;
23208 int val4 ;
23209 int ecode4 = 0 ;
23210 int val5 ;
23211 int ecode5 = 0 ;
23212 int val6 ;
23213 int ecode6 = 0 ;
23214 PyObject * obj0 = 0 ;
23215 PyObject * obj1 = 0 ;
23216 PyObject * obj2 = 0 ;
23217 PyObject * obj3 = 0 ;
23218 PyObject * obj4 = 0 ;
23219 PyObject * obj5 = 0 ;
23220 char * kwnames[] = {
23221 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23222 };
23223
23224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23226 if (!SWIG_IsOK(res1)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23228 }
23229 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23230 ecode2 = SWIG_AsVal_int(obj1, &val2);
23231 if (!SWIG_IsOK(ecode2)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23233 }
23234 arg2 = static_cast< int >(val2);
23235 ecode3 = SWIG_AsVal_int(obj2, &val3);
23236 if (!SWIG_IsOK(ecode3)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23238 }
23239 arg3 = static_cast< int >(val3);
23240 ecode4 = SWIG_AsVal_int(obj3, &val4);
23241 if (!SWIG_IsOK(ecode4)) {
23242 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23243 }
23244 arg4 = static_cast< int >(val4);
23245 ecode5 = SWIG_AsVal_int(obj4, &val5);
23246 if (!SWIG_IsOK(ecode5)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23248 }
23249 arg5 = static_cast< int >(val5);
23250 if (obj5) {
23251 ecode6 = SWIG_AsVal_int(obj5, &val6);
23252 if (!SWIG_IsOK(ecode6)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23254 }
23255 arg6 = static_cast< int >(val6);
23256 }
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23260 wxPyEndAllowThreads(__tstate);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 }
23263 resultobj = SWIG_Py_Void();
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23271 PyObject *resultobj = 0;
23272 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23273 int arg2 ;
23274 int arg3 ;
23275 void *argp1 = 0 ;
23276 int res1 = 0 ;
23277 int val2 ;
23278 int ecode2 = 0 ;
23279 int val3 ;
23280 int ecode3 = 0 ;
23281 PyObject * obj0 = 0 ;
23282 PyObject * obj1 = 0 ;
23283 PyObject * obj2 = 0 ;
23284 char * kwnames[] = {
23285 (char *) "self",(char *) "width",(char *) "height", NULL
23286 };
23287
23288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23290 if (!SWIG_IsOK(res1)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23292 }
23293 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23294 ecode2 = SWIG_AsVal_int(obj1, &val2);
23295 if (!SWIG_IsOK(ecode2)) {
23296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23297 }
23298 arg2 = static_cast< int >(val2);
23299 ecode3 = SWIG_AsVal_int(obj2, &val3);
23300 if (!SWIG_IsOK(ecode3)) {
23301 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23302 }
23303 arg3 = static_cast< int >(val3);
23304 {
23305 PyThreadState* __tstate = wxPyBeginAllowThreads();
23306 (arg1)->DoSetClientSize(arg2,arg3);
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 resultobj = SWIG_Py_Void();
23311 return resultobj;
23312 fail:
23313 return NULL;
23314 }
23315
23316
23317 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj = 0;
23319 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23320 int arg2 ;
23321 int arg3 ;
23322 void *argp1 = 0 ;
23323 int res1 = 0 ;
23324 int val2 ;
23325 int ecode2 = 0 ;
23326 int val3 ;
23327 int ecode3 = 0 ;
23328 PyObject * obj0 = 0 ;
23329 PyObject * obj1 = 0 ;
23330 PyObject * obj2 = 0 ;
23331 char * kwnames[] = {
23332 (char *) "self",(char *) "x",(char *) "y", NULL
23333 };
23334
23335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23337 if (!SWIG_IsOK(res1)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23339 }
23340 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23341 ecode2 = SWIG_AsVal_int(obj1, &val2);
23342 if (!SWIG_IsOK(ecode2)) {
23343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23344 }
23345 arg2 = static_cast< int >(val2);
23346 ecode3 = SWIG_AsVal_int(obj2, &val3);
23347 if (!SWIG_IsOK(ecode3)) {
23348 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23349 }
23350 arg3 = static_cast< int >(val3);
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 (arg1)->DoSetVirtualSize(arg2,arg3);
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 resultobj = SWIG_Py_Void();
23358 return resultobj;
23359 fail:
23360 return NULL;
23361 }
23362
23363
23364 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23365 PyObject *resultobj = 0;
23366 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23367 int *arg2 = (int *) 0 ;
23368 int *arg3 = (int *) 0 ;
23369 void *argp1 = 0 ;
23370 int res1 = 0 ;
23371 int temp2 ;
23372 int res2 = SWIG_TMPOBJ ;
23373 int temp3 ;
23374 int res3 = SWIG_TMPOBJ ;
23375 PyObject *swig_obj[1] ;
23376
23377 arg2 = &temp2;
23378 arg3 = &temp3;
23379 if (!args) SWIG_fail;
23380 swig_obj[0] = args;
23381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23382 if (!SWIG_IsOK(res1)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23384 }
23385 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = SWIG_Py_Void();
23393 if (SWIG_IsTmpObj(res2)) {
23394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23395 } else {
23396 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23398 }
23399 if (SWIG_IsTmpObj(res3)) {
23400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23401 } else {
23402 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23404 }
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23412 PyObject *resultobj = 0;
23413 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23414 int *arg2 = (int *) 0 ;
23415 int *arg3 = (int *) 0 ;
23416 void *argp1 = 0 ;
23417 int res1 = 0 ;
23418 int temp2 ;
23419 int res2 = SWIG_TMPOBJ ;
23420 int temp3 ;
23421 int res3 = SWIG_TMPOBJ ;
23422 PyObject *swig_obj[1] ;
23423
23424 arg2 = &temp2;
23425 arg3 = &temp3;
23426 if (!args) SWIG_fail;
23427 swig_obj[0] = args;
23428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23429 if (!SWIG_IsOK(res1)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23431 }
23432 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23433 {
23434 PyThreadState* __tstate = wxPyBeginAllowThreads();
23435 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 resultobj = SWIG_Py_Void();
23440 if (SWIG_IsTmpObj(res2)) {
23441 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23442 } else {
23443 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23444 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23445 }
23446 if (SWIG_IsTmpObj(res3)) {
23447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23448 } else {
23449 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23451 }
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23459 PyObject *resultobj = 0;
23460 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23461 int *arg2 = (int *) 0 ;
23462 int *arg3 = (int *) 0 ;
23463 void *argp1 = 0 ;
23464 int res1 = 0 ;
23465 int temp2 ;
23466 int res2 = SWIG_TMPOBJ ;
23467 int temp3 ;
23468 int res3 = SWIG_TMPOBJ ;
23469 PyObject *swig_obj[1] ;
23470
23471 arg2 = &temp2;
23472 arg3 = &temp3;
23473 if (!args) SWIG_fail;
23474 swig_obj[0] = args;
23475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23476 if (!SWIG_IsOK(res1)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23478 }
23479 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = SWIG_Py_Void();
23487 if (SWIG_IsTmpObj(res2)) {
23488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23489 } else {
23490 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23492 }
23493 if (SWIG_IsTmpObj(res3)) {
23494 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23495 } else {
23496 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23497 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23498 }
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23506 PyObject *resultobj = 0;
23507 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23508 wxSize result;
23509 void *argp1 = 0 ;
23510 int res1 = 0 ;
23511 PyObject *swig_obj[1] ;
23512
23513 if (!args) SWIG_fail;
23514 swig_obj[0] = args;
23515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23516 if (!SWIG_IsOK(res1)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23518 }
23519 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23527 return resultobj;
23528 fail:
23529 return NULL;
23530 }
23531
23532
23533 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23534 PyObject *resultobj = 0;
23535 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23536 wxSize result;
23537 void *argp1 = 0 ;
23538 int res1 = 0 ;
23539 PyObject *swig_obj[1] ;
23540
23541 if (!args) SWIG_fail;
23542 swig_obj[0] = args;
23543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23544 if (!SWIG_IsOK(res1)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23546 }
23547 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23555 return resultobj;
23556 fail:
23557 return NULL;
23558 }
23559
23560
23561 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23562 PyObject *resultobj = 0;
23563 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23564 SwigValueWrapper<wxVisualAttributes > result;
23565 void *argp1 = 0 ;
23566 int res1 = 0 ;
23567 PyObject *swig_obj[1] ;
23568
23569 if (!args) SWIG_fail;
23570 swig_obj[0] = args;
23571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23572 if (!SWIG_IsOK(res1)) {
23573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23574 }
23575 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 result = (arg1)->GetDefaultAttributes();
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
23582 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23583 return resultobj;
23584 fail:
23585 return NULL;
23586 }
23587
23588
23589 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23590 PyObject *resultobj = 0;
23591 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23592 void *argp1 = 0 ;
23593 int res1 = 0 ;
23594 PyObject *swig_obj[1] ;
23595
23596 if (!args) SWIG_fail;
23597 swig_obj[0] = args;
23598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23599 if (!SWIG_IsOK(res1)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23601 }
23602 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 (arg1)->OnInternalIdle();
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 resultobj = SWIG_Py_Void();
23610 return resultobj;
23611 fail:
23612 return NULL;
23613 }
23614
23615
23616 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23617 PyObject *obj;
23618 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23619 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23620 return SWIG_Py_Void();
23621 }
23622
23623 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23624 return SWIG_Python_InitShadowInstance(args);
23625 }
23626
23627 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23628 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23629 return 1;
23630 }
23631
23632
23633 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23634 PyObject *pyobj = 0;
23635
23636 {
23637 #if wxUSE_UNICODE
23638 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23639 #else
23640 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23641 #endif
23642 }
23643 return pyobj;
23644 }
23645
23646
23647 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23648 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23649 return 1;
23650 }
23651
23652
23653 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23654 PyObject *pyobj = 0;
23655
23656 {
23657 #if wxUSE_UNICODE
23658 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23659 #else
23660 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23661 #endif
23662 }
23663 return pyobj;
23664 }
23665
23666
23667 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23668 PyObject *resultobj = 0;
23669 wxPrintData *result = 0 ;
23670
23671 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 result = (wxPrintData *)new wxPrintData();
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23679 return resultobj;
23680 fail:
23681 return NULL;
23682 }
23683
23684
23685 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23686 PyObject *resultobj = 0;
23687 wxPrintData *arg1 = 0 ;
23688 wxPrintData *result = 0 ;
23689 void *argp1 = 0 ;
23690 int res1 = 0 ;
23691
23692 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23694 if (!SWIG_IsOK(res1)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23696 }
23697 if (!argp1) {
23698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23699 }
23700 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23708 return resultobj;
23709 fail:
23710 return NULL;
23711 }
23712
23713
23714 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23715 int argc;
23716 PyObject *argv[2];
23717
23718 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23719 --argc;
23720 if (argc == 0) {
23721 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23722 }
23723 if (argc == 1) {
23724 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23725 }
23726
23727 fail:
23728 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23729 return NULL;
23730 }
23731
23732
23733 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23734 PyObject *resultobj = 0;
23735 wxPrintData *arg1 = (wxPrintData *) 0 ;
23736 void *argp1 = 0 ;
23737 int res1 = 0 ;
23738 PyObject *swig_obj[1] ;
23739
23740 if (!args) SWIG_fail;
23741 swig_obj[0] = args;
23742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23743 if (!SWIG_IsOK(res1)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23745 }
23746 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23747 {
23748 PyThreadState* __tstate = wxPyBeginAllowThreads();
23749 delete arg1;
23750
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_Py_Void();
23755 return resultobj;
23756 fail:
23757 return NULL;
23758 }
23759
23760
23761 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23762 PyObject *resultobj = 0;
23763 wxPrintData *arg1 = (wxPrintData *) 0 ;
23764 int result;
23765 void *argp1 = 0 ;
23766 int res1 = 0 ;
23767 PyObject *swig_obj[1] ;
23768
23769 if (!args) SWIG_fail;
23770 swig_obj[0] = args;
23771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23772 if (!SWIG_IsOK(res1)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23774 }
23775 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (int)(arg1)->GetNoCopies();
23779 wxPyEndAllowThreads(__tstate);
23780 if (PyErr_Occurred()) SWIG_fail;
23781 }
23782 resultobj = SWIG_From_int(static_cast< int >(result));
23783 return resultobj;
23784 fail:
23785 return NULL;
23786 }
23787
23788
23789 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23790 PyObject *resultobj = 0;
23791 wxPrintData *arg1 = (wxPrintData *) 0 ;
23792 bool result;
23793 void *argp1 = 0 ;
23794 int res1 = 0 ;
23795 PyObject *swig_obj[1] ;
23796
23797 if (!args) SWIG_fail;
23798 swig_obj[0] = args;
23799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23800 if (!SWIG_IsOK(res1)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23802 }
23803 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 result = (bool)(arg1)->GetCollate();
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 {
23811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23812 }
23813 return resultobj;
23814 fail:
23815 return NULL;
23816 }
23817
23818
23819 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23820 PyObject *resultobj = 0;
23821 wxPrintData *arg1 = (wxPrintData *) 0 ;
23822 int result;
23823 void *argp1 = 0 ;
23824 int res1 = 0 ;
23825 PyObject *swig_obj[1] ;
23826
23827 if (!args) SWIG_fail;
23828 swig_obj[0] = args;
23829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23830 if (!SWIG_IsOK(res1)) {
23831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23832 }
23833 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 result = (int)(arg1)->GetOrientation();
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 resultobj = SWIG_From_int(static_cast< int >(result));
23841 return resultobj;
23842 fail:
23843 return NULL;
23844 }
23845
23846
23847 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23848 PyObject *resultobj = 0;
23849 wxPrintData *arg1 = (wxPrintData *) 0 ;
23850 bool result;
23851 void *argp1 = 0 ;
23852 int res1 = 0 ;
23853 PyObject *swig_obj[1] ;
23854
23855 if (!args) SWIG_fail;
23856 swig_obj[0] = args;
23857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23858 if (!SWIG_IsOK(res1)) {
23859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23860 }
23861 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (bool)(arg1)->Ok();
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 {
23869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23870 }
23871 return resultobj;
23872 fail:
23873 return NULL;
23874 }
23875
23876
23877 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23878 PyObject *resultobj = 0;
23879 wxPrintData *arg1 = (wxPrintData *) 0 ;
23880 wxString *result = 0 ;
23881 void *argp1 = 0 ;
23882 int res1 = 0 ;
23883 PyObject *swig_obj[1] ;
23884
23885 if (!args) SWIG_fail;
23886 swig_obj[0] = args;
23887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23888 if (!SWIG_IsOK(res1)) {
23889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23890 }
23891 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 {
23895 wxString const &_result_ref = (arg1)->GetPrinterName();
23896 result = (wxString *) &_result_ref;
23897 }
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 {
23902 #if wxUSE_UNICODE
23903 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23904 #else
23905 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23906 #endif
23907 }
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23915 PyObject *resultobj = 0;
23916 wxPrintData *arg1 = (wxPrintData *) 0 ;
23917 bool result;
23918 void *argp1 = 0 ;
23919 int res1 = 0 ;
23920 PyObject *swig_obj[1] ;
23921
23922 if (!args) SWIG_fail;
23923 swig_obj[0] = args;
23924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23925 if (!SWIG_IsOK(res1)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23927 }
23928 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (bool)(arg1)->GetColour();
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 {
23936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23937 }
23938 return resultobj;
23939 fail:
23940 return NULL;
23941 }
23942
23943
23944 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23945 PyObject *resultobj = 0;
23946 wxPrintData *arg1 = (wxPrintData *) 0 ;
23947 wxDuplexMode result;
23948 void *argp1 = 0 ;
23949 int res1 = 0 ;
23950 PyObject *swig_obj[1] ;
23951
23952 if (!args) SWIG_fail;
23953 swig_obj[0] = args;
23954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23955 if (!SWIG_IsOK(res1)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23957 }
23958 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 result = (wxDuplexMode)(arg1)->GetDuplex();
23962 wxPyEndAllowThreads(__tstate);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 }
23965 resultobj = SWIG_From_int(static_cast< int >(result));
23966 return resultobj;
23967 fail:
23968 return NULL;
23969 }
23970
23971
23972 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23973 PyObject *resultobj = 0;
23974 wxPrintData *arg1 = (wxPrintData *) 0 ;
23975 wxPaperSize result;
23976 void *argp1 = 0 ;
23977 int res1 = 0 ;
23978 PyObject *swig_obj[1] ;
23979
23980 if (!args) SWIG_fail;
23981 swig_obj[0] = args;
23982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23983 if (!SWIG_IsOK(res1)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23985 }
23986 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 result = (wxPaperSize)(arg1)->GetPaperId();
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 resultobj = SWIG_From_int(static_cast< int >(result));
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24001 PyObject *resultobj = 0;
24002 wxPrintData *arg1 = (wxPrintData *) 0 ;
24003 wxSize *result = 0 ;
24004 void *argp1 = 0 ;
24005 int res1 = 0 ;
24006 PyObject *swig_obj[1] ;
24007
24008 if (!args) SWIG_fail;
24009 swig_obj[0] = args;
24010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24011 if (!SWIG_IsOK(res1)) {
24012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24013 }
24014 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 {
24018 wxSize const &_result_ref = (arg1)->GetPaperSize();
24019 result = (wxSize *) &_result_ref;
24020 }
24021 wxPyEndAllowThreads(__tstate);
24022 if (PyErr_Occurred()) SWIG_fail;
24023 }
24024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24025 return resultobj;
24026 fail:
24027 return NULL;
24028 }
24029
24030
24031 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24032 PyObject *resultobj = 0;
24033 wxPrintData *arg1 = (wxPrintData *) 0 ;
24034 int result;
24035 void *argp1 = 0 ;
24036 int res1 = 0 ;
24037 PyObject *swig_obj[1] ;
24038
24039 if (!args) SWIG_fail;
24040 swig_obj[0] = args;
24041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24042 if (!SWIG_IsOK(res1)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24044 }
24045 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = (int)(arg1)->GetQuality();
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 resultobj = SWIG_From_int(static_cast< int >(result));
24053 return resultobj;
24054 fail:
24055 return NULL;
24056 }
24057
24058
24059 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24060 PyObject *resultobj = 0;
24061 wxPrintData *arg1 = (wxPrintData *) 0 ;
24062 wxPrintBin result;
24063 void *argp1 = 0 ;
24064 int res1 = 0 ;
24065 PyObject *swig_obj[1] ;
24066
24067 if (!args) SWIG_fail;
24068 swig_obj[0] = args;
24069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24070 if (!SWIG_IsOK(res1)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24072 }
24073 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = (wxPrintBin)(arg1)->GetBin();
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 resultobj = SWIG_From_int(static_cast< int >(result));
24081 return resultobj;
24082 fail:
24083 return NULL;
24084 }
24085
24086
24087 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24088 PyObject *resultobj = 0;
24089 wxPrintData *arg1 = (wxPrintData *) 0 ;
24090 wxPrintMode result;
24091 void *argp1 = 0 ;
24092 int res1 = 0 ;
24093 PyObject *swig_obj[1] ;
24094
24095 if (!args) SWIG_fail;
24096 swig_obj[0] = args;
24097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24098 if (!SWIG_IsOK(res1)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24100 }
24101 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 resultobj = SWIG_From_int(static_cast< int >(result));
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj = 0;
24117 wxPrintData *arg1 = (wxPrintData *) 0 ;
24118 int arg2 ;
24119 void *argp1 = 0 ;
24120 int res1 = 0 ;
24121 int val2 ;
24122 int ecode2 = 0 ;
24123 PyObject * obj0 = 0 ;
24124 PyObject * obj1 = 0 ;
24125 char * kwnames[] = {
24126 (char *) "self",(char *) "v", NULL
24127 };
24128
24129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24131 if (!SWIG_IsOK(res1)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24133 }
24134 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24135 ecode2 = SWIG_AsVal_int(obj1, &val2);
24136 if (!SWIG_IsOK(ecode2)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24138 }
24139 arg2 = static_cast< int >(val2);
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 (arg1)->SetNoCopies(arg2);
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 resultobj = SWIG_Py_Void();
24147 return resultobj;
24148 fail:
24149 return NULL;
24150 }
24151
24152
24153 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24154 PyObject *resultobj = 0;
24155 wxPrintData *arg1 = (wxPrintData *) 0 ;
24156 bool arg2 ;
24157 void *argp1 = 0 ;
24158 int res1 = 0 ;
24159 bool val2 ;
24160 int ecode2 = 0 ;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 char * kwnames[] = {
24164 (char *) "self",(char *) "flag", NULL
24165 };
24166
24167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24169 if (!SWIG_IsOK(res1)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24171 }
24172 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24173 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24174 if (!SWIG_IsOK(ecode2)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24176 }
24177 arg2 = static_cast< bool >(val2);
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 (arg1)->SetCollate(arg2);
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 resultobj = SWIG_Py_Void();
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj = 0;
24193 wxPrintData *arg1 = (wxPrintData *) 0 ;
24194 int arg2 ;
24195 void *argp1 = 0 ;
24196 int res1 = 0 ;
24197 int val2 ;
24198 int ecode2 = 0 ;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 char * kwnames[] = {
24202 (char *) "self",(char *) "orient", NULL
24203 };
24204
24205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24207 if (!SWIG_IsOK(res1)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24209 }
24210 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24211 ecode2 = SWIG_AsVal_int(obj1, &val2);
24212 if (!SWIG_IsOK(ecode2)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24214 }
24215 arg2 = static_cast< int >(val2);
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 (arg1)->SetOrientation(arg2);
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 resultobj = SWIG_Py_Void();
24223 return resultobj;
24224 fail:
24225 return NULL;
24226 }
24227
24228
24229 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj = 0;
24231 wxPrintData *arg1 = (wxPrintData *) 0 ;
24232 wxString *arg2 = 0 ;
24233 void *argp1 = 0 ;
24234 int res1 = 0 ;
24235 bool temp2 = false ;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 char * kwnames[] = {
24239 (char *) "self",(char *) "name", NULL
24240 };
24241
24242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24244 if (!SWIG_IsOK(res1)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24246 }
24247 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24248 {
24249 arg2 = wxString_in_helper(obj1);
24250 if (arg2 == NULL) SWIG_fail;
24251 temp2 = true;
24252 }
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 (arg1)->SetPrinterName((wxString const &)*arg2);
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 resultobj = SWIG_Py_Void();
24260 {
24261 if (temp2)
24262 delete arg2;
24263 }
24264 return resultobj;
24265 fail:
24266 {
24267 if (temp2)
24268 delete arg2;
24269 }
24270 return NULL;
24271 }
24272
24273
24274 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj = 0;
24276 wxPrintData *arg1 = (wxPrintData *) 0 ;
24277 bool arg2 ;
24278 void *argp1 = 0 ;
24279 int res1 = 0 ;
24280 bool val2 ;
24281 int ecode2 = 0 ;
24282 PyObject * obj0 = 0 ;
24283 PyObject * obj1 = 0 ;
24284 char * kwnames[] = {
24285 (char *) "self",(char *) "colour", NULL
24286 };
24287
24288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24290 if (!SWIG_IsOK(res1)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24292 }
24293 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24294 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24295 if (!SWIG_IsOK(ecode2)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24297 }
24298 arg2 = static_cast< bool >(val2);
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 (arg1)->SetColour(arg2);
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = SWIG_Py_Void();
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj = 0;
24314 wxPrintData *arg1 = (wxPrintData *) 0 ;
24315 wxDuplexMode arg2 ;
24316 void *argp1 = 0 ;
24317 int res1 = 0 ;
24318 int val2 ;
24319 int ecode2 = 0 ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char * kwnames[] = {
24323 (char *) "self",(char *) "duplex", NULL
24324 };
24325
24326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24328 if (!SWIG_IsOK(res1)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24330 }
24331 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24332 ecode2 = SWIG_AsVal_int(obj1, &val2);
24333 if (!SWIG_IsOK(ecode2)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24335 }
24336 arg2 = static_cast< wxDuplexMode >(val2);
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->SetDuplex(arg2);
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 resultobj = SWIG_Py_Void();
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj = 0;
24352 wxPrintData *arg1 = (wxPrintData *) 0 ;
24353 wxPaperSize arg2 ;
24354 void *argp1 = 0 ;
24355 int res1 = 0 ;
24356 int val2 ;
24357 int ecode2 = 0 ;
24358 PyObject * obj0 = 0 ;
24359 PyObject * obj1 = 0 ;
24360 char * kwnames[] = {
24361 (char *) "self",(char *) "sizeId", NULL
24362 };
24363
24364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24366 if (!SWIG_IsOK(res1)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24368 }
24369 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24370 ecode2 = SWIG_AsVal_int(obj1, &val2);
24371 if (!SWIG_IsOK(ecode2)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24373 }
24374 arg2 = static_cast< wxPaperSize >(val2);
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->SetPaperId(arg2);
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = 0;
24390 wxPrintData *arg1 = (wxPrintData *) 0 ;
24391 wxSize *arg2 = 0 ;
24392 void *argp1 = 0 ;
24393 int res1 = 0 ;
24394 wxSize temp2 ;
24395 PyObject * obj0 = 0 ;
24396 PyObject * obj1 = 0 ;
24397 char * kwnames[] = {
24398 (char *) "self",(char *) "sz", NULL
24399 };
24400
24401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24403 if (!SWIG_IsOK(res1)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24405 }
24406 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24407 {
24408 arg2 = &temp2;
24409 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24410 }
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 (arg1)->SetPaperSize((wxSize const &)*arg2);
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 resultobj = SWIG_Py_Void();
24418 return resultobj;
24419 fail:
24420 return NULL;
24421 }
24422
24423
24424 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj = 0;
24426 wxPrintData *arg1 = (wxPrintData *) 0 ;
24427 int arg2 ;
24428 void *argp1 = 0 ;
24429 int res1 = 0 ;
24430 int val2 ;
24431 int ecode2 = 0 ;
24432 PyObject * obj0 = 0 ;
24433 PyObject * obj1 = 0 ;
24434 char * kwnames[] = {
24435 (char *) "self",(char *) "quality", NULL
24436 };
24437
24438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24440 if (!SWIG_IsOK(res1)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24442 }
24443 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24444 ecode2 = SWIG_AsVal_int(obj1, &val2);
24445 if (!SWIG_IsOK(ecode2)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24447 }
24448 arg2 = static_cast< int >(val2);
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
24451 (arg1)->SetQuality(arg2);
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 resultobj = SWIG_Py_Void();
24456 return resultobj;
24457 fail:
24458 return NULL;
24459 }
24460
24461
24462 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj = 0;
24464 wxPrintData *arg1 = (wxPrintData *) 0 ;
24465 wxPrintBin arg2 ;
24466 void *argp1 = 0 ;
24467 int res1 = 0 ;
24468 int val2 ;
24469 int ecode2 = 0 ;
24470 PyObject * obj0 = 0 ;
24471 PyObject * obj1 = 0 ;
24472 char * kwnames[] = {
24473 (char *) "self",(char *) "bin", NULL
24474 };
24475
24476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24478 if (!SWIG_IsOK(res1)) {
24479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24480 }
24481 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24482 ecode2 = SWIG_AsVal_int(obj1, &val2);
24483 if (!SWIG_IsOK(ecode2)) {
24484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24485 }
24486 arg2 = static_cast< wxPrintBin >(val2);
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 (arg1)->SetBin(arg2);
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 resultobj = SWIG_Py_Void();
24494 return resultobj;
24495 fail:
24496 return NULL;
24497 }
24498
24499
24500 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24501 PyObject *resultobj = 0;
24502 wxPrintData *arg1 = (wxPrintData *) 0 ;
24503 wxPrintMode arg2 ;
24504 void *argp1 = 0 ;
24505 int res1 = 0 ;
24506 int val2 ;
24507 int ecode2 = 0 ;
24508 PyObject * obj0 = 0 ;
24509 PyObject * obj1 = 0 ;
24510 char * kwnames[] = {
24511 (char *) "self",(char *) "printMode", NULL
24512 };
24513
24514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24516 if (!SWIG_IsOK(res1)) {
24517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24518 }
24519 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24520 ecode2 = SWIG_AsVal_int(obj1, &val2);
24521 if (!SWIG_IsOK(ecode2)) {
24522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24523 }
24524 arg2 = static_cast< wxPrintMode >(val2);
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 (arg1)->SetPrintMode(arg2);
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 resultobj = SWIG_Py_Void();
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24539 PyObject *resultobj = 0;
24540 wxPrintData *arg1 = (wxPrintData *) 0 ;
24541 wxString result;
24542 void *argp1 = 0 ;
24543 int res1 = 0 ;
24544 PyObject *swig_obj[1] ;
24545
24546 if (!args) SWIG_fail;
24547 swig_obj[0] = args;
24548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24549 if (!SWIG_IsOK(res1)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24551 }
24552 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 result = ((wxPrintData const *)arg1)->GetFilename();
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 {
24560 #if wxUSE_UNICODE
24561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24562 #else
24563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24564 #endif
24565 }
24566 return resultobj;
24567 fail:
24568 return NULL;
24569 }
24570
24571
24572 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24573 PyObject *resultobj = 0;
24574 wxPrintData *arg1 = (wxPrintData *) 0 ;
24575 wxString *arg2 = 0 ;
24576 void *argp1 = 0 ;
24577 int res1 = 0 ;
24578 bool temp2 = false ;
24579 PyObject * obj0 = 0 ;
24580 PyObject * obj1 = 0 ;
24581 char * kwnames[] = {
24582 (char *) "self",(char *) "filename", NULL
24583 };
24584
24585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24587 if (!SWIG_IsOK(res1)) {
24588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24589 }
24590 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24591 {
24592 arg2 = wxString_in_helper(obj1);
24593 if (arg2 == NULL) SWIG_fail;
24594 temp2 = true;
24595 }
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 (arg1)->SetFilename((wxString const &)*arg2);
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 resultobj = SWIG_Py_Void();
24603 {
24604 if (temp2)
24605 delete arg2;
24606 }
24607 return resultobj;
24608 fail:
24609 {
24610 if (temp2)
24611 delete arg2;
24612 }
24613 return NULL;
24614 }
24615
24616
24617 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24618 PyObject *resultobj = 0;
24619 wxPrintData *arg1 = (wxPrintData *) 0 ;
24620 PyObject *result = 0 ;
24621 void *argp1 = 0 ;
24622 int res1 = 0 ;
24623 PyObject *swig_obj[1] ;
24624
24625 if (!args) SWIG_fail;
24626 swig_obj[0] = args;
24627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24628 if (!SWIG_IsOK(res1)) {
24629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24630 }
24631 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24632 {
24633 PyThreadState* __tstate = wxPyBeginAllowThreads();
24634 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 resultobj = result;
24639 return resultobj;
24640 fail:
24641 return NULL;
24642 }
24643
24644
24645 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24646 PyObject *resultobj = 0;
24647 wxPrintData *arg1 = (wxPrintData *) 0 ;
24648 PyObject *arg2 = (PyObject *) 0 ;
24649 void *argp1 = 0 ;
24650 int res1 = 0 ;
24651 PyObject * obj0 = 0 ;
24652 PyObject * obj1 = 0 ;
24653 char * kwnames[] = {
24654 (char *) "self",(char *) "data", NULL
24655 };
24656
24657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24659 if (!SWIG_IsOK(res1)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24661 }
24662 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24663 arg2 = obj1;
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 wxPrintData_SetPrivData(arg1,arg2);
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 resultobj = SWIG_Py_Void();
24671 return resultobj;
24672 fail:
24673 return NULL;
24674 }
24675
24676
24677 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24678 PyObject *obj;
24679 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24681 return SWIG_Py_Void();
24682 }
24683
24684 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24685 return SWIG_Python_InitShadowInstance(args);
24686 }
24687
24688 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24689 PyObject *resultobj = 0;
24690 wxPageSetupDialogData *result = 0 ;
24691
24692 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24707 PyObject *resultobj = 0;
24708 wxPageSetupDialogData *arg1 = 0 ;
24709 wxPageSetupDialogData *result = 0 ;
24710 void *argp1 = 0 ;
24711 int res1 = 0 ;
24712
24713 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24715 if (!SWIG_IsOK(res1)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24717 }
24718 if (!argp1) {
24719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24720 }
24721 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24729 return resultobj;
24730 fail:
24731 return NULL;
24732 }
24733
24734
24735 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24736 PyObject *resultobj = 0;
24737 wxPrintData *arg1 = 0 ;
24738 wxPageSetupDialogData *result = 0 ;
24739 void *argp1 = 0 ;
24740 int res1 = 0 ;
24741
24742 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24744 if (!SWIG_IsOK(res1)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24746 }
24747 if (!argp1) {
24748 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24749 }
24750 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24765 int argc;
24766 PyObject *argv[2];
24767
24768 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24769 --argc;
24770 if (argc == 0) {
24771 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24772 }
24773 if (argc == 1) {
24774 int _v = 0;
24775 {
24776 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24777 _v = SWIG_CheckState(res);
24778 }
24779 if (!_v) goto check_2;
24780 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24781 }
24782 check_2:
24783
24784 if (argc == 1) {
24785 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24786 }
24787
24788 fail:
24789 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24790 return NULL;
24791 }
24792
24793
24794 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24795 PyObject *resultobj = 0;
24796 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24797 void *argp1 = 0 ;
24798 int res1 = 0 ;
24799 PyObject *swig_obj[1] ;
24800
24801 if (!args) SWIG_fail;
24802 swig_obj[0] = args;
24803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24804 if (!SWIG_IsOK(res1)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24806 }
24807 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 delete arg1;
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 resultobj = SWIG_Py_Void();
24816 return resultobj;
24817 fail:
24818 return NULL;
24819 }
24820
24821
24822 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj = 0;
24824 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24825 bool arg2 ;
24826 void *argp1 = 0 ;
24827 int res1 = 0 ;
24828 bool val2 ;
24829 int ecode2 = 0 ;
24830 PyObject * obj0 = 0 ;
24831 PyObject * obj1 = 0 ;
24832 char * kwnames[] = {
24833 (char *) "self",(char *) "flag", NULL
24834 };
24835
24836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24838 if (!SWIG_IsOK(res1)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24840 }
24841 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24842 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24843 if (!SWIG_IsOK(ecode2)) {
24844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24845 }
24846 arg2 = static_cast< bool >(val2);
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->EnableHelp(arg2);
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 resultobj = SWIG_Py_Void();
24854 return resultobj;
24855 fail:
24856 return NULL;
24857 }
24858
24859
24860 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj = 0;
24862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24863 bool arg2 ;
24864 void *argp1 = 0 ;
24865 int res1 = 0 ;
24866 bool val2 ;
24867 int ecode2 = 0 ;
24868 PyObject * obj0 = 0 ;
24869 PyObject * obj1 = 0 ;
24870 char * kwnames[] = {
24871 (char *) "self",(char *) "flag", NULL
24872 };
24873
24874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24876 if (!SWIG_IsOK(res1)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24878 }
24879 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24880 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24881 if (!SWIG_IsOK(ecode2)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24883 }
24884 arg2 = static_cast< bool >(val2);
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 (arg1)->EnableMargins(arg2);
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 resultobj = SWIG_Py_Void();
24892 return resultobj;
24893 fail:
24894 return NULL;
24895 }
24896
24897
24898 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24899 PyObject *resultobj = 0;
24900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24901 bool arg2 ;
24902 void *argp1 = 0 ;
24903 int res1 = 0 ;
24904 bool val2 ;
24905 int ecode2 = 0 ;
24906 PyObject * obj0 = 0 ;
24907 PyObject * obj1 = 0 ;
24908 char * kwnames[] = {
24909 (char *) "self",(char *) "flag", NULL
24910 };
24911
24912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24914 if (!SWIG_IsOK(res1)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24916 }
24917 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24918 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24919 if (!SWIG_IsOK(ecode2)) {
24920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24921 }
24922 arg2 = static_cast< bool >(val2);
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 (arg1)->EnableOrientation(arg2);
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 resultobj = SWIG_Py_Void();
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj = 0;
24938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24939 bool arg2 ;
24940 void *argp1 = 0 ;
24941 int res1 = 0 ;
24942 bool val2 ;
24943 int ecode2 = 0 ;
24944 PyObject * obj0 = 0 ;
24945 PyObject * obj1 = 0 ;
24946 char * kwnames[] = {
24947 (char *) "self",(char *) "flag", NULL
24948 };
24949
24950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24952 if (!SWIG_IsOK(res1)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24954 }
24955 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24956 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24957 if (!SWIG_IsOK(ecode2)) {
24958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24959 }
24960 arg2 = static_cast< bool >(val2);
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 (arg1)->EnablePaper(arg2);
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 resultobj = SWIG_Py_Void();
24968 return resultobj;
24969 fail:
24970 return NULL;
24971 }
24972
24973
24974 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj = 0;
24976 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24977 bool arg2 ;
24978 void *argp1 = 0 ;
24979 int res1 = 0 ;
24980 bool val2 ;
24981 int ecode2 = 0 ;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 char * kwnames[] = {
24985 (char *) "self",(char *) "flag", NULL
24986 };
24987
24988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24990 if (!SWIG_IsOK(res1)) {
24991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24992 }
24993 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24994 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24995 if (!SWIG_IsOK(ecode2)) {
24996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24997 }
24998 arg2 = static_cast< bool >(val2);
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 (arg1)->EnablePrinter(arg2);
25002 wxPyEndAllowThreads(__tstate);
25003 if (PyErr_Occurred()) SWIG_fail;
25004 }
25005 resultobj = SWIG_Py_Void();
25006 return resultobj;
25007 fail:
25008 return NULL;
25009 }
25010
25011
25012 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25013 PyObject *resultobj = 0;
25014 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25015 bool result;
25016 void *argp1 = 0 ;
25017 int res1 = 0 ;
25018 PyObject *swig_obj[1] ;
25019
25020 if (!args) SWIG_fail;
25021 swig_obj[0] = args;
25022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25023 if (!SWIG_IsOK(res1)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25025 }
25026 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (bool)(arg1)->GetDefaultMinMargins();
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 {
25034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25035 }
25036 return resultobj;
25037 fail:
25038 return NULL;
25039 }
25040
25041
25042 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25043 PyObject *resultobj = 0;
25044 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25045 bool result;
25046 void *argp1 = 0 ;
25047 int res1 = 0 ;
25048 PyObject *swig_obj[1] ;
25049
25050 if (!args) SWIG_fail;
25051 swig_obj[0] = args;
25052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25053 if (!SWIG_IsOK(res1)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25055 }
25056 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 result = (bool)(arg1)->GetEnableMargins();
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 {
25064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25065 }
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25073 PyObject *resultobj = 0;
25074 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25075 bool result;
25076 void *argp1 = 0 ;
25077 int res1 = 0 ;
25078 PyObject *swig_obj[1] ;
25079
25080 if (!args) SWIG_fail;
25081 swig_obj[0] = args;
25082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25083 if (!SWIG_IsOK(res1)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25085 }
25086 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 result = (bool)(arg1)->GetEnableOrientation();
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 {
25094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25095 }
25096 return resultobj;
25097 fail:
25098 return NULL;
25099 }
25100
25101
25102 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25103 PyObject *resultobj = 0;
25104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25105 bool result;
25106 void *argp1 = 0 ;
25107 int res1 = 0 ;
25108 PyObject *swig_obj[1] ;
25109
25110 if (!args) SWIG_fail;
25111 swig_obj[0] = args;
25112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25113 if (!SWIG_IsOK(res1)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25115 }
25116 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = (bool)(arg1)->GetEnablePaper();
25120 wxPyEndAllowThreads(__tstate);
25121 if (PyErr_Occurred()) SWIG_fail;
25122 }
25123 {
25124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25125 }
25126 return resultobj;
25127 fail:
25128 return NULL;
25129 }
25130
25131
25132 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25133 PyObject *resultobj = 0;
25134 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25135 bool result;
25136 void *argp1 = 0 ;
25137 int res1 = 0 ;
25138 PyObject *swig_obj[1] ;
25139
25140 if (!args) SWIG_fail;
25141 swig_obj[0] = args;
25142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25143 if (!SWIG_IsOK(res1)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25145 }
25146 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 result = (bool)(arg1)->GetEnablePrinter();
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 {
25154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25155 }
25156 return resultobj;
25157 fail:
25158 return NULL;
25159 }
25160
25161
25162 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25163 PyObject *resultobj = 0;
25164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25165 bool result;
25166 void *argp1 = 0 ;
25167 int res1 = 0 ;
25168 PyObject *swig_obj[1] ;
25169
25170 if (!args) SWIG_fail;
25171 swig_obj[0] = args;
25172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25173 if (!SWIG_IsOK(res1)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25175 }
25176 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (bool)(arg1)->GetEnableHelp();
25180 wxPyEndAllowThreads(__tstate);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 }
25183 {
25184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25185 }
25186 return resultobj;
25187 fail:
25188 return NULL;
25189 }
25190
25191
25192 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25193 PyObject *resultobj = 0;
25194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25195 bool result;
25196 void *argp1 = 0 ;
25197 int res1 = 0 ;
25198 PyObject *swig_obj[1] ;
25199
25200 if (!args) SWIG_fail;
25201 swig_obj[0] = args;
25202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25203 if (!SWIG_IsOK(res1)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25205 }
25206 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25207 {
25208 PyThreadState* __tstate = wxPyBeginAllowThreads();
25209 result = (bool)(arg1)->GetDefaultInfo();
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 {
25214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25215 }
25216 return resultobj;
25217 fail:
25218 return NULL;
25219 }
25220
25221
25222 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25223 PyObject *resultobj = 0;
25224 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25225 wxPoint result;
25226 void *argp1 = 0 ;
25227 int res1 = 0 ;
25228 PyObject *swig_obj[1] ;
25229
25230 if (!args) SWIG_fail;
25231 swig_obj[0] = args;
25232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25233 if (!SWIG_IsOK(res1)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25235 }
25236 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25237 {
25238 PyThreadState* __tstate = wxPyBeginAllowThreads();
25239 result = (arg1)->GetMarginTopLeft();
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25244 return resultobj;
25245 fail:
25246 return NULL;
25247 }
25248
25249
25250 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25251 PyObject *resultobj = 0;
25252 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25253 wxPoint result;
25254 void *argp1 = 0 ;
25255 int res1 = 0 ;
25256 PyObject *swig_obj[1] ;
25257
25258 if (!args) SWIG_fail;
25259 swig_obj[0] = args;
25260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25261 if (!SWIG_IsOK(res1)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25263 }
25264 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25265 {
25266 PyThreadState* __tstate = wxPyBeginAllowThreads();
25267 result = (arg1)->GetMarginBottomRight();
25268 wxPyEndAllowThreads(__tstate);
25269 if (PyErr_Occurred()) SWIG_fail;
25270 }
25271 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25272 return resultobj;
25273 fail:
25274 return NULL;
25275 }
25276
25277
25278 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25279 PyObject *resultobj = 0;
25280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25281 wxPoint result;
25282 void *argp1 = 0 ;
25283 int res1 = 0 ;
25284 PyObject *swig_obj[1] ;
25285
25286 if (!args) SWIG_fail;
25287 swig_obj[0] = args;
25288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25289 if (!SWIG_IsOK(res1)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25291 }
25292 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 result = (arg1)->GetMinMarginTopLeft();
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25300 return resultobj;
25301 fail:
25302 return NULL;
25303 }
25304
25305
25306 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25307 PyObject *resultobj = 0;
25308 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25309 wxPoint result;
25310 void *argp1 = 0 ;
25311 int res1 = 0 ;
25312 PyObject *swig_obj[1] ;
25313
25314 if (!args) SWIG_fail;
25315 swig_obj[0] = args;
25316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25317 if (!SWIG_IsOK(res1)) {
25318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25319 }
25320 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25321 {
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 result = (arg1)->GetMinMarginBottomRight();
25324 wxPyEndAllowThreads(__tstate);
25325 if (PyErr_Occurred()) SWIG_fail;
25326 }
25327 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25328 return resultobj;
25329 fail:
25330 return NULL;
25331 }
25332
25333
25334 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25335 PyObject *resultobj = 0;
25336 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25337 wxPaperSize result;
25338 void *argp1 = 0 ;
25339 int res1 = 0 ;
25340 PyObject *swig_obj[1] ;
25341
25342 if (!args) SWIG_fail;
25343 swig_obj[0] = args;
25344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25345 if (!SWIG_IsOK(res1)) {
25346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25347 }
25348 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 result = (wxPaperSize)(arg1)->GetPaperId();
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 resultobj = SWIG_From_int(static_cast< int >(result));
25356 return resultobj;
25357 fail:
25358 return NULL;
25359 }
25360
25361
25362 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25363 PyObject *resultobj = 0;
25364 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25365 wxSize result;
25366 void *argp1 = 0 ;
25367 int res1 = 0 ;
25368 PyObject *swig_obj[1] ;
25369
25370 if (!args) SWIG_fail;
25371 swig_obj[0] = args;
25372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25373 if (!SWIG_IsOK(res1)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25375 }
25376 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 result = (arg1)->GetPaperSize();
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25391 PyObject *resultobj = 0;
25392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25393 wxPrintData *result = 0 ;
25394 void *argp1 = 0 ;
25395 int res1 = 0 ;
25396 PyObject *swig_obj[1] ;
25397
25398 if (!args) SWIG_fail;
25399 swig_obj[0] = args;
25400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25401 if (!SWIG_IsOK(res1)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25403 }
25404 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 {
25408 wxPrintData &_result_ref = (arg1)->GetPrintData();
25409 result = (wxPrintData *) &_result_ref;
25410 }
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25415 return resultobj;
25416 fail:
25417 return NULL;
25418 }
25419
25420
25421 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25422 PyObject *resultobj = 0;
25423 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25424 bool result;
25425 void *argp1 = 0 ;
25426 int res1 = 0 ;
25427 PyObject *swig_obj[1] ;
25428
25429 if (!args) SWIG_fail;
25430 swig_obj[0] = args;
25431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25432 if (!SWIG_IsOK(res1)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25434 }
25435 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (bool)(arg1)->Ok();
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 {
25443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25444 }
25445 return resultobj;
25446 fail:
25447 return NULL;
25448 }
25449
25450
25451 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25452 PyObject *resultobj = 0;
25453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25454 bool arg2 ;
25455 void *argp1 = 0 ;
25456 int res1 = 0 ;
25457 bool val2 ;
25458 int ecode2 = 0 ;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 char * kwnames[] = {
25462 (char *) "self",(char *) "flag", NULL
25463 };
25464
25465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25467 if (!SWIG_IsOK(res1)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25469 }
25470 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25471 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25472 if (!SWIG_IsOK(ecode2)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25474 }
25475 arg2 = static_cast< bool >(val2);
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 (arg1)->SetDefaultInfo(arg2);
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 resultobj = SWIG_Py_Void();
25483 return resultobj;
25484 fail:
25485 return NULL;
25486 }
25487
25488
25489 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25490 PyObject *resultobj = 0;
25491 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25492 bool arg2 ;
25493 void *argp1 = 0 ;
25494 int res1 = 0 ;
25495 bool val2 ;
25496 int ecode2 = 0 ;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 char * kwnames[] = {
25500 (char *) "self",(char *) "flag", NULL
25501 };
25502
25503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25505 if (!SWIG_IsOK(res1)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 }
25508 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25509 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25510 if (!SWIG_IsOK(ecode2)) {
25511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25512 }
25513 arg2 = static_cast< bool >(val2);
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 (arg1)->SetDefaultMinMargins(arg2);
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 resultobj = SWIG_Py_Void();
25521 return resultobj;
25522 fail:
25523 return NULL;
25524 }
25525
25526
25527 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25528 PyObject *resultobj = 0;
25529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25530 wxPoint *arg2 = 0 ;
25531 void *argp1 = 0 ;
25532 int res1 = 0 ;
25533 wxPoint temp2 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char * kwnames[] = {
25537 (char *) "self",(char *) "pt", NULL
25538 };
25539
25540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25542 if (!SWIG_IsOK(res1)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25544 }
25545 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25546 {
25547 arg2 = &temp2;
25548 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25549 }
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 resultobj = SWIG_Py_Void();
25557 return resultobj;
25558 fail:
25559 return NULL;
25560 }
25561
25562
25563 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj = 0;
25565 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25566 wxPoint *arg2 = 0 ;
25567 void *argp1 = 0 ;
25568 int res1 = 0 ;
25569 wxPoint temp2 ;
25570 PyObject * obj0 = 0 ;
25571 PyObject * obj1 = 0 ;
25572 char * kwnames[] = {
25573 (char *) "self",(char *) "pt", NULL
25574 };
25575
25576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25578 if (!SWIG_IsOK(res1)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25580 }
25581 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25582 {
25583 arg2 = &temp2;
25584 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25585 }
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 resultobj = SWIG_Py_Void();
25593 return resultobj;
25594 fail:
25595 return NULL;
25596 }
25597
25598
25599 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25600 PyObject *resultobj = 0;
25601 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25602 wxPoint *arg2 = 0 ;
25603 void *argp1 = 0 ;
25604 int res1 = 0 ;
25605 wxPoint temp2 ;
25606 PyObject * obj0 = 0 ;
25607 PyObject * obj1 = 0 ;
25608 char * kwnames[] = {
25609 (char *) "self",(char *) "pt", NULL
25610 };
25611
25612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25614 if (!SWIG_IsOK(res1)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25616 }
25617 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25618 {
25619 arg2 = &temp2;
25620 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25621 }
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_Py_Void();
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj = 0;
25637 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25638 wxPoint *arg2 = 0 ;
25639 void *argp1 = 0 ;
25640 int res1 = 0 ;
25641 wxPoint temp2 ;
25642 PyObject * obj0 = 0 ;
25643 PyObject * obj1 = 0 ;
25644 char * kwnames[] = {
25645 (char *) "self",(char *) "pt", NULL
25646 };
25647
25648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25650 if (!SWIG_IsOK(res1)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25652 }
25653 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25654 {
25655 arg2 = &temp2;
25656 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25657 }
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 resultobj = SWIG_Py_Void();
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj = 0;
25673 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25674 wxPaperSize arg2 ;
25675 void *argp1 = 0 ;
25676 int res1 = 0 ;
25677 int val2 ;
25678 int ecode2 = 0 ;
25679 PyObject * obj0 = 0 ;
25680 PyObject * obj1 = 0 ;
25681 char * kwnames[] = {
25682 (char *) "self",(char *) "id", NULL
25683 };
25684
25685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25687 if (!SWIG_IsOK(res1)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25689 }
25690 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25691 ecode2 = SWIG_AsVal_int(obj1, &val2);
25692 if (!SWIG_IsOK(ecode2)) {
25693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25694 }
25695 arg2 = static_cast< wxPaperSize >(val2);
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 (arg1)->SetPaperId(arg2);
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
25702 resultobj = SWIG_Py_Void();
25703 return resultobj;
25704 fail:
25705 return NULL;
25706 }
25707
25708
25709 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25710 PyObject *resultobj = 0;
25711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25712 wxSize *arg2 = 0 ;
25713 void *argp1 = 0 ;
25714 int res1 = 0 ;
25715 wxSize temp2 ;
25716 PyObject * obj0 = 0 ;
25717 PyObject * obj1 = 0 ;
25718 char * kwnames[] = {
25719 (char *) "self",(char *) "size", NULL
25720 };
25721
25722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25724 if (!SWIG_IsOK(res1)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25726 }
25727 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25728 {
25729 arg2 = &temp2;
25730 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25731 }
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 (arg1)->SetPaperSize((wxSize const &)*arg2);
25735 wxPyEndAllowThreads(__tstate);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 resultobj = SWIG_Py_Void();
25739 return resultobj;
25740 fail:
25741 return NULL;
25742 }
25743
25744
25745 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj = 0;
25747 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25748 wxPrintData *arg2 = 0 ;
25749 void *argp1 = 0 ;
25750 int res1 = 0 ;
25751 void *argp2 = 0 ;
25752 int res2 = 0 ;
25753 PyObject * obj0 = 0 ;
25754 PyObject * obj1 = 0 ;
25755 char * kwnames[] = {
25756 (char *) "self",(char *) "printData", NULL
25757 };
25758
25759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25761 if (!SWIG_IsOK(res1)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25763 }
25764 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25765 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25766 if (!SWIG_IsOK(res2)) {
25767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25768 }
25769 if (!argp2) {
25770 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25771 }
25772 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25773 {
25774 PyThreadState* __tstate = wxPyBeginAllowThreads();
25775 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 resultobj = SWIG_Py_Void();
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25787 PyObject *resultobj = 0;
25788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25789 void *argp1 = 0 ;
25790 int res1 = 0 ;
25791 PyObject *swig_obj[1] ;
25792
25793 if (!args) SWIG_fail;
25794 swig_obj[0] = args;
25795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25796 if (!SWIG_IsOK(res1)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25798 }
25799 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25800 {
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 (arg1)->CalculateIdFromPaperSize();
25803 wxPyEndAllowThreads(__tstate);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 }
25806 resultobj = SWIG_Py_Void();
25807 return resultobj;
25808 fail:
25809 return NULL;
25810 }
25811
25812
25813 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25814 PyObject *resultobj = 0;
25815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25816 void *argp1 = 0 ;
25817 int res1 = 0 ;
25818 PyObject *swig_obj[1] ;
25819
25820 if (!args) SWIG_fail;
25821 swig_obj[0] = args;
25822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25823 if (!SWIG_IsOK(res1)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25825 }
25826 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25827 {
25828 PyThreadState* __tstate = wxPyBeginAllowThreads();
25829 (arg1)->CalculatePaperSizeFromId();
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
25833 resultobj = SWIG_Py_Void();
25834 return resultobj;
25835 fail:
25836 return NULL;
25837 }
25838
25839
25840 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25841 PyObject *obj;
25842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25843 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25844 return SWIG_Py_Void();
25845 }
25846
25847 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25848 return SWIG_Python_InitShadowInstance(args);
25849 }
25850
25851 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25852 PyObject *resultobj = 0;
25853 wxWindow *arg1 = (wxWindow *) 0 ;
25854 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25855 wxPageSetupDialog *result = 0 ;
25856 void *argp1 = 0 ;
25857 int res1 = 0 ;
25858 void *argp2 = 0 ;
25859 int res2 = 0 ;
25860 PyObject * obj0 = 0 ;
25861 PyObject * obj1 = 0 ;
25862 char * kwnames[] = {
25863 (char *) "parent",(char *) "data", NULL
25864 };
25865
25866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25868 if (!SWIG_IsOK(res1)) {
25869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25870 }
25871 arg1 = reinterpret_cast< wxWindow * >(argp1);
25872 if (obj1) {
25873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25874 if (!SWIG_IsOK(res2)) {
25875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25876 }
25877 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25878 }
25879 {
25880 if (!wxPyCheckForApp()) SWIG_fail;
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25883 wxPyEndAllowThreads(__tstate);
25884 if (PyErr_Occurred()) SWIG_fail;
25885 }
25886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25887 return resultobj;
25888 fail:
25889 return NULL;
25890 }
25891
25892
25893 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25894 PyObject *resultobj = 0;
25895 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25896 void *argp1 = 0 ;
25897 int res1 = 0 ;
25898 PyObject *swig_obj[1] ;
25899
25900 if (!args) SWIG_fail;
25901 swig_obj[0] = args;
25902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25903 if (!SWIG_IsOK(res1)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25905 }
25906 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25907 {
25908 PyThreadState* __tstate = wxPyBeginAllowThreads();
25909 delete arg1;
25910
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 resultobj = SWIG_Py_Void();
25915 return resultobj;
25916 fail:
25917 return NULL;
25918 }
25919
25920
25921 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25922 PyObject *resultobj = 0;
25923 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25924 wxPageSetupDialogData *result = 0 ;
25925 void *argp1 = 0 ;
25926 int res1 = 0 ;
25927 PyObject *swig_obj[1] ;
25928
25929 if (!args) SWIG_fail;
25930 swig_obj[0] = args;
25931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25932 if (!SWIG_IsOK(res1)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25934 }
25935 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25936 {
25937 PyThreadState* __tstate = wxPyBeginAllowThreads();
25938 {
25939 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25940 result = (wxPageSetupDialogData *) &_result_ref;
25941 }
25942 wxPyEndAllowThreads(__tstate);
25943 if (PyErr_Occurred()) SWIG_fail;
25944 }
25945 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25946 return resultobj;
25947 fail:
25948 return NULL;
25949 }
25950
25951
25952 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25953 PyObject *resultobj = 0;
25954 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25955 wxPageSetupDialogData *result = 0 ;
25956 void *argp1 = 0 ;
25957 int res1 = 0 ;
25958 PyObject *swig_obj[1] ;
25959
25960 if (!args) SWIG_fail;
25961 swig_obj[0] = args;
25962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25963 if (!SWIG_IsOK(res1)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25965 }
25966 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 {
25970 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25971 result = (wxPageSetupDialogData *) &_result_ref;
25972 }
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
25976 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25977 return resultobj;
25978 fail:
25979 return NULL;
25980 }
25981
25982
25983 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25984 PyObject *resultobj = 0;
25985 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25986 int result;
25987 void *argp1 = 0 ;
25988 int res1 = 0 ;
25989 PyObject *swig_obj[1] ;
25990
25991 if (!args) SWIG_fail;
25992 swig_obj[0] = args;
25993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25994 if (!SWIG_IsOK(res1)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25996 }
25997 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 result = (int)(arg1)->ShowModal();
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 resultobj = SWIG_From_int(static_cast< int >(result));
26005 return resultobj;
26006 fail:
26007 return NULL;
26008 }
26009
26010
26011 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26012 PyObject *obj;
26013 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26015 return SWIG_Py_Void();
26016 }
26017
26018 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26019 return SWIG_Python_InitShadowInstance(args);
26020 }
26021
26022 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26023 PyObject *resultobj = 0;
26024 wxPrintDialogData *result = 0 ;
26025
26026 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26027 {
26028 PyThreadState* __tstate = wxPyBeginAllowThreads();
26029 result = (wxPrintDialogData *)new wxPrintDialogData();
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26041 PyObject *resultobj = 0;
26042 wxPrintData *arg1 = 0 ;
26043 wxPrintDialogData *result = 0 ;
26044 void *argp1 = 0 ;
26045 int res1 = 0 ;
26046
26047 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26049 if (!SWIG_IsOK(res1)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26051 }
26052 if (!argp1) {
26053 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26054 }
26055 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26059 wxPyEndAllowThreads(__tstate);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
26062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26063 return resultobj;
26064 fail:
26065 return NULL;
26066 }
26067
26068
26069 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26070 PyObject *resultobj = 0;
26071 wxPrintDialogData *arg1 = 0 ;
26072 wxPrintDialogData *result = 0 ;
26073 void *argp1 = 0 ;
26074 int res1 = 0 ;
26075
26076 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26078 if (!SWIG_IsOK(res1)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26080 }
26081 if (!argp1) {
26082 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26083 }
26084 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26085 {
26086 PyThreadState* __tstate = wxPyBeginAllowThreads();
26087 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
26091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26092 return resultobj;
26093 fail:
26094 return NULL;
26095 }
26096
26097
26098 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26099 int argc;
26100 PyObject *argv[2];
26101
26102 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26103 --argc;
26104 if (argc == 0) {
26105 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26106 }
26107 if (argc == 1) {
26108 int _v = 0;
26109 {
26110 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26111 _v = SWIG_CheckState(res);
26112 }
26113 if (!_v) goto check_2;
26114 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26115 }
26116 check_2:
26117
26118 if (argc == 1) {
26119 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26120 }
26121
26122 fail:
26123 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26124 return NULL;
26125 }
26126
26127
26128 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26129 PyObject *resultobj = 0;
26130 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26131 void *argp1 = 0 ;
26132 int res1 = 0 ;
26133 PyObject *swig_obj[1] ;
26134
26135 if (!args) SWIG_fail;
26136 swig_obj[0] = args;
26137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26138 if (!SWIG_IsOK(res1)) {
26139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26140 }
26141 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26142 {
26143 PyThreadState* __tstate = wxPyBeginAllowThreads();
26144 delete arg1;
26145
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
26149 resultobj = SWIG_Py_Void();
26150 return resultobj;
26151 fail:
26152 return NULL;
26153 }
26154
26155
26156 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26157 PyObject *resultobj = 0;
26158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26159 int result;
26160 void *argp1 = 0 ;
26161 int res1 = 0 ;
26162 PyObject *swig_obj[1] ;
26163
26164 if (!args) SWIG_fail;
26165 swig_obj[0] = args;
26166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26167 if (!SWIG_IsOK(res1)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26169 }
26170 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 resultobj = SWIG_From_int(static_cast< int >(result));
26178 return resultobj;
26179 fail:
26180 return NULL;
26181 }
26182
26183
26184 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26185 PyObject *resultobj = 0;
26186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26187 int result;
26188 void *argp1 = 0 ;
26189 int res1 = 0 ;
26190 PyObject *swig_obj[1] ;
26191
26192 if (!args) SWIG_fail;
26193 swig_obj[0] = args;
26194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26195 if (!SWIG_IsOK(res1)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26197 }
26198 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26199 {
26200 PyThreadState* __tstate = wxPyBeginAllowThreads();
26201 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 resultobj = SWIG_From_int(static_cast< int >(result));
26206 return resultobj;
26207 fail:
26208 return NULL;
26209 }
26210
26211
26212 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26213 PyObject *resultobj = 0;
26214 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26215 int result;
26216 void *argp1 = 0 ;
26217 int res1 = 0 ;
26218 PyObject *swig_obj[1] ;
26219
26220 if (!args) SWIG_fail;
26221 swig_obj[0] = args;
26222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26223 if (!SWIG_IsOK(res1)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26225 }
26226 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
26229 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 resultobj = SWIG_From_int(static_cast< int >(result));
26234 return resultobj;
26235 fail:
26236 return NULL;
26237 }
26238
26239
26240 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26241 PyObject *resultobj = 0;
26242 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26243 int result;
26244 void *argp1 = 0 ;
26245 int res1 = 0 ;
26246 PyObject *swig_obj[1] ;
26247
26248 if (!args) SWIG_fail;
26249 swig_obj[0] = args;
26250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26251 if (!SWIG_IsOK(res1)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26253 }
26254 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 resultobj = SWIG_From_int(static_cast< int >(result));
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26269 PyObject *resultobj = 0;
26270 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26271 int result;
26272 void *argp1 = 0 ;
26273 int res1 = 0 ;
26274 PyObject *swig_obj[1] ;
26275
26276 if (!args) SWIG_fail;
26277 swig_obj[0] = args;
26278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26279 if (!SWIG_IsOK(res1)) {
26280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26281 }
26282 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26283 {
26284 PyThreadState* __tstate = wxPyBeginAllowThreads();
26285 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 resultobj = SWIG_From_int(static_cast< int >(result));
26290 return resultobj;
26291 fail:
26292 return NULL;
26293 }
26294
26295
26296 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26297 PyObject *resultobj = 0;
26298 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26299 bool result;
26300 void *argp1 = 0 ;
26301 int res1 = 0 ;
26302 PyObject *swig_obj[1] ;
26303
26304 if (!args) SWIG_fail;
26305 swig_obj[0] = args;
26306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26307 if (!SWIG_IsOK(res1)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26309 }
26310 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26311 {
26312 PyThreadState* __tstate = wxPyBeginAllowThreads();
26313 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26314 wxPyEndAllowThreads(__tstate);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 }
26317 {
26318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26319 }
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26327 PyObject *resultobj = 0;
26328 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26329 bool result;
26330 void *argp1 = 0 ;
26331 int res1 = 0 ;
26332 PyObject *swig_obj[1] ;
26333
26334 if (!args) SWIG_fail;
26335 swig_obj[0] = args;
26336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26337 if (!SWIG_IsOK(res1)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26339 }
26340 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 {
26348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26349 }
26350 return resultobj;
26351 fail:
26352 return NULL;
26353 }
26354
26355
26356 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26357 PyObject *resultobj = 0;
26358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26359 bool result;
26360 void *argp1 = 0 ;
26361 int res1 = 0 ;
26362 PyObject *swig_obj[1] ;
26363
26364 if (!args) SWIG_fail;
26365 swig_obj[0] = args;
26366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26367 if (!SWIG_IsOK(res1)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26369 }
26370 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 {
26378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26379 }
26380 return resultobj;
26381 fail:
26382 return NULL;
26383 }
26384
26385
26386 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26387 PyObject *resultobj = 0;
26388 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26389 bool result;
26390 void *argp1 = 0 ;
26391 int res1 = 0 ;
26392 PyObject *swig_obj[1] ;
26393
26394 if (!args) SWIG_fail;
26395 swig_obj[0] = args;
26396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26397 if (!SWIG_IsOK(res1)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26399 }
26400 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26401 {
26402 PyThreadState* __tstate = wxPyBeginAllowThreads();
26403 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26404 wxPyEndAllowThreads(__tstate);
26405 if (PyErr_Occurred()) SWIG_fail;
26406 }
26407 {
26408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26409 }
26410 return resultobj;
26411 fail:
26412 return NULL;
26413 }
26414
26415
26416 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26417 PyObject *resultobj = 0;
26418 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26419 int arg2 ;
26420 void *argp1 = 0 ;
26421 int res1 = 0 ;
26422 int val2 ;
26423 int ecode2 = 0 ;
26424 PyObject * obj0 = 0 ;
26425 PyObject * obj1 = 0 ;
26426 char * kwnames[] = {
26427 (char *) "self",(char *) "v", NULL
26428 };
26429
26430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26432 if (!SWIG_IsOK(res1)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26434 }
26435 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26436 ecode2 = SWIG_AsVal_int(obj1, &val2);
26437 if (!SWIG_IsOK(ecode2)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26439 }
26440 arg2 = static_cast< int >(val2);
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->SetFromPage(arg2);
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 resultobj = SWIG_Py_Void();
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj = 0;
26456 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26457 int arg2 ;
26458 void *argp1 = 0 ;
26459 int res1 = 0 ;
26460 int val2 ;
26461 int ecode2 = 0 ;
26462 PyObject * obj0 = 0 ;
26463 PyObject * obj1 = 0 ;
26464 char * kwnames[] = {
26465 (char *) "self",(char *) "v", NULL
26466 };
26467
26468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26470 if (!SWIG_IsOK(res1)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26472 }
26473 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26474 ecode2 = SWIG_AsVal_int(obj1, &val2);
26475 if (!SWIG_IsOK(ecode2)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26477 }
26478 arg2 = static_cast< int >(val2);
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 (arg1)->SetToPage(arg2);
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 resultobj = SWIG_Py_Void();
26486 return resultobj;
26487 fail:
26488 return NULL;
26489 }
26490
26491
26492 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26493 PyObject *resultobj = 0;
26494 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26495 int arg2 ;
26496 void *argp1 = 0 ;
26497 int res1 = 0 ;
26498 int val2 ;
26499 int ecode2 = 0 ;
26500 PyObject * obj0 = 0 ;
26501 PyObject * obj1 = 0 ;
26502 char * kwnames[] = {
26503 (char *) "self",(char *) "v", NULL
26504 };
26505
26506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26508 if (!SWIG_IsOK(res1)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26510 }
26511 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26512 ecode2 = SWIG_AsVal_int(obj1, &val2);
26513 if (!SWIG_IsOK(ecode2)) {
26514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26515 }
26516 arg2 = static_cast< int >(val2);
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 (arg1)->SetMinPage(arg2);
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 resultobj = SWIG_Py_Void();
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj = 0;
26532 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26533 int arg2 ;
26534 void *argp1 = 0 ;
26535 int res1 = 0 ;
26536 int val2 ;
26537 int ecode2 = 0 ;
26538 PyObject * obj0 = 0 ;
26539 PyObject * obj1 = 0 ;
26540 char * kwnames[] = {
26541 (char *) "self",(char *) "v", NULL
26542 };
26543
26544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26546 if (!SWIG_IsOK(res1)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26548 }
26549 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26550 ecode2 = SWIG_AsVal_int(obj1, &val2);
26551 if (!SWIG_IsOK(ecode2)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26553 }
26554 arg2 = static_cast< int >(val2);
26555 {
26556 PyThreadState* __tstate = wxPyBeginAllowThreads();
26557 (arg1)->SetMaxPage(arg2);
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 resultobj = SWIG_Py_Void();
26562 return resultobj;
26563 fail:
26564 return NULL;
26565 }
26566
26567
26568 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26569 PyObject *resultobj = 0;
26570 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26571 int arg2 ;
26572 void *argp1 = 0 ;
26573 int res1 = 0 ;
26574 int val2 ;
26575 int ecode2 = 0 ;
26576 PyObject * obj0 = 0 ;
26577 PyObject * obj1 = 0 ;
26578 char * kwnames[] = {
26579 (char *) "self",(char *) "v", NULL
26580 };
26581
26582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26584 if (!SWIG_IsOK(res1)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26586 }
26587 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26588 ecode2 = SWIG_AsVal_int(obj1, &val2);
26589 if (!SWIG_IsOK(ecode2)) {
26590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26591 }
26592 arg2 = static_cast< int >(val2);
26593 {
26594 PyThreadState* __tstate = wxPyBeginAllowThreads();
26595 (arg1)->SetNoCopies(arg2);
26596 wxPyEndAllowThreads(__tstate);
26597 if (PyErr_Occurred()) SWIG_fail;
26598 }
26599 resultobj = SWIG_Py_Void();
26600 return resultobj;
26601 fail:
26602 return NULL;
26603 }
26604
26605
26606 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26607 PyObject *resultobj = 0;
26608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26609 bool arg2 ;
26610 void *argp1 = 0 ;
26611 int res1 = 0 ;
26612 bool val2 ;
26613 int ecode2 = 0 ;
26614 PyObject * obj0 = 0 ;
26615 PyObject * obj1 = 0 ;
26616 char * kwnames[] = {
26617 (char *) "self",(char *) "flag", NULL
26618 };
26619
26620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26622 if (!SWIG_IsOK(res1)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26624 }
26625 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26626 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26627 if (!SWIG_IsOK(ecode2)) {
26628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26629 }
26630 arg2 = static_cast< bool >(val2);
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 (arg1)->SetAllPages(arg2);
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 resultobj = SWIG_Py_Void();
26638 return resultobj;
26639 fail:
26640 return NULL;
26641 }
26642
26643
26644 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26645 PyObject *resultobj = 0;
26646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26647 bool arg2 ;
26648 void *argp1 = 0 ;
26649 int res1 = 0 ;
26650 bool val2 ;
26651 int ecode2 = 0 ;
26652 PyObject * obj0 = 0 ;
26653 PyObject * obj1 = 0 ;
26654 char * kwnames[] = {
26655 (char *) "self",(char *) "flag", NULL
26656 };
26657
26658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26660 if (!SWIG_IsOK(res1)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26662 }
26663 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26664 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26665 if (!SWIG_IsOK(ecode2)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26667 }
26668 arg2 = static_cast< bool >(val2);
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
26671 (arg1)->SetSelection(arg2);
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 resultobj = SWIG_Py_Void();
26676 return resultobj;
26677 fail:
26678 return NULL;
26679 }
26680
26681
26682 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj = 0;
26684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26685 bool arg2 ;
26686 void *argp1 = 0 ;
26687 int res1 = 0 ;
26688 bool val2 ;
26689 int ecode2 = 0 ;
26690 PyObject * obj0 = 0 ;
26691 PyObject * obj1 = 0 ;
26692 char * kwnames[] = {
26693 (char *) "self",(char *) "flag", NULL
26694 };
26695
26696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26698 if (!SWIG_IsOK(res1)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26700 }
26701 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26702 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26703 if (!SWIG_IsOK(ecode2)) {
26704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26705 }
26706 arg2 = static_cast< bool >(val2);
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 (arg1)->SetCollate(arg2);
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 resultobj = SWIG_Py_Void();
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26721 PyObject *resultobj = 0;
26722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26723 bool arg2 ;
26724 void *argp1 = 0 ;
26725 int res1 = 0 ;
26726 bool val2 ;
26727 int ecode2 = 0 ;
26728 PyObject * obj0 = 0 ;
26729 PyObject * obj1 = 0 ;
26730 char * kwnames[] = {
26731 (char *) "self",(char *) "flag", NULL
26732 };
26733
26734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26736 if (!SWIG_IsOK(res1)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26738 }
26739 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26740 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26741 if (!SWIG_IsOK(ecode2)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26743 }
26744 arg2 = static_cast< bool >(val2);
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 (arg1)->SetPrintToFile(arg2);
26748 wxPyEndAllowThreads(__tstate);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
26751 resultobj = SWIG_Py_Void();
26752 return resultobj;
26753 fail:
26754 return NULL;
26755 }
26756
26757
26758 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26759 PyObject *resultobj = 0;
26760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26761 bool arg2 ;
26762 void *argp1 = 0 ;
26763 int res1 = 0 ;
26764 bool val2 ;
26765 int ecode2 = 0 ;
26766 PyObject * obj0 = 0 ;
26767 PyObject * obj1 = 0 ;
26768 char * kwnames[] = {
26769 (char *) "self",(char *) "flag", NULL
26770 };
26771
26772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26774 if (!SWIG_IsOK(res1)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26776 }
26777 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26778 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26779 if (!SWIG_IsOK(ecode2)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26781 }
26782 arg2 = static_cast< bool >(val2);
26783 {
26784 PyThreadState* __tstate = wxPyBeginAllowThreads();
26785 (arg1)->EnablePrintToFile(arg2);
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 resultobj = SWIG_Py_Void();
26790 return resultobj;
26791 fail:
26792 return NULL;
26793 }
26794
26795
26796 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26797 PyObject *resultobj = 0;
26798 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26799 bool arg2 ;
26800 void *argp1 = 0 ;
26801 int res1 = 0 ;
26802 bool val2 ;
26803 int ecode2 = 0 ;
26804 PyObject * obj0 = 0 ;
26805 PyObject * obj1 = 0 ;
26806 char * kwnames[] = {
26807 (char *) "self",(char *) "flag", NULL
26808 };
26809
26810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26812 if (!SWIG_IsOK(res1)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26814 }
26815 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26816 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26817 if (!SWIG_IsOK(ecode2)) {
26818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26819 }
26820 arg2 = static_cast< bool >(val2);
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 (arg1)->EnableSelection(arg2);
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 resultobj = SWIG_Py_Void();
26828 return resultobj;
26829 fail:
26830 return NULL;
26831 }
26832
26833
26834 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26835 PyObject *resultobj = 0;
26836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26837 bool arg2 ;
26838 void *argp1 = 0 ;
26839 int res1 = 0 ;
26840 bool val2 ;
26841 int ecode2 = 0 ;
26842 PyObject * obj0 = 0 ;
26843 PyObject * obj1 = 0 ;
26844 char * kwnames[] = {
26845 (char *) "self",(char *) "flag", NULL
26846 };
26847
26848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26850 if (!SWIG_IsOK(res1)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26852 }
26853 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26854 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26855 if (!SWIG_IsOK(ecode2)) {
26856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26857 }
26858 arg2 = static_cast< bool >(val2);
26859 {
26860 PyThreadState* __tstate = wxPyBeginAllowThreads();
26861 (arg1)->EnablePageNumbers(arg2);
26862 wxPyEndAllowThreads(__tstate);
26863 if (PyErr_Occurred()) SWIG_fail;
26864 }
26865 resultobj = SWIG_Py_Void();
26866 return resultobj;
26867 fail:
26868 return NULL;
26869 }
26870
26871
26872 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26873 PyObject *resultobj = 0;
26874 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26875 bool arg2 ;
26876 void *argp1 = 0 ;
26877 int res1 = 0 ;
26878 bool val2 ;
26879 int ecode2 = 0 ;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882 char * kwnames[] = {
26883 (char *) "self",(char *) "flag", NULL
26884 };
26885
26886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26888 if (!SWIG_IsOK(res1)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26890 }
26891 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26892 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26893 if (!SWIG_IsOK(ecode2)) {
26894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26895 }
26896 arg2 = static_cast< bool >(val2);
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 (arg1)->EnableHelp(arg2);
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 resultobj = SWIG_Py_Void();
26904 return resultobj;
26905 fail:
26906 return NULL;
26907 }
26908
26909
26910 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26911 PyObject *resultobj = 0;
26912 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26913 bool result;
26914 void *argp1 = 0 ;
26915 int res1 = 0 ;
26916 PyObject *swig_obj[1] ;
26917
26918 if (!args) SWIG_fail;
26919 swig_obj[0] = args;
26920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26921 if (!SWIG_IsOK(res1)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26923 }
26924 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26928 wxPyEndAllowThreads(__tstate);
26929 if (PyErr_Occurred()) SWIG_fail;
26930 }
26931 {
26932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26933 }
26934 return resultobj;
26935 fail:
26936 return NULL;
26937 }
26938
26939
26940 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26941 PyObject *resultobj = 0;
26942 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26943 bool result;
26944 void *argp1 = 0 ;
26945 int res1 = 0 ;
26946 PyObject *swig_obj[1] ;
26947
26948 if (!args) SWIG_fail;
26949 swig_obj[0] = args;
26950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26951 if (!SWIG_IsOK(res1)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26953 }
26954 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26955 {
26956 PyThreadState* __tstate = wxPyBeginAllowThreads();
26957 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26958 wxPyEndAllowThreads(__tstate);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 }
26961 {
26962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26963 }
26964 return resultobj;
26965 fail:
26966 return NULL;
26967 }
26968
26969
26970 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26971 PyObject *resultobj = 0;
26972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26973 bool result;
26974 void *argp1 = 0 ;
26975 int res1 = 0 ;
26976 PyObject *swig_obj[1] ;
26977
26978 if (!args) SWIG_fail;
26979 swig_obj[0] = args;
26980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26981 if (!SWIG_IsOK(res1)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26983 }
26984 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26985 {
26986 PyThreadState* __tstate = wxPyBeginAllowThreads();
26987 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26988 wxPyEndAllowThreads(__tstate);
26989 if (PyErr_Occurred()) SWIG_fail;
26990 }
26991 {
26992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26993 }
26994 return resultobj;
26995 fail:
26996 return NULL;
26997 }
26998
26999
27000 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27001 PyObject *resultobj = 0;
27002 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27003 bool result;
27004 void *argp1 = 0 ;
27005 int res1 = 0 ;
27006 PyObject *swig_obj[1] ;
27007
27008 if (!args) SWIG_fail;
27009 swig_obj[0] = args;
27010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27011 if (!SWIG_IsOK(res1)) {
27012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27013 }
27014 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27015 {
27016 PyThreadState* __tstate = wxPyBeginAllowThreads();
27017 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27018 wxPyEndAllowThreads(__tstate);
27019 if (PyErr_Occurred()) SWIG_fail;
27020 }
27021 {
27022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27023 }
27024 return resultobj;
27025 fail:
27026 return NULL;
27027 }
27028
27029
27030 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27031 PyObject *resultobj = 0;
27032 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27033 bool result;
27034 void *argp1 = 0 ;
27035 int res1 = 0 ;
27036 PyObject *swig_obj[1] ;
27037
27038 if (!args) SWIG_fail;
27039 swig_obj[0] = args;
27040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27041 if (!SWIG_IsOK(res1)) {
27042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27043 }
27044 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 {
27052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27053 }
27054 return resultobj;
27055 fail:
27056 return NULL;
27057 }
27058
27059
27060 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27061 PyObject *resultobj = 0;
27062 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27063 wxPrintData *result = 0 ;
27064 void *argp1 = 0 ;
27065 int res1 = 0 ;
27066 PyObject *swig_obj[1] ;
27067
27068 if (!args) SWIG_fail;
27069 swig_obj[0] = args;
27070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27071 if (!SWIG_IsOK(res1)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27073 }
27074 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 {
27078 wxPrintData &_result_ref = (arg1)->GetPrintData();
27079 result = (wxPrintData *) &_result_ref;
27080 }
27081 wxPyEndAllowThreads(__tstate);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27085 return resultobj;
27086 fail:
27087 return NULL;
27088 }
27089
27090
27091 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj = 0;
27093 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27094 wxPrintData *arg2 = 0 ;
27095 void *argp1 = 0 ;
27096 int res1 = 0 ;
27097 void *argp2 = 0 ;
27098 int res2 = 0 ;
27099 PyObject * obj0 = 0 ;
27100 PyObject * obj1 = 0 ;
27101 char * kwnames[] = {
27102 (char *) "self",(char *) "printData", NULL
27103 };
27104
27105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27107 if (!SWIG_IsOK(res1)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27109 }
27110 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27111 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27112 if (!SWIG_IsOK(res2)) {
27113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27114 }
27115 if (!argp2) {
27116 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27117 }
27118 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27122 wxPyEndAllowThreads(__tstate);
27123 if (PyErr_Occurred()) SWIG_fail;
27124 }
27125 resultobj = SWIG_Py_Void();
27126 return resultobj;
27127 fail:
27128 return NULL;
27129 }
27130
27131
27132 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27133 PyObject *obj;
27134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27136 return SWIG_Py_Void();
27137 }
27138
27139 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27140 return SWIG_Python_InitShadowInstance(args);
27141 }
27142
27143 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27144 PyObject *resultobj = 0;
27145 wxWindow *arg1 = (wxWindow *) 0 ;
27146 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27147 wxPrintDialog *result = 0 ;
27148 void *argp1 = 0 ;
27149 int res1 = 0 ;
27150 void *argp2 = 0 ;
27151 int res2 = 0 ;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 char * kwnames[] = {
27155 (char *) "parent",(char *) "data", NULL
27156 };
27157
27158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27160 if (!SWIG_IsOK(res1)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27162 }
27163 arg1 = reinterpret_cast< wxWindow * >(argp1);
27164 if (obj1) {
27165 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27166 if (!SWIG_IsOK(res2)) {
27167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27168 }
27169 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27170 }
27171 {
27172 if (!wxPyCheckForApp()) SWIG_fail;
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27175 wxPyEndAllowThreads(__tstate);
27176 if (PyErr_Occurred()) SWIG_fail;
27177 }
27178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27179 return resultobj;
27180 fail:
27181 return NULL;
27182 }
27183
27184
27185 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27186 PyObject *resultobj = 0;
27187 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27188 void *argp1 = 0 ;
27189 int res1 = 0 ;
27190 PyObject *swig_obj[1] ;
27191
27192 if (!args) SWIG_fail;
27193 swig_obj[0] = args;
27194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27195 if (!SWIG_IsOK(res1)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27197 }
27198 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 delete arg1;
27202
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 resultobj = SWIG_Py_Void();
27207 return resultobj;
27208 fail:
27209 return NULL;
27210 }
27211
27212
27213 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27214 PyObject *resultobj = 0;
27215 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27216 int result;
27217 void *argp1 = 0 ;
27218 int res1 = 0 ;
27219 PyObject *swig_obj[1] ;
27220
27221 if (!args) SWIG_fail;
27222 swig_obj[0] = args;
27223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27224 if (!SWIG_IsOK(res1)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27226 }
27227 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (int)(arg1)->ShowModal();
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 resultobj = SWIG_From_int(static_cast< int >(result));
27235 return resultobj;
27236 fail:
27237 return NULL;
27238 }
27239
27240
27241 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27242 PyObject *resultobj = 0;
27243 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27244 wxPrintDialogData *result = 0 ;
27245 void *argp1 = 0 ;
27246 int res1 = 0 ;
27247 PyObject *swig_obj[1] ;
27248
27249 if (!args) SWIG_fail;
27250 swig_obj[0] = args;
27251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27252 if (!SWIG_IsOK(res1)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27254 }
27255 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 {
27259 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27260 result = (wxPrintDialogData *) &_result_ref;
27261 }
27262 wxPyEndAllowThreads(__tstate);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27266 return resultobj;
27267 fail:
27268 return NULL;
27269 }
27270
27271
27272 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27273 PyObject *resultobj = 0;
27274 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27275 wxPrintData *result = 0 ;
27276 void *argp1 = 0 ;
27277 int res1 = 0 ;
27278 PyObject *swig_obj[1] ;
27279
27280 if (!args) SWIG_fail;
27281 swig_obj[0] = args;
27282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27283 if (!SWIG_IsOK(res1)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27285 }
27286 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 {
27290 wxPrintData &_result_ref = (arg1)->GetPrintData();
27291 result = (wxPrintData *) &_result_ref;
27292 }
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27297 return resultobj;
27298 fail:
27299 return NULL;
27300 }
27301
27302
27303 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27304 PyObject *resultobj = 0;
27305 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27306 wxDC *result = 0 ;
27307 void *argp1 = 0 ;
27308 int res1 = 0 ;
27309 PyObject *swig_obj[1] ;
27310
27311 if (!args) SWIG_fail;
27312 swig_obj[0] = args;
27313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27314 if (!SWIG_IsOK(res1)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27316 }
27317 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 result = (wxDC *)(arg1)->GetPrintDC();
27321 wxPyEndAllowThreads(__tstate);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 {
27325 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27326 }
27327 return resultobj;
27328 fail:
27329 return NULL;
27330 }
27331
27332
27333 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27334 PyObject *obj;
27335 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27336 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27337 return SWIG_Py_Void();
27338 }
27339
27340 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27341 return SWIG_Python_InitShadowInstance(args);
27342 }
27343
27344 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27345 PyObject *resultobj = 0;
27346 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27347 wxPrinter *result = 0 ;
27348 void *argp1 = 0 ;
27349 int res1 = 0 ;
27350 PyObject * obj0 = 0 ;
27351 char * kwnames[] = {
27352 (char *) "data", NULL
27353 };
27354
27355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27356 if (obj0) {
27357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27358 if (!SWIG_IsOK(res1)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27360 }
27361 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27362 }
27363 {
27364 if (!wxPyCheckForApp()) SWIG_fail;
27365 PyThreadState* __tstate = wxPyBeginAllowThreads();
27366 result = (wxPrinter *)new wxPrinter(arg1);
27367 wxPyEndAllowThreads(__tstate);
27368 if (PyErr_Occurred()) SWIG_fail;
27369 }
27370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27371 return resultobj;
27372 fail:
27373 return NULL;
27374 }
27375
27376
27377 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27378 PyObject *resultobj = 0;
27379 wxPrinter *arg1 = (wxPrinter *) 0 ;
27380 void *argp1 = 0 ;
27381 int res1 = 0 ;
27382 PyObject *swig_obj[1] ;
27383
27384 if (!args) SWIG_fail;
27385 swig_obj[0] = args;
27386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27387 if (!SWIG_IsOK(res1)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27389 }
27390 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27391 {
27392 PyThreadState* __tstate = wxPyBeginAllowThreads();
27393 delete arg1;
27394
27395 wxPyEndAllowThreads(__tstate);
27396 if (PyErr_Occurred()) SWIG_fail;
27397 }
27398 resultobj = SWIG_Py_Void();
27399 return resultobj;
27400 fail:
27401 return NULL;
27402 }
27403
27404
27405 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27406 PyObject *resultobj = 0;
27407 wxPrinter *arg1 = (wxPrinter *) 0 ;
27408 wxWindow *arg2 = (wxWindow *) 0 ;
27409 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27410 wxWindow *result = 0 ;
27411 void *argp1 = 0 ;
27412 int res1 = 0 ;
27413 void *argp2 = 0 ;
27414 int res2 = 0 ;
27415 void *argp3 = 0 ;
27416 int res3 = 0 ;
27417 PyObject * obj0 = 0 ;
27418 PyObject * obj1 = 0 ;
27419 PyObject * obj2 = 0 ;
27420 char * kwnames[] = {
27421 (char *) "self",(char *) "parent",(char *) "printout", NULL
27422 };
27423
27424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27426 if (!SWIG_IsOK(res1)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27428 }
27429 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27431 if (!SWIG_IsOK(res2)) {
27432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27433 }
27434 arg2 = reinterpret_cast< wxWindow * >(argp2);
27435 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27436 if (!SWIG_IsOK(res3)) {
27437 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27438 }
27439 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27443 wxPyEndAllowThreads(__tstate);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 resultobj = wxPyMake_wxObject(result, 0);
27448 }
27449 return resultobj;
27450 fail:
27451 return NULL;
27452 }
27453
27454
27455 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27456 PyObject *resultobj = 0;
27457 wxPrinter *arg1 = (wxPrinter *) 0 ;
27458 wxWindow *arg2 = (wxWindow *) 0 ;
27459 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27460 wxString *arg4 = 0 ;
27461 void *argp1 = 0 ;
27462 int res1 = 0 ;
27463 void *argp2 = 0 ;
27464 int res2 = 0 ;
27465 void *argp3 = 0 ;
27466 int res3 = 0 ;
27467 bool temp4 = false ;
27468 PyObject * obj0 = 0 ;
27469 PyObject * obj1 = 0 ;
27470 PyObject * obj2 = 0 ;
27471 PyObject * obj3 = 0 ;
27472 char * kwnames[] = {
27473 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27474 };
27475
27476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27478 if (!SWIG_IsOK(res1)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27480 }
27481 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27482 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27483 if (!SWIG_IsOK(res2)) {
27484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27485 }
27486 arg2 = reinterpret_cast< wxWindow * >(argp2);
27487 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27488 if (!SWIG_IsOK(res3)) {
27489 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27490 }
27491 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27492 {
27493 arg4 = wxString_in_helper(obj3);
27494 if (arg4 == NULL) SWIG_fail;
27495 temp4 = true;
27496 }
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27500 wxPyEndAllowThreads(__tstate);
27501 if (PyErr_Occurred()) SWIG_fail;
27502 }
27503 resultobj = SWIG_Py_Void();
27504 {
27505 if (temp4)
27506 delete arg4;
27507 }
27508 return resultobj;
27509 fail:
27510 {
27511 if (temp4)
27512 delete arg4;
27513 }
27514 return NULL;
27515 }
27516
27517
27518 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27519 PyObject *resultobj = 0;
27520 wxPrinter *arg1 = (wxPrinter *) 0 ;
27521 wxWindow *arg2 = (wxWindow *) 0 ;
27522 bool result;
27523 void *argp1 = 0 ;
27524 int res1 = 0 ;
27525 void *argp2 = 0 ;
27526 int res2 = 0 ;
27527 PyObject * obj0 = 0 ;
27528 PyObject * obj1 = 0 ;
27529 char * kwnames[] = {
27530 (char *) "self",(char *) "parent", NULL
27531 };
27532
27533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27535 if (!SWIG_IsOK(res1)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27537 }
27538 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27539 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27540 if (!SWIG_IsOK(res2)) {
27541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27542 }
27543 arg2 = reinterpret_cast< wxWindow * >(argp2);
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 result = (bool)(arg1)->Setup(arg2);
27547 wxPyEndAllowThreads(__tstate);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 {
27551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27552 }
27553 return resultobj;
27554 fail:
27555 return NULL;
27556 }
27557
27558
27559 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27560 PyObject *resultobj = 0;
27561 wxPrinter *arg1 = (wxPrinter *) 0 ;
27562 wxWindow *arg2 = (wxWindow *) 0 ;
27563 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27564 bool arg4 = (bool) true ;
27565 bool result;
27566 void *argp1 = 0 ;
27567 int res1 = 0 ;
27568 void *argp2 = 0 ;
27569 int res2 = 0 ;
27570 void *argp3 = 0 ;
27571 int res3 = 0 ;
27572 bool val4 ;
27573 int ecode4 = 0 ;
27574 PyObject * obj0 = 0 ;
27575 PyObject * obj1 = 0 ;
27576 PyObject * obj2 = 0 ;
27577 PyObject * obj3 = 0 ;
27578 char * kwnames[] = {
27579 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27580 };
27581
27582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27584 if (!SWIG_IsOK(res1)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27586 }
27587 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27589 if (!SWIG_IsOK(res2)) {
27590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27591 }
27592 arg2 = reinterpret_cast< wxWindow * >(argp2);
27593 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27594 if (!SWIG_IsOK(res3)) {
27595 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27596 }
27597 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27598 if (obj3) {
27599 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27600 if (!SWIG_IsOK(ecode4)) {
27601 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27602 }
27603 arg4 = static_cast< bool >(val4);
27604 }
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27608 wxPyEndAllowThreads(__tstate);
27609 if (PyErr_Occurred()) SWIG_fail;
27610 }
27611 {
27612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27613 }
27614 return resultobj;
27615 fail:
27616 return NULL;
27617 }
27618
27619
27620 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27621 PyObject *resultobj = 0;
27622 wxPrinter *arg1 = (wxPrinter *) 0 ;
27623 wxWindow *arg2 = (wxWindow *) 0 ;
27624 wxDC *result = 0 ;
27625 void *argp1 = 0 ;
27626 int res1 = 0 ;
27627 void *argp2 = 0 ;
27628 int res2 = 0 ;
27629 PyObject * obj0 = 0 ;
27630 PyObject * obj1 = 0 ;
27631 char * kwnames[] = {
27632 (char *) "self",(char *) "parent", NULL
27633 };
27634
27635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27637 if (!SWIG_IsOK(res1)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27639 }
27640 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27642 if (!SWIG_IsOK(res2)) {
27643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27644 }
27645 arg2 = reinterpret_cast< wxWindow * >(argp2);
27646 {
27647 PyThreadState* __tstate = wxPyBeginAllowThreads();
27648 result = (wxDC *)(arg1)->PrintDialog(arg2);
27649 wxPyEndAllowThreads(__tstate);
27650 if (PyErr_Occurred()) SWIG_fail;
27651 }
27652 {
27653 resultobj = wxPyMake_wxObject(result, (bool)0);
27654 }
27655 return resultobj;
27656 fail:
27657 return NULL;
27658 }
27659
27660
27661 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27662 PyObject *resultobj = 0;
27663 wxPrinter *arg1 = (wxPrinter *) 0 ;
27664 wxPrintDialogData *result = 0 ;
27665 void *argp1 = 0 ;
27666 int res1 = 0 ;
27667 PyObject *swig_obj[1] ;
27668
27669 if (!args) SWIG_fail;
27670 swig_obj[0] = args;
27671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27672 if (!SWIG_IsOK(res1)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27674 }
27675 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27676 {
27677 PyThreadState* __tstate = wxPyBeginAllowThreads();
27678 {
27679 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27680 result = (wxPrintDialogData *) &_result_ref;
27681 }
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27686 return resultobj;
27687 fail:
27688 return NULL;
27689 }
27690
27691
27692 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27693 PyObject *resultobj = 0;
27694 wxPrinter *arg1 = (wxPrinter *) 0 ;
27695 bool result;
27696 void *argp1 = 0 ;
27697 int res1 = 0 ;
27698 PyObject *swig_obj[1] ;
27699
27700 if (!args) SWIG_fail;
27701 swig_obj[0] = args;
27702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27703 if (!SWIG_IsOK(res1)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27705 }
27706 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27707 {
27708 PyThreadState* __tstate = wxPyBeginAllowThreads();
27709 result = (bool)(arg1)->GetAbort();
27710 wxPyEndAllowThreads(__tstate);
27711 if (PyErr_Occurred()) SWIG_fail;
27712 }
27713 {
27714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27715 }
27716 return resultobj;
27717 fail:
27718 return NULL;
27719 }
27720
27721
27722 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27723 PyObject *resultobj = 0;
27724 wxPrinterError result;
27725
27726 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27727 {
27728 PyThreadState* __tstate = wxPyBeginAllowThreads();
27729 result = (wxPrinterError)wxPrinter::GetLastError();
27730 wxPyEndAllowThreads(__tstate);
27731 if (PyErr_Occurred()) SWIG_fail;
27732 }
27733 resultobj = SWIG_From_int(static_cast< int >(result));
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27741 PyObject *obj;
27742 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27744 return SWIG_Py_Void();
27745 }
27746
27747 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27748 return SWIG_Python_InitShadowInstance(args);
27749 }
27750
27751 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27752 PyObject *resultobj = 0;
27753 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27754 wxString *arg1 = (wxString *) &arg1_defvalue ;
27755 wxPyPrintout *result = 0 ;
27756 bool temp1 = false ;
27757 PyObject * obj0 = 0 ;
27758 char * kwnames[] = {
27759 (char *) "title", NULL
27760 };
27761
27762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27763 if (obj0) {
27764 {
27765 arg1 = wxString_in_helper(obj0);
27766 if (arg1 == NULL) SWIG_fail;
27767 temp1 = true;
27768 }
27769 }
27770 {
27771 if (!wxPyCheckForApp()) SWIG_fail;
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27778 {
27779 if (temp1)
27780 delete arg1;
27781 }
27782 return resultobj;
27783 fail:
27784 {
27785 if (temp1)
27786 delete arg1;
27787 }
27788 return NULL;
27789 }
27790
27791
27792 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27793 PyObject *resultobj = 0;
27794 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27795 void *argp1 = 0 ;
27796 int res1 = 0 ;
27797 PyObject *swig_obj[1] ;
27798
27799 if (!args) SWIG_fail;
27800 swig_obj[0] = args;
27801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27802 if (!SWIG_IsOK(res1)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27804 }
27805 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
27808 delete arg1;
27809
27810 wxPyEndAllowThreads(__tstate);
27811 if (PyErr_Occurred()) SWIG_fail;
27812 }
27813 resultobj = SWIG_Py_Void();
27814 return resultobj;
27815 fail:
27816 return NULL;
27817 }
27818
27819
27820 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27821 PyObject *resultobj = 0;
27822 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27823 PyObject *arg2 = (PyObject *) 0 ;
27824 PyObject *arg3 = (PyObject *) 0 ;
27825 void *argp1 = 0 ;
27826 int res1 = 0 ;
27827 PyObject * obj0 = 0 ;
27828 PyObject * obj1 = 0 ;
27829 PyObject * obj2 = 0 ;
27830 char * kwnames[] = {
27831 (char *) "self",(char *) "self",(char *) "_class", NULL
27832 };
27833
27834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27836 if (!SWIG_IsOK(res1)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27838 }
27839 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27840 arg2 = obj1;
27841 arg3 = obj2;
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 (arg1)->_setCallbackInfo(arg2,arg3);
27845 wxPyEndAllowThreads(__tstate);
27846 if (PyErr_Occurred()) SWIG_fail;
27847 }
27848 resultobj = SWIG_Py_Void();
27849 return resultobj;
27850 fail:
27851 return NULL;
27852 }
27853
27854
27855 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27856 PyObject *resultobj = 0;
27857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27858 wxString result;
27859 void *argp1 = 0 ;
27860 int res1 = 0 ;
27861 PyObject *swig_obj[1] ;
27862
27863 if (!args) SWIG_fail;
27864 swig_obj[0] = args;
27865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27866 if (!SWIG_IsOK(res1)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27868 }
27869 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27870 {
27871 PyThreadState* __tstate = wxPyBeginAllowThreads();
27872 result = ((wxPyPrintout const *)arg1)->GetTitle();
27873 wxPyEndAllowThreads(__tstate);
27874 if (PyErr_Occurred()) SWIG_fail;
27875 }
27876 {
27877 #if wxUSE_UNICODE
27878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27879 #else
27880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27881 #endif
27882 }
27883 return resultobj;
27884 fail:
27885 return NULL;
27886 }
27887
27888
27889 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27890 PyObject *resultobj = 0;
27891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27892 wxDC *result = 0 ;
27893 void *argp1 = 0 ;
27894 int res1 = 0 ;
27895 PyObject *swig_obj[1] ;
27896
27897 if (!args) SWIG_fail;
27898 swig_obj[0] = args;
27899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27900 if (!SWIG_IsOK(res1)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27902 }
27903 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 result = (wxDC *)(arg1)->GetDC();
27907 wxPyEndAllowThreads(__tstate);
27908 if (PyErr_Occurred()) SWIG_fail;
27909 }
27910 {
27911 resultobj = wxPyMake_wxObject(result, (bool)0);
27912 }
27913 return resultobj;
27914 fail:
27915 return NULL;
27916 }
27917
27918
27919 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27920 PyObject *resultobj = 0;
27921 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27922 wxDC *arg2 = (wxDC *) 0 ;
27923 void *argp1 = 0 ;
27924 int res1 = 0 ;
27925 void *argp2 = 0 ;
27926 int res2 = 0 ;
27927 PyObject * obj0 = 0 ;
27928 PyObject * obj1 = 0 ;
27929 char * kwnames[] = {
27930 (char *) "self",(char *) "dc", NULL
27931 };
27932
27933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27935 if (!SWIG_IsOK(res1)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27937 }
27938 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27940 if (!SWIG_IsOK(res2)) {
27941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27942 }
27943 arg2 = reinterpret_cast< wxDC * >(argp2);
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 (arg1)->SetDC(arg2);
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_Py_Void();
27951 return resultobj;
27952 fail:
27953 return NULL;
27954 }
27955
27956
27957 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj = 0;
27959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27960 int arg2 ;
27961 int arg3 ;
27962 void *argp1 = 0 ;
27963 int res1 = 0 ;
27964 int val2 ;
27965 int ecode2 = 0 ;
27966 int val3 ;
27967 int ecode3 = 0 ;
27968 PyObject * obj0 = 0 ;
27969 PyObject * obj1 = 0 ;
27970 PyObject * obj2 = 0 ;
27971 char * kwnames[] = {
27972 (char *) "self",(char *) "w",(char *) "h", NULL
27973 };
27974
27975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27977 if (!SWIG_IsOK(res1)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27979 }
27980 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27981 ecode2 = SWIG_AsVal_int(obj1, &val2);
27982 if (!SWIG_IsOK(ecode2)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27984 }
27985 arg2 = static_cast< int >(val2);
27986 ecode3 = SWIG_AsVal_int(obj2, &val3);
27987 if (!SWIG_IsOK(ecode3)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27989 }
27990 arg3 = static_cast< int >(val3);
27991 {
27992 PyThreadState* __tstate = wxPyBeginAllowThreads();
27993 (arg1)->SetPageSizePixels(arg2,arg3);
27994 wxPyEndAllowThreads(__tstate);
27995 if (PyErr_Occurred()) SWIG_fail;
27996 }
27997 resultobj = SWIG_Py_Void();
27998 return resultobj;
27999 fail:
28000 return NULL;
28001 }
28002
28003
28004 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28005 PyObject *resultobj = 0;
28006 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28007 int *arg2 = (int *) 0 ;
28008 int *arg3 = (int *) 0 ;
28009 void *argp1 = 0 ;
28010 int res1 = 0 ;
28011 int temp2 ;
28012 int res2 = SWIG_TMPOBJ ;
28013 int temp3 ;
28014 int res3 = SWIG_TMPOBJ ;
28015 PyObject *swig_obj[1] ;
28016
28017 arg2 = &temp2;
28018 arg3 = &temp3;
28019 if (!args) SWIG_fail;
28020 swig_obj[0] = args;
28021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28022 if (!SWIG_IsOK(res1)) {
28023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28024 }
28025 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28026 {
28027 PyThreadState* __tstate = wxPyBeginAllowThreads();
28028 (arg1)->GetPageSizePixels(arg2,arg3);
28029 wxPyEndAllowThreads(__tstate);
28030 if (PyErr_Occurred()) SWIG_fail;
28031 }
28032 resultobj = SWIG_Py_Void();
28033 if (SWIG_IsTmpObj(res2)) {
28034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28035 } else {
28036 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28037 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28038 }
28039 if (SWIG_IsTmpObj(res3)) {
28040 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28041 } else {
28042 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28044 }
28045 return resultobj;
28046 fail:
28047 return NULL;
28048 }
28049
28050
28051 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj = 0;
28053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28054 int arg2 ;
28055 int arg3 ;
28056 void *argp1 = 0 ;
28057 int res1 = 0 ;
28058 int val2 ;
28059 int ecode2 = 0 ;
28060 int val3 ;
28061 int ecode3 = 0 ;
28062 PyObject * obj0 = 0 ;
28063 PyObject * obj1 = 0 ;
28064 PyObject * obj2 = 0 ;
28065 char * kwnames[] = {
28066 (char *) "self",(char *) "w",(char *) "h", NULL
28067 };
28068
28069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28071 if (!SWIG_IsOK(res1)) {
28072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28073 }
28074 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28075 ecode2 = SWIG_AsVal_int(obj1, &val2);
28076 if (!SWIG_IsOK(ecode2)) {
28077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28078 }
28079 arg2 = static_cast< int >(val2);
28080 ecode3 = SWIG_AsVal_int(obj2, &val3);
28081 if (!SWIG_IsOK(ecode3)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28083 }
28084 arg3 = static_cast< int >(val3);
28085 {
28086 PyThreadState* __tstate = wxPyBeginAllowThreads();
28087 (arg1)->SetPageSizeMM(arg2,arg3);
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 resultobj = SWIG_Py_Void();
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28099 PyObject *resultobj = 0;
28100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28101 int *arg2 = (int *) 0 ;
28102 int *arg3 = (int *) 0 ;
28103 void *argp1 = 0 ;
28104 int res1 = 0 ;
28105 int temp2 ;
28106 int res2 = SWIG_TMPOBJ ;
28107 int temp3 ;
28108 int res3 = SWIG_TMPOBJ ;
28109 PyObject *swig_obj[1] ;
28110
28111 arg2 = &temp2;
28112 arg3 = &temp3;
28113 if (!args) SWIG_fail;
28114 swig_obj[0] = args;
28115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28116 if (!SWIG_IsOK(res1)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28118 }
28119 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28120 {
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 (arg1)->GetPageSizeMM(arg2,arg3);
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 resultobj = SWIG_Py_Void();
28127 if (SWIG_IsTmpObj(res2)) {
28128 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28129 } else {
28130 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28131 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28132 }
28133 if (SWIG_IsTmpObj(res3)) {
28134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28135 } else {
28136 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28138 }
28139 return resultobj;
28140 fail:
28141 return NULL;
28142 }
28143
28144
28145 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28146 PyObject *resultobj = 0;
28147 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28148 int arg2 ;
28149 int arg3 ;
28150 void *argp1 = 0 ;
28151 int res1 = 0 ;
28152 int val2 ;
28153 int ecode2 = 0 ;
28154 int val3 ;
28155 int ecode3 = 0 ;
28156 PyObject * obj0 = 0 ;
28157 PyObject * obj1 = 0 ;
28158 PyObject * obj2 = 0 ;
28159 char * kwnames[] = {
28160 (char *) "self",(char *) "x",(char *) "y", NULL
28161 };
28162
28163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28165 if (!SWIG_IsOK(res1)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28167 }
28168 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28169 ecode2 = SWIG_AsVal_int(obj1, &val2);
28170 if (!SWIG_IsOK(ecode2)) {
28171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28172 }
28173 arg2 = static_cast< int >(val2);
28174 ecode3 = SWIG_AsVal_int(obj2, &val3);
28175 if (!SWIG_IsOK(ecode3)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28177 }
28178 arg3 = static_cast< int >(val3);
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 (arg1)->SetPPIScreen(arg2,arg3);
28182 wxPyEndAllowThreads(__tstate);
28183 if (PyErr_Occurred()) SWIG_fail;
28184 }
28185 resultobj = SWIG_Py_Void();
28186 return resultobj;
28187 fail:
28188 return NULL;
28189 }
28190
28191
28192 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28193 PyObject *resultobj = 0;
28194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28195 int *arg2 = (int *) 0 ;
28196 int *arg3 = (int *) 0 ;
28197 void *argp1 = 0 ;
28198 int res1 = 0 ;
28199 int temp2 ;
28200 int res2 = SWIG_TMPOBJ ;
28201 int temp3 ;
28202 int res3 = SWIG_TMPOBJ ;
28203 PyObject *swig_obj[1] ;
28204
28205 arg2 = &temp2;
28206 arg3 = &temp3;
28207 if (!args) SWIG_fail;
28208 swig_obj[0] = args;
28209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28210 if (!SWIG_IsOK(res1)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28212 }
28213 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 (arg1)->GetPPIScreen(arg2,arg3);
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 resultobj = SWIG_Py_Void();
28221 if (SWIG_IsTmpObj(res2)) {
28222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28223 } else {
28224 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28226 }
28227 if (SWIG_IsTmpObj(res3)) {
28228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28229 } else {
28230 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28231 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28232 }
28233 return resultobj;
28234 fail:
28235 return NULL;
28236 }
28237
28238
28239 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28240 PyObject *resultobj = 0;
28241 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28242 int arg2 ;
28243 int arg3 ;
28244 void *argp1 = 0 ;
28245 int res1 = 0 ;
28246 int val2 ;
28247 int ecode2 = 0 ;
28248 int val3 ;
28249 int ecode3 = 0 ;
28250 PyObject * obj0 = 0 ;
28251 PyObject * obj1 = 0 ;
28252 PyObject * obj2 = 0 ;
28253 char * kwnames[] = {
28254 (char *) "self",(char *) "x",(char *) "y", NULL
28255 };
28256
28257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28259 if (!SWIG_IsOK(res1)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28261 }
28262 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28263 ecode2 = SWIG_AsVal_int(obj1, &val2);
28264 if (!SWIG_IsOK(ecode2)) {
28265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28266 }
28267 arg2 = static_cast< int >(val2);
28268 ecode3 = SWIG_AsVal_int(obj2, &val3);
28269 if (!SWIG_IsOK(ecode3)) {
28270 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28271 }
28272 arg3 = static_cast< int >(val3);
28273 {
28274 PyThreadState* __tstate = wxPyBeginAllowThreads();
28275 (arg1)->SetPPIPrinter(arg2,arg3);
28276 wxPyEndAllowThreads(__tstate);
28277 if (PyErr_Occurred()) SWIG_fail;
28278 }
28279 resultobj = SWIG_Py_Void();
28280 return resultobj;
28281 fail:
28282 return NULL;
28283 }
28284
28285
28286 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28287 PyObject *resultobj = 0;
28288 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28289 int *arg2 = (int *) 0 ;
28290 int *arg3 = (int *) 0 ;
28291 void *argp1 = 0 ;
28292 int res1 = 0 ;
28293 int temp2 ;
28294 int res2 = SWIG_TMPOBJ ;
28295 int temp3 ;
28296 int res3 = SWIG_TMPOBJ ;
28297 PyObject *swig_obj[1] ;
28298
28299 arg2 = &temp2;
28300 arg3 = &temp3;
28301 if (!args) SWIG_fail;
28302 swig_obj[0] = args;
28303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28304 if (!SWIG_IsOK(res1)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28306 }
28307 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
28310 (arg1)->GetPPIPrinter(arg2,arg3);
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 resultobj = SWIG_Py_Void();
28315 if (SWIG_IsTmpObj(res2)) {
28316 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28317 } else {
28318 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28319 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28320 }
28321 if (SWIG_IsTmpObj(res3)) {
28322 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28323 } else {
28324 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28325 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28326 }
28327 return resultobj;
28328 fail:
28329 return NULL;
28330 }
28331
28332
28333 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28334 PyObject *resultobj = 0;
28335 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28336 bool result;
28337 void *argp1 = 0 ;
28338 int res1 = 0 ;
28339 PyObject *swig_obj[1] ;
28340
28341 if (!args) SWIG_fail;
28342 swig_obj[0] = args;
28343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28344 if (!SWIG_IsOK(res1)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28346 }
28347 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28348 {
28349 PyThreadState* __tstate = wxPyBeginAllowThreads();
28350 result = (bool)(arg1)->IsPreview();
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 {
28355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28356 }
28357 return resultobj;
28358 fail:
28359 return NULL;
28360 }
28361
28362
28363 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28364 PyObject *resultobj = 0;
28365 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28366 bool arg2 ;
28367 void *argp1 = 0 ;
28368 int res1 = 0 ;
28369 bool val2 ;
28370 int ecode2 = 0 ;
28371 PyObject * obj0 = 0 ;
28372 PyObject * obj1 = 0 ;
28373 char * kwnames[] = {
28374 (char *) "self",(char *) "p", NULL
28375 };
28376
28377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28379 if (!SWIG_IsOK(res1)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28381 }
28382 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28383 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28384 if (!SWIG_IsOK(ecode2)) {
28385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28386 }
28387 arg2 = static_cast< bool >(val2);
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 (arg1)->SetIsPreview(arg2);
28391 wxPyEndAllowThreads(__tstate);
28392 if (PyErr_Occurred()) SWIG_fail;
28393 }
28394 resultobj = SWIG_Py_Void();
28395 return resultobj;
28396 fail:
28397 return NULL;
28398 }
28399
28400
28401 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28402 PyObject *resultobj = 0;
28403 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28404 int arg2 ;
28405 int arg3 ;
28406 bool result;
28407 void *argp1 = 0 ;
28408 int res1 = 0 ;
28409 int val2 ;
28410 int ecode2 = 0 ;
28411 int val3 ;
28412 int ecode3 = 0 ;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 PyObject * obj2 = 0 ;
28416 char * kwnames[] = {
28417 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28418 };
28419
28420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28422 if (!SWIG_IsOK(res1)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28424 }
28425 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28426 ecode2 = SWIG_AsVal_int(obj1, &val2);
28427 if (!SWIG_IsOK(ecode2)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28429 }
28430 arg2 = static_cast< int >(val2);
28431 ecode3 = SWIG_AsVal_int(obj2, &val3);
28432 if (!SWIG_IsOK(ecode3)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28434 }
28435 arg3 = static_cast< int >(val3);
28436 {
28437 PyThreadState* __tstate = wxPyBeginAllowThreads();
28438 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28439 wxPyEndAllowThreads(__tstate);
28440 if (PyErr_Occurred()) SWIG_fail;
28441 }
28442 {
28443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28444 }
28445 return resultobj;
28446 fail:
28447 return NULL;
28448 }
28449
28450
28451 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28452 PyObject *resultobj = 0;
28453 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28454 void *argp1 = 0 ;
28455 int res1 = 0 ;
28456 PyObject *swig_obj[1] ;
28457
28458 if (!args) SWIG_fail;
28459 swig_obj[0] = args;
28460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28461 if (!SWIG_IsOK(res1)) {
28462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28463 }
28464 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28465 {
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
28467 (arg1)->OnEndDocument();
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 resultobj = SWIG_Py_Void();
28472 return resultobj;
28473 fail:
28474 return NULL;
28475 }
28476
28477
28478 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28479 PyObject *resultobj = 0;
28480 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28481 void *argp1 = 0 ;
28482 int res1 = 0 ;
28483 PyObject *swig_obj[1] ;
28484
28485 if (!args) SWIG_fail;
28486 swig_obj[0] = args;
28487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28488 if (!SWIG_IsOK(res1)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28490 }
28491 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28492 {
28493 PyThreadState* __tstate = wxPyBeginAllowThreads();
28494 (arg1)->OnBeginPrinting();
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 resultobj = SWIG_Py_Void();
28499 return resultobj;
28500 fail:
28501 return NULL;
28502 }
28503
28504
28505 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28506 PyObject *resultobj = 0;
28507 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28508 void *argp1 = 0 ;
28509 int res1 = 0 ;
28510 PyObject *swig_obj[1] ;
28511
28512 if (!args) SWIG_fail;
28513 swig_obj[0] = args;
28514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28515 if (!SWIG_IsOK(res1)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28517 }
28518 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28519 {
28520 PyThreadState* __tstate = wxPyBeginAllowThreads();
28521 (arg1)->OnEndPrinting();
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 resultobj = SWIG_Py_Void();
28526 return resultobj;
28527 fail:
28528 return NULL;
28529 }
28530
28531
28532 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28533 PyObject *resultobj = 0;
28534 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28535 void *argp1 = 0 ;
28536 int res1 = 0 ;
28537 PyObject *swig_obj[1] ;
28538
28539 if (!args) SWIG_fail;
28540 swig_obj[0] = args;
28541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28542 if (!SWIG_IsOK(res1)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28544 }
28545 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28546 {
28547 PyThreadState* __tstate = wxPyBeginAllowThreads();
28548 (arg1)->OnPreparePrinting();
28549 wxPyEndAllowThreads(__tstate);
28550 if (PyErr_Occurred()) SWIG_fail;
28551 }
28552 resultobj = SWIG_Py_Void();
28553 return resultobj;
28554 fail:
28555 return NULL;
28556 }
28557
28558
28559 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28560 PyObject *resultobj = 0;
28561 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28562 int arg2 ;
28563 bool result;
28564 void *argp1 = 0 ;
28565 int res1 = 0 ;
28566 int val2 ;
28567 int ecode2 = 0 ;
28568 PyObject * obj0 = 0 ;
28569 PyObject * obj1 = 0 ;
28570 char * kwnames[] = {
28571 (char *) "self",(char *) "page", NULL
28572 };
28573
28574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28576 if (!SWIG_IsOK(res1)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28578 }
28579 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28580 ecode2 = SWIG_AsVal_int(obj1, &val2);
28581 if (!SWIG_IsOK(ecode2)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28583 }
28584 arg2 = static_cast< int >(val2);
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 result = (bool)(arg1)->HasPage(arg2);
28588 wxPyEndAllowThreads(__tstate);
28589 if (PyErr_Occurred()) SWIG_fail;
28590 }
28591 {
28592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28593 }
28594 return resultobj;
28595 fail:
28596 return NULL;
28597 }
28598
28599
28600 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28601 PyObject *resultobj = 0;
28602 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28603 int *arg2 = (int *) 0 ;
28604 int *arg3 = (int *) 0 ;
28605 int *arg4 = (int *) 0 ;
28606 int *arg5 = (int *) 0 ;
28607 void *argp1 = 0 ;
28608 int res1 = 0 ;
28609 int temp2 ;
28610 int res2 = SWIG_TMPOBJ ;
28611 int temp3 ;
28612 int res3 = SWIG_TMPOBJ ;
28613 int temp4 ;
28614 int res4 = SWIG_TMPOBJ ;
28615 int temp5 ;
28616 int res5 = SWIG_TMPOBJ ;
28617 PyObject *swig_obj[1] ;
28618
28619 arg2 = &temp2;
28620 arg3 = &temp3;
28621 arg4 = &temp4;
28622 arg5 = &temp5;
28623 if (!args) SWIG_fail;
28624 swig_obj[0] = args;
28625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28626 if (!SWIG_IsOK(res1)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28628 }
28629 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28630 {
28631 PyThreadState* __tstate = wxPyBeginAllowThreads();
28632 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28633 wxPyEndAllowThreads(__tstate);
28634 if (PyErr_Occurred()) SWIG_fail;
28635 }
28636 resultobj = SWIG_Py_Void();
28637 if (SWIG_IsTmpObj(res2)) {
28638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28639 } else {
28640 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28642 }
28643 if (SWIG_IsTmpObj(res3)) {
28644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28645 } else {
28646 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28648 }
28649 if (SWIG_IsTmpObj(res4)) {
28650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28651 } else {
28652 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28654 }
28655 if (SWIG_IsTmpObj(res5)) {
28656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28657 } else {
28658 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28660 }
28661 return resultobj;
28662 fail:
28663 return NULL;
28664 }
28665
28666
28667 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28668 PyObject *obj;
28669 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28671 return SWIG_Py_Void();
28672 }
28673
28674 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28675 return SWIG_Python_InitShadowInstance(args);
28676 }
28677
28678 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28679 PyObject *resultobj = 0;
28680 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28681 wxWindow *arg2 = (wxWindow *) 0 ;
28682 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28683 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28684 wxSize const &arg4_defvalue = wxDefaultSize ;
28685 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28686 long arg5 = (long) 0 ;
28687 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28688 wxString *arg6 = (wxString *) &arg6_defvalue ;
28689 wxPreviewCanvas *result = 0 ;
28690 void *argp1 = 0 ;
28691 int res1 = 0 ;
28692 void *argp2 = 0 ;
28693 int res2 = 0 ;
28694 wxPoint temp3 ;
28695 wxSize temp4 ;
28696 long val5 ;
28697 int ecode5 = 0 ;
28698 bool temp6 = false ;
28699 PyObject * obj0 = 0 ;
28700 PyObject * obj1 = 0 ;
28701 PyObject * obj2 = 0 ;
28702 PyObject * obj3 = 0 ;
28703 PyObject * obj4 = 0 ;
28704 PyObject * obj5 = 0 ;
28705 char * kwnames[] = {
28706 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28707 };
28708
28709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28711 if (!SWIG_IsOK(res1)) {
28712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28713 }
28714 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28716 if (!SWIG_IsOK(res2)) {
28717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28718 }
28719 arg2 = reinterpret_cast< wxWindow * >(argp2);
28720 if (obj2) {
28721 {
28722 arg3 = &temp3;
28723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28724 }
28725 }
28726 if (obj3) {
28727 {
28728 arg4 = &temp4;
28729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28730 }
28731 }
28732 if (obj4) {
28733 ecode5 = SWIG_AsVal_long(obj4, &val5);
28734 if (!SWIG_IsOK(ecode5)) {
28735 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28736 }
28737 arg5 = static_cast< long >(val5);
28738 }
28739 if (obj5) {
28740 {
28741 arg6 = wxString_in_helper(obj5);
28742 if (arg6 == NULL) SWIG_fail;
28743 temp6 = true;
28744 }
28745 }
28746 {
28747 if (!wxPyCheckForApp()) SWIG_fail;
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28754 {
28755 if (temp6)
28756 delete arg6;
28757 }
28758 return resultobj;
28759 fail:
28760 {
28761 if (temp6)
28762 delete arg6;
28763 }
28764 return NULL;
28765 }
28766
28767
28768 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28769 PyObject *obj;
28770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28772 return SWIG_Py_Void();
28773 }
28774
28775 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28776 return SWIG_Python_InitShadowInstance(args);
28777 }
28778
28779 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28780 PyObject *resultobj = 0;
28781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28782 wxFrame *arg2 = (wxFrame *) 0 ;
28783 wxString *arg3 = 0 ;
28784 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28785 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28786 wxSize const &arg5_defvalue = wxDefaultSize ;
28787 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28788 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28789 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28790 wxString *arg7 = (wxString *) &arg7_defvalue ;
28791 wxPreviewFrame *result = 0 ;
28792 int res1 = 0 ;
28793 void *argp2 = 0 ;
28794 int res2 = 0 ;
28795 bool temp3 = false ;
28796 wxPoint temp4 ;
28797 wxSize temp5 ;
28798 long val6 ;
28799 int ecode6 = 0 ;
28800 bool temp7 = false ;
28801 PyObject * obj0 = 0 ;
28802 PyObject * obj1 = 0 ;
28803 PyObject * obj2 = 0 ;
28804 PyObject * obj3 = 0 ;
28805 PyObject * obj4 = 0 ;
28806 PyObject * obj5 = 0 ;
28807 PyObject * obj6 = 0 ;
28808 char * kwnames[] = {
28809 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28810 };
28811
28812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28813 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28814 if (!SWIG_IsOK(res1)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28816 }
28817 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28818 if (!SWIG_IsOK(res2)) {
28819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28820 }
28821 arg2 = reinterpret_cast< wxFrame * >(argp2);
28822 {
28823 arg3 = wxString_in_helper(obj2);
28824 if (arg3 == NULL) SWIG_fail;
28825 temp3 = true;
28826 }
28827 if (obj3) {
28828 {
28829 arg4 = &temp4;
28830 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28831 }
28832 }
28833 if (obj4) {
28834 {
28835 arg5 = &temp5;
28836 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28837 }
28838 }
28839 if (obj5) {
28840 ecode6 = SWIG_AsVal_long(obj5, &val6);
28841 if (!SWIG_IsOK(ecode6)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28843 }
28844 arg6 = static_cast< long >(val6);
28845 }
28846 if (obj6) {
28847 {
28848 arg7 = wxString_in_helper(obj6);
28849 if (arg7 == NULL) SWIG_fail;
28850 temp7 = true;
28851 }
28852 }
28853 {
28854 if (!wxPyCheckForApp()) SWIG_fail;
28855 PyThreadState* __tstate = wxPyBeginAllowThreads();
28856 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28857 wxPyEndAllowThreads(__tstate);
28858 if (PyErr_Occurred()) SWIG_fail;
28859 }
28860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28861 {
28862 if (temp3)
28863 delete arg3;
28864 }
28865 {
28866 if (temp7)
28867 delete arg7;
28868 }
28869 return resultobj;
28870 fail:
28871 {
28872 if (temp3)
28873 delete arg3;
28874 }
28875 {
28876 if (temp7)
28877 delete arg7;
28878 }
28879 return NULL;
28880 }
28881
28882
28883 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28884 PyObject *resultobj = 0;
28885 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28886 void *argp1 = 0 ;
28887 int res1 = 0 ;
28888 PyObject *swig_obj[1] ;
28889
28890 if (!args) SWIG_fail;
28891 swig_obj[0] = args;
28892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28893 if (!SWIG_IsOK(res1)) {
28894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28895 }
28896 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28897 {
28898 PyThreadState* __tstate = wxPyBeginAllowThreads();
28899 (arg1)->Initialize();
28900 wxPyEndAllowThreads(__tstate);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 resultobj = SWIG_Py_Void();
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28911 PyObject *resultobj = 0;
28912 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28913 void *argp1 = 0 ;
28914 int res1 = 0 ;
28915 PyObject *swig_obj[1] ;
28916
28917 if (!args) SWIG_fail;
28918 swig_obj[0] = args;
28919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28920 if (!SWIG_IsOK(res1)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28922 }
28923 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28924 {
28925 PyThreadState* __tstate = wxPyBeginAllowThreads();
28926 (arg1)->CreateControlBar();
28927 wxPyEndAllowThreads(__tstate);
28928 if (PyErr_Occurred()) SWIG_fail;
28929 }
28930 resultobj = SWIG_Py_Void();
28931 return resultobj;
28932 fail:
28933 return NULL;
28934 }
28935
28936
28937 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28938 PyObject *resultobj = 0;
28939 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28940 void *argp1 = 0 ;
28941 int res1 = 0 ;
28942 PyObject *swig_obj[1] ;
28943
28944 if (!args) SWIG_fail;
28945 swig_obj[0] = args;
28946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28947 if (!SWIG_IsOK(res1)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28949 }
28950 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 (arg1)->CreateCanvas();
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 resultobj = SWIG_Py_Void();
28958 return resultobj;
28959 fail:
28960 return NULL;
28961 }
28962
28963
28964 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28965 PyObject *resultobj = 0;
28966 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28967 wxPreviewControlBar *result = 0 ;
28968 void *argp1 = 0 ;
28969 int res1 = 0 ;
28970 PyObject *swig_obj[1] ;
28971
28972 if (!args) SWIG_fail;
28973 swig_obj[0] = args;
28974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28975 if (!SWIG_IsOK(res1)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28977 }
28978 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28982 wxPyEndAllowThreads(__tstate);
28983 if (PyErr_Occurred()) SWIG_fail;
28984 }
28985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28986 return resultobj;
28987 fail:
28988 return NULL;
28989 }
28990
28991
28992 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28993 PyObject *obj;
28994 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28995 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28996 return SWIG_Py_Void();
28997 }
28998
28999 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29000 return SWIG_Python_InitShadowInstance(args);
29001 }
29002
29003 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29004 PyObject *resultobj = 0;
29005 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29006 long arg2 ;
29007 wxWindow *arg3 = (wxWindow *) 0 ;
29008 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29009 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29010 wxSize const &arg5_defvalue = wxDefaultSize ;
29011 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29012 long arg6 = (long) wxTAB_TRAVERSAL ;
29013 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29014 wxString *arg7 = (wxString *) &arg7_defvalue ;
29015 wxPreviewControlBar *result = 0 ;
29016 void *argp1 = 0 ;
29017 int res1 = 0 ;
29018 long val2 ;
29019 int ecode2 = 0 ;
29020 void *argp3 = 0 ;
29021 int res3 = 0 ;
29022 wxPoint temp4 ;
29023 wxSize temp5 ;
29024 long val6 ;
29025 int ecode6 = 0 ;
29026 bool temp7 = false ;
29027 PyObject * obj0 = 0 ;
29028 PyObject * obj1 = 0 ;
29029 PyObject * obj2 = 0 ;
29030 PyObject * obj3 = 0 ;
29031 PyObject * obj4 = 0 ;
29032 PyObject * obj5 = 0 ;
29033 PyObject * obj6 = 0 ;
29034 char * kwnames[] = {
29035 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29036 };
29037
29038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29040 if (!SWIG_IsOK(res1)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29042 }
29043 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29044 ecode2 = SWIG_AsVal_long(obj1, &val2);
29045 if (!SWIG_IsOK(ecode2)) {
29046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29047 }
29048 arg2 = static_cast< long >(val2);
29049 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29050 if (!SWIG_IsOK(res3)) {
29051 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29052 }
29053 arg3 = reinterpret_cast< wxWindow * >(argp3);
29054 if (obj3) {
29055 {
29056 arg4 = &temp4;
29057 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29058 }
29059 }
29060 if (obj4) {
29061 {
29062 arg5 = &temp5;
29063 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29064 }
29065 }
29066 if (obj5) {
29067 ecode6 = SWIG_AsVal_long(obj5, &val6);
29068 if (!SWIG_IsOK(ecode6)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29070 }
29071 arg6 = static_cast< long >(val6);
29072 }
29073 if (obj6) {
29074 {
29075 arg7 = wxString_in_helper(obj6);
29076 if (arg7 == NULL) SWIG_fail;
29077 temp7 = true;
29078 }
29079 }
29080 {
29081 if (!wxPyCheckForApp()) SWIG_fail;
29082 PyThreadState* __tstate = wxPyBeginAllowThreads();
29083 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29084 wxPyEndAllowThreads(__tstate);
29085 if (PyErr_Occurred()) SWIG_fail;
29086 }
29087 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29088 {
29089 if (temp7)
29090 delete arg7;
29091 }
29092 return resultobj;
29093 fail:
29094 {
29095 if (temp7)
29096 delete arg7;
29097 }
29098 return NULL;
29099 }
29100
29101
29102 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29103 PyObject *resultobj = 0;
29104 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29105 int result;
29106 void *argp1 = 0 ;
29107 int res1 = 0 ;
29108 PyObject *swig_obj[1] ;
29109
29110 if (!args) SWIG_fail;
29111 swig_obj[0] = args;
29112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29113 if (!SWIG_IsOK(res1)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29115 }
29116 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29117 {
29118 PyThreadState* __tstate = wxPyBeginAllowThreads();
29119 result = (int)(arg1)->GetZoomControl();
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 resultobj = SWIG_From_int(static_cast< int >(result));
29124 return resultobj;
29125 fail:
29126 return NULL;
29127 }
29128
29129
29130 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29131 PyObject *resultobj = 0;
29132 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29133 int arg2 ;
29134 void *argp1 = 0 ;
29135 int res1 = 0 ;
29136 int val2 ;
29137 int ecode2 = 0 ;
29138 PyObject * obj0 = 0 ;
29139 PyObject * obj1 = 0 ;
29140 char * kwnames[] = {
29141 (char *) "self",(char *) "zoom", NULL
29142 };
29143
29144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29146 if (!SWIG_IsOK(res1)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29148 }
29149 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29150 ecode2 = SWIG_AsVal_int(obj1, &val2);
29151 if (!SWIG_IsOK(ecode2)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29153 }
29154 arg2 = static_cast< int >(val2);
29155 {
29156 PyThreadState* __tstate = wxPyBeginAllowThreads();
29157 (arg1)->SetZoomControl(arg2);
29158 wxPyEndAllowThreads(__tstate);
29159 if (PyErr_Occurred()) SWIG_fail;
29160 }
29161 resultobj = SWIG_Py_Void();
29162 return resultobj;
29163 fail:
29164 return NULL;
29165 }
29166
29167
29168 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29169 PyObject *resultobj = 0;
29170 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29171 wxPrintPreview *result = 0 ;
29172 void *argp1 = 0 ;
29173 int res1 = 0 ;
29174 PyObject *swig_obj[1] ;
29175
29176 if (!args) SWIG_fail;
29177 swig_obj[0] = args;
29178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29179 if (!SWIG_IsOK(res1)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29181 }
29182 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29186 wxPyEndAllowThreads(__tstate);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 }
29189 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29190 return resultobj;
29191 fail:
29192 return NULL;
29193 }
29194
29195
29196 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29197 PyObject *resultobj = 0;
29198 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29199 void *argp1 = 0 ;
29200 int res1 = 0 ;
29201 PyObject *swig_obj[1] ;
29202
29203 if (!args) SWIG_fail;
29204 swig_obj[0] = args;
29205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29206 if (!SWIG_IsOK(res1)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29208 }
29209 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29210 {
29211 PyThreadState* __tstate = wxPyBeginAllowThreads();
29212 (arg1)->OnNext();
29213 wxPyEndAllowThreads(__tstate);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 resultobj = SWIG_Py_Void();
29217 return resultobj;
29218 fail:
29219 return NULL;
29220 }
29221
29222
29223 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29224 PyObject *resultobj = 0;
29225 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29226 void *argp1 = 0 ;
29227 int res1 = 0 ;
29228 PyObject *swig_obj[1] ;
29229
29230 if (!args) SWIG_fail;
29231 swig_obj[0] = args;
29232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29233 if (!SWIG_IsOK(res1)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29235 }
29236 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29237 {
29238 PyThreadState* __tstate = wxPyBeginAllowThreads();
29239 (arg1)->OnPrevious();
29240 wxPyEndAllowThreads(__tstate);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 }
29243 resultobj = SWIG_Py_Void();
29244 return resultobj;
29245 fail:
29246 return NULL;
29247 }
29248
29249
29250 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29251 PyObject *resultobj = 0;
29252 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29253 void *argp1 = 0 ;
29254 int res1 = 0 ;
29255 PyObject *swig_obj[1] ;
29256
29257 if (!args) SWIG_fail;
29258 swig_obj[0] = args;
29259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29260 if (!SWIG_IsOK(res1)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29262 }
29263 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29264 {
29265 PyThreadState* __tstate = wxPyBeginAllowThreads();
29266 (arg1)->OnFirst();
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 resultobj = SWIG_Py_Void();
29271 return resultobj;
29272 fail:
29273 return NULL;
29274 }
29275
29276
29277 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29278 PyObject *resultobj = 0;
29279 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29280 void *argp1 = 0 ;
29281 int res1 = 0 ;
29282 PyObject *swig_obj[1] ;
29283
29284 if (!args) SWIG_fail;
29285 swig_obj[0] = args;
29286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29287 if (!SWIG_IsOK(res1)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29289 }
29290 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29291 {
29292 PyThreadState* __tstate = wxPyBeginAllowThreads();
29293 (arg1)->OnLast();
29294 wxPyEndAllowThreads(__tstate);
29295 if (PyErr_Occurred()) SWIG_fail;
29296 }
29297 resultobj = SWIG_Py_Void();
29298 return resultobj;
29299 fail:
29300 return NULL;
29301 }
29302
29303
29304 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29305 PyObject *resultobj = 0;
29306 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29307 void *argp1 = 0 ;
29308 int res1 = 0 ;
29309 PyObject *swig_obj[1] ;
29310
29311 if (!args) SWIG_fail;
29312 swig_obj[0] = args;
29313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29314 if (!SWIG_IsOK(res1)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29316 }
29317 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29318 {
29319 PyThreadState* __tstate = wxPyBeginAllowThreads();
29320 (arg1)->OnGoto();
29321 wxPyEndAllowThreads(__tstate);
29322 if (PyErr_Occurred()) SWIG_fail;
29323 }
29324 resultobj = SWIG_Py_Void();
29325 return resultobj;
29326 fail:
29327 return NULL;
29328 }
29329
29330
29331 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29332 PyObject *obj;
29333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29335 return SWIG_Py_Void();
29336 }
29337
29338 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29339 return SWIG_Python_InitShadowInstance(args);
29340 }
29341
29342 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29343 PyObject *resultobj = 0;
29344 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29345 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29346 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29347 wxPrintPreview *result = 0 ;
29348 int res1 = 0 ;
29349 int res2 = 0 ;
29350 void *argp3 = 0 ;
29351 int res3 = 0 ;
29352
29353 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29354 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29355 if (!SWIG_IsOK(res1)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29357 }
29358 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29359 if (!SWIG_IsOK(res2)) {
29360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29361 }
29362 if (swig_obj[2]) {
29363 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29364 if (!SWIG_IsOK(res3)) {
29365 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29366 }
29367 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29368 }
29369 {
29370 if (!wxPyCheckForApp()) SWIG_fail;
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
29372 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29373 wxPyEndAllowThreads(__tstate);
29374 if (PyErr_Occurred()) SWIG_fail;
29375 }
29376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29377 return resultobj;
29378 fail:
29379 return NULL;
29380 }
29381
29382
29383 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29384 PyObject *resultobj = 0;
29385 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29386 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29387 wxPrintData *arg3 = (wxPrintData *) 0 ;
29388 wxPrintPreview *result = 0 ;
29389 int res1 = 0 ;
29390 int res2 = 0 ;
29391 void *argp3 = 0 ;
29392 int res3 = 0 ;
29393
29394 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29395 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29396 if (!SWIG_IsOK(res1)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29398 }
29399 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29400 if (!SWIG_IsOK(res2)) {
29401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29402 }
29403 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29404 if (!SWIG_IsOK(res3)) {
29405 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29406 }
29407 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29408 {
29409 if (!wxPyCheckForApp()) SWIG_fail;
29410 PyThreadState* __tstate = wxPyBeginAllowThreads();
29411 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29412 wxPyEndAllowThreads(__tstate);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29416 return resultobj;
29417 fail:
29418 return NULL;
29419 }
29420
29421
29422 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29423 int argc;
29424 PyObject *argv[4];
29425
29426 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29427 --argc;
29428 if ((argc >= 2) && (argc <= 3)) {
29429 int _v = 0;
29430 if (argc > 2) {
29431 {
29432 void *vptr = 0;
29433 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29434 _v = SWIG_CheckState(res);
29435 }
29436 if (!_v) goto check_1;
29437 }
29438 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29439 }
29440 check_1:
29441
29442 if (argc == 3) {
29443 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29444 }
29445
29446 fail:
29447 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29448 return NULL;
29449 }
29450
29451
29452 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29453 PyObject *resultobj = 0;
29454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29455 void *argp1 = 0 ;
29456 int res1 = 0 ;
29457 PyObject *swig_obj[1] ;
29458
29459 if (!args) SWIG_fail;
29460 swig_obj[0] = args;
29461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29462 if (!SWIG_IsOK(res1)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29464 }
29465 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29466 {
29467 PyThreadState* __tstate = wxPyBeginAllowThreads();
29468 delete arg1;
29469
29470 wxPyEndAllowThreads(__tstate);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 }
29473 resultobj = SWIG_Py_Void();
29474 return resultobj;
29475 fail:
29476 return NULL;
29477 }
29478
29479
29480 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29481 PyObject *resultobj = 0;
29482 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29483 int arg2 ;
29484 bool result;
29485 void *argp1 = 0 ;
29486 int res1 = 0 ;
29487 int val2 ;
29488 int ecode2 = 0 ;
29489 PyObject * obj0 = 0 ;
29490 PyObject * obj1 = 0 ;
29491 char * kwnames[] = {
29492 (char *) "self",(char *) "pageNum", NULL
29493 };
29494
29495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29497 if (!SWIG_IsOK(res1)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29499 }
29500 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29501 ecode2 = SWIG_AsVal_int(obj1, &val2);
29502 if (!SWIG_IsOK(ecode2)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29504 }
29505 arg2 = static_cast< int >(val2);
29506 {
29507 PyThreadState* __tstate = wxPyBeginAllowThreads();
29508 result = (bool)(arg1)->SetCurrentPage(arg2);
29509 wxPyEndAllowThreads(__tstate);
29510 if (PyErr_Occurred()) SWIG_fail;
29511 }
29512 {
29513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29514 }
29515 return resultobj;
29516 fail:
29517 return NULL;
29518 }
29519
29520
29521 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29522 PyObject *resultobj = 0;
29523 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29524 int result;
29525 void *argp1 = 0 ;
29526 int res1 = 0 ;
29527 PyObject *swig_obj[1] ;
29528
29529 if (!args) SWIG_fail;
29530 swig_obj[0] = args;
29531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29532 if (!SWIG_IsOK(res1)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29534 }
29535 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29536 {
29537 PyThreadState* __tstate = wxPyBeginAllowThreads();
29538 result = (int)(arg1)->GetCurrentPage();
29539 wxPyEndAllowThreads(__tstate);
29540 if (PyErr_Occurred()) SWIG_fail;
29541 }
29542 resultobj = SWIG_From_int(static_cast< int >(result));
29543 return resultobj;
29544 fail:
29545 return NULL;
29546 }
29547
29548
29549 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29550 PyObject *resultobj = 0;
29551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29552 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29553 void *argp1 = 0 ;
29554 int res1 = 0 ;
29555 int res2 = 0 ;
29556 PyObject * obj0 = 0 ;
29557 PyObject * obj1 = 0 ;
29558 char * kwnames[] = {
29559 (char *) "self",(char *) "printout", NULL
29560 };
29561
29562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29564 if (!SWIG_IsOK(res1)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29566 }
29567 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29568 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29569 if (!SWIG_IsOK(res2)) {
29570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29571 }
29572 {
29573 PyThreadState* __tstate = wxPyBeginAllowThreads();
29574 (arg1)->SetPrintout(arg2);
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
29578 resultobj = SWIG_Py_Void();
29579 return resultobj;
29580 fail:
29581 return NULL;
29582 }
29583
29584
29585 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29586 PyObject *resultobj = 0;
29587 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29588 wxPyPrintout *result = 0 ;
29589 void *argp1 = 0 ;
29590 int res1 = 0 ;
29591 PyObject *swig_obj[1] ;
29592
29593 if (!args) SWIG_fail;
29594 swig_obj[0] = args;
29595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29596 if (!SWIG_IsOK(res1)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29598 }
29599 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (wxPyPrintout *)(arg1)->GetPrintout();
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 {
29607 resultobj = wxPyMake_wxObject(result, 0);
29608 }
29609 return resultobj;
29610 fail:
29611 return NULL;
29612 }
29613
29614
29615 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29616 PyObject *resultobj = 0;
29617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29618 wxPyPrintout *result = 0 ;
29619 void *argp1 = 0 ;
29620 int res1 = 0 ;
29621 PyObject *swig_obj[1] ;
29622
29623 if (!args) SWIG_fail;
29624 swig_obj[0] = args;
29625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29626 if (!SWIG_IsOK(res1)) {
29627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29628 }
29629 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29630 {
29631 PyThreadState* __tstate = wxPyBeginAllowThreads();
29632 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 {
29637 resultobj = wxPyMake_wxObject(result, 0);
29638 }
29639 return resultobj;
29640 fail:
29641 return NULL;
29642 }
29643
29644
29645 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29646 PyObject *resultobj = 0;
29647 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29648 wxFrame *arg2 = (wxFrame *) 0 ;
29649 void *argp1 = 0 ;
29650 int res1 = 0 ;
29651 void *argp2 = 0 ;
29652 int res2 = 0 ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 char * kwnames[] = {
29656 (char *) "self",(char *) "frame", NULL
29657 };
29658
29659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29661 if (!SWIG_IsOK(res1)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29663 }
29664 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29666 if (!SWIG_IsOK(res2)) {
29667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29668 }
29669 arg2 = reinterpret_cast< wxFrame * >(argp2);
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 (arg1)->SetFrame(arg2);
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 resultobj = SWIG_Py_Void();
29677 return resultobj;
29678 fail:
29679 return NULL;
29680 }
29681
29682
29683 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29684 PyObject *resultobj = 0;
29685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29686 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29687 void *argp1 = 0 ;
29688 int res1 = 0 ;
29689 void *argp2 = 0 ;
29690 int res2 = 0 ;
29691 PyObject * obj0 = 0 ;
29692 PyObject * obj1 = 0 ;
29693 char * kwnames[] = {
29694 (char *) "self",(char *) "canvas", NULL
29695 };
29696
29697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29699 if (!SWIG_IsOK(res1)) {
29700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29701 }
29702 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29703 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29704 if (!SWIG_IsOK(res2)) {
29705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29706 }
29707 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 (arg1)->SetCanvas(arg2);
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 resultobj = SWIG_Py_Void();
29715 return resultobj;
29716 fail:
29717 return NULL;
29718 }
29719
29720
29721 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29722 PyObject *resultobj = 0;
29723 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29724 wxFrame *result = 0 ;
29725 void *argp1 = 0 ;
29726 int res1 = 0 ;
29727 PyObject *swig_obj[1] ;
29728
29729 if (!args) SWIG_fail;
29730 swig_obj[0] = args;
29731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29732 if (!SWIG_IsOK(res1)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29734 }
29735 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29736 {
29737 PyThreadState* __tstate = wxPyBeginAllowThreads();
29738 result = (wxFrame *)(arg1)->GetFrame();
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 {
29743 resultobj = wxPyMake_wxObject(result, 0);
29744 }
29745 return resultobj;
29746 fail:
29747 return NULL;
29748 }
29749
29750
29751 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29752 PyObject *resultobj = 0;
29753 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29754 wxPreviewCanvas *result = 0 ;
29755 void *argp1 = 0 ;
29756 int res1 = 0 ;
29757 PyObject *swig_obj[1] ;
29758
29759 if (!args) SWIG_fail;
29760 swig_obj[0] = args;
29761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29762 if (!SWIG_IsOK(res1)) {
29763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29764 }
29765 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29766 {
29767 PyThreadState* __tstate = wxPyBeginAllowThreads();
29768 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29773 return resultobj;
29774 fail:
29775 return NULL;
29776 }
29777
29778
29779 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj = 0;
29781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29782 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29783 wxDC *arg3 = 0 ;
29784 bool result;
29785 void *argp1 = 0 ;
29786 int res1 = 0 ;
29787 void *argp2 = 0 ;
29788 int res2 = 0 ;
29789 void *argp3 = 0 ;
29790 int res3 = 0 ;
29791 PyObject * obj0 = 0 ;
29792 PyObject * obj1 = 0 ;
29793 PyObject * obj2 = 0 ;
29794 char * kwnames[] = {
29795 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29796 };
29797
29798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29800 if (!SWIG_IsOK(res1)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29802 }
29803 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29805 if (!SWIG_IsOK(res2)) {
29806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29807 }
29808 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29809 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29810 if (!SWIG_IsOK(res3)) {
29811 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29812 }
29813 if (!argp3) {
29814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29815 }
29816 arg3 = reinterpret_cast< wxDC * >(argp3);
29817 {
29818 PyThreadState* __tstate = wxPyBeginAllowThreads();
29819 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29820 wxPyEndAllowThreads(__tstate);
29821 if (PyErr_Occurred()) SWIG_fail;
29822 }
29823 {
29824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29825 }
29826 return resultobj;
29827 fail:
29828 return NULL;
29829 }
29830
29831
29832 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29833 PyObject *resultobj = 0;
29834 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29835 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29836 wxDC *arg3 = 0 ;
29837 bool result;
29838 void *argp1 = 0 ;
29839 int res1 = 0 ;
29840 void *argp2 = 0 ;
29841 int res2 = 0 ;
29842 void *argp3 = 0 ;
29843 int res3 = 0 ;
29844 PyObject * obj0 = 0 ;
29845 PyObject * obj1 = 0 ;
29846 PyObject * obj2 = 0 ;
29847 char * kwnames[] = {
29848 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29849 };
29850
29851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29853 if (!SWIG_IsOK(res1)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29855 }
29856 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29857 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29858 if (!SWIG_IsOK(res2)) {
29859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29860 }
29861 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29862 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29863 if (!SWIG_IsOK(res3)) {
29864 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29865 }
29866 if (!argp3) {
29867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29868 }
29869 arg3 = reinterpret_cast< wxDC * >(argp3);
29870 {
29871 PyThreadState* __tstate = wxPyBeginAllowThreads();
29872 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29873 wxPyEndAllowThreads(__tstate);
29874 if (PyErr_Occurred()) SWIG_fail;
29875 }
29876 {
29877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29878 }
29879 return resultobj;
29880 fail:
29881 return NULL;
29882 }
29883
29884
29885 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29886 PyObject *resultobj = 0;
29887 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29888 int arg2 ;
29889 bool result;
29890 void *argp1 = 0 ;
29891 int res1 = 0 ;
29892 int val2 ;
29893 int ecode2 = 0 ;
29894 PyObject * obj0 = 0 ;
29895 PyObject * obj1 = 0 ;
29896 char * kwnames[] = {
29897 (char *) "self",(char *) "pageNum", NULL
29898 };
29899
29900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29902 if (!SWIG_IsOK(res1)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29904 }
29905 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29906 ecode2 = SWIG_AsVal_int(obj1, &val2);
29907 if (!SWIG_IsOK(ecode2)) {
29908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29909 }
29910 arg2 = static_cast< int >(val2);
29911 {
29912 PyThreadState* __tstate = wxPyBeginAllowThreads();
29913 result = (bool)(arg1)->RenderPage(arg2);
29914 wxPyEndAllowThreads(__tstate);
29915 if (PyErr_Occurred()) SWIG_fail;
29916 }
29917 {
29918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29919 }
29920 return resultobj;
29921 fail:
29922 return NULL;
29923 }
29924
29925
29926 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29927 PyObject *resultobj = 0;
29928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29929 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29930 void *argp1 = 0 ;
29931 int res1 = 0 ;
29932 void *argp2 = 0 ;
29933 int res2 = 0 ;
29934 PyObject * obj0 = 0 ;
29935 PyObject * obj1 = 0 ;
29936 char * kwnames[] = {
29937 (char *) "self",(char *) "canvas", NULL
29938 };
29939
29940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29942 if (!SWIG_IsOK(res1)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29944 }
29945 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29946 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29947 if (!SWIG_IsOK(res2)) {
29948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29949 }
29950 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 (arg1)->AdjustScrollbars(arg2);
29954 wxPyEndAllowThreads(__tstate);
29955 if (PyErr_Occurred()) SWIG_fail;
29956 }
29957 resultobj = SWIG_Py_Void();
29958 return resultobj;
29959 fail:
29960 return NULL;
29961 }
29962
29963
29964 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29965 PyObject *resultobj = 0;
29966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29967 wxPrintDialogData *result = 0 ;
29968 void *argp1 = 0 ;
29969 int res1 = 0 ;
29970 PyObject *swig_obj[1] ;
29971
29972 if (!args) SWIG_fail;
29973 swig_obj[0] = args;
29974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29975 if (!SWIG_IsOK(res1)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29977 }
29978 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29979 {
29980 PyThreadState* __tstate = wxPyBeginAllowThreads();
29981 {
29982 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29983 result = (wxPrintDialogData *) &_result_ref;
29984 }
29985 wxPyEndAllowThreads(__tstate);
29986 if (PyErr_Occurred()) SWIG_fail;
29987 }
29988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29989 return resultobj;
29990 fail:
29991 return NULL;
29992 }
29993
29994
29995 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29996 PyObject *resultobj = 0;
29997 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29998 int arg2 ;
29999 void *argp1 = 0 ;
30000 int res1 = 0 ;
30001 int val2 ;
30002 int ecode2 = 0 ;
30003 PyObject * obj0 = 0 ;
30004 PyObject * obj1 = 0 ;
30005 char * kwnames[] = {
30006 (char *) "self",(char *) "percent", NULL
30007 };
30008
30009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",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_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30013 }
30014 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30015 ecode2 = SWIG_AsVal_int(obj1, &val2);
30016 if (!SWIG_IsOK(ecode2)) {
30017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30018 }
30019 arg2 = static_cast< int >(val2);
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 (arg1)->SetZoom(arg2);
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 resultobj = SWIG_Py_Void();
30027 return resultobj;
30028 fail:
30029 return NULL;
30030 }
30031
30032
30033 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30034 PyObject *resultobj = 0;
30035 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30036 int result;
30037 void *argp1 = 0 ;
30038 int res1 = 0 ;
30039 PyObject *swig_obj[1] ;
30040
30041 if (!args) SWIG_fail;
30042 swig_obj[0] = args;
30043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30044 if (!SWIG_IsOK(res1)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30046 }
30047 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 result = (int)(arg1)->GetZoom();
30051 wxPyEndAllowThreads(__tstate);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 }
30054 resultobj = SWIG_From_int(static_cast< int >(result));
30055 return resultobj;
30056 fail:
30057 return NULL;
30058 }
30059
30060
30061 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30062 PyObject *resultobj = 0;
30063 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30064 int result;
30065 void *argp1 = 0 ;
30066 int res1 = 0 ;
30067 PyObject *swig_obj[1] ;
30068
30069 if (!args) SWIG_fail;
30070 swig_obj[0] = args;
30071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30072 if (!SWIG_IsOK(res1)) {
30073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30074 }
30075 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30076 {
30077 PyThreadState* __tstate = wxPyBeginAllowThreads();
30078 result = (int)(arg1)->GetMaxPage();
30079 wxPyEndAllowThreads(__tstate);
30080 if (PyErr_Occurred()) SWIG_fail;
30081 }
30082 resultobj = SWIG_From_int(static_cast< int >(result));
30083 return resultobj;
30084 fail:
30085 return NULL;
30086 }
30087
30088
30089 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30090 PyObject *resultobj = 0;
30091 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30092 int result;
30093 void *argp1 = 0 ;
30094 int res1 = 0 ;
30095 PyObject *swig_obj[1] ;
30096
30097 if (!args) SWIG_fail;
30098 swig_obj[0] = args;
30099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30100 if (!SWIG_IsOK(res1)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30102 }
30103 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30104 {
30105 PyThreadState* __tstate = wxPyBeginAllowThreads();
30106 result = (int)(arg1)->GetMinPage();
30107 wxPyEndAllowThreads(__tstate);
30108 if (PyErr_Occurred()) SWIG_fail;
30109 }
30110 resultobj = SWIG_From_int(static_cast< int >(result));
30111 return resultobj;
30112 fail:
30113 return NULL;
30114 }
30115
30116
30117 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30118 PyObject *resultobj = 0;
30119 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30120 bool result;
30121 void *argp1 = 0 ;
30122 int res1 = 0 ;
30123 PyObject *swig_obj[1] ;
30124
30125 if (!args) SWIG_fail;
30126 swig_obj[0] = args;
30127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30128 if (!SWIG_IsOK(res1)) {
30129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30130 }
30131 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30132 {
30133 PyThreadState* __tstate = wxPyBeginAllowThreads();
30134 result = (bool)(arg1)->Ok();
30135 wxPyEndAllowThreads(__tstate);
30136 if (PyErr_Occurred()) SWIG_fail;
30137 }
30138 {
30139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30140 }
30141 return resultobj;
30142 fail:
30143 return NULL;
30144 }
30145
30146
30147 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30148 PyObject *resultobj = 0;
30149 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30150 bool arg2 ;
30151 void *argp1 = 0 ;
30152 int res1 = 0 ;
30153 bool val2 ;
30154 int ecode2 = 0 ;
30155 PyObject * obj0 = 0 ;
30156 PyObject * obj1 = 0 ;
30157 char * kwnames[] = {
30158 (char *) "self",(char *) "ok", NULL
30159 };
30160
30161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30163 if (!SWIG_IsOK(res1)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30165 }
30166 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30167 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30168 if (!SWIG_IsOK(ecode2)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30170 }
30171 arg2 = static_cast< bool >(val2);
30172 {
30173 PyThreadState* __tstate = wxPyBeginAllowThreads();
30174 (arg1)->SetOk(arg2);
30175 wxPyEndAllowThreads(__tstate);
30176 if (PyErr_Occurred()) SWIG_fail;
30177 }
30178 resultobj = SWIG_Py_Void();
30179 return resultobj;
30180 fail:
30181 return NULL;
30182 }
30183
30184
30185 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30186 PyObject *resultobj = 0;
30187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30188 bool arg2 ;
30189 bool result;
30190 void *argp1 = 0 ;
30191 int res1 = 0 ;
30192 bool val2 ;
30193 int ecode2 = 0 ;
30194 PyObject * obj0 = 0 ;
30195 PyObject * obj1 = 0 ;
30196 char * kwnames[] = {
30197 (char *) "self",(char *) "interactive", NULL
30198 };
30199
30200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30202 if (!SWIG_IsOK(res1)) {
30203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30204 }
30205 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30206 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30207 if (!SWIG_IsOK(ecode2)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30209 }
30210 arg2 = static_cast< bool >(val2);
30211 {
30212 PyThreadState* __tstate = wxPyBeginAllowThreads();
30213 result = (bool)(arg1)->Print(arg2);
30214 wxPyEndAllowThreads(__tstate);
30215 if (PyErr_Occurred()) SWIG_fail;
30216 }
30217 {
30218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30219 }
30220 return resultobj;
30221 fail:
30222 return NULL;
30223 }
30224
30225
30226 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30227 PyObject *resultobj = 0;
30228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30229 void *argp1 = 0 ;
30230 int res1 = 0 ;
30231 PyObject *swig_obj[1] ;
30232
30233 if (!args) SWIG_fail;
30234 swig_obj[0] = args;
30235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30236 if (!SWIG_IsOK(res1)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30238 }
30239 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30240 {
30241 PyThreadState* __tstate = wxPyBeginAllowThreads();
30242 (arg1)->DetermineScaling();
30243 wxPyEndAllowThreads(__tstate);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 resultobj = SWIG_Py_Void();
30247 return resultobj;
30248 fail:
30249 return NULL;
30250 }
30251
30252
30253 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30254 PyObject *obj;
30255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30257 return SWIG_Py_Void();
30258 }
30259
30260 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30261 return SWIG_Python_InitShadowInstance(args);
30262 }
30263
30264 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30265 PyObject *resultobj = 0;
30266 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30267 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30268 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30269 wxPyPrintPreview *result = 0 ;
30270 int res1 = 0 ;
30271 int res2 = 0 ;
30272 void *argp3 = 0 ;
30273 int res3 = 0 ;
30274
30275 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30276 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30277 if (!SWIG_IsOK(res1)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30279 }
30280 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30281 if (!SWIG_IsOK(res2)) {
30282 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30283 }
30284 if (swig_obj[2]) {
30285 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30286 if (!SWIG_IsOK(res3)) {
30287 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30288 }
30289 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30290 }
30291 {
30292 if (!wxPyCheckForApp()) SWIG_fail;
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30299 return resultobj;
30300 fail:
30301 return NULL;
30302 }
30303
30304
30305 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30306 PyObject *resultobj = 0;
30307 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30308 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30309 wxPrintData *arg3 = (wxPrintData *) 0 ;
30310 wxPyPrintPreview *result = 0 ;
30311 int res1 = 0 ;
30312 int res2 = 0 ;
30313 void *argp3 = 0 ;
30314 int res3 = 0 ;
30315
30316 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30317 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30318 if (!SWIG_IsOK(res1)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30320 }
30321 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30322 if (!SWIG_IsOK(res2)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30324 }
30325 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30326 if (!SWIG_IsOK(res3)) {
30327 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30328 }
30329 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30330 {
30331 if (!wxPyCheckForApp()) SWIG_fail;
30332 PyThreadState* __tstate = wxPyBeginAllowThreads();
30333 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30338 return resultobj;
30339 fail:
30340 return NULL;
30341 }
30342
30343
30344 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30345 int argc;
30346 PyObject *argv[4];
30347
30348 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30349 --argc;
30350 if ((argc >= 2) && (argc <= 3)) {
30351 int _v = 0;
30352 if (argc > 2) {
30353 {
30354 void *vptr = 0;
30355 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30356 _v = SWIG_CheckState(res);
30357 }
30358 if (!_v) goto check_1;
30359 }
30360 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30361 }
30362 check_1:
30363
30364 if (argc == 3) {
30365 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30366 }
30367
30368 fail:
30369 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30370 return NULL;
30371 }
30372
30373
30374 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj = 0;
30376 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30377 PyObject *arg2 = (PyObject *) 0 ;
30378 PyObject *arg3 = (PyObject *) 0 ;
30379 void *argp1 = 0 ;
30380 int res1 = 0 ;
30381 PyObject * obj0 = 0 ;
30382 PyObject * obj1 = 0 ;
30383 PyObject * obj2 = 0 ;
30384 char * kwnames[] = {
30385 (char *) "self",(char *) "self",(char *) "_class", NULL
30386 };
30387
30388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30390 if (!SWIG_IsOK(res1)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30392 }
30393 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30394 arg2 = obj1;
30395 arg3 = obj2;
30396 {
30397 PyThreadState* __tstate = wxPyBeginAllowThreads();
30398 (arg1)->_setCallbackInfo(arg2,arg3);
30399 wxPyEndAllowThreads(__tstate);
30400 if (PyErr_Occurred()) SWIG_fail;
30401 }
30402 resultobj = SWIG_Py_Void();
30403 return resultobj;
30404 fail:
30405 return NULL;
30406 }
30407
30408
30409 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30410 PyObject *obj;
30411 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30412 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30413 return SWIG_Py_Void();
30414 }
30415
30416 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30417 return SWIG_Python_InitShadowInstance(args);
30418 }
30419
30420 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30421 PyObject *resultobj = 0;
30422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30423 wxFrame *arg2 = (wxFrame *) 0 ;
30424 wxString *arg3 = 0 ;
30425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30427 wxSize const &arg5_defvalue = wxDefaultSize ;
30428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30429 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30430 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30431 wxString *arg7 = (wxString *) &arg7_defvalue ;
30432 wxPyPreviewFrame *result = 0 ;
30433 void *argp1 = 0 ;
30434 int res1 = 0 ;
30435 void *argp2 = 0 ;
30436 int res2 = 0 ;
30437 bool temp3 = false ;
30438 wxPoint temp4 ;
30439 wxSize temp5 ;
30440 long val6 ;
30441 int ecode6 = 0 ;
30442 bool temp7 = false ;
30443 PyObject * obj0 = 0 ;
30444 PyObject * obj1 = 0 ;
30445 PyObject * obj2 = 0 ;
30446 PyObject * obj3 = 0 ;
30447 PyObject * obj4 = 0 ;
30448 PyObject * obj5 = 0 ;
30449 PyObject * obj6 = 0 ;
30450 char * kwnames[] = {
30451 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30452 };
30453
30454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30456 if (!SWIG_IsOK(res1)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30458 }
30459 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30460 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30461 if (!SWIG_IsOK(res2)) {
30462 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30463 }
30464 arg2 = reinterpret_cast< wxFrame * >(argp2);
30465 {
30466 arg3 = wxString_in_helper(obj2);
30467 if (arg3 == NULL) SWIG_fail;
30468 temp3 = true;
30469 }
30470 if (obj3) {
30471 {
30472 arg4 = &temp4;
30473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30474 }
30475 }
30476 if (obj4) {
30477 {
30478 arg5 = &temp5;
30479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30480 }
30481 }
30482 if (obj5) {
30483 ecode6 = SWIG_AsVal_long(obj5, &val6);
30484 if (!SWIG_IsOK(ecode6)) {
30485 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30486 }
30487 arg6 = static_cast< long >(val6);
30488 }
30489 if (obj6) {
30490 {
30491 arg7 = wxString_in_helper(obj6);
30492 if (arg7 == NULL) SWIG_fail;
30493 temp7 = true;
30494 }
30495 }
30496 {
30497 if (!wxPyCheckForApp()) SWIG_fail;
30498 PyThreadState* __tstate = wxPyBeginAllowThreads();
30499 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30500 wxPyEndAllowThreads(__tstate);
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30504 {
30505 if (temp3)
30506 delete arg3;
30507 }
30508 {
30509 if (temp7)
30510 delete arg7;
30511 }
30512 return resultobj;
30513 fail:
30514 {
30515 if (temp3)
30516 delete arg3;
30517 }
30518 {
30519 if (temp7)
30520 delete arg7;
30521 }
30522 return NULL;
30523 }
30524
30525
30526 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30527 PyObject *resultobj = 0;
30528 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30529 PyObject *arg2 = (PyObject *) 0 ;
30530 PyObject *arg3 = (PyObject *) 0 ;
30531 void *argp1 = 0 ;
30532 int res1 = 0 ;
30533 PyObject * obj0 = 0 ;
30534 PyObject * obj1 = 0 ;
30535 PyObject * obj2 = 0 ;
30536 char * kwnames[] = {
30537 (char *) "self",(char *) "self",(char *) "_class", NULL
30538 };
30539
30540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30542 if (!SWIG_IsOK(res1)) {
30543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30544 }
30545 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30546 arg2 = obj1;
30547 arg3 = obj2;
30548 {
30549 PyThreadState* __tstate = wxPyBeginAllowThreads();
30550 (arg1)->_setCallbackInfo(arg2,arg3);
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 resultobj = SWIG_Py_Void();
30555 return resultobj;
30556 fail:
30557 return NULL;
30558 }
30559
30560
30561 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj = 0;
30563 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30564 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30565 void *argp1 = 0 ;
30566 int res1 = 0 ;
30567 void *argp2 = 0 ;
30568 int res2 = 0 ;
30569 PyObject * obj0 = 0 ;
30570 PyObject * obj1 = 0 ;
30571 char * kwnames[] = {
30572 (char *) "self",(char *) "canvas", NULL
30573 };
30574
30575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30577 if (!SWIG_IsOK(res1)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30579 }
30580 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30582 if (!SWIG_IsOK(res2)) {
30583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30584 }
30585 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30586 {
30587 PyThreadState* __tstate = wxPyBeginAllowThreads();
30588 (arg1)->SetPreviewCanvas(arg2);
30589 wxPyEndAllowThreads(__tstate);
30590 if (PyErr_Occurred()) SWIG_fail;
30591 }
30592 resultobj = SWIG_Py_Void();
30593 return resultobj;
30594 fail:
30595 return NULL;
30596 }
30597
30598
30599 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30600 PyObject *resultobj = 0;
30601 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30602 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30603 void *argp1 = 0 ;
30604 int res1 = 0 ;
30605 void *argp2 = 0 ;
30606 int res2 = 0 ;
30607 PyObject * obj0 = 0 ;
30608 PyObject * obj1 = 0 ;
30609 char * kwnames[] = {
30610 (char *) "self",(char *) "bar", NULL
30611 };
30612
30613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30615 if (!SWIG_IsOK(res1)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30617 }
30618 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30619 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30620 if (!SWIG_IsOK(res2)) {
30621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30622 }
30623 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30624 {
30625 PyThreadState* __tstate = wxPyBeginAllowThreads();
30626 (arg1)->SetControlBar(arg2);
30627 wxPyEndAllowThreads(__tstate);
30628 if (PyErr_Occurred()) SWIG_fail;
30629 }
30630 resultobj = SWIG_Py_Void();
30631 return resultobj;
30632 fail:
30633 return NULL;
30634 }
30635
30636
30637 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30638 PyObject *resultobj = 0;
30639 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30640 void *argp1 = 0 ;
30641 int res1 = 0 ;
30642 PyObject *swig_obj[1] ;
30643
30644 if (!args) SWIG_fail;
30645 swig_obj[0] = args;
30646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30647 if (!SWIG_IsOK(res1)) {
30648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30649 }
30650 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30651 {
30652 PyThreadState* __tstate = wxPyBeginAllowThreads();
30653 (arg1)->Initialize();
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 resultobj = SWIG_Py_Void();
30658 return resultobj;
30659 fail:
30660 return NULL;
30661 }
30662
30663
30664 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30665 PyObject *resultobj = 0;
30666 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30667 void *argp1 = 0 ;
30668 int res1 = 0 ;
30669 PyObject *swig_obj[1] ;
30670
30671 if (!args) SWIG_fail;
30672 swig_obj[0] = args;
30673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30674 if (!SWIG_IsOK(res1)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30676 }
30677 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30678 {
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 (arg1)->CreateCanvas();
30681 wxPyEndAllowThreads(__tstate);
30682 if (PyErr_Occurred()) SWIG_fail;
30683 }
30684 resultobj = SWIG_Py_Void();
30685 return resultobj;
30686 fail:
30687 return NULL;
30688 }
30689
30690
30691 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30692 PyObject *resultobj = 0;
30693 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30694 void *argp1 = 0 ;
30695 int res1 = 0 ;
30696 PyObject *swig_obj[1] ;
30697
30698 if (!args) SWIG_fail;
30699 swig_obj[0] = args;
30700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30701 if (!SWIG_IsOK(res1)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30703 }
30704 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30705 {
30706 PyThreadState* __tstate = wxPyBeginAllowThreads();
30707 (arg1)->CreateControlBar();
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 resultobj = SWIG_Py_Void();
30712 return resultobj;
30713 fail:
30714 return NULL;
30715 }
30716
30717
30718 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30719 PyObject *obj;
30720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30722 return SWIG_Py_Void();
30723 }
30724
30725 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30726 return SWIG_Python_InitShadowInstance(args);
30727 }
30728
30729 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30730 PyObject *resultobj = 0;
30731 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30732 long arg2 ;
30733 wxWindow *arg3 = (wxWindow *) 0 ;
30734 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30735 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30736 wxSize const &arg5_defvalue = wxDefaultSize ;
30737 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30738 long arg6 = (long) 0 ;
30739 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30740 wxString *arg7 = (wxString *) &arg7_defvalue ;
30741 wxPyPreviewControlBar *result = 0 ;
30742 void *argp1 = 0 ;
30743 int res1 = 0 ;
30744 long val2 ;
30745 int ecode2 = 0 ;
30746 void *argp3 = 0 ;
30747 int res3 = 0 ;
30748 wxPoint temp4 ;
30749 wxSize temp5 ;
30750 long val6 ;
30751 int ecode6 = 0 ;
30752 bool temp7 = false ;
30753 PyObject * obj0 = 0 ;
30754 PyObject * obj1 = 0 ;
30755 PyObject * obj2 = 0 ;
30756 PyObject * obj3 = 0 ;
30757 PyObject * obj4 = 0 ;
30758 PyObject * obj5 = 0 ;
30759 PyObject * obj6 = 0 ;
30760 char * kwnames[] = {
30761 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30762 };
30763
30764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30766 if (!SWIG_IsOK(res1)) {
30767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30768 }
30769 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30770 ecode2 = SWIG_AsVal_long(obj1, &val2);
30771 if (!SWIG_IsOK(ecode2)) {
30772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30773 }
30774 arg2 = static_cast< long >(val2);
30775 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30776 if (!SWIG_IsOK(res3)) {
30777 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30778 }
30779 arg3 = reinterpret_cast< wxWindow * >(argp3);
30780 if (obj3) {
30781 {
30782 arg4 = &temp4;
30783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30784 }
30785 }
30786 if (obj4) {
30787 {
30788 arg5 = &temp5;
30789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30790 }
30791 }
30792 if (obj5) {
30793 ecode6 = SWIG_AsVal_long(obj5, &val6);
30794 if (!SWIG_IsOK(ecode6)) {
30795 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30796 }
30797 arg6 = static_cast< long >(val6);
30798 }
30799 if (obj6) {
30800 {
30801 arg7 = wxString_in_helper(obj6);
30802 if (arg7 == NULL) SWIG_fail;
30803 temp7 = true;
30804 }
30805 }
30806 {
30807 if (!wxPyCheckForApp()) SWIG_fail;
30808 PyThreadState* __tstate = wxPyBeginAllowThreads();
30809 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30814 {
30815 if (temp7)
30816 delete arg7;
30817 }
30818 return resultobj;
30819 fail:
30820 {
30821 if (temp7)
30822 delete arg7;
30823 }
30824 return NULL;
30825 }
30826
30827
30828 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30829 PyObject *resultobj = 0;
30830 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30831 PyObject *arg2 = (PyObject *) 0 ;
30832 PyObject *arg3 = (PyObject *) 0 ;
30833 void *argp1 = 0 ;
30834 int res1 = 0 ;
30835 PyObject * obj0 = 0 ;
30836 PyObject * obj1 = 0 ;
30837 PyObject * obj2 = 0 ;
30838 char * kwnames[] = {
30839 (char *) "self",(char *) "self",(char *) "_class", NULL
30840 };
30841
30842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30844 if (!SWIG_IsOK(res1)) {
30845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30846 }
30847 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30848 arg2 = obj1;
30849 arg3 = obj2;
30850 {
30851 PyThreadState* __tstate = wxPyBeginAllowThreads();
30852 (arg1)->_setCallbackInfo(arg2,arg3);
30853 wxPyEndAllowThreads(__tstate);
30854 if (PyErr_Occurred()) SWIG_fail;
30855 }
30856 resultobj = SWIG_Py_Void();
30857 return resultobj;
30858 fail:
30859 return NULL;
30860 }
30861
30862
30863 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30864 PyObject *resultobj = 0;
30865 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30866 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30867 void *argp1 = 0 ;
30868 int res1 = 0 ;
30869 void *argp2 = 0 ;
30870 int res2 = 0 ;
30871 PyObject * obj0 = 0 ;
30872 PyObject * obj1 = 0 ;
30873 char * kwnames[] = {
30874 (char *) "self",(char *) "preview", NULL
30875 };
30876
30877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30879 if (!SWIG_IsOK(res1)) {
30880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30881 }
30882 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30884 if (!SWIG_IsOK(res2)) {
30885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30886 }
30887 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30888 {
30889 PyThreadState* __tstate = wxPyBeginAllowThreads();
30890 (arg1)->SetPrintPreview(arg2);
30891 wxPyEndAllowThreads(__tstate);
30892 if (PyErr_Occurred()) SWIG_fail;
30893 }
30894 resultobj = SWIG_Py_Void();
30895 return resultobj;
30896 fail:
30897 return NULL;
30898 }
30899
30900
30901 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30902 PyObject *resultobj = 0;
30903 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30904 void *argp1 = 0 ;
30905 int res1 = 0 ;
30906 PyObject *swig_obj[1] ;
30907
30908 if (!args) SWIG_fail;
30909 swig_obj[0] = args;
30910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30911 if (!SWIG_IsOK(res1)) {
30912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30913 }
30914 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30915 {
30916 PyThreadState* __tstate = wxPyBeginAllowThreads();
30917 (arg1)->CreateButtons();
30918 wxPyEndAllowThreads(__tstate);
30919 if (PyErr_Occurred()) SWIG_fail;
30920 }
30921 resultobj = SWIG_Py_Void();
30922 return resultobj;
30923 fail:
30924 return NULL;
30925 }
30926
30927
30928 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30929 PyObject *resultobj = 0;
30930 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30931 int arg2 ;
30932 void *argp1 = 0 ;
30933 int res1 = 0 ;
30934 int val2 ;
30935 int ecode2 = 0 ;
30936 PyObject * obj0 = 0 ;
30937 PyObject * obj1 = 0 ;
30938 char * kwnames[] = {
30939 (char *) "self",(char *) "zoom", NULL
30940 };
30941
30942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30944 if (!SWIG_IsOK(res1)) {
30945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30946 }
30947 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30948 ecode2 = SWIG_AsVal_int(obj1, &val2);
30949 if (!SWIG_IsOK(ecode2)) {
30950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30951 }
30952 arg2 = static_cast< int >(val2);
30953 {
30954 PyThreadState* __tstate = wxPyBeginAllowThreads();
30955 (arg1)->SetZoomControl(arg2);
30956 wxPyEndAllowThreads(__tstate);
30957 if (PyErr_Occurred()) SWIG_fail;
30958 }
30959 resultobj = SWIG_Py_Void();
30960 return resultobj;
30961 fail:
30962 return NULL;
30963 }
30964
30965
30966 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30967 PyObject *obj;
30968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30969 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30970 return SWIG_Py_Void();
30971 }
30972
30973 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30974 return SWIG_Python_InitShadowInstance(args);
30975 }
30976
30977 static PyMethodDef SwigMethods[] = {
30978 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30980 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30982 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30984 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30985 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30987 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30994 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30996 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30998 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30999 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31000 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31001 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31002 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31005 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31008 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31009 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31011 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31013 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31014 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31015 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31016 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31020 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31022 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31025 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31027 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
31031 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31032 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31035 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31036 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31038 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31040 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31042 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31045 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31052 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31054 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31059 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31060 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31062 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31065 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31067 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31069 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31073 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31074 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31077 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31078 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31080 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31082 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31083 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31086 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31087 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31088 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31090 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31091 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31092 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31093 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31094 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31096 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31099 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31108 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31109 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31111 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31112 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31114 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31116 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31117 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31119 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31125 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31126 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31129 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31130 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31132 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31134 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31136 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31138 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31140 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31142 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31143 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31146 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31147 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31148 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31149 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31150 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31151 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31153 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31161 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31163 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31166 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31167 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31170 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31171 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31173 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31174 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31175 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31178 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31180 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31182 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31183 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31184 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31187 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31189 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31191 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31193 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31195 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31196 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31197 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31200 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31202 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31203 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31204 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31206 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31208 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31209 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31213 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31214 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31215 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31216 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31220 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31221 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31223 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31226 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31227 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31229 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31232 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31233 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31234 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31237 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31238 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31239 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31241 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31250 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31251 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31252 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31253 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31255 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31256 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31259 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31260 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31262 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31263 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31265 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31266 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31267 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31270 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31271 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31273 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31274 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31276 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31281 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31282 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31288 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31289 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31291 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31295 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31297 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31298 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31299 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31300 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31302 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31303 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31304 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31306 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31307 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31308 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31309 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31311 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31312 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31313 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31314 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31315 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31316 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31321 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31322 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31324 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31325 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31326 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31329 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31330 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31333 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31334 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31342 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31343 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31344 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31345 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31346 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31347 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31348 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31349 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31350 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31351 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31354 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31355 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31356 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31358 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31359 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31361 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31362 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31363 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31364 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31366 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31367 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31368 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31369 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31370 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31372 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31373 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31374 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31375 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31376 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31378 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31379 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31380 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31381 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31382 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31383 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31390 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31391 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31393 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31394 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31395 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31396 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31398 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31399 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31402 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31403 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31404 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31406 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31407 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31408 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31409 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31413 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31414 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31416 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31417 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31418 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31419 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31423 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31424 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31426 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31428 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31430 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31431 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31433 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31435 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31436 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31437 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31438 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31439 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31440 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31441 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31443 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31444 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31446 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31448 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31449 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31450 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31452 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31454 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31455 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31457 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31465 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31466 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31467 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31468 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31469 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31470 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31471 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31472 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31473 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31475 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31483 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31484 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31485 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31486 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31487 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31488 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31489 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31490 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31491 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31493 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31501 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31502 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31503 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31504 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31505 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31506 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31507 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31508 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31509 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31510 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31511 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31512 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31513 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31514 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31515 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31516 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31517 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31518 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31519 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31520 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31521 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31522 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31523 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31535 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31537 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31539 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31540 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31541 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31542 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31548 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31549 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31550 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31551 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31552 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31553 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31554 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31555 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31556 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31557 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31558 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31559 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31560 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31561 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31562 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31572 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31573 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31574 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31575 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31577 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31578 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31579 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31580 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31581 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31582 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31583 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31584 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31585 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31586 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31587 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31588 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31589 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31590 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31591 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31592 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31593 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31607 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31608 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31609 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31610 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31611 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31612 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31614 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31615 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31617 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31618 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31619 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31620 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31621 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31622 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31623 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31625 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31631 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31632 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31633 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31634 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31635 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31637 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31639 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31640 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31643 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31645 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31647 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31649 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31650 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31653 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31654 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31655 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31656 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31658 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31659 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31660 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31662 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31663 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31665 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31666 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31667 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31668 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31669 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31670 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31672 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31674 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31675 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31676 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31677 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31678 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31679 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31680 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31681 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31682 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31683 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31685 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31687 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31688 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31691 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31692 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31697 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31699 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31700 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31701 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31702 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31705 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31706 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31707 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31708 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31710 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31711 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31716 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31717 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31718 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31719 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31720 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31724 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31726 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31727 { NULL, NULL, 0, NULL }
31728 };
31729
31730
31731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31732
31733 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31734 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31735 }
31736 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31737 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31738 }
31739 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31740 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31741 }
31742 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31743 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31744 }
31745 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31746 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31747 }
31748 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31749 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31750 }
31751 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31752 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31753 }
31754 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31755 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31756 }
31757 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31758 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31759 }
31760 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31762 }
31763 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31765 }
31766 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31767 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31768 }
31769 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31770 return (void *)((wxEvent *) ((wxPyEvent *) x));
31771 }
31772 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31773 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31774 }
31775 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31776 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31777 }
31778 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31779 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31780 }
31781 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31782 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31783 }
31784 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31785 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31786 }
31787 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31788 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31789 }
31790 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31791 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31792 }
31793 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31794 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31795 }
31796 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31797 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31798 }
31799 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31800 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31801 }
31802 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31803 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31804 }
31805 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31806 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31807 }
31808 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31809 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31810 }
31811 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31812 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31813 }
31814 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31815 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31816 }
31817 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31818 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31819 }
31820 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31821 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31822 }
31823 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31824 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31825 }
31826 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31827 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31828 }
31829 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31830 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31831 }
31832 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31834 }
31835 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31837 }
31838 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31839 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31840 }
31841 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31842 return (void *)((wxEvent *) ((wxShowEvent *) x));
31843 }
31844 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31845 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31846 }
31847 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31848 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31849 }
31850 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31851 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31852 }
31853 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31854 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31855 }
31856 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31857 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31858 }
31859 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31860 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31861 }
31862 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31863 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31864 }
31865 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31866 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31867 }
31868 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31869 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31870 }
31871 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31872 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31873 }
31874 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31875 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31876 }
31877 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31878 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31879 }
31880 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31881 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31882 }
31883 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31884 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31885 }
31886 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31887 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31888 }
31889 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31890 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31891 }
31892 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31893 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31894 }
31895 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31896 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31897 }
31898 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31899 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31900 }
31901 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31902 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31903 }
31904 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31905 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31906 }
31907 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31908 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31909 }
31910 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31911 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31912 }
31913 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31914 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31915 }
31916 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31917 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31918 }
31919 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31920 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31921 }
31922 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31923 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31924 }
31925 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31926 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31927 }
31928 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31929 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31930 }
31931 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31932 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31933 }
31934 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31935 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31936 }
31937 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31938 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31939 }
31940 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31941 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31942 }
31943 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31944 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31945 }
31946 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31947 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31948 }
31949 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31950 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31951 }
31952 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31953 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31954 }
31955 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31956 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31957 }
31958 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31959 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31960 }
31961 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31962 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31963 }
31964 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31965 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31966 }
31967 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31968 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31969 }
31970 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31971 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31972 }
31973 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31974 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31975 }
31976 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31977 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31978 }
31979 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31980 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31981 }
31982 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31983 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31984 }
31985 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31986 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31987 }
31988 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31989 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31990 }
31991 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31992 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31993 }
31994 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31995 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31996 }
31997 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31998 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31999 }
32000 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32001 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32002 }
32003 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32004 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32005 }
32006 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32007 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32008 }
32009 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32010 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32011 }
32012 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32013 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32014 }
32015 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32016 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32017 }
32018 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32019 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32020 }
32021 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32022 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32023 }
32024 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32025 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32026 }
32027 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32028 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32029 }
32030 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32031 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32032 }
32033 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32034 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32035 }
32036 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32037 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32038 }
32039 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32040 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32041 }
32042 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32043 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32044 }
32045 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32046 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32047 }
32048 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32049 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32050 }
32051 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32053 }
32054 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32056 }
32057 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32058 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32059 }
32060 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32061 return (void *)((wxObject *) ((wxSizerItem *) x));
32062 }
32063 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32064 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32065 }
32066 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32067 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32068 }
32069 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32070 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32071 }
32072 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32073 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32074 }
32075 static void *_p_wxSizerTo_p_wxObject(void *x) {
32076 return (void *)((wxObject *) ((wxSizer *) x));
32077 }
32078 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32079 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32080 }
32081 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32082 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32083 }
32084 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32086 }
32087 static void *_p_wxEventTo_p_wxObject(void *x) {
32088 return (void *)((wxObject *) ((wxEvent *) x));
32089 }
32090 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32091 return (void *)((wxObject *) ((wxFontData *) x));
32092 }
32093 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32094 return (void *)((wxObject *) ((wxPrintData *) x));
32095 }
32096 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32097 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32098 }
32099 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32100 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32101 }
32102 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32103 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32104 }
32105 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32106 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32107 }
32108 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32109 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32110 }
32111 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32112 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32113 }
32114 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32115 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32116 }
32117 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32118 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32119 }
32120 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32121 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32122 }
32123 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32124 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32125 }
32126 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32127 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32128 }
32129 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32130 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32131 }
32132 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32133 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32134 }
32135 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32137 }
32138 static void *_p_wxControlTo_p_wxObject(void *x) {
32139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32140 }
32141 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32142 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32143 }
32144 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32145 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32146 }
32147 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32148 return (void *)((wxObject *) ((wxFSFile *) x));
32149 }
32150 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32151 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32152 }
32153 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32154 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32155 }
32156 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32158 }
32159 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32160 return (void *)((wxObject *) ((wxColourData *) x));
32161 }
32162 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32163 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32164 }
32165 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32166 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32167 }
32168 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32170 }
32171 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32173 }
32174 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32176 }
32177 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32179 }
32180 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32182 }
32183 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32185 }
32186 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32188 }
32189 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32191 }
32192 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32194 }
32195 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32197 }
32198 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32200 }
32201 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32202 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32203 }
32204 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32205 return (void *)((wxObject *) ((wxPrinter *) x));
32206 }
32207 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32208 return (void *)((wxObject *) ((wxMenuItem *) x));
32209 }
32210 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32211 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32212 }
32213 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32214 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32215 }
32216 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32217 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32218 }
32219 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32220 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32221 }
32222 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32223 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32224 }
32225 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32226 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32227 }
32228 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32229 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32230 }
32231 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32232 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32233 }
32234 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32235 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32236 }
32237 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32238 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32239 }
32240 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32241 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32242 }
32243 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32244 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32245 }
32246 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32247 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32248 }
32249 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32250 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32251 }
32252 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32253 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32254 }
32255 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32256 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32257 }
32258 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32259 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32260 }
32261 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32262 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32263 }
32264 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32265 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32266 }
32267 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32268 return (void *)((wxObject *) ((wxImageHandler *) x));
32269 }
32270 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32271 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32272 }
32273 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32274 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32275 }
32276 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32277 return (void *)((wxObject *) ((wxEvtHandler *) x));
32278 }
32279 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32280 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32281 }
32282 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32284 }
32285 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32287 }
32288 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32289 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32290 }
32291 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32292 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32293 }
32294 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32296 }
32297 static void *_p_wxImageTo_p_wxObject(void *x) {
32298 return (void *)((wxObject *) ((wxImage *) x));
32299 }
32300 static void *_p_wxFrameTo_p_wxObject(void *x) {
32301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32302 }
32303 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32304 return (void *)((wxObject *) ((wxPyPrintout *) x));
32305 }
32306 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32307 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32308 }
32309 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32310 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32311 }
32312 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32314 }
32315 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32317 }
32318 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32319 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32320 }
32321 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32322 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32323 }
32324 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32325 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32326 }
32327 static void *_p_wxWindowTo_p_wxObject(void *x) {
32328 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32329 }
32330 static void *_p_wxMenuTo_p_wxObject(void *x) {
32331 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32332 }
32333 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32335 }
32336 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32338 }
32339 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32341 }
32342 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32344 }
32345 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32347 }
32348 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32350 }
32351 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32353 }
32354 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32356 }
32357 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32359 }
32360 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32362 }
32363 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32365 }
32366 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32368 }
32369 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32371 }
32372 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32374 }
32375 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32376 return (void *)((wxObject *) ((wxPrintPreview *) x));
32377 }
32378 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32379 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32380 }
32381 static void *_p_wxPanelTo_p_wxObject(void *x) {
32382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32383 }
32384 static void *_p_wxDialogTo_p_wxObject(void *x) {
32385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32386 }
32387 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32389 }
32390 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32392 }
32393 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32395 }
32396 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32397 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32398 }
32399 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32400 return (void *)((wxObject *) ((wxPrintDialog *) x));
32401 }
32402 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32403 return (void *)((wxObject *) ((wxFileSystem *) x));
32404 }
32405 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32407 }
32408 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32409 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32410 }
32411 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32412 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32413 }
32414 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32415 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32416 }
32417 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32418 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32419 }
32420 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32421 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32422 }
32423 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32424 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32425 }
32426 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32427 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32428 }
32429 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32431 }
32432 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32434 }
32435 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32436 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32437 }
32438 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32439 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32440 }
32441 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32443 }
32444 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32446 }
32447 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32448 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32449 }
32450 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32451 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32452 }
32453 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32454 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32455 }
32456 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32457 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32458 }
32459 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32460 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32461 }
32462 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32463 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32464 }
32465 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32466 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32467 }
32468 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32469 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32470 }
32471 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32472 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32473 }
32474 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32475 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32476 }
32477 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32478 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32479 }
32480 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32481 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32482 }
32483 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32484 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32485 }
32486 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32487 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32488 }
32489 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32490 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32491 }
32492 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32493 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32494 }
32495 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32496 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32497 }
32498 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32499 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32500 }
32501 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32502 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32503 }
32504 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32505 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32506 }
32507 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32508 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32509 }
32510 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32511 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32512 }
32513 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32514 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32515 }
32516 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32517 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32518 }
32519 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32520 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32521 }
32522 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32523 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32524 }
32525 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32526 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32527 }
32528 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32529 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32530 }
32531 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32532 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32533 }
32534 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32535 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32536 }
32537 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32538 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32539 }
32540 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32542 }
32543 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32544 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32545 }
32546 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32547 return (void *)((wxWindow *) ((wxMenuBar *) x));
32548 }
32549 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32550 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32551 }
32552 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32553 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32554 }
32555 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32556 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32557 }
32558 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32559 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32560 }
32561 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32562 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32563 }
32564 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32565 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32566 }
32567 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32568 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32569 }
32570 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32571 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32572 }
32573 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32574 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32575 }
32576 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32577 return (void *)((wxWindow *) ((wxPanel *) x));
32578 }
32579 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32580 return (void *)((wxWindow *) ((wxStatusBar *) x));
32581 }
32582 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32583 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32584 }
32585 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32586 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32587 }
32588 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32589 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32590 }
32591 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32592 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32593 }
32594 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32595 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32596 }
32597 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32598 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32599 }
32600 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32601 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32602 }
32603 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32604 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32605 }
32606 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32607 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32608 }
32609 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32610 return (void *)((wxWindow *) ((wxSashWindow *) x));
32611 }
32612 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32613 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32614 }
32615 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32616 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32617 }
32618 static void *_p_wxControlTo_p_wxWindow(void *x) {
32619 return (void *)((wxWindow *) ((wxControl *) x));
32620 }
32621 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32622 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32623 }
32624 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32625 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32626 }
32627 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32628 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32629 }
32630 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32631 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32632 }
32633 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32634 return (void *)((wxWindow *) ((wxPyWindow *) x));
32635 }
32636 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32637 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32638 }
32639 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32640 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32641 }
32642 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32643 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32644 }
32645 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32646 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32647 }
32648 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32649 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32650 }
32651 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32652 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32653 }
32654 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32655 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32656 }
32657 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32658 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32659 }
32660 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32661 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32662 }
32663 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32664 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32665 }
32666 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32667 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32668 }
32669 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32670 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32671 }
32672 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32673 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32674 }
32675 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32676 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32677 }
32678 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32679 return (void *)((wxDialog *) ((wxColourDialog *) x));
32680 }
32681 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32682 return (void *)((wxDialog *) ((wxDirDialog *) x));
32683 }
32684 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32685 return (void *)((wxDialog *) ((wxFontDialog *) x));
32686 }
32687 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32688 return (void *)((wxDialog *) ((wxFileDialog *) x));
32689 }
32690 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32691 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32692 }
32693 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32694 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32695 }
32696 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32697 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32698 }
32699 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32700 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32701 }
32702 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32703 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32704 }
32705 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32706 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32707 }
32708 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32709 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32710 }
32711 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32712 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32713 }
32714 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32715 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32716 }
32717 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32718 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32719 }
32720 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32721 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32722 }
32723 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32724 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32725 }
32726 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32727 return (void *)((wxPanel *) ((wxPyPanel *) x));
32728 }
32729 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32730 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32731 }
32732 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32733 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32734 }
32735 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32736 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32737 }
32738 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32739 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32740 }
32741 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32742 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32743 }
32744 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32745 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32746 }
32747 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32748 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32749 }
32750 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32751 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32752 }
32753 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32754 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32755 }
32756 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32757 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32758 }
32759 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32760 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32761 }
32762 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32763 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32764 }
32765 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32766 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32767 }
32768 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32769 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32770 }
32771 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32772 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32773 }
32774 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32775 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32776 }
32777 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32778 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32779 }
32780 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32782 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};
32783 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32796 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32797 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32798 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32799 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32800 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32805 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32806 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32807 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32808 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32811 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32812 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32813 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32814 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32815 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32816 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32817 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32818 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32819 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32820 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32821 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32822 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32823 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32824 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32825 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32826 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32827 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32828 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32829 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32830 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32831 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32832 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32833 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32834 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32835 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32836 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32837 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32838 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32839 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32840 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32841 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32843 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32844 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32845 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32846 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32847 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32848 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32849 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32850 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32851 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32852 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32853 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32854 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32855 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32856 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32857 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32858 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32859 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32860 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32861 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32862 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32863 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32864 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32865 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32866 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32867 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32868 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32869 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32870 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32871 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32872 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32873 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32874 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32875 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32876 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32877 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32878 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32879 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32880 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32881 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32882 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32883 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32884 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32885 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32886 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32887 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32888 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32889 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32890 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32891 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32913 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32914 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32915 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32917 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32918 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32936 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32937 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32938 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32939 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32940 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32941 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32942 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32943 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32944
32945 static swig_type_info *swig_type_initial[] = {
32946 &_swigt__p_bool,
32947 &_swigt__p_char,
32948 &_swigt__p_form_ops_t,
32949 &_swigt__p_int,
32950 &_swigt__p_unsigned_char,
32951 &_swigt__p_unsigned_int,
32952 &_swigt__p_unsigned_long,
32953 &_swigt__p_wxANIHandler,
32954 &_swigt__p_wxAcceleratorTable,
32955 &_swigt__p_wxActivateEvent,
32956 &_swigt__p_wxArrayInt,
32957 &_swigt__p_wxBMPHandler,
32958 &_swigt__p_wxBitmap,
32959 &_swigt__p_wxBoxSizer,
32960 &_swigt__p_wxCURHandler,
32961 &_swigt__p_wxCalculateLayoutEvent,
32962 &_swigt__p_wxChildFocusEvent,
32963 &_swigt__p_wxClipboardTextEvent,
32964 &_swigt__p_wxCloseEvent,
32965 &_swigt__p_wxColour,
32966 &_swigt__p_wxColourData,
32967 &_swigt__p_wxColourDialog,
32968 &_swigt__p_wxCommandEvent,
32969 &_swigt__p_wxContextMenuEvent,
32970 &_swigt__p_wxControl,
32971 &_swigt__p_wxControlWithItems,
32972 &_swigt__p_wxDC,
32973 &_swigt__p_wxDateEvent,
32974 &_swigt__p_wxDialog,
32975 &_swigt__p_wxDirDialog,
32976 &_swigt__p_wxDisplayChangedEvent,
32977 &_swigt__p_wxDropFilesEvent,
32978 &_swigt__p_wxDuplexMode,
32979 &_swigt__p_wxEraseEvent,
32980 &_swigt__p_wxEvent,
32981 &_swigt__p_wxEvtHandler,
32982 &_swigt__p_wxFSFile,
32983 &_swigt__p_wxFileDialog,
32984 &_swigt__p_wxFileSystem,
32985 &_swigt__p_wxFindDialogEvent,
32986 &_swigt__p_wxFindReplaceData,
32987 &_swigt__p_wxFindReplaceDialog,
32988 &_swigt__p_wxFlexGridSizer,
32989 &_swigt__p_wxFocusEvent,
32990 &_swigt__p_wxFont,
32991 &_swigt__p_wxFontData,
32992 &_swigt__p_wxFontDialog,
32993 &_swigt__p_wxFrame,
32994 &_swigt__p_wxGBSizerItem,
32995 &_swigt__p_wxGIFHandler,
32996 &_swigt__p_wxGridBagSizer,
32997 &_swigt__p_wxGridSizer,
32998 &_swigt__p_wxHtmlLinkInfo,
32999 &_swigt__p_wxICOHandler,
33000 &_swigt__p_wxIcon,
33001 &_swigt__p_wxIconBundle,
33002 &_swigt__p_wxIconizeEvent,
33003 &_swigt__p_wxIdleEvent,
33004 &_swigt__p_wxImage,
33005 &_swigt__p_wxImageHandler,
33006 &_swigt__p_wxIndividualLayoutConstraint,
33007 &_swigt__p_wxInitDialogEvent,
33008 &_swigt__p_wxJPEGHandler,
33009 &_swigt__p_wxKeyEvent,
33010 &_swigt__p_wxLayoutAlgorithm,
33011 &_swigt__p_wxLayoutConstraints,
33012 &_swigt__p_wxMDIChildFrame,
33013 &_swigt__p_wxMDIClientWindow,
33014 &_swigt__p_wxMDIParentFrame,
33015 &_swigt__p_wxMaximizeEvent,
33016 &_swigt__p_wxMenu,
33017 &_swigt__p_wxMenuBar,
33018 &_swigt__p_wxMenuEvent,
33019 &_swigt__p_wxMenuItem,
33020 &_swigt__p_wxMessageDialog,
33021 &_swigt__p_wxMiniFrame,
33022 &_swigt__p_wxMouseCaptureChangedEvent,
33023 &_swigt__p_wxMouseEvent,
33024 &_swigt__p_wxMoveEvent,
33025 &_swigt__p_wxMultiChoiceDialog,
33026 &_swigt__p_wxNavigationKeyEvent,
33027 &_swigt__p_wxNcPaintEvent,
33028 &_swigt__p_wxNotifyEvent,
33029 &_swigt__p_wxNumberEntryDialog,
33030 &_swigt__p_wxObject,
33031 &_swigt__p_wxPCXHandler,
33032 &_swigt__p_wxPNGHandler,
33033 &_swigt__p_wxPNMHandler,
33034 &_swigt__p_wxPageSetupDialog,
33035 &_swigt__p_wxPageSetupDialogData,
33036 &_swigt__p_wxPaintEvent,
33037 &_swigt__p_wxPaletteChangedEvent,
33038 &_swigt__p_wxPanel,
33039 &_swigt__p_wxPaperSize,
33040 &_swigt__p_wxPasswordEntryDialog,
33041 &_swigt__p_wxPoint,
33042 &_swigt__p_wxPopupWindow,
33043 &_swigt__p_wxPreviewCanvas,
33044 &_swigt__p_wxPreviewControlBar,
33045 &_swigt__p_wxPreviewFrame,
33046 &_swigt__p_wxPrintData,
33047 &_swigt__p_wxPrintDialog,
33048 &_swigt__p_wxPrintDialogData,
33049 &_swigt__p_wxPrintPreview,
33050 &_swigt__p_wxPrinter,
33051 &_swigt__p_wxProgressDialog,
33052 &_swigt__p_wxPyApp,
33053 &_swigt__p_wxPyCommandEvent,
33054 &_swigt__p_wxPyEvent,
33055 &_swigt__p_wxPyHtmlListBox,
33056 &_swigt__p_wxPyImageHandler,
33057 &_swigt__p_wxPyPanel,
33058 &_swigt__p_wxPyPopupTransientWindow,
33059 &_swigt__p_wxPyPreviewControlBar,
33060 &_swigt__p_wxPyPreviewFrame,
33061 &_swigt__p_wxPyPrintPreview,
33062 &_swigt__p_wxPyPrintout,
33063 &_swigt__p_wxPyScrolledWindow,
33064 &_swigt__p_wxPySizer,
33065 &_swigt__p_wxPyTaskBarIcon,
33066 &_swigt__p_wxPyVListBox,
33067 &_swigt__p_wxPyVScrolledWindow,
33068 &_swigt__p_wxPyValidator,
33069 &_swigt__p_wxPyWindow,
33070 &_swigt__p_wxQueryLayoutInfoEvent,
33071 &_swigt__p_wxQueryNewPaletteEvent,
33072 &_swigt__p_wxRect,
33073 &_swigt__p_wxRegion,
33074 &_swigt__p_wxSashEvent,
33075 &_swigt__p_wxSashLayoutWindow,
33076 &_swigt__p_wxSashWindow,
33077 &_swigt__p_wxScrollEvent,
33078 &_swigt__p_wxScrollWinEvent,
33079 &_swigt__p_wxScrolledWindow,
33080 &_swigt__p_wxSetCursorEvent,
33081 &_swigt__p_wxShowEvent,
33082 &_swigt__p_wxSingleChoiceDialog,
33083 &_swigt__p_wxSize,
33084 &_swigt__p_wxSizeEvent,
33085 &_swigt__p_wxSizer,
33086 &_swigt__p_wxSizerItem,
33087 &_swigt__p_wxSplashScreen,
33088 &_swigt__p_wxSplashScreenWindow,
33089 &_swigt__p_wxSplitterEvent,
33090 &_swigt__p_wxSplitterWindow,
33091 &_swigt__p_wxStaticBoxSizer,
33092 &_swigt__p_wxStatusBar,
33093 &_swigt__p_wxStdDialogButtonSizer,
33094 &_swigt__p_wxString,
33095 &_swigt__p_wxSysColourChangedEvent,
33096 &_swigt__p_wxTIFFHandler,
33097 &_swigt__p_wxTaskBarIcon,
33098 &_swigt__p_wxTaskBarIconEvent,
33099 &_swigt__p_wxTextEntryDialog,
33100 &_swigt__p_wxTipWindow,
33101 &_swigt__p_wxToolBar,
33102 &_swigt__p_wxTopLevelWindow,
33103 &_swigt__p_wxUpdateUIEvent,
33104 &_swigt__p_wxValidator,
33105 &_swigt__p_wxVisualAttributes,
33106 &_swigt__p_wxWindow,
33107 &_swigt__p_wxWindowCreateEvent,
33108 &_swigt__p_wxWindowDestroyEvent,
33109 &_swigt__p_wxXPMHandler,
33110 };
33111
33112 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33134 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}};
33135 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33136 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}};
33137 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33143 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33144 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33146 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33147 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33150 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33151 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33152 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33153 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33154 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33157 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33158 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33162 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33163 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33164 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33165 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33169 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33170 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33171 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33177 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33178 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33179 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
33180 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33191 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33192 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}};
33193 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33194 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33195 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33196 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33197 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33198 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33199 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33200 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33201 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33202 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33203 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33204 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33205 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33206 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33207 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33208 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33209 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33210 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33211 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33212 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33213 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33214 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33215 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33216 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33217 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33218 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33220 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33221 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33222 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33223 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33224 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33225 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}};
33226 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33228 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33229 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33231 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}};
33232 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}};
33233 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33236 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}};
33237 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33240 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33241 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
33242 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33243 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33248 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}};
33249 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}};
33250 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33251 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33256 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}};
33257 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33258 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}};
33259 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33269 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33270 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}};
33271 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33272 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33276
33277 static swig_cast_info *swig_cast_initial[] = {
33278 _swigc__p_bool,
33279 _swigc__p_char,
33280 _swigc__p_form_ops_t,
33281 _swigc__p_int,
33282 _swigc__p_unsigned_char,
33283 _swigc__p_unsigned_int,
33284 _swigc__p_unsigned_long,
33285 _swigc__p_wxANIHandler,
33286 _swigc__p_wxAcceleratorTable,
33287 _swigc__p_wxActivateEvent,
33288 _swigc__p_wxArrayInt,
33289 _swigc__p_wxBMPHandler,
33290 _swigc__p_wxBitmap,
33291 _swigc__p_wxBoxSizer,
33292 _swigc__p_wxCURHandler,
33293 _swigc__p_wxCalculateLayoutEvent,
33294 _swigc__p_wxChildFocusEvent,
33295 _swigc__p_wxClipboardTextEvent,
33296 _swigc__p_wxCloseEvent,
33297 _swigc__p_wxColour,
33298 _swigc__p_wxColourData,
33299 _swigc__p_wxColourDialog,
33300 _swigc__p_wxCommandEvent,
33301 _swigc__p_wxContextMenuEvent,
33302 _swigc__p_wxControl,
33303 _swigc__p_wxControlWithItems,
33304 _swigc__p_wxDC,
33305 _swigc__p_wxDateEvent,
33306 _swigc__p_wxDialog,
33307 _swigc__p_wxDirDialog,
33308 _swigc__p_wxDisplayChangedEvent,
33309 _swigc__p_wxDropFilesEvent,
33310 _swigc__p_wxDuplexMode,
33311 _swigc__p_wxEraseEvent,
33312 _swigc__p_wxEvent,
33313 _swigc__p_wxEvtHandler,
33314 _swigc__p_wxFSFile,
33315 _swigc__p_wxFileDialog,
33316 _swigc__p_wxFileSystem,
33317 _swigc__p_wxFindDialogEvent,
33318 _swigc__p_wxFindReplaceData,
33319 _swigc__p_wxFindReplaceDialog,
33320 _swigc__p_wxFlexGridSizer,
33321 _swigc__p_wxFocusEvent,
33322 _swigc__p_wxFont,
33323 _swigc__p_wxFontData,
33324 _swigc__p_wxFontDialog,
33325 _swigc__p_wxFrame,
33326 _swigc__p_wxGBSizerItem,
33327 _swigc__p_wxGIFHandler,
33328 _swigc__p_wxGridBagSizer,
33329 _swigc__p_wxGridSizer,
33330 _swigc__p_wxHtmlLinkInfo,
33331 _swigc__p_wxICOHandler,
33332 _swigc__p_wxIcon,
33333 _swigc__p_wxIconBundle,
33334 _swigc__p_wxIconizeEvent,
33335 _swigc__p_wxIdleEvent,
33336 _swigc__p_wxImage,
33337 _swigc__p_wxImageHandler,
33338 _swigc__p_wxIndividualLayoutConstraint,
33339 _swigc__p_wxInitDialogEvent,
33340 _swigc__p_wxJPEGHandler,
33341 _swigc__p_wxKeyEvent,
33342 _swigc__p_wxLayoutAlgorithm,
33343 _swigc__p_wxLayoutConstraints,
33344 _swigc__p_wxMDIChildFrame,
33345 _swigc__p_wxMDIClientWindow,
33346 _swigc__p_wxMDIParentFrame,
33347 _swigc__p_wxMaximizeEvent,
33348 _swigc__p_wxMenu,
33349 _swigc__p_wxMenuBar,
33350 _swigc__p_wxMenuEvent,
33351 _swigc__p_wxMenuItem,
33352 _swigc__p_wxMessageDialog,
33353 _swigc__p_wxMiniFrame,
33354 _swigc__p_wxMouseCaptureChangedEvent,
33355 _swigc__p_wxMouseEvent,
33356 _swigc__p_wxMoveEvent,
33357 _swigc__p_wxMultiChoiceDialog,
33358 _swigc__p_wxNavigationKeyEvent,
33359 _swigc__p_wxNcPaintEvent,
33360 _swigc__p_wxNotifyEvent,
33361 _swigc__p_wxNumberEntryDialog,
33362 _swigc__p_wxObject,
33363 _swigc__p_wxPCXHandler,
33364 _swigc__p_wxPNGHandler,
33365 _swigc__p_wxPNMHandler,
33366 _swigc__p_wxPageSetupDialog,
33367 _swigc__p_wxPageSetupDialogData,
33368 _swigc__p_wxPaintEvent,
33369 _swigc__p_wxPaletteChangedEvent,
33370 _swigc__p_wxPanel,
33371 _swigc__p_wxPaperSize,
33372 _swigc__p_wxPasswordEntryDialog,
33373 _swigc__p_wxPoint,
33374 _swigc__p_wxPopupWindow,
33375 _swigc__p_wxPreviewCanvas,
33376 _swigc__p_wxPreviewControlBar,
33377 _swigc__p_wxPreviewFrame,
33378 _swigc__p_wxPrintData,
33379 _swigc__p_wxPrintDialog,
33380 _swigc__p_wxPrintDialogData,
33381 _swigc__p_wxPrintPreview,
33382 _swigc__p_wxPrinter,
33383 _swigc__p_wxProgressDialog,
33384 _swigc__p_wxPyApp,
33385 _swigc__p_wxPyCommandEvent,
33386 _swigc__p_wxPyEvent,
33387 _swigc__p_wxPyHtmlListBox,
33388 _swigc__p_wxPyImageHandler,
33389 _swigc__p_wxPyPanel,
33390 _swigc__p_wxPyPopupTransientWindow,
33391 _swigc__p_wxPyPreviewControlBar,
33392 _swigc__p_wxPyPreviewFrame,
33393 _swigc__p_wxPyPrintPreview,
33394 _swigc__p_wxPyPrintout,
33395 _swigc__p_wxPyScrolledWindow,
33396 _swigc__p_wxPySizer,
33397 _swigc__p_wxPyTaskBarIcon,
33398 _swigc__p_wxPyVListBox,
33399 _swigc__p_wxPyVScrolledWindow,
33400 _swigc__p_wxPyValidator,
33401 _swigc__p_wxPyWindow,
33402 _swigc__p_wxQueryLayoutInfoEvent,
33403 _swigc__p_wxQueryNewPaletteEvent,
33404 _swigc__p_wxRect,
33405 _swigc__p_wxRegion,
33406 _swigc__p_wxSashEvent,
33407 _swigc__p_wxSashLayoutWindow,
33408 _swigc__p_wxSashWindow,
33409 _swigc__p_wxScrollEvent,
33410 _swigc__p_wxScrollWinEvent,
33411 _swigc__p_wxScrolledWindow,
33412 _swigc__p_wxSetCursorEvent,
33413 _swigc__p_wxShowEvent,
33414 _swigc__p_wxSingleChoiceDialog,
33415 _swigc__p_wxSize,
33416 _swigc__p_wxSizeEvent,
33417 _swigc__p_wxSizer,
33418 _swigc__p_wxSizerItem,
33419 _swigc__p_wxSplashScreen,
33420 _swigc__p_wxSplashScreenWindow,
33421 _swigc__p_wxSplitterEvent,
33422 _swigc__p_wxSplitterWindow,
33423 _swigc__p_wxStaticBoxSizer,
33424 _swigc__p_wxStatusBar,
33425 _swigc__p_wxStdDialogButtonSizer,
33426 _swigc__p_wxString,
33427 _swigc__p_wxSysColourChangedEvent,
33428 _swigc__p_wxTIFFHandler,
33429 _swigc__p_wxTaskBarIcon,
33430 _swigc__p_wxTaskBarIconEvent,
33431 _swigc__p_wxTextEntryDialog,
33432 _swigc__p_wxTipWindow,
33433 _swigc__p_wxToolBar,
33434 _swigc__p_wxTopLevelWindow,
33435 _swigc__p_wxUpdateUIEvent,
33436 _swigc__p_wxValidator,
33437 _swigc__p_wxVisualAttributes,
33438 _swigc__p_wxWindow,
33439 _swigc__p_wxWindowCreateEvent,
33440 _swigc__p_wxWindowDestroyEvent,
33441 _swigc__p_wxXPMHandler,
33442 };
33443
33444
33445 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33446
33447 static swig_const_info swig_const_table[] = {
33448 {0, 0, 0, 0.0, 0, 0}};
33449
33450 #ifdef __cplusplus
33451 }
33452 #endif
33453 /* -----------------------------------------------------------------------------
33454 * Type initialization:
33455 * This problem is tough by the requirement that no dynamic
33456 * memory is used. Also, since swig_type_info structures store pointers to
33457 * swig_cast_info structures and swig_cast_info structures store pointers back
33458 * to swig_type_info structures, we need some lookup code at initialization.
33459 * The idea is that swig generates all the structures that are needed.
33460 * The runtime then collects these partially filled structures.
33461 * The SWIG_InitializeModule function takes these initial arrays out of
33462 * swig_module, and does all the lookup, filling in the swig_module.types
33463 * array with the correct data and linking the correct swig_cast_info
33464 * structures together.
33465 *
33466 * The generated swig_type_info structures are assigned staticly to an initial
33467 * array. We just loop though that array, and handle each type individually.
33468 * First we lookup if this type has been already loaded, and if so, use the
33469 * loaded structure instead of the generated one. Then we have to fill in the
33470 * cast linked list. The cast data is initially stored in something like a
33471 * two-dimensional array. Each row corresponds to a type (there are the same
33472 * number of rows as there are in the swig_type_initial array). Each entry in
33473 * a column is one of the swig_cast_info structures for that type.
33474 * The cast_initial array is actually an array of arrays, because each row has
33475 * a variable number of columns. So to actually build the cast linked list,
33476 * we find the array of casts associated with the type, and loop through it
33477 * adding the casts to the list. The one last trick we need to do is making
33478 * sure the type pointer in the swig_cast_info struct is correct.
33479 *
33480 * First off, we lookup the cast->type name to see if it is already loaded.
33481 * There are three cases to handle:
33482 * 1) If the cast->type has already been loaded AND the type we are adding
33483 * casting info to has not been loaded (it is in this module), THEN we
33484 * replace the cast->type pointer with the type pointer that has already
33485 * been loaded.
33486 * 2) If BOTH types (the one we are adding casting info to, and the
33487 * cast->type) are loaded, THEN the cast info has already been loaded by
33488 * the previous module so we just ignore it.
33489 * 3) Finally, if cast->type has not already been loaded, then we add that
33490 * swig_cast_info to the linked list (because the cast->type) pointer will
33491 * be correct.
33492 * ----------------------------------------------------------------------------- */
33493
33494 #ifdef __cplusplus
33495 extern "C" {
33496 #if 0
33497 } /* c-mode */
33498 #endif
33499 #endif
33500
33501 #if 0
33502 #define SWIGRUNTIME_DEBUG
33503 #endif
33504
33505 SWIGRUNTIME void
33506 SWIG_InitializeModule(void *clientdata) {
33507 size_t i;
33508 swig_module_info *module_head;
33509 static int init_run = 0;
33510
33511 clientdata = clientdata;
33512
33513 if (init_run) return;
33514 init_run = 1;
33515
33516 /* Initialize the swig_module */
33517 swig_module.type_initial = swig_type_initial;
33518 swig_module.cast_initial = swig_cast_initial;
33519
33520 /* Try and load any already created modules */
33521 module_head = SWIG_GetModule(clientdata);
33522 if (module_head) {
33523 swig_module.next = module_head->next;
33524 module_head->next = &swig_module;
33525 } else {
33526 /* This is the first module loaded */
33527 swig_module.next = &swig_module;
33528 SWIG_SetModule(clientdata, &swig_module);
33529 }
33530
33531 /* Now work on filling in swig_module.types */
33532 #ifdef SWIGRUNTIME_DEBUG
33533 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33534 #endif
33535 for (i = 0; i < swig_module.size; ++i) {
33536 swig_type_info *type = 0;
33537 swig_type_info *ret;
33538 swig_cast_info *cast;
33539
33540 #ifdef SWIGRUNTIME_DEBUG
33541 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33542 #endif
33543
33544 /* if there is another module already loaded */
33545 if (swig_module.next != &swig_module) {
33546 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33547 }
33548 if (type) {
33549 /* Overwrite clientdata field */
33550 #ifdef SWIGRUNTIME_DEBUG
33551 printf("SWIG_InitializeModule: found type %s\n", type->name);
33552 #endif
33553 if (swig_module.type_initial[i]->clientdata) {
33554 type->clientdata = swig_module.type_initial[i]->clientdata;
33555 #ifdef SWIGRUNTIME_DEBUG
33556 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33557 #endif
33558 }
33559 } else {
33560 type = swig_module.type_initial[i];
33561 }
33562
33563 /* Insert casting types */
33564 cast = swig_module.cast_initial[i];
33565 while (cast->type) {
33566 /* Don't need to add information already in the list */
33567 ret = 0;
33568 #ifdef SWIGRUNTIME_DEBUG
33569 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33570 #endif
33571 if (swig_module.next != &swig_module) {
33572 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33573 #ifdef SWIGRUNTIME_DEBUG
33574 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33575 #endif
33576 }
33577 if (ret) {
33578 if (type == swig_module.type_initial[i]) {
33579 #ifdef SWIGRUNTIME_DEBUG
33580 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33581 #endif
33582 cast->type = ret;
33583 ret = 0;
33584 } else {
33585 /* Check for casting already in the list */
33586 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33587 #ifdef SWIGRUNTIME_DEBUG
33588 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33589 #endif
33590 if (!ocast) ret = 0;
33591 }
33592 }
33593
33594 if (!ret) {
33595 #ifdef SWIGRUNTIME_DEBUG
33596 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33597 #endif
33598 if (type->cast) {
33599 type->cast->prev = cast;
33600 cast->next = type->cast;
33601 }
33602 type->cast = cast;
33603 }
33604 cast++;
33605 }
33606 /* Set entry in modules->types array equal to the type */
33607 swig_module.types[i] = type;
33608 }
33609 swig_module.types[i] = 0;
33610
33611 #ifdef SWIGRUNTIME_DEBUG
33612 printf("**** SWIG_InitializeModule: Cast List ******\n");
33613 for (i = 0; i < swig_module.size; ++i) {
33614 int j = 0;
33615 swig_cast_info *cast = swig_module.cast_initial[i];
33616 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33617 while (cast->type) {
33618 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33619 cast++;
33620 ++j;
33621 }
33622 printf("---- Total casts: %d\n",j);
33623 }
33624 printf("**** SWIG_InitializeModule: Cast List ******\n");
33625 #endif
33626 }
33627
33628 /* This function will propagate the clientdata field of type to
33629 * any new swig_type_info structures that have been added into the list
33630 * of equivalent types. It is like calling
33631 * SWIG_TypeClientData(type, clientdata) a second time.
33632 */
33633 SWIGRUNTIME void
33634 SWIG_PropagateClientData(void) {
33635 size_t i;
33636 swig_cast_info *equiv;
33637 static int init_run = 0;
33638
33639 if (init_run) return;
33640 init_run = 1;
33641
33642 for (i = 0; i < swig_module.size; i++) {
33643 if (swig_module.types[i]->clientdata) {
33644 equiv = swig_module.types[i]->cast;
33645 while (equiv) {
33646 if (!equiv->converter) {
33647 if (equiv->type && !equiv->type->clientdata)
33648 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33649 }
33650 equiv = equiv->next;
33651 }
33652 }
33653 }
33654 }
33655
33656 #ifdef __cplusplus
33657 #if 0
33658 {
33659 /* c-mode */
33660 #endif
33661 }
33662 #endif
33663
33664
33665
33666 #ifdef __cplusplus
33667 extern "C" {
33668 #endif
33669
33670 /* Python-specific SWIG API */
33671 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33672 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33673 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33674
33675 /* -----------------------------------------------------------------------------
33676 * global variable support code.
33677 * ----------------------------------------------------------------------------- */
33678
33679 typedef struct swig_globalvar {
33680 char *name; /* Name of global variable */
33681 PyObject *(*get_attr)(void); /* Return the current value */
33682 int (*set_attr)(PyObject *); /* Set the value */
33683 struct swig_globalvar *next;
33684 } swig_globalvar;
33685
33686 typedef struct swig_varlinkobject {
33687 PyObject_HEAD
33688 swig_globalvar *vars;
33689 } swig_varlinkobject;
33690
33691 SWIGINTERN PyObject *
33692 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33693 return PyString_FromString("<Swig global variables>");
33694 }
33695
33696 SWIGINTERN PyObject *
33697 swig_varlink_str(swig_varlinkobject *v) {
33698 PyObject *str = PyString_FromString("(");
33699 swig_globalvar *var;
33700 for (var = v->vars; var; var=var->next) {
33701 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33702 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33703 }
33704 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33705 return str;
33706 }
33707
33708 SWIGINTERN int
33709 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33710 PyObject *str = swig_varlink_str(v);
33711 fprintf(fp,"Swig global variables ");
33712 fprintf(fp,"%s\n", PyString_AsString(str));
33713 Py_DECREF(str);
33714 return 0;
33715 }
33716
33717 SWIGINTERN void
33718 swig_varlink_dealloc(swig_varlinkobject *v) {
33719 swig_globalvar *var = v->vars;
33720 while (var) {
33721 swig_globalvar *n = var->next;
33722 free(var->name);
33723 free(var);
33724 var = n;
33725 }
33726 }
33727
33728 SWIGINTERN PyObject *
33729 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33730 PyObject *res = NULL;
33731 swig_globalvar *var = v->vars;
33732 while (var) {
33733 if (strcmp(var->name,n) == 0) {
33734 res = (*var->get_attr)();
33735 break;
33736 }
33737 var = var->next;
33738 }
33739 if (res == NULL && !PyErr_Occurred()) {
33740 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33741 }
33742 return res;
33743 }
33744
33745 SWIGINTERN int
33746 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33747 int res = 1;
33748 swig_globalvar *var = v->vars;
33749 while (var) {
33750 if (strcmp(var->name,n) == 0) {
33751 res = (*var->set_attr)(p);
33752 break;
33753 }
33754 var = var->next;
33755 }
33756 if (res == 1 && !PyErr_Occurred()) {
33757 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33758 }
33759 return res;
33760 }
33761
33762 SWIGINTERN PyTypeObject*
33763 swig_varlink_type(void) {
33764 static char varlink__doc__[] = "Swig var link object";
33765 static PyTypeObject varlink_type;
33766 static int type_init = 0;
33767 if (!type_init) {
33768 const PyTypeObject tmp
33769 = {
33770 PyObject_HEAD_INIT(NULL)
33771 0, /* Number of items in variable part (ob_size) */
33772 (char *)"swigvarlink", /* Type name (tp_name) */
33773 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33774 0, /* Itemsize (tp_itemsize) */
33775 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33776 (printfunc) swig_varlink_print, /* Print (tp_print) */
33777 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33778 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33779 0, /* tp_compare */
33780 (reprfunc) swig_varlink_repr, /* tp_repr */
33781 0, /* tp_as_number */
33782 0, /* tp_as_sequence */
33783 0, /* tp_as_mapping */
33784 0, /* tp_hash */
33785 0, /* tp_call */
33786 (reprfunc)swig_varlink_str, /* tp_str */
33787 0, /* tp_getattro */
33788 0, /* tp_setattro */
33789 0, /* tp_as_buffer */
33790 0, /* tp_flags */
33791 varlink__doc__, /* tp_doc */
33792 0, /* tp_traverse */
33793 0, /* tp_clear */
33794 0, /* tp_richcompare */
33795 0, /* tp_weaklistoffset */
33796 #if PY_VERSION_HEX >= 0x02020000
33797 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33798 #endif
33799 #if PY_VERSION_HEX >= 0x02030000
33800 0, /* tp_del */
33801 #endif
33802 #ifdef COUNT_ALLOCS
33803 0,0,0,0 /* tp_alloc -> tp_next */
33804 #endif
33805 };
33806 varlink_type = tmp;
33807 varlink_type.ob_type = &PyType_Type;
33808 type_init = 1;
33809 }
33810 return &varlink_type;
33811 }
33812
33813 /* Create a variable linking object for use later */
33814 SWIGINTERN PyObject *
33815 SWIG_Python_newvarlink(void) {
33816 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33817 if (result) {
33818 result->vars = 0;
33819 }
33820 return ((PyObject*) result);
33821 }
33822
33823 SWIGINTERN void
33824 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33825 swig_varlinkobject *v = (swig_varlinkobject *) p;
33826 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33827 if (gv) {
33828 size_t size = strlen(name)+1;
33829 gv->name = (char *)malloc(size);
33830 if (gv->name) {
33831 strncpy(gv->name,name,size);
33832 gv->get_attr = get_attr;
33833 gv->set_attr = set_attr;
33834 gv->next = v->vars;
33835 }
33836 }
33837 v->vars = gv;
33838 }
33839
33840 SWIGINTERN PyObject *
33841 SWIG_globals() {
33842 static PyObject *_SWIG_globals = 0;
33843 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33844 return _SWIG_globals;
33845 }
33846
33847 /* -----------------------------------------------------------------------------
33848 * constants/methods manipulation
33849 * ----------------------------------------------------------------------------- */
33850
33851 /* Install Constants */
33852 SWIGINTERN void
33853 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33854 PyObject *obj = 0;
33855 size_t i;
33856 for (i = 0; constants[i].type; ++i) {
33857 switch(constants[i].type) {
33858 case SWIG_PY_POINTER:
33859 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33860 break;
33861 case SWIG_PY_BINARY:
33862 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33863 break;
33864 default:
33865 obj = 0;
33866 break;
33867 }
33868 if (obj) {
33869 PyDict_SetItemString(d, constants[i].name, obj);
33870 Py_DECREF(obj);
33871 }
33872 }
33873 }
33874
33875 /* -----------------------------------------------------------------------------*/
33876 /* Fix SwigMethods to carry the callback ptrs when needed */
33877 /* -----------------------------------------------------------------------------*/
33878
33879 SWIGINTERN void
33880 SWIG_Python_FixMethods(PyMethodDef *methods,
33881 swig_const_info *const_table,
33882 swig_type_info **types,
33883 swig_type_info **types_initial) {
33884 size_t i;
33885 for (i = 0; methods[i].ml_name; ++i) {
33886 const char *c = methods[i].ml_doc;
33887 if (c && (c = strstr(c, "swig_ptr: "))) {
33888 int j;
33889 swig_const_info *ci = 0;
33890 const char *name = c + 10;
33891 for (j = 0; const_table[j].type; ++j) {
33892 if (strncmp(const_table[j].name, name,
33893 strlen(const_table[j].name)) == 0) {
33894 ci = &(const_table[j]);
33895 break;
33896 }
33897 }
33898 if (ci) {
33899 size_t shift = (ci->ptype) - types;
33900 swig_type_info *ty = types_initial[shift];
33901 size_t ldoc = (c - methods[i].ml_doc);
33902 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33903 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33904 if (ndoc) {
33905 char *buff = ndoc;
33906 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33907 if (ptr) {
33908 strncpy(buff, methods[i].ml_doc, ldoc);
33909 buff += ldoc;
33910 strncpy(buff, "swig_ptr: ", 10);
33911 buff += 10;
33912 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33913 methods[i].ml_doc = ndoc;
33914 }
33915 }
33916 }
33917 }
33918 }
33919 }
33920
33921 #ifdef __cplusplus
33922 }
33923 #endif
33924
33925 /* -----------------------------------------------------------------------------*
33926 * Partial Init method
33927 * -----------------------------------------------------------------------------*/
33928
33929 #ifdef __cplusplus
33930 extern "C"
33931 #endif
33932 SWIGEXPORT void SWIG_init(void) {
33933 PyObject *m, *d;
33934
33935 /* Fix SwigMethods to carry the callback ptrs when needed */
33936 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33937
33938 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33939 d = PyModule_GetDict(m);
33940
33941 SWIG_InitializeModule(0);
33942 SWIG_InstallConstants(d,swig_const_table);
33943
33944
33945 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33946 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33947 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33948 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33949 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33950 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33951 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33952 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33953 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33954 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33955 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33956 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33957 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33958 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33959 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33960 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33961 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33962 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33963 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33964 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33965 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33966 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33967 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33968 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33969 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33970 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33971 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33972 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33973 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33974 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33975 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33976 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33977 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33978 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33979 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33980 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33981 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33982 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33983 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33984 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33985 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33986 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33987 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33988 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33989 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33990 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33991 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33992 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33993 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33994 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33995 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33996 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33997 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33998 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33999 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34000 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34001 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34002 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34003 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34004 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34005 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34006 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34007 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34008 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34009 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34010 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34011 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34012 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34013 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34014 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34015 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34016 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34017 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34018 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34019 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34020 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34021 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34022 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34023 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34024 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34025 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34026 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34027 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34028 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34029 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34030 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34031 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34032 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34033 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34034 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34035 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34036 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34037 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34038 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34039 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34040 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34041 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34042 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34043 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34044 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34045 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34046 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34047
34048 // Map renamed classes back to their common name for OOR
34049 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34050 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34051 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34052
34053 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34054 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34055 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34056 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34057 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34058 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34059 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34060 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34061 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34062 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34063 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34064 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34065 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34066 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34067 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34068 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34069 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34070 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34071 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34072 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34073 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34074 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34075 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34076 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34077 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34078 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34079 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34080 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34081 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34082 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34083 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34084 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34085 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34086 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34087 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34088 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34089 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34090 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34091 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34092 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34093 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34094 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34095 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34096 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34097 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34098 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34099 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34100 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34101 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34102 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34103 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34104 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34105 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34106 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34107 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34108 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34109 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34110 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34111 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34112 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34113 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34114 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34115 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34116 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34117 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34118 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34119 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34120 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34121 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34122 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34123 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34124 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34125 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34126 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34127 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34128 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34129 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34130 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34131 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34132 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34133 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34134 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34135 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34136 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34137 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34138 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34139 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34140 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34141 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34142 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34143 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34144 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34145 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34146 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34147 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34148 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34149
34150 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34151
34152 }
34153