]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info *swig_types[171];
2637 static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640
2641 /* -------- TYPES TABLE (END) -------- */
2642
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2646 # endif
2647 #endif
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2650 #endif
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 #endif
2654 #ifndef METH_O
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 #endif
2657
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2662
2663 #define SWIG_name "_windows_"
2664
2665 #define SWIGVERSION 0x010329
2666
2667
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670
2671
2672 #include <stdexcept>
2673
2674
2675 namespace swig {
2676 class PyObject_ptr {
2677 protected:
2678 PyObject *_obj;
2679
2680 public:
2681 PyObject_ptr() :_obj(0)
2682 {
2683 }
2684
2685 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2686 {
2687 Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2691 {
2692 if (initial_ref) Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr & operator=(const PyObject_ptr& item)
2696 {
2697 Py_XINCREF(item._obj);
2698 Py_XDECREF(_obj);
2699 _obj = item._obj;
2700 return *this;
2701 }
2702
2703 ~PyObject_ptr()
2704 {
2705 Py_XDECREF(_obj);
2706 }
2707
2708 operator PyObject *() const
2709 {
2710 return _obj;
2711 }
2712
2713 PyObject *operator->() const
2714 {
2715 return _obj;
2716 }
2717 };
2718 }
2719
2720
2721 namespace swig {
2722 struct PyObject_var : PyObject_ptr {
2723 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2724
2725 PyObject_var & operator = (PyObject* obj)
2726 {
2727 Py_XDECREF(_obj);
2728 _obj = obj;
2729 return *this;
2730 }
2731 };
2732 }
2733
2734
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2737
2738
2739 static const wxString wxPyEmptyString(wxEmptyString);
2740 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2741
2742
2743
2744 #include <limits.h>
2745 #ifndef LLONG_MIN
2746 # define LLONG_MIN LONG_LONG_MIN
2747 #endif
2748 #ifndef LLONG_MAX
2749 # define LLONG_MAX LONG_LONG_MAX
2750 #endif
2751 #ifndef ULLONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2753 #endif
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_long (PyObject* obj, long* val)
2758 {
2759 if (PyNumber_Check(obj)) {
2760 if (val) *val = PyInt_AsLong(obj);
2761 return SWIG_OK;
2762 }
2763 return SWIG_TypeError;
2764 }
2765
2766
2767 SWIGINTERN int
2768 SWIG_AsVal_int (PyObject * obj, int *val)
2769 {
2770 long v;
2771 int res = SWIG_AsVal_long (obj, &v);
2772 if (SWIG_IsOK(res)) {
2773 if ((v < INT_MIN || v > INT_MAX)) {
2774 return SWIG_OverflowError;
2775 } else {
2776 if (val) *val = static_cast< int >(v);
2777 }
2778 }
2779 return res;
2780 }
2781
2782
2783 SWIGINTERN int
2784 SWIG_AsVal_bool (PyObject *obj, bool *val)
2785 {
2786 if (obj == Py_True) {
2787 if (val) *val = true;
2788 return SWIG_OK;
2789 } else if (obj == Py_False) {
2790 if (val) *val = false;
2791 return SWIG_OK;
2792 } else {
2793 long v = 0;
2794 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2795 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2796 return res;
2797 }
2798 }
2799
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 SWIGINTERN int
2812 SWIG_AsVal_double (PyObject *obj, double* val)
2813 {
2814 if (PyNumber_Check(obj)) {
2815 if (val) *val = PyFloat_AsDouble(obj);
2816 return SWIG_OK;
2817 }
2818 return SWIG_TypeError;
2819 }
2820
2821
2822 #define SWIG_From_double PyFloat_FromDouble
2823
2824 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2825 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2826 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2827 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2828 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2829 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2830
2831 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2832
2833
2834
2835 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2836 wxRect r;
2837 self->GetFieldRect(i, r);
2838 return r;
2839 }
2840 static const wxString wxPySplitterNameStr(wxT("splitter"));
2841 static const wxString wxPySashNameStr(wxT("sashWindow"));
2842 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2843
2844 #include <wx/popupwin.h>
2845
2846
2847 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2848 {
2849 public:
2850 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2851 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2852 : wxPopupTransientWindow(parent, style) {}
2853
2854 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2855 DEC_PYCALLBACK__(OnDismiss);
2856 DEC_PYCALLBACK_BOOL_(CanDismiss);
2857 PYPRIVATE;
2858 };
2859
2860
2861 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2862 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2863 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2864
2865
2866 #include <wx/tipwin.h>
2867
2868 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2869 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2870 }
2871
2872 #include <wx/tipwin.h>
2873
2874
2875 #include <wx/vscroll.h>
2876
2877
2878 class wxPyVScrolledWindow : public wxVScrolledWindow
2879 {
2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2881 public:
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883
2884 wxPyVScrolledWindow(wxWindow *parent,
2885 wxWindowID id = wxID_ANY,
2886 const wxPoint& pos = wxDefaultPosition,
2887 const wxSize& size = wxDefaultSize,
2888 long style = 0,
2889 const wxString& name = wxPyPanelNameStr)
2890 : wxVScrolledWindow(parent, id, pos, size, style, name)
2891 {}
2892
2893 // Overridable virtuals
2894
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2898
2899
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2903 // once
2904 //
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2910 //
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 // usual
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2914
2915
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2920 // its own logic
2921 //
2922 // this function should return the best guess for the total height it may
2923 // make
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2925
2926
2927 // Also expose some other interesting protected methods
2928
2929
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2934
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2939
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945
2946 PYPRIVATE;
2947 };
2948
2949 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2950
2951 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2952 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2953 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2954
2955
2956 SWIGINTERN int
2957 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2958 {
2959 long v = 0;
2960 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2961 return SWIG_TypeError;
2962 }
2963 else if (val)
2964 *val = (unsigned long)v;
2965 return SWIG_OK;
2966 }
2967
2968
2969 SWIGINTERNINLINE int
2970 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2971 {
2972 unsigned long v;
2973 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2974 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2975 return res;
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject*
2980 SWIG_From_unsigned_SS_long (unsigned long value)
2981 {
2982 return (value > LONG_MAX) ?
2983 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject *
2988 SWIG_From_size_t (size_t value)
2989 {
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2991 }
2992
2993
2994 #include <wx/vlbox.h>
2995
2996 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2997
2998 class wxPyVListBox : public wxVListBox
2999 {
3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3001 public:
3002 wxPyVListBox() : wxVListBox() {}
3003
3004 wxPyVListBox(wxWindow *parent,
3005 wxWindowID id = wxID_ANY,
3006 const wxPoint& pos = wxDefaultPosition,
3007 const wxSize& size = wxDefaultSize,
3008 long style = 0,
3009 const wxString& name = wxPyVListBoxNameStr)
3010 : wxVListBox(parent, id, pos, size, style, name)
3011 {}
3012
3013 // Overridable virtuals
3014
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3019
3020
3021 // the derived class must implement this method to return the height of the
3022 // specified item
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3025
3026
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3030 //
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3034
3035
3036 // this method is used to draw the items background and, maybe, a border
3037 // around it
3038 //
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3042 // current
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3045
3046
3047 PYPRIVATE;
3048 };
3049
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3051
3052 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3053 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3054 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3055 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3056
3057
3058 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3059 unsigned long cookie = 0;
3060 int selected = self->GetFirstSelected(cookie);
3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
3068 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3069 int selected = self->GetNextSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077
3078 #include <wx/htmllbox.h>
3079
3080
3081 class wxPyHtmlListBox : public wxHtmlListBox
3082 {
3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3084 public:
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3086
3087 wxPyHtmlListBox(wxWindow *parent,
3088 wxWindowID id = wxID_ANY,
3089 const wxPoint& pos = wxDefaultPosition,
3090 const wxSize& size = wxDefaultSize,
3091 long style = 0,
3092 const wxString& name = wxPyVListBoxNameStr)
3093 : wxHtmlListBox(parent, id, pos, size, style, name)
3094 {}
3095
3096 // Overridable virtuals
3097
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3101
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3104
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3108
3109 // TODO:
3110 // // this method allows to customize the selection appearance: it may be used
3111 // // to specify the colour of the text which normally has the given colour
3112 // // colFg when it is inside the selection
3113 // //
3114 // // by default, the original colour is not used at all and all text has the
3115 // // same (default for this system) colour inside selection
3116 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117
3118 // // this is the same as GetSelectedTextColour() but allows to customize the
3119 // // background colour -- this is even more rarely used as you can change it
3120 // // globally using SetSelectionBackground()
3121 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3122
3123
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link);
3128
3129 PYPRIVATE;
3130 };
3131
3132
3133 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3134
3135 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3136 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3137 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3138 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3139
3140
3141 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3142 const wxHtmlLinkInfo& link) {
3143 bool found;
3144 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3145 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3146 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3148 Py_DECREF(obj);
3149 }
3150 wxPyEndBlockThreads(blocked);
3151 if (! found)
3152 wxPyHtmlListBox::OnLinkClicked(n, link);
3153 }
3154
3155
3156
3157 const wxArrayString wxPyEmptyStringArray;
3158
3159 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3160
3161
3162
3163 #ifndef wxHAS_TASK_BAR_ICON
3164 // implement dummy classes for platforms that don't have it
3165
3166 class wxTaskBarIcon : public wxEvtHandler
3167 {
3168 public:
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3170 };
3171
3172
3173 class wxTaskBarIconEvent : public wxEvent
3174 {
3175 public:
3176 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent* Clone() const { return NULL; }
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu *menu) { return false; }
3184 };
3185
3186 enum {
3187 wxEVT_TASKBAR_MOVE = 0,
3188 wxEVT_TASKBAR_LEFT_DOWN = 0,
3189 wxEVT_TASKBAR_LEFT_UP = 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3191 wxEVT_TASKBAR_RIGHT_UP = 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3194 };
3195
3196
3197 #else
3198 // Otherwise make a class that can virtualize CreatePopupMenu
3199 class wxPyTaskBarIcon : public wxTaskBarIcon
3200 {
3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3202 public:
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3204 {}
3205
3206 wxMenu* CreatePopupMenu() {
3207 wxMenu *rval = NULL;
3208 bool found;
3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3210 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3211 PyObject* ro;
3212 wxMenu* ptr;
3213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3214 if (ro) {
3215 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3216 rval = ptr;
3217 Py_DECREF(ro);
3218 }
3219 }
3220 wxPyEndBlockThreads(blocked);
3221 if (! found)
3222 rval = wxTaskBarIcon::CreatePopupMenu();
3223 return rval;
3224 }
3225
3226 PYPRIVATE;
3227 };
3228
3229 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3230
3231 #endif
3232
3233 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3234 self->RemoveIcon();
3235 delete self;
3236 }
3237 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3238 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3239 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3240 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3241 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3242 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3243
3244 // for compatibility only
3245 #define wxHIDE_READONLY 0
3246
3247 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3248 wxArrayString arr;
3249 self->GetFilenames(arr);
3250 return wxArrayString2PyList_helper(arr);
3251 }
3252 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetPaths(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3258 return wxArrayInt2PyList_helper(self->GetSelections());
3259 }
3260 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){
3261 return new wxSingleChoiceDialog(parent, message, caption,
3262 choices, choices_array, NULL, style, pos);
3263 }
3264 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3265
3266 SWIGINTERNINLINE PyObject*
3267 SWIG_From_bool (bool value)
3268 {
3269 return PyBool_FromLong(value ? 1 : 0);
3270 }
3271
3272
3273 #include <wx/mdi.h>
3274
3275 // C++ version of Python aware wxWindow
3276 class wxPyWindow : public wxWindow
3277 {
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3279 public:
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow* parent, const wxWindowID id,
3282 const wxPoint& pos = wxDefaultPosition,
3283 const wxSize& size = wxDefaultSize,
3284 long style = 0,
3285 const wxString& name = wxPyPanelNameStr)
3286 : wxWindow(parent, id, pos, size, style, name) {}
3287
3288
3289 bool DoEraseBackground(wxDC* dc) {
3290 #ifdef __WXMSW__
3291 return wxWindow::DoEraseBackground(dc->GetHDC());
3292 #else
3293 dc->SetBackground(wxBrush(GetBackgroundColour()));
3294 dc->Clear();
3295 return true;
3296 #endif
3297 }
3298
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3303
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3307
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3310
3311 DEC_PYCALLBACK__(InitDialog);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3314 DEC_PYCALLBACK_BOOL_(Validate);
3315
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3319
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3322
3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3325
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3327
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3329
3330 PYPRIVATE;
3331 };
3332
3333 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3334
3335 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3336 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3339
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3343
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3346
3347 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3351
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3354 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3355
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3358
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3360 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3361
3362 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3363
3364 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3365
3366 // C++ version of Python aware wxPanel
3367 class wxPyPanel : public wxPanel
3368 {
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3370 public:
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow* parent, const wxWindowID id,
3373 const wxPoint& pos = wxDefaultPosition,
3374 const wxSize& size = wxDefaultSize,
3375 long style = 0,
3376 const wxString& name = wxPyPanelNameStr)
3377 : wxPanel(parent, id, pos, size, style, name) {}
3378
3379 bool DoEraseBackground(wxDC* dc) {
3380 #ifdef __WXMSW__
3381 return wxWindow::DoEraseBackground(dc->GetHDC());
3382 #else
3383 dc->SetBackground(wxBrush(GetBackgroundColour()));
3384 dc->Clear();
3385 return true;
3386 #endif
3387 }
3388
3389
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3394
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3398
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3401
3402 DEC_PYCALLBACK__(InitDialog);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3405 DEC_PYCALLBACK_BOOL_(Validate);
3406
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3410
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3413
3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3416
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3418
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3420
3421 PYPRIVATE;
3422 };
3423
3424 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3425
3426 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3427 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3430
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3434
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3437
3438 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3442
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3445 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3446
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3451 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3452
3453 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3454
3455 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3456
3457 // C++ version of Python aware wxScrolledWindow
3458 class wxPyScrolledWindow : public wxScrolledWindow
3459 {
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3461 public:
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3464 const wxPoint& pos = wxDefaultPosition,
3465 const wxSize& size = wxDefaultSize,
3466 long style = 0,
3467 const wxString& name = wxPyPanelNameStr)
3468 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3469
3470 bool DoEraseBackground(wxDC* dc) {
3471 #ifdef __WXMSW__
3472 return wxWindow::DoEraseBackground(dc->GetHDC());
3473 #else
3474 dc->SetBackground(wxBrush(GetBackgroundColour()));
3475 dc->Clear();
3476 return true;
3477 #endif
3478 }
3479
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3484
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3488
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3491
3492 DEC_PYCALLBACK__(InitDialog);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3495 DEC_PYCALLBACK_BOOL_(Validate);
3496
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3500
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3503
3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3506
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3508
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3510
3511 PYPRIVATE;
3512 };
3513
3514 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3515
3516 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3517 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3520
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3524
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3527
3528 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3536
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3539
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3541 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3542
3543 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3544
3545 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3546
3547
3548 #include "wx/wxPython/printfw.h"
3549
3550
3551 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3553 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3554 PyObject* data;
3555 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3556 data = PyString_FromStringAndSize(self->GetPrivData(),
3557 self->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked);
3559 return data;
3560 }
3561 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3562 if (! PyString_Check(data)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3564 "Expected string object"));
3565 return /* NULL */ ;
3566 }
3567
3568 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3569 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3570 wxPyEndBlockThreads(blocked);
3571 }
3572
3573
3574 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3575
3576 // Since this one would be tough and ugly to do with the Macros...
3577 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3578 bool hadErr = false;
3579 bool found;
3580
3581 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3582 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3583 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3584 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3585 PyObject* val;
3586
3587 val = PyTuple_GetItem(result, 0);
3588 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 1);
3592 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3593 else hadErr = true;
3594
3595 val = PyTuple_GetItem(result, 2);
3596 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 3);
3600 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3601 else hadErr = true;
3602 }
3603 else
3604 hadErr = true;
3605
3606 if (hadErr) {
3607 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3608 PyErr_Print();
3609 }
3610 Py_DECREF(result);
3611 }
3612 wxPyEndBlockThreads(blocked);
3613 if (! found)
3614 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3615 }
3616
3617
3618
3619 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3620 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3623 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3624 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3625 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3626
3627
3628
3629
3630
3631 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3633
3634
3635 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3637 bool rval=false; \
3638 bool found; \
3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3644 Py_DECREF(win); \
3645 Py_DECREF(dc); \
3646 } \
3647 wxPyEndBlockThreads(blocked); \
3648 if (! found) \
3649 rval = PCLASS::CBNAME(a, b); \
3650 return rval; \
3651 }
3652
3653
3654
3655
3656 class wxPyPrintPreview : public wxPrintPreview
3657 {
3658 DECLARE_CLASS(wxPyPrintPreview)
3659 public:
3660 wxPyPrintPreview(wxPyPrintout* printout,
3661 wxPyPrintout* printoutForPrinting,
3662 wxPrintDialogData* data=NULL)
3663 : wxPrintPreview(printout, printoutForPrinting, data)
3664 {}
3665 wxPyPrintPreview(wxPyPrintout* printout,
3666 wxPyPrintout* printoutForPrinting,
3667 wxPrintData* data)
3668 : wxPrintPreview(printout, printoutForPrinting, data)
3669 {}
3670
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling);
3678
3679 PYPRIVATE;
3680 };
3681
3682 // Stupid renamed classes... Fix this in 2.5...
3683 #if defined(__WXMSW__)
3684 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3685 #elif defined(__WXMAC__)
3686 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3687 #else
3688 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3689 #endif
3690
3691 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3694 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3695 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3696 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3697 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3698
3699
3700 class wxPyPreviewFrame : public wxPreviewFrame
3701 {
3702 DECLARE_CLASS(wxPyPreviewFrame)
3703 public:
3704 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3705 const wxString& title,
3706 const wxPoint& pos = wxDefaultPosition,
3707 const wxSize& size = wxDefaultSize,
3708 long style = wxDEFAULT_FRAME_STYLE,
3709 const wxString& name = wxPyFrameNameStr)
3710 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3711 {}
3712
3713 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3714 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3715
3716 DEC_PYCALLBACK_VOID_(Initialize);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar);
3719
3720 PYPRIVATE;
3721 };
3722
3723 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3724
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3728
3729
3730 class wxPyPreviewControlBar : public wxPreviewControlBar
3731 {
3732 DECLARE_CLASS(wxPyPreviewControlBar)
3733 public:
3734 wxPyPreviewControlBar(wxPrintPreview *preview,
3735 long buttons,
3736 wxWindow *parent,
3737 const wxPoint& pos = wxDefaultPosition,
3738 const wxSize& size = wxDefaultSize,
3739 long style = 0,
3740 const wxString& name = wxPyPanelNameStr)
3741 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3742 {}
3743
3744 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3745
3746 DEC_PYCALLBACK_VOID_(CreateButtons);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3748
3749 PYPRIVATE;
3750 };
3751
3752 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3753 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3754 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3755
3756 #ifdef __cplusplus
3757 extern "C" {
3758 #endif
3759 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxWindow *arg1 = (wxWindow *) 0 ;
3762 int arg2 = (int) (int)-1 ;
3763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3765 wxSize const &arg4_defvalue = wxDefaultSize ;
3766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3767 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3769 wxString *arg6 = (wxString *) &arg6_defvalue ;
3770 wxPanel *result = 0 ;
3771 void *argp1 = 0 ;
3772 int res1 = 0 ;
3773 int val2 ;
3774 int ecode2 = 0 ;
3775 wxPoint temp3 ;
3776 wxSize temp4 ;
3777 long val5 ;
3778 int ecode5 = 0 ;
3779 bool temp6 = false ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 PyObject * obj2 = 0 ;
3783 PyObject * obj3 = 0 ;
3784 PyObject * obj4 = 0 ;
3785 PyObject * obj5 = 0 ;
3786 char * kwnames[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3788 };
3789
3790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3792 if (!SWIG_IsOK(res1)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 }
3795 arg1 = reinterpret_cast< wxWindow * >(argp1);
3796 if (obj1) {
3797 ecode2 = SWIG_AsVal_int(obj1, &val2);
3798 if (!SWIG_IsOK(ecode2)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 }
3801 arg2 = static_cast< int >(val2);
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 ecode5 = SWIG_AsVal_long(obj4, &val5);
3817 if (!SWIG_IsOK(ecode5)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 }
3820 arg5 = static_cast< long >(val5);
3821 }
3822 if (obj5) {
3823 {
3824 arg6 = wxString_in_helper(obj5);
3825 if (arg6 == NULL) SWIG_fail;
3826 temp6 = true;
3827 }
3828 }
3829 {
3830 if (!wxPyCheckForApp()) SWIG_fail;
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3837 {
3838 if (temp6)
3839 delete arg6;
3840 }
3841 return resultobj;
3842 fail:
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return NULL;
3848 }
3849
3850
3851 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3852 PyObject *resultobj = 0;
3853 wxPanel *result = 0 ;
3854
3855 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3856 {
3857 if (!wxPyCheckForApp()) SWIG_fail;
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPanel *)new wxPanel();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3864 return resultobj;
3865 fail:
3866 return NULL;
3867 }
3868
3869
3870 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj = 0;
3872 wxPanel *arg1 = (wxPanel *) 0 ;
3873 wxWindow *arg2 = (wxWindow *) 0 ;
3874 int arg3 = (int) (int)-1 ;
3875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3877 wxSize const &arg5_defvalue = wxDefaultSize ;
3878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3879 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3880 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3881 wxString *arg7 = (wxString *) &arg7_defvalue ;
3882 bool result;
3883 void *argp1 = 0 ;
3884 int res1 = 0 ;
3885 void *argp2 = 0 ;
3886 int res2 = 0 ;
3887 int val3 ;
3888 int ecode3 = 0 ;
3889 wxPoint temp4 ;
3890 wxSize temp5 ;
3891 long val6 ;
3892 int ecode6 = 0 ;
3893 bool temp7 = false ;
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 PyObject * obj2 = 0 ;
3897 PyObject * obj3 = 0 ;
3898 PyObject * obj4 = 0 ;
3899 PyObject * obj5 = 0 ;
3900 PyObject * obj6 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 }
3910 arg1 = reinterpret_cast< wxPanel * >(argp1);
3911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3912 if (!SWIG_IsOK(res2)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 }
3915 arg2 = reinterpret_cast< wxWindow * >(argp2);
3916 if (obj2) {
3917 ecode3 = SWIG_AsVal_int(obj2, &val3);
3918 if (!SWIG_IsOK(ecode3)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 }
3921 arg3 = static_cast< int >(val3);
3922 }
3923 if (obj3) {
3924 {
3925 arg4 = &temp4;
3926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3927 }
3928 }
3929 if (obj4) {
3930 {
3931 arg5 = &temp5;
3932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3933 }
3934 }
3935 if (obj5) {
3936 ecode6 = SWIG_AsVal_long(obj5, &val6);
3937 if (!SWIG_IsOK(ecode6)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 }
3940 arg6 = static_cast< long >(val6);
3941 }
3942 if (obj6) {
3943 {
3944 arg7 = wxString_in_helper(obj6);
3945 if (arg7 == NULL) SWIG_fail;
3946 temp7 = true;
3947 }
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3957 }
3958 {
3959 if (temp7)
3960 delete arg7;
3961 }
3962 return resultobj;
3963 fail:
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return NULL;
3969 }
3970
3971
3972 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973 PyObject *resultobj = 0;
3974 wxPanel *arg1 = (wxPanel *) 0 ;
3975 void *argp1 = 0 ;
3976 int res1 = 0 ;
3977 PyObject *swig_obj[1] ;
3978
3979 if (!args) SWIG_fail;
3980 swig_obj[0] = args;
3981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3982 if (!SWIG_IsOK(res1)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 }
3985 arg1 = reinterpret_cast< wxPanel * >(argp1);
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_Py_Void();
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj = 0;
4001 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4002 SwigValueWrapper<wxVisualAttributes > result;
4003 int val1 ;
4004 int ecode1 = 0 ;
4005 PyObject * obj0 = 0 ;
4006 char * kwnames[] = {
4007 (char *) "variant", NULL
4008 };
4009
4010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4011 if (obj0) {
4012 ecode1 = SWIG_AsVal_int(obj0, &val1);
4013 if (!SWIG_IsOK(ecode1)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 }
4016 arg1 = static_cast< wxWindowVariant >(val1);
4017 }
4018 {
4019 if (!wxPyCheckForApp()) SWIG_fail;
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = wxPanel::GetClassDefaultAttributes(arg1);
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4026 return resultobj;
4027 fail:
4028 return NULL;
4029 }
4030
4031
4032 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 PyObject *obj;
4034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4036 return SWIG_Py_Void();
4037 }
4038
4039 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 return SWIG_Python_InitShadowInstance(args);
4041 }
4042
4043 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj = 0;
4045 wxWindow *arg1 = (wxWindow *) 0 ;
4046 int arg2 = (int) (int)-1 ;
4047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4049 wxSize const &arg4_defvalue = wxDefaultSize ;
4050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4051 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4052 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4053 wxString *arg6 = (wxString *) &arg6_defvalue ;
4054 wxScrolledWindow *result = 0 ;
4055 void *argp1 = 0 ;
4056 int res1 = 0 ;
4057 int val2 ;
4058 int ecode2 = 0 ;
4059 wxPoint temp3 ;
4060 wxSize temp4 ;
4061 long val5 ;
4062 int ecode5 = 0 ;
4063 bool temp6 = false ;
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 PyObject * obj2 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj4 = 0 ;
4069 PyObject * obj5 = 0 ;
4070 char * kwnames[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4072 };
4073
4074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4076 if (!SWIG_IsOK(res1)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 }
4079 arg1 = reinterpret_cast< wxWindow * >(argp1);
4080 if (obj1) {
4081 ecode2 = SWIG_AsVal_int(obj1, &val2);
4082 if (!SWIG_IsOK(ecode2)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 }
4085 arg2 = static_cast< int >(val2);
4086 }
4087 if (obj2) {
4088 {
4089 arg3 = &temp3;
4090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4091 }
4092 }
4093 if (obj3) {
4094 {
4095 arg4 = &temp4;
4096 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4097 }
4098 }
4099 if (obj4) {
4100 ecode5 = SWIG_AsVal_long(obj4, &val5);
4101 if (!SWIG_IsOK(ecode5)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 }
4104 arg5 = static_cast< long >(val5);
4105 }
4106 if (obj5) {
4107 {
4108 arg6 = wxString_in_helper(obj5);
4109 if (arg6 == NULL) SWIG_fail;
4110 temp6 = true;
4111 }
4112 }
4113 {
4114 if (!wxPyCheckForApp()) SWIG_fail;
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4121 {
4122 if (temp6)
4123 delete arg6;
4124 }
4125 return resultobj;
4126 fail:
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *result = 0 ;
4138
4139 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4140 {
4141 if (!wxPyCheckForApp()) SWIG_fail;
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxScrolledWindow *)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj = 0;
4156 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
4158 int arg3 = (int) (int)-1 ;
4159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4161 wxSize const &arg5_defvalue = wxDefaultSize ;
4162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4163 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4164 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4165 wxString *arg7 = (wxString *) &arg7_defvalue ;
4166 bool result;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 void *argp2 = 0 ;
4170 int res2 = 0 ;
4171 int val3 ;
4172 int ecode3 = 0 ;
4173 wxPoint temp4 ;
4174 wxSize temp5 ;
4175 long val6 ;
4176 int ecode6 = 0 ;
4177 bool temp7 = false ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 PyObject * obj3 = 0 ;
4182 PyObject * obj4 = 0 ;
4183 PyObject * obj5 = 0 ;
4184 PyObject * obj6 = 0 ;
4185 char * kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 };
4188
4189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4191 if (!SWIG_IsOK(res1)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 }
4194 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4196 if (!SWIG_IsOK(res2)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 }
4199 arg2 = reinterpret_cast< wxWindow * >(argp2);
4200 if (obj2) {
4201 ecode3 = SWIG_AsVal_int(obj2, &val3);
4202 if (!SWIG_IsOK(ecode3)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 }
4205 arg3 = static_cast< int >(val3);
4206 }
4207 if (obj3) {
4208 {
4209 arg4 = &temp4;
4210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4211 }
4212 }
4213 if (obj4) {
4214 {
4215 arg5 = &temp5;
4216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4217 }
4218 }
4219 if (obj5) {
4220 ecode6 = SWIG_AsVal_long(obj5, &val6);
4221 if (!SWIG_IsOK(ecode6)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 }
4224 arg6 = static_cast< long >(val6);
4225 }
4226 if (obj6) {
4227 {
4228 arg7 = wxString_in_helper(obj6);
4229 if (arg7 == NULL) SWIG_fail;
4230 temp7 = true;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4241 }
4242 {
4243 if (temp7)
4244 delete arg7;
4245 }
4246 return resultobj;
4247 fail:
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return NULL;
4253 }
4254
4255
4256 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj = 0;
4258 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4259 int arg2 ;
4260 int arg3 ;
4261 int arg4 ;
4262 int arg5 ;
4263 int arg6 = (int) 0 ;
4264 int arg7 = (int) 0 ;
4265 bool arg8 = (bool) false ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 int val2 ;
4269 int ecode2 = 0 ;
4270 int val3 ;
4271 int ecode3 = 0 ;
4272 int val4 ;
4273 int ecode4 = 0 ;
4274 int val5 ;
4275 int ecode5 = 0 ;
4276 int val6 ;
4277 int ecode6 = 0 ;
4278 int val7 ;
4279 int ecode7 = 0 ;
4280 bool val8 ;
4281 int ecode8 = 0 ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 PyObject * obj2 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj5 = 0 ;
4288 PyObject * obj6 = 0 ;
4289 PyObject * obj7 = 0 ;
4290 char * kwnames[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4292 };
4293
4294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4296 if (!SWIG_IsOK(res1)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 }
4299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4300 ecode2 = SWIG_AsVal_int(obj1, &val2);
4301 if (!SWIG_IsOK(ecode2)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 }
4304 arg2 = static_cast< int >(val2);
4305 ecode3 = SWIG_AsVal_int(obj2, &val3);
4306 if (!SWIG_IsOK(ecode3)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 }
4309 arg3 = static_cast< int >(val3);
4310 ecode4 = SWIG_AsVal_int(obj3, &val4);
4311 if (!SWIG_IsOK(ecode4)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 }
4314 arg4 = static_cast< int >(val4);
4315 ecode5 = SWIG_AsVal_int(obj4, &val5);
4316 if (!SWIG_IsOK(ecode5)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 }
4319 arg5 = static_cast< int >(val5);
4320 if (obj5) {
4321 ecode6 = SWIG_AsVal_int(obj5, &val6);
4322 if (!SWIG_IsOK(ecode6)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 }
4325 arg6 = static_cast< int >(val6);
4326 }
4327 if (obj6) {
4328 ecode7 = SWIG_AsVal_int(obj6, &val7);
4329 if (!SWIG_IsOK(ecode7)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 }
4332 arg7 = static_cast< int >(val7);
4333 }
4334 if (obj7) {
4335 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4336 if (!SWIG_IsOK(ecode8)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 }
4339 arg8 = static_cast< bool >(val8);
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_Py_Void();
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj = 0;
4356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4357 int arg2 ;
4358 int arg3 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 int val2 ;
4362 int ecode2 = 0 ;
4363 int val3 ;
4364 int ecode3 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 PyObject * obj2 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->Scroll(arg2,arg3);
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = SWIG_Py_Void();
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj = 0;
4403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4404 int arg2 ;
4405 int result;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 int val2 ;
4409 int ecode2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "orient", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 }
4421 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4422 ecode2 = SWIG_AsVal_int(obj1, &val2);
4423 if (!SWIG_IsOK(ecode2)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 }
4426 arg2 = static_cast< int >(val2);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_From_int(static_cast< int >(result));
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4443 int arg2 ;
4444 int arg3 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 int val2 ;
4448 int ecode2 = 0 ;
4449 int val3 ;
4450 int ecode3 = 0 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 PyObject * obj2 = 0 ;
4454 char * kwnames[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4456 };
4457
4458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4460 if (!SWIG_IsOK(res1)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 }
4463 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4464 ecode2 = SWIG_AsVal_int(obj1, &val2);
4465 if (!SWIG_IsOK(ecode2)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 }
4468 arg2 = static_cast< int >(val2);
4469 ecode3 = SWIG_AsVal_int(obj2, &val3);
4470 if (!SWIG_IsOK(ecode3)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 }
4473 arg3 = static_cast< int >(val3);
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetScrollPageSize(arg2,arg3);
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 resultobj = SWIG_Py_Void();
4481 return resultobj;
4482 fail:
4483 return NULL;
4484 }
4485
4486
4487 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj = 0;
4489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4490 int arg2 ;
4491 int arg3 ;
4492 void *argp1 = 0 ;
4493 int res1 = 0 ;
4494 int val2 ;
4495 int ecode2 = 0 ;
4496 int val3 ;
4497 int ecode3 = 0 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 PyObject * obj2 = 0 ;
4501 char * kwnames[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4503 };
4504
4505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4507 if (!SWIG_IsOK(res1)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 }
4510 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4511 ecode2 = SWIG_AsVal_int(obj1, &val2);
4512 if (!SWIG_IsOK(ecode2)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 }
4515 arg2 = static_cast< int >(val2);
4516 ecode3 = SWIG_AsVal_int(obj2, &val3);
4517 if (!SWIG_IsOK(ecode3)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 }
4520 arg3 = static_cast< int >(val3);
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetScrollRate(arg2,arg3);
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_Py_Void();
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 PyObject *resultobj = 0;
4536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4537 int *arg2 = (int *) 0 ;
4538 int *arg3 = (int *) 0 ;
4539 void *argp1 = 0 ;
4540 int res1 = 0 ;
4541 int temp2 ;
4542 int res2 = SWIG_TMPOBJ ;
4543 int temp3 ;
4544 int res3 = SWIG_TMPOBJ ;
4545 PyObject *swig_obj[1] ;
4546
4547 arg2 = &temp2;
4548 arg3 = &temp3;
4549 if (!args) SWIG_fail;
4550 swig_obj[0] = args;
4551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4552 if (!SWIG_IsOK(res1)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 }
4555 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2)) {
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4565 } else {
4566 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4568 }
4569 if (SWIG_IsTmpObj(res3)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj = 0;
4583 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4584 bool arg2 ;
4585 bool arg3 ;
4586 void *argp1 = 0 ;
4587 int res1 = 0 ;
4588 bool val2 ;
4589 int ecode2 = 0 ;
4590 bool val3 ;
4591 int ecode3 = 0 ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 char * kwnames[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4597 };
4598
4599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4601 if (!SWIG_IsOK(res1)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 }
4604 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4606 if (!SWIG_IsOK(ecode2)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 }
4609 arg2 = static_cast< bool >(val2);
4610 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4611 if (!SWIG_IsOK(ecode3)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 }
4614 arg3 = static_cast< bool >(val3);
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 (arg1)->EnableScrolling(arg2,arg3);
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 resultobj = SWIG_Py_Void();
4622 return resultobj;
4623 fail:
4624 return NULL;
4625 }
4626
4627
4628 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 PyObject *resultobj = 0;
4630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4631 int *arg2 = (int *) 0 ;
4632 int *arg3 = (int *) 0 ;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 int temp2 ;
4636 int res2 = SWIG_TMPOBJ ;
4637 int temp3 ;
4638 int res3 = SWIG_TMPOBJ ;
4639 PyObject *swig_obj[1] ;
4640
4641 arg2 = &temp2;
4642 arg3 = &temp3;
4643 if (!args) SWIG_fail;
4644 swig_obj[0] = args;
4645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4646 if (!SWIG_IsOK(res1)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 }
4649 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2)) {
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4659 } else {
4660 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4662 }
4663 if (SWIG_IsTmpObj(res3)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4668 }
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj = 0;
4677 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4678 double arg2 ;
4679 double arg3 ;
4680 void *argp1 = 0 ;
4681 int res1 = 0 ;
4682 double val2 ;
4683 int ecode2 = 0 ;
4684 double val3 ;
4685 int ecode3 = 0 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char * kwnames[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4691 };
4692
4693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4695 if (!SWIG_IsOK(res1)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 }
4698 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4699 ecode2 = SWIG_AsVal_double(obj1, &val2);
4700 if (!SWIG_IsOK(ecode2)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 }
4703 arg2 = static_cast< double >(val2);
4704 ecode3 = SWIG_AsVal_double(obj2, &val3);
4705 if (!SWIG_IsOK(ecode3)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 }
4708 arg3 = static_cast< double >(val3);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetScale(arg2,arg3);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_Py_Void();
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4725 double result;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 }
4736 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_From_double(static_cast< double >(result));
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4751 PyObject *resultobj = 0;
4752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4753 double result;
4754 void *argp1 = 0 ;
4755 int res1 = 0 ;
4756 PyObject *swig_obj[1] ;
4757
4758 if (!args) SWIG_fail;
4759 swig_obj[0] = args;
4760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 }
4764 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_From_double(static_cast< double >(result));
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4779 PyObject *resultobj = 0;
4780 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4781 wxPoint *arg2 = 0 ;
4782 wxPoint result;
4783 void *argp1 = 0 ;
4784 int res1 = 0 ;
4785 wxPoint temp2 ;
4786
4787 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 }
4792 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4793 {
4794 arg2 = &temp2;
4795 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4811 PyObject *resultobj = 0;
4812 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4813 int arg2 ;
4814 int arg3 ;
4815 int *arg4 = (int *) 0 ;
4816 int *arg5 = (int *) 0 ;
4817 void *argp1 = 0 ;
4818 int res1 = 0 ;
4819 int val2 ;
4820 int ecode2 = 0 ;
4821 int val3 ;
4822 int ecode3 = 0 ;
4823 int temp4 ;
4824 int res4 = SWIG_TMPOBJ ;
4825 int temp5 ;
4826 int res5 = SWIG_TMPOBJ ;
4827
4828 arg4 = &temp4;
4829 arg5 = &temp5;
4830 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 }
4835 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4836 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4837 if (!SWIG_IsOK(ecode2)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 }
4840 arg2 = static_cast< int >(val2);
4841 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4842 if (!SWIG_IsOK(ecode3)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 }
4845 arg3 = static_cast< int >(val3);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4)) {
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4855 } else {
4856 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4858 }
4859 if (SWIG_IsTmpObj(res5)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4872 int argc;
4873 PyObject *argv[4];
4874
4875 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4876 --argc;
4877 if (argc == 2) {
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4879 }
4880 if (argc == 3) {
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4882 }
4883
4884 fail:
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4886 return NULL;
4887 }
4888
4889
4890 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4891 PyObject *resultobj = 0;
4892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4893 wxPoint *arg2 = 0 ;
4894 wxPoint result;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 wxPoint temp2 ;
4898
4899 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4901 if (!SWIG_IsOK(res1)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 }
4904 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4905 {
4906 arg2 = &temp2;
4907 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4923 PyObject *resultobj = 0;
4924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4925 int arg2 ;
4926 int arg3 ;
4927 int *arg4 = (int *) 0 ;
4928 int *arg5 = (int *) 0 ;
4929 void *argp1 = 0 ;
4930 int res1 = 0 ;
4931 int val2 ;
4932 int ecode2 = 0 ;
4933 int val3 ;
4934 int ecode3 = 0 ;
4935 int temp4 ;
4936 int res4 = SWIG_TMPOBJ ;
4937 int temp5 ;
4938 int res5 = SWIG_TMPOBJ ;
4939
4940 arg4 = &temp4;
4941 arg5 = &temp5;
4942 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4944 if (!SWIG_IsOK(res1)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 }
4947 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4948 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4949 if (!SWIG_IsOK(ecode2)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 }
4952 arg2 = static_cast< int >(val2);
4953 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4954 if (!SWIG_IsOK(ecode3)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 }
4957 arg3 = static_cast< int >(val3);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4)) {
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4967 } else {
4968 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4970 }
4971 if (SWIG_IsTmpObj(res5)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4984 int argc;
4985 PyObject *argv[4];
4986
4987 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4988 --argc;
4989 if (argc == 2) {
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4991 }
4992 if (argc == 3) {
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4994 }
4995
4996 fail:
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4998 return NULL;
4999 }
5000
5001
5002 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 }
5015 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 resultobj = SWIG_Py_Void();
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = 0;
5031 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5032 wxScrollWinEvent *arg2 = 0 ;
5033 int result;
5034 void *argp1 = 0 ;
5035 int res1 = 0 ;
5036 void *argp2 = 0 ;
5037 int res2 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char * kwnames[] = {
5041 (char *) "self",(char *) "event", NULL
5042 };
5043
5044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5046 if (!SWIG_IsOK(res1)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 }
5049 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5051 if (!SWIG_IsOK(res2)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5053 }
5054 if (!argp2) {
5055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 }
5057 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (int)(arg1)->CalcScrollInc(*arg2);
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = SWIG_From_int(static_cast< int >(result));
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj = 0;
5073 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5074 wxWindow *arg2 = (wxWindow *) 0 ;
5075 void *argp1 = 0 ;
5076 int res1 = 0 ;
5077 void *argp2 = 0 ;
5078 int res2 = 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char * kwnames[] = {
5082 (char *) "self",(char *) "target", NULL
5083 };
5084
5085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5087 if (!SWIG_IsOK(res1)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 }
5090 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5092 if (!SWIG_IsOK(res2)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 }
5095 arg2 = reinterpret_cast< wxWindow * >(argp2);
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetTargetWindow(arg2);
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_Py_Void();
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5110 PyObject *resultobj = 0;
5111 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5112 wxWindow *result = 0 ;
5113 void *argp1 = 0 ;
5114 int res1 = 0 ;
5115 PyObject *swig_obj[1] ;
5116
5117 if (!args) SWIG_fail;
5118 swig_obj[0] = args;
5119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5120 if (!SWIG_IsOK(res1)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 }
5123 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = wxPyMake_wxObject(result, 0);
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj = 0;
5141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5142 wxDC *arg2 = 0 ;
5143 void *argp1 = 0 ;
5144 int res1 = 0 ;
5145 void *argp2 = 0 ;
5146 int res2 = 0 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char * kwnames[] = {
5150 (char *) "self",(char *) "dc", NULL
5151 };
5152
5153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5155 if (!SWIG_IsOK(res1)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 }
5158 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5159 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5160 if (!SWIG_IsOK(res2)) {
5161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5162 }
5163 if (!argp2) {
5164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5165 }
5166 arg2 = reinterpret_cast< wxDC * >(argp2);
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->DoPrepareDC(*arg2);
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = SWIG_Py_Void();
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj = 0;
5182 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5183 SwigValueWrapper<wxVisualAttributes > result;
5184 int val1 ;
5185 int ecode1 = 0 ;
5186 PyObject * obj0 = 0 ;
5187 char * kwnames[] = {
5188 (char *) "variant", NULL
5189 };
5190
5191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5192 if (obj0) {
5193 ecode1 = SWIG_AsVal_int(obj0, &val1);
5194 if (!SWIG_IsOK(ecode1)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5196 }
5197 arg1 = static_cast< wxWindowVariant >(val1);
5198 }
5199 {
5200 if (!wxPyCheckForApp()) SWIG_fail;
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5214 PyObject *obj;
5215 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5216 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5217 return SWIG_Py_Void();
5218 }
5219
5220 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5221 return SWIG_Python_InitShadowInstance(args);
5222 }
5223
5224 SWIGINTERN int FrameNameStr_set(PyObject *) {
5225 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5226 return 1;
5227 }
5228
5229
5230 SWIGINTERN PyObject *FrameNameStr_get(void) {
5231 PyObject *pyobj = 0;
5232
5233 {
5234 #if wxUSE_UNICODE
5235 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5236 #else
5237 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5238 #endif
5239 }
5240 return pyobj;
5241 }
5242
5243
5244 SWIGINTERN int DialogNameStr_set(PyObject *) {
5245 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5246 return 1;
5247 }
5248
5249
5250 SWIGINTERN PyObject *DialogNameStr_get(void) {
5251 PyObject *pyobj = 0;
5252
5253 {
5254 #if wxUSE_UNICODE
5255 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5256 #else
5257 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5258 #endif
5259 }
5260 return pyobj;
5261 }
5262
5263
5264 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5265 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5266 return 1;
5267 }
5268
5269
5270 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5271 PyObject *pyobj = 0;
5272
5273 {
5274 #if wxUSE_UNICODE
5275 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5276 #else
5277 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5278 #endif
5279 }
5280 return pyobj;
5281 }
5282
5283
5284 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5285 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5286 return 1;
5287 }
5288
5289
5290 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5291 PyObject *pyobj = 0;
5292
5293 {
5294 #if wxUSE_UNICODE
5295 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5296 #else
5297 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5298 #endif
5299 }
5300 return pyobj;
5301 }
5302
5303
5304 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj = 0;
5306 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5307 bool arg2 = (bool) true ;
5308 void *argp1 = 0 ;
5309 int res1 = 0 ;
5310 bool val2 ;
5311 int ecode2 = 0 ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 char * kwnames[] = {
5315 (char *) "self",(char *) "maximize", NULL
5316 };
5317
5318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5320 if (!SWIG_IsOK(res1)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5322 }
5323 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5324 if (obj1) {
5325 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5326 if (!SWIG_IsOK(ecode2)) {
5327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5328 }
5329 arg2 = static_cast< bool >(val2);
5330 }
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 (arg1)->Maximize(arg2);
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_Py_Void();
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5345 PyObject *resultobj = 0;
5346 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5347 void *argp1 = 0 ;
5348 int res1 = 0 ;
5349 PyObject *swig_obj[1] ;
5350
5351 if (!args) SWIG_fail;
5352 swig_obj[0] = args;
5353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5354 if (!SWIG_IsOK(res1)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5356 }
5357 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->Restore();
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 resultobj = SWIG_Py_Void();
5365 return resultobj;
5366 fail:
5367 return NULL;
5368 }
5369
5370
5371 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj = 0;
5373 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5374 bool arg2 = (bool) true ;
5375 void *argp1 = 0 ;
5376 int res1 = 0 ;
5377 bool val2 ;
5378 int ecode2 = 0 ;
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
5381 char * kwnames[] = {
5382 (char *) "self",(char *) "iconize", NULL
5383 };
5384
5385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5387 if (!SWIG_IsOK(res1)) {
5388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5389 }
5390 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5391 if (obj1) {
5392 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5393 if (!SWIG_IsOK(ecode2)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5395 }
5396 arg2 = static_cast< bool >(val2);
5397 }
5398 {
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 (arg1)->Iconize(arg2);
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_Py_Void();
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5412 PyObject *resultobj = 0;
5413 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5414 bool result;
5415 void *argp1 = 0 ;
5416 int res1 = 0 ;
5417 PyObject *swig_obj[1] ;
5418
5419 if (!args) SWIG_fail;
5420 swig_obj[0] = args;
5421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5422 if (!SWIG_IsOK(res1)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5424 }
5425 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 {
5433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5434 }
5435 return resultobj;
5436 fail:
5437 return NULL;
5438 }
5439
5440
5441 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5442 PyObject *resultobj = 0;
5443 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5444 bool result;
5445 void *argp1 = 0 ;
5446 int res1 = 0 ;
5447 PyObject *swig_obj[1] ;
5448
5449 if (!args) SWIG_fail;
5450 swig_obj[0] = args;
5451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5452 if (!SWIG_IsOK(res1)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5454 }
5455 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 {
5463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5464 }
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5472 PyObject *resultobj = 0;
5473 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5474 bool result;
5475 void *argp1 = 0 ;
5476 int res1 = 0 ;
5477 PyObject *swig_obj[1] ;
5478
5479 if (!args) SWIG_fail;
5480 swig_obj[0] = args;
5481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5482 if (!SWIG_IsOK(res1)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5484 }
5485 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 {
5493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5494 }
5495 return resultobj;
5496 fail:
5497 return NULL;
5498 }
5499
5500
5501 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5502 PyObject *resultobj = 0;
5503 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5504 wxIcon result;
5505 void *argp1 = 0 ;
5506 int res1 = 0 ;
5507 PyObject *swig_obj[1] ;
5508
5509 if (!args) SWIG_fail;
5510 swig_obj[0] = args;
5511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5512 if (!SWIG_IsOK(res1)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5514 }
5515 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj = 0;
5531 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5532 wxIcon *arg2 = 0 ;
5533 void *argp1 = 0 ;
5534 int res1 = 0 ;
5535 void *argp2 = 0 ;
5536 int res2 = 0 ;
5537 PyObject * obj0 = 0 ;
5538 PyObject * obj1 = 0 ;
5539 char * kwnames[] = {
5540 (char *) "self",(char *) "icon", NULL
5541 };
5542
5543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5545 if (!SWIG_IsOK(res1)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5547 }
5548 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5550 if (!SWIG_IsOK(res2)) {
5551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5552 }
5553 if (!argp2) {
5554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5555 }
5556 arg2 = reinterpret_cast< wxIcon * >(argp2);
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 (arg1)->SetIcon((wxIcon const &)*arg2);
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 resultobj = SWIG_Py_Void();
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj = 0;
5572 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5573 wxIconBundle *arg2 = 0 ;
5574 void *argp1 = 0 ;
5575 int res1 = 0 ;
5576 void *argp2 = 0 ;
5577 int res2 = 0 ;
5578 PyObject * obj0 = 0 ;
5579 PyObject * obj1 = 0 ;
5580 char * kwnames[] = {
5581 (char *) "self",(char *) "icons", NULL
5582 };
5583
5584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5586 if (!SWIG_IsOK(res1)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5588 }
5589 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5590 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5591 if (!SWIG_IsOK(res2)) {
5592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5593 }
5594 if (!argp2) {
5595 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5596 }
5597 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = SWIG_Py_Void();
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj = 0;
5613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5614 bool arg2 ;
5615 long arg3 = (long) wxFULLSCREEN_ALL ;
5616 bool result;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 bool val2 ;
5620 int ecode2 = 0 ;
5621 long val3 ;
5622 int ecode3 = 0 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 PyObject * obj2 = 0 ;
5626 char * kwnames[] = {
5627 (char *) "self",(char *) "show",(char *) "style", NULL
5628 };
5629
5630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5632 if (!SWIG_IsOK(res1)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 }
5635 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5636 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5637 if (!SWIG_IsOK(ecode2)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5639 }
5640 arg2 = static_cast< bool >(val2);
5641 if (obj2) {
5642 ecode3 = SWIG_AsVal_long(obj2, &val3);
5643 if (!SWIG_IsOK(ecode3)) {
5644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5645 }
5646 arg3 = static_cast< long >(val3);
5647 }
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 {
5655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5664 PyObject *resultobj = 0;
5665 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5666 bool result;
5667 void *argp1 = 0 ;
5668 int res1 = 0 ;
5669 PyObject *swig_obj[1] ;
5670
5671 if (!args) SWIG_fail;
5672 swig_obj[0] = args;
5673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5674 if (!SWIG_IsOK(res1)) {
5675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5676 }
5677 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5686 }
5687 return resultobj;
5688 fail:
5689 return NULL;
5690 }
5691
5692
5693 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj = 0;
5695 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5696 wxString *arg2 = 0 ;
5697 void *argp1 = 0 ;
5698 int res1 = 0 ;
5699 bool temp2 = false ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 char * kwnames[] = {
5703 (char *) "self",(char *) "title", NULL
5704 };
5705
5706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5708 if (!SWIG_IsOK(res1)) {
5709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5710 }
5711 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5712 {
5713 arg2 = wxString_in_helper(obj1);
5714 if (arg2 == NULL) SWIG_fail;
5715 temp2 = true;
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->SetTitle((wxString const &)*arg2);
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 resultobj = SWIG_Py_Void();
5724 {
5725 if (temp2)
5726 delete arg2;
5727 }
5728 return resultobj;
5729 fail:
5730 {
5731 if (temp2)
5732 delete arg2;
5733 }
5734 return NULL;
5735 }
5736
5737
5738 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5739 PyObject *resultobj = 0;
5740 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5741 wxString result;
5742 void *argp1 = 0 ;
5743 int res1 = 0 ;
5744 PyObject *swig_obj[1] ;
5745
5746 if (!args) SWIG_fail;
5747 swig_obj[0] = args;
5748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5749 if (!SWIG_IsOK(res1)) {
5750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5751 }
5752 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 {
5760 #if wxUSE_UNICODE
5761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5762 #else
5763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5764 #endif
5765 }
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj = 0;
5774 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5775 bool arg2 ;
5776 bool result;
5777 void *argp1 = 0 ;
5778 int res1 = 0 ;
5779 bool val2 ;
5780 int ecode2 = 0 ;
5781 PyObject * obj0 = 0 ;
5782 PyObject * obj1 = 0 ;
5783 char * kwnames[] = {
5784 (char *) "self",(char *) "enable", NULL
5785 };
5786
5787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5789 if (!SWIG_IsOK(res1)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5791 }
5792 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5793 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5794 if (!SWIG_IsOK(ecode2)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5796 }
5797 arg2 = static_cast< bool >(val2);
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (bool)(arg1)->EnableCloseButton(arg2);
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 {
5805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5806 }
5807 return resultobj;
5808 fail:
5809 return NULL;
5810 }
5811
5812
5813 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj = 0;
5815 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5816 wxRegion *arg2 = 0 ;
5817 bool result;
5818 void *argp1 = 0 ;
5819 int res1 = 0 ;
5820 void *argp2 = 0 ;
5821 int res2 = 0 ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 char * kwnames[] = {
5825 (char *) "self",(char *) "region", NULL
5826 };
5827
5828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5830 if (!SWIG_IsOK(res1)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5832 }
5833 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5835 if (!SWIG_IsOK(res2)) {
5836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5837 }
5838 if (!argp2) {
5839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5840 }
5841 arg2 = reinterpret_cast< wxRegion * >(argp2);
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 {
5849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5850 }
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj = 0;
5859 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5860 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5861 void *argp1 = 0 ;
5862 int res1 = 0 ;
5863 int val2 ;
5864 int ecode2 = 0 ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 char * kwnames[] = {
5868 (char *) "self",(char *) "flags", NULL
5869 };
5870
5871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5873 if (!SWIG_IsOK(res1)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5875 }
5876 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5877 if (obj1) {
5878 ecode2 = SWIG_AsVal_int(obj1, &val2);
5879 if (!SWIG_IsOK(ecode2)) {
5880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5881 }
5882 arg2 = static_cast< int >(val2);
5883 }
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 (arg1)->RequestUserAttention(arg2);
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 resultobj = SWIG_Py_Void();
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5898 PyObject *resultobj = 0;
5899 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5900 bool result;
5901 void *argp1 = 0 ;
5902 int res1 = 0 ;
5903 PyObject *swig_obj[1] ;
5904
5905 if (!args) SWIG_fail;
5906 swig_obj[0] = args;
5907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5908 if (!SWIG_IsOK(res1)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 }
5911 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = (bool)(arg1)->IsActive();
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 {
5919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5920 }
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj = 0;
5929 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5930 bool arg2 ;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 bool val2 ;
5934 int ecode2 = 0 ;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
5937 char * kwnames[] = {
5938 (char *) "self",(char *) "on", NULL
5939 };
5940
5941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5943 if (!SWIG_IsOK(res1)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5945 }
5946 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5947 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5948 if (!SWIG_IsOK(ecode2)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5950 }
5951 arg2 = static_cast< bool >(val2);
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 resultobj = SWIG_Py_Void();
5959 return resultobj;
5960 fail:
5961 return NULL;
5962 }
5963
5964
5965 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5966 PyObject *resultobj = 0;
5967 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5968 bool result;
5969 void *argp1 = 0 ;
5970 int res1 = 0 ;
5971 PyObject *swig_obj[1] ;
5972
5973 if (!args) SWIG_fail;
5974 swig_obj[0] = args;
5975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5976 if (!SWIG_IsOK(res1)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5978 }
5979 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 {
5987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5988 }
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj = 0;
5997 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5998 int arg2 = (int) wxBOTH ;
5999 void *argp1 = 0 ;
6000 int res1 = 0 ;
6001 int val2 ;
6002 int ecode2 = 0 ;
6003 PyObject * obj0 = 0 ;
6004 PyObject * obj1 = 0 ;
6005 char * kwnames[] = {
6006 (char *) "self",(char *) "dir", NULL
6007 };
6008
6009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6011 if (!SWIG_IsOK(res1)) {
6012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6013 }
6014 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6015 if (obj1) {
6016 ecode2 = SWIG_AsVal_int(obj1, &val2);
6017 if (!SWIG_IsOK(ecode2)) {
6018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6019 }
6020 arg2 = static_cast< int >(val2);
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 (arg1)->CenterOnScreen(arg2);
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 resultobj = SWIG_Py_Void();
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6036 PyObject *resultobj = 0;
6037 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6038 wxWindow *result = 0 ;
6039 void *argp1 = 0 ;
6040 int res1 = 0 ;
6041 PyObject *swig_obj[1] ;
6042
6043 if (!args) SWIG_fail;
6044 swig_obj[0] = args;
6045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6046 if (!SWIG_IsOK(res1)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6048 }
6049 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 resultobj = wxPyMake_wxObject(result, 0);
6058 }
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj = 0;
6067 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6068 wxWindow *arg2 = (wxWindow *) 0 ;
6069 wxWindow *result = 0 ;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 void *argp2 = 0 ;
6073 int res2 = 0 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "self",(char *) "child", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 }
6085 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6087 if (!SWIG_IsOK(res2)) {
6088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6089 }
6090 arg2 = reinterpret_cast< wxWindow * >(argp2);
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 {
6098 resultobj = wxPyMake_wxObject(result, 0);
6099 }
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj = 0;
6108 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6109 wxWindow *arg2 = (wxWindow *) 0 ;
6110 void *argp1 = 0 ;
6111 int res1 = 0 ;
6112 void *argp2 = 0 ;
6113 int res2 = 0 ;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 char * kwnames[] = {
6117 (char *) "self",(char *) "win", NULL
6118 };
6119
6120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6122 if (!SWIG_IsOK(res1)) {
6123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6124 }
6125 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6126 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6127 if (!SWIG_IsOK(res2)) {
6128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6129 }
6130 arg2 = reinterpret_cast< wxWindow * >(argp2);
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 (arg1)->SetTmpDefaultItem(arg2);
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = SWIG_Py_Void();
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6145 PyObject *resultobj = 0;
6146 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6147 wxWindow *result = 0 ;
6148 void *argp1 = 0 ;
6149 int res1 = 0 ;
6150 PyObject *swig_obj[1] ;
6151
6152 if (!args) SWIG_fail;
6153 swig_obj[0] = args;
6154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6155 if (!SWIG_IsOK(res1)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6157 }
6158 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 {
6166 resultobj = wxPyMake_wxObject(result, 0);
6167 }
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6175 PyObject *obj;
6176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6178 return SWIG_Py_Void();
6179 }
6180
6181 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj = 0;
6183 wxWindow *arg1 = (wxWindow *) 0 ;
6184 int arg2 = (int) (int)-1 ;
6185 wxString const &arg3_defvalue = wxPyEmptyString ;
6186 wxString *arg3 = (wxString *) &arg3_defvalue ;
6187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6189 wxSize const &arg5_defvalue = wxDefaultSize ;
6190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6191 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6192 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6193 wxString *arg7 = (wxString *) &arg7_defvalue ;
6194 wxFrame *result = 0 ;
6195 void *argp1 = 0 ;
6196 int res1 = 0 ;
6197 int val2 ;
6198 int ecode2 = 0 ;
6199 bool temp3 = false ;
6200 wxPoint temp4 ;
6201 wxSize temp5 ;
6202 long val6 ;
6203 int ecode6 = 0 ;
6204 bool temp7 = false ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 PyObject * obj2 = 0 ;
6208 PyObject * obj3 = 0 ;
6209 PyObject * obj4 = 0 ;
6210 PyObject * obj5 = 0 ;
6211 PyObject * obj6 = 0 ;
6212 char * kwnames[] = {
6213 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6214 };
6215
6216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6220 }
6221 arg1 = reinterpret_cast< wxWindow * >(argp1);
6222 if (obj1) {
6223 ecode2 = SWIG_AsVal_int(obj1, &val2);
6224 if (!SWIG_IsOK(ecode2)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6226 }
6227 arg2 = static_cast< int >(val2);
6228 }
6229 if (obj2) {
6230 {
6231 arg3 = wxString_in_helper(obj2);
6232 if (arg3 == NULL) SWIG_fail;
6233 temp3 = true;
6234 }
6235 }
6236 if (obj3) {
6237 {
6238 arg4 = &temp4;
6239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6240 }
6241 }
6242 if (obj4) {
6243 {
6244 arg5 = &temp5;
6245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6246 }
6247 }
6248 if (obj5) {
6249 ecode6 = SWIG_AsVal_long(obj5, &val6);
6250 if (!SWIG_IsOK(ecode6)) {
6251 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6252 }
6253 arg6 = static_cast< long >(val6);
6254 }
6255 if (obj6) {
6256 {
6257 arg7 = wxString_in_helper(obj6);
6258 if (arg7 == NULL) SWIG_fail;
6259 temp7 = true;
6260 }
6261 }
6262 {
6263 if (!wxPyCheckForApp()) SWIG_fail;
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6270 {
6271 if (temp3)
6272 delete arg3;
6273 }
6274 {
6275 if (temp7)
6276 delete arg7;
6277 }
6278 return resultobj;
6279 fail:
6280 {
6281 if (temp3)
6282 delete arg3;
6283 }
6284 {
6285 if (temp7)
6286 delete arg7;
6287 }
6288 return NULL;
6289 }
6290
6291
6292 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6293 PyObject *resultobj = 0;
6294 wxFrame *result = 0 ;
6295
6296 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6297 {
6298 if (!wxPyCheckForApp()) SWIG_fail;
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = (wxFrame *)new wxFrame();
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6305 return resultobj;
6306 fail:
6307 return NULL;
6308 }
6309
6310
6311 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj = 0;
6313 wxFrame *arg1 = (wxFrame *) 0 ;
6314 wxWindow *arg2 = (wxWindow *) 0 ;
6315 int arg3 = (int) (int)-1 ;
6316 wxString const &arg4_defvalue = wxPyEmptyString ;
6317 wxString *arg4 = (wxString *) &arg4_defvalue ;
6318 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6319 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6320 wxSize const &arg6_defvalue = wxDefaultSize ;
6321 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6322 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6323 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6324 wxString *arg8 = (wxString *) &arg8_defvalue ;
6325 bool result;
6326 void *argp1 = 0 ;
6327 int res1 = 0 ;
6328 void *argp2 = 0 ;
6329 int res2 = 0 ;
6330 int val3 ;
6331 int ecode3 = 0 ;
6332 bool temp4 = false ;
6333 wxPoint temp5 ;
6334 wxSize temp6 ;
6335 long val7 ;
6336 int ecode7 = 0 ;
6337 bool temp8 = false ;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 PyObject * obj2 = 0 ;
6341 PyObject * obj3 = 0 ;
6342 PyObject * obj4 = 0 ;
6343 PyObject * obj5 = 0 ;
6344 PyObject * obj6 = 0 ;
6345 PyObject * obj7 = 0 ;
6346 char * kwnames[] = {
6347 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6348 };
6349
6350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6352 if (!SWIG_IsOK(res1)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6354 }
6355 arg1 = reinterpret_cast< wxFrame * >(argp1);
6356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6357 if (!SWIG_IsOK(res2)) {
6358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6359 }
6360 arg2 = reinterpret_cast< wxWindow * >(argp2);
6361 if (obj2) {
6362 ecode3 = SWIG_AsVal_int(obj2, &val3);
6363 if (!SWIG_IsOK(ecode3)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6365 }
6366 arg3 = static_cast< int >(val3);
6367 }
6368 if (obj3) {
6369 {
6370 arg4 = wxString_in_helper(obj3);
6371 if (arg4 == NULL) SWIG_fail;
6372 temp4 = true;
6373 }
6374 }
6375 if (obj4) {
6376 {
6377 arg5 = &temp5;
6378 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6379 }
6380 }
6381 if (obj5) {
6382 {
6383 arg6 = &temp6;
6384 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6385 }
6386 }
6387 if (obj6) {
6388 ecode7 = SWIG_AsVal_long(obj6, &val7);
6389 if (!SWIG_IsOK(ecode7)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6391 }
6392 arg7 = static_cast< long >(val7);
6393 }
6394 if (obj7) {
6395 {
6396 arg8 = wxString_in_helper(obj7);
6397 if (arg8 == NULL) SWIG_fail;
6398 temp8 = true;
6399 }
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 {
6408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6409 }
6410 {
6411 if (temp4)
6412 delete arg4;
6413 }
6414 {
6415 if (temp8)
6416 delete arg8;
6417 }
6418 return resultobj;
6419 fail:
6420 {
6421 if (temp4)
6422 delete arg4;
6423 }
6424 {
6425 if (temp8)
6426 delete arg8;
6427 }
6428 return NULL;
6429 }
6430
6431
6432 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6433 PyObject *resultobj = 0;
6434 wxFrame *arg1 = (wxFrame *) 0 ;
6435 void *argp1 = 0 ;
6436 int res1 = 0 ;
6437 PyObject *swig_obj[1] ;
6438
6439 if (!args) SWIG_fail;
6440 swig_obj[0] = args;
6441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6442 if (!SWIG_IsOK(res1)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6444 }
6445 arg1 = reinterpret_cast< wxFrame * >(argp1);
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 (arg1)->SendSizeEvent();
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 resultobj = SWIG_Py_Void();
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj = 0;
6461 wxFrame *arg1 = (wxFrame *) 0 ;
6462 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6463 void *argp1 = 0 ;
6464 int res1 = 0 ;
6465 void *argp2 = 0 ;
6466 int res2 = 0 ;
6467 PyObject * obj0 = 0 ;
6468 PyObject * obj1 = 0 ;
6469 char * kwnames[] = {
6470 (char *) "self",(char *) "menubar", NULL
6471 };
6472
6473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6475 if (!SWIG_IsOK(res1)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6477 }
6478 arg1 = reinterpret_cast< wxFrame * >(argp1);
6479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6480 if (!SWIG_IsOK(res2)) {
6481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6482 }
6483 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 (arg1)->SetMenuBar(arg2);
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 resultobj = SWIG_Py_Void();
6491 return resultobj;
6492 fail:
6493 return NULL;
6494 }
6495
6496
6497 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6498 PyObject *resultobj = 0;
6499 wxFrame *arg1 = (wxFrame *) 0 ;
6500 wxMenuBar *result = 0 ;
6501 void *argp1 = 0 ;
6502 int res1 = 0 ;
6503 PyObject *swig_obj[1] ;
6504
6505 if (!args) SWIG_fail;
6506 swig_obj[0] = args;
6507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6508 if (!SWIG_IsOK(res1)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6510 }
6511 arg1 = reinterpret_cast< wxFrame * >(argp1);
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 {
6519 resultobj = wxPyMake_wxObject(result, 0);
6520 }
6521 return resultobj;
6522 fail:
6523 return NULL;
6524 }
6525
6526
6527 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6528 PyObject *resultobj = 0;
6529 wxFrame *arg1 = (wxFrame *) 0 ;
6530 int arg2 ;
6531 bool result;
6532 void *argp1 = 0 ;
6533 int res1 = 0 ;
6534 int val2 ;
6535 int ecode2 = 0 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 char * kwnames[] = {
6539 (char *) "self",(char *) "winid", NULL
6540 };
6541
6542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6544 if (!SWIG_IsOK(res1)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6546 }
6547 arg1 = reinterpret_cast< wxFrame * >(argp1);
6548 ecode2 = SWIG_AsVal_int(obj1, &val2);
6549 if (!SWIG_IsOK(ecode2)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6551 }
6552 arg2 = static_cast< int >(val2);
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (bool)(arg1)->ProcessCommand(arg2);
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 {
6560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6561 }
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj = 0;
6570 wxFrame *arg1 = (wxFrame *) 0 ;
6571 int arg2 = (int) 1 ;
6572 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6573 int arg4 = (int) 0 ;
6574 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6575 wxString *arg5 = (wxString *) &arg5_defvalue ;
6576 wxStatusBar *result = 0 ;
6577 void *argp1 = 0 ;
6578 int res1 = 0 ;
6579 int val2 ;
6580 int ecode2 = 0 ;
6581 long val3 ;
6582 int ecode3 = 0 ;
6583 int val4 ;
6584 int ecode4 = 0 ;
6585 bool temp5 = false ;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588 PyObject * obj2 = 0 ;
6589 PyObject * obj3 = 0 ;
6590 PyObject * obj4 = 0 ;
6591 char * kwnames[] = {
6592 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6593 };
6594
6595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6597 if (!SWIG_IsOK(res1)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6599 }
6600 arg1 = reinterpret_cast< wxFrame * >(argp1);
6601 if (obj1) {
6602 ecode2 = SWIG_AsVal_int(obj1, &val2);
6603 if (!SWIG_IsOK(ecode2)) {
6604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6605 }
6606 arg2 = static_cast< int >(val2);
6607 }
6608 if (obj2) {
6609 ecode3 = SWIG_AsVal_long(obj2, &val3);
6610 if (!SWIG_IsOK(ecode3)) {
6611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6612 }
6613 arg3 = static_cast< long >(val3);
6614 }
6615 if (obj3) {
6616 ecode4 = SWIG_AsVal_int(obj3, &val4);
6617 if (!SWIG_IsOK(ecode4)) {
6618 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6619 }
6620 arg4 = static_cast< int >(val4);
6621 }
6622 if (obj4) {
6623 {
6624 arg5 = wxString_in_helper(obj4);
6625 if (arg5 == NULL) SWIG_fail;
6626 temp5 = true;
6627 }
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = wxPyMake_wxObject(result, (bool)0);
6637 }
6638 {
6639 if (temp5)
6640 delete arg5;
6641 }
6642 return resultobj;
6643 fail:
6644 {
6645 if (temp5)
6646 delete arg5;
6647 }
6648 return NULL;
6649 }
6650
6651
6652 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6653 PyObject *resultobj = 0;
6654 wxFrame *arg1 = (wxFrame *) 0 ;
6655 wxStatusBar *result = 0 ;
6656 void *argp1 = 0 ;
6657 int res1 = 0 ;
6658 PyObject *swig_obj[1] ;
6659
6660 if (!args) SWIG_fail;
6661 swig_obj[0] = args;
6662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6663 if (!SWIG_IsOK(res1)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6665 }
6666 arg1 = reinterpret_cast< wxFrame * >(argp1);
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 resultobj = wxPyMake_wxObject(result, (bool)0);
6675 }
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj = 0;
6684 wxFrame *arg1 = (wxFrame *) 0 ;
6685 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 void *argp2 = 0 ;
6689 int res2 = 0 ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char * kwnames[] = {
6693 (char *) "self",(char *) "statBar", NULL
6694 };
6695
6696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6698 if (!SWIG_IsOK(res1)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6700 }
6701 arg1 = reinterpret_cast< wxFrame * >(argp1);
6702 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6703 if (!SWIG_IsOK(res2)) {
6704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6705 }
6706 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 (arg1)->SetStatusBar(arg2);
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_Py_Void();
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj = 0;
6722 wxFrame *arg1 = (wxFrame *) 0 ;
6723 wxString *arg2 = 0 ;
6724 int arg3 = (int) 0 ;
6725 void *argp1 = 0 ;
6726 int res1 = 0 ;
6727 bool temp2 = false ;
6728 int val3 ;
6729 int ecode3 = 0 ;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 PyObject * obj2 = 0 ;
6733 char * kwnames[] = {
6734 (char *) "self",(char *) "text",(char *) "number", NULL
6735 };
6736
6737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6739 if (!SWIG_IsOK(res1)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 }
6742 arg1 = reinterpret_cast< wxFrame * >(argp1);
6743 {
6744 arg2 = wxString_in_helper(obj1);
6745 if (arg2 == NULL) SWIG_fail;
6746 temp2 = true;
6747 }
6748 if (obj2) {
6749 ecode3 = SWIG_AsVal_int(obj2, &val3);
6750 if (!SWIG_IsOK(ecode3)) {
6751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6752 }
6753 arg3 = static_cast< int >(val3);
6754 }
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_Py_Void();
6762 {
6763 if (temp2)
6764 delete arg2;
6765 }
6766 return resultobj;
6767 fail:
6768 {
6769 if (temp2)
6770 delete arg2;
6771 }
6772 return NULL;
6773 }
6774
6775
6776 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxFrame *arg1 = (wxFrame *) 0 ;
6779 int arg2 ;
6780 int *arg3 = (int *) 0 ;
6781 void *argp1 = 0 ;
6782 int res1 = 0 ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 char * kwnames[] = {
6786 (char *) "self",(char *) "widths", NULL
6787 };
6788
6789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6791 if (!SWIG_IsOK(res1)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6793 }
6794 arg1 = reinterpret_cast< wxFrame * >(argp1);
6795 {
6796 arg2 = PyList_Size(obj1);
6797 arg3 = int_LIST_helper(obj1);
6798 if (arg3 == NULL) SWIG_fail;
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = SWIG_Py_Void();
6807 {
6808 if (arg3) delete [] arg3;
6809 }
6810 return resultobj;
6811 fail:
6812 {
6813 if (arg3) delete [] arg3;
6814 }
6815 return NULL;
6816 }
6817
6818
6819 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj = 0;
6821 wxFrame *arg1 = (wxFrame *) 0 ;
6822 wxString *arg2 = 0 ;
6823 int arg3 = (int) 0 ;
6824 void *argp1 = 0 ;
6825 int res1 = 0 ;
6826 bool temp2 = false ;
6827 int val3 ;
6828 int ecode3 = 0 ;
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 PyObject * obj2 = 0 ;
6832 char * kwnames[] = {
6833 (char *) "self",(char *) "text",(char *) "number", NULL
6834 };
6835
6836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6838 if (!SWIG_IsOK(res1)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6840 }
6841 arg1 = reinterpret_cast< wxFrame * >(argp1);
6842 {
6843 arg2 = wxString_in_helper(obj1);
6844 if (arg2 == NULL) SWIG_fail;
6845 temp2 = true;
6846 }
6847 if (obj2) {
6848 ecode3 = SWIG_AsVal_int(obj2, &val3);
6849 if (!SWIG_IsOK(ecode3)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6851 }
6852 arg3 = static_cast< int >(val3);
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = SWIG_Py_Void();
6861 {
6862 if (temp2)
6863 delete arg2;
6864 }
6865 return resultobj;
6866 fail:
6867 {
6868 if (temp2)
6869 delete arg2;
6870 }
6871 return NULL;
6872 }
6873
6874
6875 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj = 0;
6877 wxFrame *arg1 = (wxFrame *) 0 ;
6878 int arg2 = (int) 0 ;
6879 void *argp1 = 0 ;
6880 int res1 = 0 ;
6881 int val2 ;
6882 int ecode2 = 0 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 char * kwnames[] = {
6886 (char *) "self",(char *) "number", NULL
6887 };
6888
6889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6891 if (!SWIG_IsOK(res1)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6893 }
6894 arg1 = reinterpret_cast< wxFrame * >(argp1);
6895 if (obj1) {
6896 ecode2 = SWIG_AsVal_int(obj1, &val2);
6897 if (!SWIG_IsOK(ecode2)) {
6898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6899 }
6900 arg2 = static_cast< int >(val2);
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 (arg1)->PopStatusText(arg2);
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 resultobj = SWIG_Py_Void();
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj = 0;
6917 wxFrame *arg1 = (wxFrame *) 0 ;
6918 int arg2 ;
6919 void *argp1 = 0 ;
6920 int res1 = 0 ;
6921 int val2 ;
6922 int ecode2 = 0 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char * kwnames[] = {
6926 (char *) "self",(char *) "n", NULL
6927 };
6928
6929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6931 if (!SWIG_IsOK(res1)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6933 }
6934 arg1 = reinterpret_cast< wxFrame * >(argp1);
6935 ecode2 = SWIG_AsVal_int(obj1, &val2);
6936 if (!SWIG_IsOK(ecode2)) {
6937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6938 }
6939 arg2 = static_cast< int >(val2);
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 (arg1)->SetStatusBarPane(arg2);
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 resultobj = SWIG_Py_Void();
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6954 PyObject *resultobj = 0;
6955 wxFrame *arg1 = (wxFrame *) 0 ;
6956 int result;
6957 void *argp1 = 0 ;
6958 int res1 = 0 ;
6959 PyObject *swig_obj[1] ;
6960
6961 if (!args) SWIG_fail;
6962 swig_obj[0] = args;
6963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6964 if (!SWIG_IsOK(res1)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6966 }
6967 arg1 = reinterpret_cast< wxFrame * >(argp1);
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 resultobj = SWIG_From_int(static_cast< int >(result));
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj = 0;
6983 wxFrame *arg1 = (wxFrame *) 0 ;
6984 long arg2 = (long) -1 ;
6985 int arg3 = (int) -1 ;
6986 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6987 wxString *arg4 = (wxString *) &arg4_defvalue ;
6988 wxToolBar *result = 0 ;
6989 void *argp1 = 0 ;
6990 int res1 = 0 ;
6991 long val2 ;
6992 int ecode2 = 0 ;
6993 int val3 ;
6994 int ecode3 = 0 ;
6995 bool temp4 = false ;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 PyObject * obj2 = 0 ;
6999 PyObject * obj3 = 0 ;
7000 char * kwnames[] = {
7001 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7002 };
7003
7004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7006 if (!SWIG_IsOK(res1)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7008 }
7009 arg1 = reinterpret_cast< wxFrame * >(argp1);
7010 if (obj1) {
7011 ecode2 = SWIG_AsVal_long(obj1, &val2);
7012 if (!SWIG_IsOK(ecode2)) {
7013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7014 }
7015 arg2 = static_cast< long >(val2);
7016 }
7017 if (obj2) {
7018 ecode3 = SWIG_AsVal_int(obj2, &val3);
7019 if (!SWIG_IsOK(ecode3)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7021 }
7022 arg3 = static_cast< int >(val3);
7023 }
7024 if (obj3) {
7025 {
7026 arg4 = wxString_in_helper(obj3);
7027 if (arg4 == NULL) SWIG_fail;
7028 temp4 = true;
7029 }
7030 }
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038 resultobj = wxPyMake_wxObject(result, (bool)0);
7039 }
7040 {
7041 if (temp4)
7042 delete arg4;
7043 }
7044 return resultobj;
7045 fail:
7046 {
7047 if (temp4)
7048 delete arg4;
7049 }
7050 return NULL;
7051 }
7052
7053
7054 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7055 PyObject *resultobj = 0;
7056 wxFrame *arg1 = (wxFrame *) 0 ;
7057 wxToolBar *result = 0 ;
7058 void *argp1 = 0 ;
7059 int res1 = 0 ;
7060 PyObject *swig_obj[1] ;
7061
7062 if (!args) SWIG_fail;
7063 swig_obj[0] = args;
7064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrame * >(argp1);
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 {
7076 resultobj = wxPyMake_wxObject(result, (bool)0);
7077 }
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj = 0;
7086 wxFrame *arg1 = (wxFrame *) 0 ;
7087 wxToolBar *arg2 = (wxToolBar *) 0 ;
7088 void *argp1 = 0 ;
7089 int res1 = 0 ;
7090 void *argp2 = 0 ;
7091 int res2 = 0 ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char * kwnames[] = {
7095 (char *) "self",(char *) "toolbar", NULL
7096 };
7097
7098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7100 if (!SWIG_IsOK(res1)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7102 }
7103 arg1 = reinterpret_cast< wxFrame * >(argp1);
7104 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7105 if (!SWIG_IsOK(res2)) {
7106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7107 }
7108 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 (arg1)->SetToolBar(arg2);
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_Py_Void();
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj = 0;
7124 wxFrame *arg1 = (wxFrame *) 0 ;
7125 wxString *arg2 = 0 ;
7126 bool arg3 ;
7127 void *argp1 = 0 ;
7128 int res1 = 0 ;
7129 bool temp2 = false ;
7130 bool val3 ;
7131 int ecode3 = 0 ;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 PyObject * obj2 = 0 ;
7135 char * kwnames[] = {
7136 (char *) "self",(char *) "text",(char *) "show", NULL
7137 };
7138
7139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7141 if (!SWIG_IsOK(res1)) {
7142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7143 }
7144 arg1 = reinterpret_cast< wxFrame * >(argp1);
7145 {
7146 arg2 = wxString_in_helper(obj1);
7147 if (arg2 == NULL) SWIG_fail;
7148 temp2 = true;
7149 }
7150 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7151 if (!SWIG_IsOK(ecode3)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7153 }
7154 arg3 = static_cast< bool >(val3);
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 {
7163 if (temp2)
7164 delete arg2;
7165 }
7166 return resultobj;
7167 fail:
7168 {
7169 if (temp2)
7170 delete arg2;
7171 }
7172 return NULL;
7173 }
7174
7175
7176 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj = 0;
7178 wxFrame *arg1 = (wxFrame *) 0 ;
7179 wxMenu *arg2 = (wxMenu *) NULL ;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 void *argp2 = 0 ;
7183 int res2 = 0 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 char * kwnames[] = {
7187 (char *) "self",(char *) "menu", NULL
7188 };
7189
7190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7192 if (!SWIG_IsOK(res1)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7194 }
7195 arg1 = reinterpret_cast< wxFrame * >(argp1);
7196 if (obj1) {
7197 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7198 if (!SWIG_IsOK(res2)) {
7199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7200 }
7201 arg2 = reinterpret_cast< wxMenu * >(argp2);
7202 }
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->DoMenuUpdates(arg2);
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = SWIG_Py_Void();
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj = 0;
7218 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7219 SwigValueWrapper<wxVisualAttributes > result;
7220 int val1 ;
7221 int ecode1 = 0 ;
7222 PyObject * obj0 = 0 ;
7223 char * kwnames[] = {
7224 (char *) "variant", NULL
7225 };
7226
7227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7228 if (obj0) {
7229 ecode1 = SWIG_AsVal_int(obj0, &val1);
7230 if (!SWIG_IsOK(ecode1)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7232 }
7233 arg1 = static_cast< wxWindowVariant >(val1);
7234 }
7235 {
7236 if (!wxPyCheckForApp()) SWIG_fail;
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 result = wxFrame::GetClassDefaultAttributes(arg1);
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7250 PyObject *obj;
7251 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7252 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7253 return SWIG_Py_Void();
7254 }
7255
7256 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7257 return SWIG_Python_InitShadowInstance(args);
7258 }
7259
7260 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj = 0;
7262 wxWindow *arg1 = (wxWindow *) 0 ;
7263 int arg2 = (int) (int)-1 ;
7264 wxString const &arg3_defvalue = wxPyEmptyString ;
7265 wxString *arg3 = (wxString *) &arg3_defvalue ;
7266 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7267 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7268 wxSize const &arg5_defvalue = wxDefaultSize ;
7269 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7270 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7271 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7272 wxString *arg7 = (wxString *) &arg7_defvalue ;
7273 wxDialog *result = 0 ;
7274 void *argp1 = 0 ;
7275 int res1 = 0 ;
7276 int val2 ;
7277 int ecode2 = 0 ;
7278 bool temp3 = false ;
7279 wxPoint temp4 ;
7280 wxSize temp5 ;
7281 long val6 ;
7282 int ecode6 = 0 ;
7283 bool temp7 = false ;
7284 PyObject * obj0 = 0 ;
7285 PyObject * obj1 = 0 ;
7286 PyObject * obj2 = 0 ;
7287 PyObject * obj3 = 0 ;
7288 PyObject * obj4 = 0 ;
7289 PyObject * obj5 = 0 ;
7290 PyObject * obj6 = 0 ;
7291 char * kwnames[] = {
7292 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7293 };
7294
7295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7297 if (!SWIG_IsOK(res1)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7299 }
7300 arg1 = reinterpret_cast< wxWindow * >(argp1);
7301 if (obj1) {
7302 ecode2 = SWIG_AsVal_int(obj1, &val2);
7303 if (!SWIG_IsOK(ecode2)) {
7304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7305 }
7306 arg2 = static_cast< int >(val2);
7307 }
7308 if (obj2) {
7309 {
7310 arg3 = wxString_in_helper(obj2);
7311 if (arg3 == NULL) SWIG_fail;
7312 temp3 = true;
7313 }
7314 }
7315 if (obj3) {
7316 {
7317 arg4 = &temp4;
7318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7319 }
7320 }
7321 if (obj4) {
7322 {
7323 arg5 = &temp5;
7324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7325 }
7326 }
7327 if (obj5) {
7328 ecode6 = SWIG_AsVal_long(obj5, &val6);
7329 if (!SWIG_IsOK(ecode6)) {
7330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7331 }
7332 arg6 = static_cast< long >(val6);
7333 }
7334 if (obj6) {
7335 {
7336 arg7 = wxString_in_helper(obj6);
7337 if (arg7 == NULL) SWIG_fail;
7338 temp7 = true;
7339 }
7340 }
7341 {
7342 if (!wxPyCheckForApp()) SWIG_fail;
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7349 {
7350 if (temp3)
7351 delete arg3;
7352 }
7353 {
7354 if (temp7)
7355 delete arg7;
7356 }
7357 return resultobj;
7358 fail:
7359 {
7360 if (temp3)
7361 delete arg3;
7362 }
7363 {
7364 if (temp7)
7365 delete arg7;
7366 }
7367 return NULL;
7368 }
7369
7370
7371 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7372 PyObject *resultobj = 0;
7373 wxDialog *result = 0 ;
7374
7375 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (wxDialog *)new wxDialog();
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj = 0;
7392 wxDialog *arg1 = (wxDialog *) 0 ;
7393 wxWindow *arg2 = (wxWindow *) 0 ;
7394 int arg3 = (int) (int)-1 ;
7395 wxString const &arg4_defvalue = wxPyEmptyString ;
7396 wxString *arg4 = (wxString *) &arg4_defvalue ;
7397 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7398 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7399 wxSize const &arg6_defvalue = wxDefaultSize ;
7400 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7401 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7402 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7403 wxString *arg8 = (wxString *) &arg8_defvalue ;
7404 bool result;
7405 void *argp1 = 0 ;
7406 int res1 = 0 ;
7407 void *argp2 = 0 ;
7408 int res2 = 0 ;
7409 int val3 ;
7410 int ecode3 = 0 ;
7411 bool temp4 = false ;
7412 wxPoint temp5 ;
7413 wxSize temp6 ;
7414 long val7 ;
7415 int ecode7 = 0 ;
7416 bool temp8 = false ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 PyObject * obj2 = 0 ;
7420 PyObject * obj3 = 0 ;
7421 PyObject * obj4 = 0 ;
7422 PyObject * obj5 = 0 ;
7423 PyObject * obj6 = 0 ;
7424 PyObject * obj7 = 0 ;
7425 char * kwnames[] = {
7426 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7427 };
7428
7429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7431 if (!SWIG_IsOK(res1)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7433 }
7434 arg1 = reinterpret_cast< wxDialog * >(argp1);
7435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7436 if (!SWIG_IsOK(res2)) {
7437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7438 }
7439 arg2 = reinterpret_cast< wxWindow * >(argp2);
7440 if (obj2) {
7441 ecode3 = SWIG_AsVal_int(obj2, &val3);
7442 if (!SWIG_IsOK(ecode3)) {
7443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7444 }
7445 arg3 = static_cast< int >(val3);
7446 }
7447 if (obj3) {
7448 {
7449 arg4 = wxString_in_helper(obj3);
7450 if (arg4 == NULL) SWIG_fail;
7451 temp4 = true;
7452 }
7453 }
7454 if (obj4) {
7455 {
7456 arg5 = &temp5;
7457 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7458 }
7459 }
7460 if (obj5) {
7461 {
7462 arg6 = &temp6;
7463 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7464 }
7465 }
7466 if (obj6) {
7467 ecode7 = SWIG_AsVal_long(obj6, &val7);
7468 if (!SWIG_IsOK(ecode7)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7470 }
7471 arg7 = static_cast< long >(val7);
7472 }
7473 if (obj7) {
7474 {
7475 arg8 = wxString_in_helper(obj7);
7476 if (arg8 == NULL) SWIG_fail;
7477 temp8 = true;
7478 }
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 {
7487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7488 }
7489 {
7490 if (temp4)
7491 delete arg4;
7492 }
7493 {
7494 if (temp8)
7495 delete arg8;
7496 }
7497 return resultobj;
7498 fail:
7499 {
7500 if (temp4)
7501 delete arg4;
7502 }
7503 {
7504 if (temp8)
7505 delete arg8;
7506 }
7507 return NULL;
7508 }
7509
7510
7511 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj = 0;
7513 wxDialog *arg1 = (wxDialog *) 0 ;
7514 int arg2 ;
7515 void *argp1 = 0 ;
7516 int res1 = 0 ;
7517 int val2 ;
7518 int ecode2 = 0 ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 char * kwnames[] = {
7522 (char *) "self",(char *) "returnCode", NULL
7523 };
7524
7525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7527 if (!SWIG_IsOK(res1)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 }
7530 arg1 = reinterpret_cast< wxDialog * >(argp1);
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 (arg1)->SetReturnCode(arg2);
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_Py_Void();
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7550 PyObject *resultobj = 0;
7551 wxDialog *arg1 = (wxDialog *) 0 ;
7552 int result;
7553 void *argp1 = 0 ;
7554 int res1 = 0 ;
7555 PyObject *swig_obj[1] ;
7556
7557 if (!args) SWIG_fail;
7558 swig_obj[0] = args;
7559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7560 if (!SWIG_IsOK(res1)) {
7561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7562 }
7563 arg1 = reinterpret_cast< wxDialog * >(argp1);
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 resultobj = SWIG_From_int(static_cast< int >(result));
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj = 0;
7579 wxDialog *arg1 = (wxDialog *) 0 ;
7580 int arg2 ;
7581 void *argp1 = 0 ;
7582 int res1 = 0 ;
7583 int val2 ;
7584 int ecode2 = 0 ;
7585 PyObject * obj0 = 0 ;
7586 PyObject * obj1 = 0 ;
7587 char * kwnames[] = {
7588 (char *) "self",(char *) "affirmativeId", NULL
7589 };
7590
7591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7593 if (!SWIG_IsOK(res1)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 }
7596 arg1 = reinterpret_cast< wxDialog * >(argp1);
7597 ecode2 = SWIG_AsVal_int(obj1, &val2);
7598 if (!SWIG_IsOK(ecode2)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7600 }
7601 arg2 = static_cast< int >(val2);
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 (arg1)->SetAffirmativeId(arg2);
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = SWIG_Py_Void();
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7616 PyObject *resultobj = 0;
7617 wxDialog *arg1 = (wxDialog *) 0 ;
7618 int result;
7619 void *argp1 = 0 ;
7620 int res1 = 0 ;
7621 PyObject *swig_obj[1] ;
7622
7623 if (!args) SWIG_fail;
7624 swig_obj[0] = args;
7625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7626 if (!SWIG_IsOK(res1)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7628 }
7629 arg1 = reinterpret_cast< wxDialog * >(argp1);
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = SWIG_From_int(static_cast< int >(result));
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj = 0;
7645 wxDialog *arg1 = (wxDialog *) 0 ;
7646 int arg2 ;
7647 void *argp1 = 0 ;
7648 int res1 = 0 ;
7649 int val2 ;
7650 int ecode2 = 0 ;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 char * kwnames[] = {
7654 (char *) "self",(char *) "escapeId", NULL
7655 };
7656
7657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7659 if (!SWIG_IsOK(res1)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7661 }
7662 arg1 = reinterpret_cast< wxDialog * >(argp1);
7663 ecode2 = SWIG_AsVal_int(obj1, &val2);
7664 if (!SWIG_IsOK(ecode2)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7666 }
7667 arg2 = static_cast< int >(val2);
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->SetEscapeId(arg2);
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 resultobj = SWIG_Py_Void();
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7682 PyObject *resultobj = 0;
7683 wxDialog *arg1 = (wxDialog *) 0 ;
7684 int result;
7685 void *argp1 = 0 ;
7686 int res1 = 0 ;
7687 PyObject *swig_obj[1] ;
7688
7689 if (!args) SWIG_fail;
7690 swig_obj[0] = args;
7691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7692 if (!SWIG_IsOK(res1)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7694 }
7695 arg1 = reinterpret_cast< wxDialog * >(argp1);
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_From_int(static_cast< int >(result));
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj = 0;
7711 wxDialog *arg1 = (wxDialog *) 0 ;
7712 wxString *arg2 = 0 ;
7713 wxSizer *result = 0 ;
7714 void *argp1 = 0 ;
7715 int res1 = 0 ;
7716 bool temp2 = false ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "self",(char *) "message", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7725 if (!SWIG_IsOK(res1)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7727 }
7728 arg1 = reinterpret_cast< wxDialog * >(argp1);
7729 {
7730 arg2 = wxString_in_helper(obj1);
7731 if (arg2 == NULL) SWIG_fail;
7732 temp2 = true;
7733 }
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 {
7741 resultobj = wxPyMake_wxObject(result, (bool)0);
7742 }
7743 {
7744 if (temp2)
7745 delete arg2;
7746 }
7747 return resultobj;
7748 fail:
7749 {
7750 if (temp2)
7751 delete arg2;
7752 }
7753 return NULL;
7754 }
7755
7756
7757 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj = 0;
7759 wxDialog *arg1 = (wxDialog *) 0 ;
7760 long arg2 ;
7761 wxSizer *result = 0 ;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 long val2 ;
7765 int ecode2 = 0 ;
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
7768 char * kwnames[] = {
7769 (char *) "self",(char *) "flags", NULL
7770 };
7771
7772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7774 if (!SWIG_IsOK(res1)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 }
7777 arg1 = reinterpret_cast< wxDialog * >(argp1);
7778 ecode2 = SWIG_AsVal_long(obj1, &val2);
7779 if (!SWIG_IsOK(ecode2)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7781 }
7782 arg2 = static_cast< long >(val2);
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 {
7790 resultobj = wxPyMake_wxObject(result, (bool)0);
7791 }
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj = 0;
7800 wxDialog *arg1 = (wxDialog *) 0 ;
7801 long arg2 ;
7802 wxSizer *result = 0 ;
7803 void *argp1 = 0 ;
7804 int res1 = 0 ;
7805 long val2 ;
7806 int ecode2 = 0 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char * kwnames[] = {
7810 (char *) "self",(char *) "flags", NULL
7811 };
7812
7813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7815 if (!SWIG_IsOK(res1)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7817 }
7818 arg1 = reinterpret_cast< wxDialog * >(argp1);
7819 ecode2 = SWIG_AsVal_long(obj1, &val2);
7820 if (!SWIG_IsOK(ecode2)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7822 }
7823 arg2 = static_cast< long >(val2);
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 {
7831 resultobj = wxPyMake_wxObject(result, (bool)0);
7832 }
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj = 0;
7841 wxDialog *arg1 = (wxDialog *) 0 ;
7842 long arg2 ;
7843 wxStdDialogButtonSizer *result = 0 ;
7844 void *argp1 = 0 ;
7845 int res1 = 0 ;
7846 long val2 ;
7847 int ecode2 = 0 ;
7848 PyObject * obj0 = 0 ;
7849 PyObject * obj1 = 0 ;
7850 char * kwnames[] = {
7851 (char *) "self",(char *) "flags", NULL
7852 };
7853
7854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7856 if (!SWIG_IsOK(res1)) {
7857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7858 }
7859 arg1 = reinterpret_cast< wxDialog * >(argp1);
7860 ecode2 = SWIG_AsVal_long(obj1, &val2);
7861 if (!SWIG_IsOK(ecode2)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7863 }
7864 arg2 = static_cast< long >(val2);
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7879 PyObject *resultobj = 0;
7880 wxDialog *arg1 = (wxDialog *) 0 ;
7881 bool result;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 PyObject *swig_obj[1] ;
7885
7886 if (!args) SWIG_fail;
7887 swig_obj[0] = args;
7888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7889 if (!SWIG_IsOK(res1)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7891 }
7892 arg1 = reinterpret_cast< wxDialog * >(argp1);
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)((wxDialog const *)arg1)->IsModal();
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7909 PyObject *resultobj = 0;
7910 wxDialog *arg1 = (wxDialog *) 0 ;
7911 int result;
7912 void *argp1 = 0 ;
7913 int res1 = 0 ;
7914 PyObject *swig_obj[1] ;
7915
7916 if (!args) SWIG_fail;
7917 swig_obj[0] = args;
7918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7921 }
7922 arg1 = reinterpret_cast< wxDialog * >(argp1);
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (int)(arg1)->ShowModal();
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = SWIG_From_int(static_cast< int >(result));
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj = 0;
7938 wxDialog *arg1 = (wxDialog *) 0 ;
7939 int arg2 ;
7940 void *argp1 = 0 ;
7941 int res1 = 0 ;
7942 int val2 ;
7943 int ecode2 = 0 ;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 char * kwnames[] = {
7947 (char *) "self",(char *) "retCode", NULL
7948 };
7949
7950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7952 if (!SWIG_IsOK(res1)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7954 }
7955 arg1 = reinterpret_cast< wxDialog * >(argp1);
7956 ecode2 = SWIG_AsVal_int(obj1, &val2);
7957 if (!SWIG_IsOK(ecode2)) {
7958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7959 }
7960 arg2 = static_cast< int >(val2);
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 (arg1)->EndModal(arg2);
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 resultobj = SWIG_Py_Void();
7968 return resultobj;
7969 fail:
7970 return NULL;
7971 }
7972
7973
7974 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj = 0;
7976 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7977 SwigValueWrapper<wxVisualAttributes > result;
7978 int val1 ;
7979 int ecode1 = 0 ;
7980 PyObject * obj0 = 0 ;
7981 char * kwnames[] = {
7982 (char *) "variant", NULL
7983 };
7984
7985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7986 if (obj0) {
7987 ecode1 = SWIG_AsVal_int(obj0, &val1);
7988 if (!SWIG_IsOK(ecode1)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7990 }
7991 arg1 = static_cast< wxWindowVariant >(val1);
7992 }
7993 {
7994 if (!wxPyCheckForApp()) SWIG_fail;
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = wxDialog::GetClassDefaultAttributes(arg1);
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8008 PyObject *obj;
8009 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8010 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8011 return SWIG_Py_Void();
8012 }
8013
8014 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8015 return SWIG_Python_InitShadowInstance(args);
8016 }
8017
8018 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj = 0;
8020 wxWindow *arg1 = (wxWindow *) 0 ;
8021 int arg2 = (int) (int)-1 ;
8022 wxString const &arg3_defvalue = wxPyEmptyString ;
8023 wxString *arg3 = (wxString *) &arg3_defvalue ;
8024 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8025 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8026 wxSize const &arg5_defvalue = wxDefaultSize ;
8027 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8028 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8029 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8030 wxString *arg7 = (wxString *) &arg7_defvalue ;
8031 wxMiniFrame *result = 0 ;
8032 void *argp1 = 0 ;
8033 int res1 = 0 ;
8034 int val2 ;
8035 int ecode2 = 0 ;
8036 bool temp3 = false ;
8037 wxPoint temp4 ;
8038 wxSize temp5 ;
8039 long val6 ;
8040 int ecode6 = 0 ;
8041 bool temp7 = false ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 PyObject * obj2 = 0 ;
8045 PyObject * obj3 = 0 ;
8046 PyObject * obj4 = 0 ;
8047 PyObject * obj5 = 0 ;
8048 PyObject * obj6 = 0 ;
8049 char * kwnames[] = {
8050 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8051 };
8052
8053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8055 if (!SWIG_IsOK(res1)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8057 }
8058 arg1 = reinterpret_cast< wxWindow * >(argp1);
8059 if (obj1) {
8060 ecode2 = SWIG_AsVal_int(obj1, &val2);
8061 if (!SWIG_IsOK(ecode2)) {
8062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8063 }
8064 arg2 = static_cast< int >(val2);
8065 }
8066 if (obj2) {
8067 {
8068 arg3 = wxString_in_helper(obj2);
8069 if (arg3 == NULL) SWIG_fail;
8070 temp3 = true;
8071 }
8072 }
8073 if (obj3) {
8074 {
8075 arg4 = &temp4;
8076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8077 }
8078 }
8079 if (obj4) {
8080 {
8081 arg5 = &temp5;
8082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8083 }
8084 }
8085 if (obj5) {
8086 ecode6 = SWIG_AsVal_long(obj5, &val6);
8087 if (!SWIG_IsOK(ecode6)) {
8088 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8089 }
8090 arg6 = static_cast< long >(val6);
8091 }
8092 if (obj6) {
8093 {
8094 arg7 = wxString_in_helper(obj6);
8095 if (arg7 == NULL) SWIG_fail;
8096 temp7 = true;
8097 }
8098 }
8099 {
8100 if (!wxPyCheckForApp()) SWIG_fail;
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8107 {
8108 if (temp3)
8109 delete arg3;
8110 }
8111 {
8112 if (temp7)
8113 delete arg7;
8114 }
8115 return resultobj;
8116 fail:
8117 {
8118 if (temp3)
8119 delete arg3;
8120 }
8121 {
8122 if (temp7)
8123 delete arg7;
8124 }
8125 return NULL;
8126 }
8127
8128
8129 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8130 PyObject *resultobj = 0;
8131 wxMiniFrame *result = 0 ;
8132
8133 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8134 {
8135 if (!wxPyCheckForApp()) SWIG_fail;
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (wxMiniFrame *)new wxMiniFrame();
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj = 0;
8150 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8151 wxWindow *arg2 = (wxWindow *) 0 ;
8152 int arg3 = (int) (int)-1 ;
8153 wxString const &arg4_defvalue = wxPyEmptyString ;
8154 wxString *arg4 = (wxString *) &arg4_defvalue ;
8155 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8156 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8157 wxSize const &arg6_defvalue = wxDefaultSize ;
8158 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8159 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8160 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8161 wxString *arg8 = (wxString *) &arg8_defvalue ;
8162 bool result;
8163 void *argp1 = 0 ;
8164 int res1 = 0 ;
8165 void *argp2 = 0 ;
8166 int res2 = 0 ;
8167 int val3 ;
8168 int ecode3 = 0 ;
8169 bool temp4 = false ;
8170 wxPoint temp5 ;
8171 wxSize temp6 ;
8172 long val7 ;
8173 int ecode7 = 0 ;
8174 bool temp8 = false ;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 PyObject * obj2 = 0 ;
8178 PyObject * obj3 = 0 ;
8179 PyObject * obj4 = 0 ;
8180 PyObject * obj5 = 0 ;
8181 PyObject * obj6 = 0 ;
8182 PyObject * obj7 = 0 ;
8183 char * kwnames[] = {
8184 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8185 };
8186
8187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8189 if (!SWIG_IsOK(res1)) {
8190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8191 }
8192 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8193 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8194 if (!SWIG_IsOK(res2)) {
8195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8196 }
8197 arg2 = reinterpret_cast< wxWindow * >(argp2);
8198 if (obj2) {
8199 ecode3 = SWIG_AsVal_int(obj2, &val3);
8200 if (!SWIG_IsOK(ecode3)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8202 }
8203 arg3 = static_cast< int >(val3);
8204 }
8205 if (obj3) {
8206 {
8207 arg4 = wxString_in_helper(obj3);
8208 if (arg4 == NULL) SWIG_fail;
8209 temp4 = true;
8210 }
8211 }
8212 if (obj4) {
8213 {
8214 arg5 = &temp5;
8215 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8216 }
8217 }
8218 if (obj5) {
8219 {
8220 arg6 = &temp6;
8221 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8222 }
8223 }
8224 if (obj6) {
8225 ecode7 = SWIG_AsVal_long(obj6, &val7);
8226 if (!SWIG_IsOK(ecode7)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8228 }
8229 arg7 = static_cast< long >(val7);
8230 }
8231 if (obj7) {
8232 {
8233 arg8 = wxString_in_helper(obj7);
8234 if (arg8 == NULL) SWIG_fail;
8235 temp8 = true;
8236 }
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
8247 {
8248 if (temp4)
8249 delete arg4;
8250 }
8251 {
8252 if (temp8)
8253 delete arg8;
8254 }
8255 return resultobj;
8256 fail:
8257 {
8258 if (temp4)
8259 delete arg4;
8260 }
8261 {
8262 if (temp8)
8263 delete arg8;
8264 }
8265 return NULL;
8266 }
8267
8268
8269 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8270 PyObject *obj;
8271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8272 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8273 return SWIG_Py_Void();
8274 }
8275
8276 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8277 return SWIG_Python_InitShadowInstance(args);
8278 }
8279
8280 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj = 0;
8282 wxBitmap *arg1 = 0 ;
8283 wxWindow *arg2 = (wxWindow *) 0 ;
8284 int arg3 ;
8285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8287 wxSize const &arg5_defvalue = wxDefaultSize ;
8288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8289 long arg6 = (long) wxNO_BORDER ;
8290 wxSplashScreenWindow *result = 0 ;
8291 void *argp1 = 0 ;
8292 int res1 = 0 ;
8293 void *argp2 = 0 ;
8294 int res2 = 0 ;
8295 int val3 ;
8296 int ecode3 = 0 ;
8297 wxPoint temp4 ;
8298 wxSize temp5 ;
8299 long val6 ;
8300 int ecode6 = 0 ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 PyObject * obj3 = 0 ;
8305 PyObject * obj4 = 0 ;
8306 PyObject * obj5 = 0 ;
8307 char * kwnames[] = {
8308 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8309 };
8310
8311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8312 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8313 if (!SWIG_IsOK(res1)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8315 }
8316 if (!argp1) {
8317 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8318 }
8319 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8321 if (!SWIG_IsOK(res2)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8323 }
8324 arg2 = reinterpret_cast< wxWindow * >(argp2);
8325 ecode3 = SWIG_AsVal_int(obj2, &val3);
8326 if (!SWIG_IsOK(ecode3)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8328 }
8329 arg3 = static_cast< int >(val3);
8330 if (obj3) {
8331 {
8332 arg4 = &temp4;
8333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8334 }
8335 }
8336 if (obj4) {
8337 {
8338 arg5 = &temp5;
8339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8340 }
8341 }
8342 if (obj5) {
8343 ecode6 = SWIG_AsVal_long(obj5, &val6);
8344 if (!SWIG_IsOK(ecode6)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8346 }
8347 arg6 = static_cast< long >(val6);
8348 }
8349 {
8350 if (!wxPyCheckForApp()) SWIG_fail;
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj = 0;
8365 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8366 wxBitmap *arg2 = 0 ;
8367 void *argp1 = 0 ;
8368 int res1 = 0 ;
8369 void *argp2 = 0 ;
8370 int res2 = 0 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char * kwnames[] = {
8374 (char *) "self",(char *) "bitmap", NULL
8375 };
8376
8377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8379 if (!SWIG_IsOK(res1)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8381 }
8382 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8384 if (!SWIG_IsOK(res2)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8386 }
8387 if (!argp2) {
8388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8389 }
8390 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_Py_Void();
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8405 PyObject *resultobj = 0;
8406 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8407 wxBitmap *result = 0 ;
8408 void *argp1 = 0 ;
8409 int res1 = 0 ;
8410 PyObject *swig_obj[1] ;
8411
8412 if (!args) SWIG_fail;
8413 swig_obj[0] = args;
8414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8415 if (!SWIG_IsOK(res1)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8417 }
8418 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 {
8422 wxBitmap &_result_ref = (arg1)->GetBitmap();
8423 result = (wxBitmap *) &_result_ref;
8424 }
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 {
8429 wxBitmap* resultptr = new wxBitmap(*result);
8430 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8431 }
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8439 PyObject *obj;
8440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8441 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8442 return SWIG_Py_Void();
8443 }
8444
8445 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8446 return SWIG_Python_InitShadowInstance(args);
8447 }
8448
8449 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj = 0;
8451 wxBitmap *arg1 = 0 ;
8452 long arg2 ;
8453 int arg3 ;
8454 wxWindow *arg4 = (wxWindow *) 0 ;
8455 int arg5 = (int) -1 ;
8456 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8457 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8458 wxSize const &arg7_defvalue = wxDefaultSize ;
8459 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8460 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8461 wxSplashScreen *result = 0 ;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 long val2 ;
8465 int ecode2 = 0 ;
8466 int val3 ;
8467 int ecode3 = 0 ;
8468 void *argp4 = 0 ;
8469 int res4 = 0 ;
8470 int val5 ;
8471 int ecode5 = 0 ;
8472 wxPoint temp6 ;
8473 wxSize temp7 ;
8474 long val8 ;
8475 int ecode8 = 0 ;
8476 PyObject * obj0 = 0 ;
8477 PyObject * obj1 = 0 ;
8478 PyObject * obj2 = 0 ;
8479 PyObject * obj3 = 0 ;
8480 PyObject * obj4 = 0 ;
8481 PyObject * obj5 = 0 ;
8482 PyObject * obj6 = 0 ;
8483 PyObject * obj7 = 0 ;
8484 char * kwnames[] = {
8485 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8486 };
8487
8488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8489 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8490 if (!SWIG_IsOK(res1)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8492 }
8493 if (!argp1) {
8494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8495 }
8496 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8497 ecode2 = SWIG_AsVal_long(obj1, &val2);
8498 if (!SWIG_IsOK(ecode2)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8500 }
8501 arg2 = static_cast< long >(val2);
8502 ecode3 = SWIG_AsVal_int(obj2, &val3);
8503 if (!SWIG_IsOK(ecode3)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8505 }
8506 arg3 = static_cast< int >(val3);
8507 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8508 if (!SWIG_IsOK(res4)) {
8509 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8510 }
8511 arg4 = reinterpret_cast< wxWindow * >(argp4);
8512 if (obj4) {
8513 ecode5 = SWIG_AsVal_int(obj4, &val5);
8514 if (!SWIG_IsOK(ecode5)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8516 }
8517 arg5 = static_cast< int >(val5);
8518 }
8519 if (obj5) {
8520 {
8521 arg6 = &temp6;
8522 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8523 }
8524 }
8525 if (obj6) {
8526 {
8527 arg7 = &temp7;
8528 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8529 }
8530 }
8531 if (obj7) {
8532 ecode8 = SWIG_AsVal_long(obj7, &val8);
8533 if (!SWIG_IsOK(ecode8)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8535 }
8536 arg8 = static_cast< long >(val8);
8537 }
8538 {
8539 if (!wxPyCheckForApp()) SWIG_fail;
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8553 PyObject *resultobj = 0;
8554 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8555 long result;
8556 void *argp1 = 0 ;
8557 int res1 = 0 ;
8558 PyObject *swig_obj[1] ;
8559
8560 if (!args) SWIG_fail;
8561 swig_obj[0] = args;
8562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8563 if (!SWIG_IsOK(res1)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8565 }
8566 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 resultobj = SWIG_From_long(static_cast< long >(result));
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8581 PyObject *resultobj = 0;
8582 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8583 wxSplashScreenWindow *result = 0 ;
8584 void *argp1 = 0 ;
8585 int res1 = 0 ;
8586 PyObject *swig_obj[1] ;
8587
8588 if (!args) SWIG_fail;
8589 swig_obj[0] = args;
8590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8591 if (!SWIG_IsOK(res1)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8593 }
8594 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8609 PyObject *resultobj = 0;
8610 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8611 int result;
8612 void *argp1 = 0 ;
8613 int res1 = 0 ;
8614 PyObject *swig_obj[1] ;
8615
8616 if (!args) SWIG_fail;
8617 swig_obj[0] = args;
8618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8619 if (!SWIG_IsOK(res1)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 }
8622 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_From_int(static_cast< int >(result));
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8637 PyObject *obj;
8638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8639 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8640 return SWIG_Py_Void();
8641 }
8642
8643 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8644 return SWIG_Python_InitShadowInstance(args);
8645 }
8646
8647 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj = 0;
8649 wxWindow *arg1 = (wxWindow *) 0 ;
8650 int arg2 = (int) -1 ;
8651 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8652 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8653 wxString *arg4 = (wxString *) &arg4_defvalue ;
8654 wxStatusBar *result = 0 ;
8655 void *argp1 = 0 ;
8656 int res1 = 0 ;
8657 int val2 ;
8658 int ecode2 = 0 ;
8659 long val3 ;
8660 int ecode3 = 0 ;
8661 bool temp4 = false ;
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664 PyObject * obj2 = 0 ;
8665 PyObject * obj3 = 0 ;
8666 char * kwnames[] = {
8667 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8668 };
8669
8670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8672 if (!SWIG_IsOK(res1)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8674 }
8675 arg1 = reinterpret_cast< wxWindow * >(argp1);
8676 if (obj1) {
8677 ecode2 = SWIG_AsVal_int(obj1, &val2);
8678 if (!SWIG_IsOK(ecode2)) {
8679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8680 }
8681 arg2 = static_cast< int >(val2);
8682 }
8683 if (obj2) {
8684 ecode3 = SWIG_AsVal_long(obj2, &val3);
8685 if (!SWIG_IsOK(ecode3)) {
8686 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8687 }
8688 arg3 = static_cast< long >(val3);
8689 }
8690 if (obj3) {
8691 {
8692 arg4 = wxString_in_helper(obj3);
8693 if (arg4 == NULL) SWIG_fail;
8694 temp4 = true;
8695 }
8696 }
8697 {
8698 if (!wxPyCheckForApp()) SWIG_fail;
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8705 {
8706 if (temp4)
8707 delete arg4;
8708 }
8709 return resultobj;
8710 fail:
8711 {
8712 if (temp4)
8713 delete arg4;
8714 }
8715 return NULL;
8716 }
8717
8718
8719 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8720 PyObject *resultobj = 0;
8721 wxStatusBar *result = 0 ;
8722
8723 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8724 {
8725 if (!wxPyCheckForApp()) SWIG_fail;
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (wxStatusBar *)new wxStatusBar();
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8732 return resultobj;
8733 fail:
8734 return NULL;
8735 }
8736
8737
8738 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj = 0;
8740 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8741 wxWindow *arg2 = (wxWindow *) 0 ;
8742 int arg3 = (int) -1 ;
8743 long arg4 = (long) wxST_SIZEGRIP ;
8744 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8745 wxString *arg5 = (wxString *) &arg5_defvalue ;
8746 bool result;
8747 void *argp1 = 0 ;
8748 int res1 = 0 ;
8749 void *argp2 = 0 ;
8750 int res2 = 0 ;
8751 int val3 ;
8752 int ecode3 = 0 ;
8753 long val4 ;
8754 int ecode4 = 0 ;
8755 bool temp5 = false ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 PyObject * obj2 = 0 ;
8759 PyObject * obj3 = 0 ;
8760 PyObject * obj4 = 0 ;
8761 char * kwnames[] = {
8762 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8763 };
8764
8765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8767 if (!SWIG_IsOK(res1)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8769 }
8770 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8771 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8772 if (!SWIG_IsOK(res2)) {
8773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8774 }
8775 arg2 = reinterpret_cast< wxWindow * >(argp2);
8776 if (obj2) {
8777 ecode3 = SWIG_AsVal_int(obj2, &val3);
8778 if (!SWIG_IsOK(ecode3)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8780 }
8781 arg3 = static_cast< int >(val3);
8782 }
8783 if (obj3) {
8784 ecode4 = SWIG_AsVal_long(obj3, &val4);
8785 if (!SWIG_IsOK(ecode4)) {
8786 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8787 }
8788 arg4 = static_cast< long >(val4);
8789 }
8790 if (obj4) {
8791 {
8792 arg5 = wxString_in_helper(obj4);
8793 if (arg5 == NULL) SWIG_fail;
8794 temp5 = true;
8795 }
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8805 }
8806 {
8807 if (temp5)
8808 delete arg5;
8809 }
8810 return resultobj;
8811 fail:
8812 {
8813 if (temp5)
8814 delete arg5;
8815 }
8816 return NULL;
8817 }
8818
8819
8820 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj = 0;
8822 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8823 int arg2 = (int) 1 ;
8824 void *argp1 = 0 ;
8825 int res1 = 0 ;
8826 int val2 ;
8827 int ecode2 = 0 ;
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830 char * kwnames[] = {
8831 (char *) "self",(char *) "number", NULL
8832 };
8833
8834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8836 if (!SWIG_IsOK(res1)) {
8837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8838 }
8839 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8840 if (obj1) {
8841 ecode2 = SWIG_AsVal_int(obj1, &val2);
8842 if (!SWIG_IsOK(ecode2)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8844 }
8845 arg2 = static_cast< int >(val2);
8846 }
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 (arg1)->SetFieldsCount(arg2);
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 resultobj = SWIG_Py_Void();
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8861 PyObject *resultobj = 0;
8862 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8863 int result;
8864 void *argp1 = 0 ;
8865 int res1 = 0 ;
8866 PyObject *swig_obj[1] ;
8867
8868 if (!args) SWIG_fail;
8869 swig_obj[0] = args;
8870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8871 if (!SWIG_IsOK(res1)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8873 }
8874 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_From_int(static_cast< int >(result));
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj = 0;
8890 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8891 wxString *arg2 = 0 ;
8892 int arg3 = (int) 0 ;
8893 void *argp1 = 0 ;
8894 int res1 = 0 ;
8895 bool temp2 = false ;
8896 int val3 ;
8897 int ecode3 = 0 ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 PyObject * obj2 = 0 ;
8901 char * kwnames[] = {
8902 (char *) "self",(char *) "text",(char *) "number", NULL
8903 };
8904
8905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8907 if (!SWIG_IsOK(res1)) {
8908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8909 }
8910 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8911 {
8912 arg2 = wxString_in_helper(obj1);
8913 if (arg2 == NULL) SWIG_fail;
8914 temp2 = true;
8915 }
8916 if (obj2) {
8917 ecode3 = SWIG_AsVal_int(obj2, &val3);
8918 if (!SWIG_IsOK(ecode3)) {
8919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8920 }
8921 arg3 = static_cast< int >(val3);
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 resultobj = SWIG_Py_Void();
8930 {
8931 if (temp2)
8932 delete arg2;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp2)
8938 delete arg2;
8939 }
8940 return NULL;
8941 }
8942
8943
8944 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8947 int arg2 = (int) 0 ;
8948 wxString result;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 int val2 ;
8952 int ecode2 = 0 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char * kwnames[] = {
8956 (char *) "self",(char *) "number", NULL
8957 };
8958
8959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8961 if (!SWIG_IsOK(res1)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8963 }
8964 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8965 if (obj1) {
8966 ecode2 = SWIG_AsVal_int(obj1, &val2);
8967 if (!SWIG_IsOK(ecode2)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8969 }
8970 arg2 = static_cast< int >(val2);
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 {
8979 #if wxUSE_UNICODE
8980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8981 #else
8982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8983 #endif
8984 }
8985 return resultobj;
8986 fail:
8987 return NULL;
8988 }
8989
8990
8991 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj = 0;
8993 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8994 wxString *arg2 = 0 ;
8995 int arg3 = (int) 0 ;
8996 void *argp1 = 0 ;
8997 int res1 = 0 ;
8998 bool temp2 = false ;
8999 int val3 ;
9000 int ecode3 = 0 ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 char * kwnames[] = {
9005 (char *) "self",(char *) "text",(char *) "number", NULL
9006 };
9007
9008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9010 if (!SWIG_IsOK(res1)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 }
9013 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9014 {
9015 arg2 = wxString_in_helper(obj1);
9016 if (arg2 == NULL) SWIG_fail;
9017 temp2 = true;
9018 }
9019 if (obj2) {
9020 ecode3 = SWIG_AsVal_int(obj2, &val3);
9021 if (!SWIG_IsOK(ecode3)) {
9022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9023 }
9024 arg3 = static_cast< int >(val3);
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 resultobj = SWIG_Py_Void();
9033 {
9034 if (temp2)
9035 delete arg2;
9036 }
9037 return resultobj;
9038 fail:
9039 {
9040 if (temp2)
9041 delete arg2;
9042 }
9043 return NULL;
9044 }
9045
9046
9047 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj = 0;
9049 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9050 int arg2 = (int) 0 ;
9051 void *argp1 = 0 ;
9052 int res1 = 0 ;
9053 int val2 ;
9054 int ecode2 = 0 ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 char * kwnames[] = {
9058 (char *) "self",(char *) "number", NULL
9059 };
9060
9061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9063 if (!SWIG_IsOK(res1)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9065 }
9066 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9067 if (obj1) {
9068 ecode2 = SWIG_AsVal_int(obj1, &val2);
9069 if (!SWIG_IsOK(ecode2)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9071 }
9072 arg2 = static_cast< int >(val2);
9073 }
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->PopStatusText(arg2);
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = SWIG_Py_Void();
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9090 int arg2 ;
9091 int *arg3 = (int *) 0 ;
9092 void *argp1 = 0 ;
9093 int res1 = 0 ;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 char * kwnames[] = {
9097 (char *) "self",(char *) "widths", NULL
9098 };
9099
9100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9102 if (!SWIG_IsOK(res1)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9104 }
9105 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9106 {
9107 arg2 = PyList_Size(obj1);
9108 arg3 = int_LIST_helper(obj1);
9109 if (arg3 == NULL) SWIG_fail;
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 resultobj = SWIG_Py_Void();
9118 {
9119 if (arg3) delete [] arg3;
9120 }
9121 return resultobj;
9122 fail:
9123 {
9124 if (arg3) delete [] arg3;
9125 }
9126 return NULL;
9127 }
9128
9129
9130 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj = 0;
9132 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9133 int arg2 ;
9134 int *arg3 = (int *) 0 ;
9135 void *argp1 = 0 ;
9136 int res1 = 0 ;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 char * kwnames[] = {
9140 (char *) "self",(char *) "styles", NULL
9141 };
9142
9143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9145 if (!SWIG_IsOK(res1)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9147 }
9148 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9149 {
9150 arg2 = PyList_Size(obj1);
9151 arg3 = int_LIST_helper(obj1);
9152 if (arg3 == NULL) SWIG_fail;
9153 }
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 resultobj = SWIG_Py_Void();
9161 {
9162 if (arg3) delete [] arg3;
9163 }
9164 return resultobj;
9165 fail:
9166 {
9167 if (arg3) delete [] arg3;
9168 }
9169 return NULL;
9170 }
9171
9172
9173 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj = 0;
9175 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9176 int arg2 ;
9177 wxRect result;
9178 void *argp1 = 0 ;
9179 int res1 = 0 ;
9180 int val2 ;
9181 int ecode2 = 0 ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 char * kwnames[] = {
9185 (char *) "self",(char *) "i", NULL
9186 };
9187
9188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9190 if (!SWIG_IsOK(res1)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9192 }
9193 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9194 ecode2 = SWIG_AsVal_int(obj1, &val2);
9195 if (!SWIG_IsOK(ecode2)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9197 }
9198 arg2 = static_cast< int >(val2);
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = wxStatusBar_GetFieldRect(arg1,arg2);
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9215 int arg2 ;
9216 void *argp1 = 0 ;
9217 int res1 = 0 ;
9218 int val2 ;
9219 int ecode2 = 0 ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "height", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9230 }
9231 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9232 ecode2 = SWIG_AsVal_int(obj1, &val2);
9233 if (!SWIG_IsOK(ecode2)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9235 }
9236 arg2 = static_cast< int >(val2);
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 (arg1)->SetMinHeight(arg2);
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 resultobj = SWIG_Py_Void();
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9251 PyObject *resultobj = 0;
9252 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9253 int result;
9254 void *argp1 = 0 ;
9255 int res1 = 0 ;
9256 PyObject *swig_obj[1] ;
9257
9258 if (!args) SWIG_fail;
9259 swig_obj[0] = args;
9260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9261 if (!SWIG_IsOK(res1)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9263 }
9264 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_From_int(static_cast< int >(result));
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9279 PyObject *resultobj = 0;
9280 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9281 int result;
9282 void *argp1 = 0 ;
9283 int res1 = 0 ;
9284 PyObject *swig_obj[1] ;
9285
9286 if (!args) SWIG_fail;
9287 swig_obj[0] = args;
9288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9289 if (!SWIG_IsOK(res1)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9291 }
9292 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 resultobj = SWIG_From_int(static_cast< int >(result));
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj = 0;
9308 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9309 SwigValueWrapper<wxVisualAttributes > result;
9310 int val1 ;
9311 int ecode1 = 0 ;
9312 PyObject * obj0 = 0 ;
9313 char * kwnames[] = {
9314 (char *) "variant", NULL
9315 };
9316
9317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9318 if (obj0) {
9319 ecode1 = SWIG_AsVal_int(obj0, &val1);
9320 if (!SWIG_IsOK(ecode1)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9322 }
9323 arg1 = static_cast< wxWindowVariant >(val1);
9324 }
9325 {
9326 if (!wxPyCheckForApp()) SWIG_fail;
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9340 PyObject *obj;
9341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9342 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9343 return SWIG_Py_Void();
9344 }
9345
9346 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9347 return SWIG_Python_InitShadowInstance(args);
9348 }
9349
9350 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9351 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9352 return 1;
9353 }
9354
9355
9356 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9357 PyObject *pyobj = 0;
9358
9359 {
9360 #if wxUSE_UNICODE
9361 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9362 #else
9363 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9364 #endif
9365 }
9366 return pyobj;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj = 0;
9372 wxWindow *arg1 = (wxWindow *) 0 ;
9373 int arg2 = (int) -1 ;
9374 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9375 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9376 wxSize const &arg4_defvalue = wxDefaultSize ;
9377 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9378 long arg5 = (long) wxSP_3D ;
9379 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9380 wxString *arg6 = (wxString *) &arg6_defvalue ;
9381 wxSplitterWindow *result = 0 ;
9382 void *argp1 = 0 ;
9383 int res1 = 0 ;
9384 int val2 ;
9385 int ecode2 = 0 ;
9386 wxPoint temp3 ;
9387 wxSize temp4 ;
9388 long val5 ;
9389 int ecode5 = 0 ;
9390 bool temp6 = false ;
9391 PyObject * obj0 = 0 ;
9392 PyObject * obj1 = 0 ;
9393 PyObject * obj2 = 0 ;
9394 PyObject * obj3 = 0 ;
9395 PyObject * obj4 = 0 ;
9396 PyObject * obj5 = 0 ;
9397 char * kwnames[] = {
9398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9399 };
9400
9401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9403 if (!SWIG_IsOK(res1)) {
9404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9405 }
9406 arg1 = reinterpret_cast< wxWindow * >(argp1);
9407 if (obj1) {
9408 ecode2 = SWIG_AsVal_int(obj1, &val2);
9409 if (!SWIG_IsOK(ecode2)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9411 }
9412 arg2 = static_cast< int >(val2);
9413 }
9414 if (obj2) {
9415 {
9416 arg3 = &temp3;
9417 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9418 }
9419 }
9420 if (obj3) {
9421 {
9422 arg4 = &temp4;
9423 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9424 }
9425 }
9426 if (obj4) {
9427 ecode5 = SWIG_AsVal_long(obj4, &val5);
9428 if (!SWIG_IsOK(ecode5)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9430 }
9431 arg5 = static_cast< long >(val5);
9432 }
9433 if (obj5) {
9434 {
9435 arg6 = wxString_in_helper(obj5);
9436 if (arg6 == NULL) SWIG_fail;
9437 temp6 = true;
9438 }
9439 }
9440 {
9441 if (!wxPyCheckForApp()) SWIG_fail;
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9448 {
9449 if (temp6)
9450 delete arg6;
9451 }
9452 return resultobj;
9453 fail:
9454 {
9455 if (temp6)
9456 delete arg6;
9457 }
9458 return NULL;
9459 }
9460
9461
9462 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9463 PyObject *resultobj = 0;
9464 wxSplitterWindow *result = 0 ;
9465
9466 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9467 {
9468 if (!wxPyCheckForApp()) SWIG_fail;
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (wxSplitterWindow *)new wxSplitterWindow();
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj = 0;
9483 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9484 wxWindow *arg2 = (wxWindow *) 0 ;
9485 int arg3 = (int) -1 ;
9486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9488 wxSize const &arg5_defvalue = wxDefaultSize ;
9489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9490 long arg6 = (long) wxSP_3D ;
9491 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9492 wxString *arg7 = (wxString *) &arg7_defvalue ;
9493 bool result;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 void *argp2 = 0 ;
9497 int res2 = 0 ;
9498 int val3 ;
9499 int ecode3 = 0 ;
9500 wxPoint temp4 ;
9501 wxSize temp5 ;
9502 long val6 ;
9503 int ecode6 = 0 ;
9504 bool temp7 = false ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 PyObject * obj2 = 0 ;
9508 PyObject * obj3 = 0 ;
9509 PyObject * obj4 = 0 ;
9510 PyObject * obj5 = 0 ;
9511 PyObject * obj6 = 0 ;
9512 char * kwnames[] = {
9513 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9514 };
9515
9516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9518 if (!SWIG_IsOK(res1)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9520 }
9521 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9522 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9523 if (!SWIG_IsOK(res2)) {
9524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9525 }
9526 arg2 = reinterpret_cast< wxWindow * >(argp2);
9527 if (obj2) {
9528 ecode3 = SWIG_AsVal_int(obj2, &val3);
9529 if (!SWIG_IsOK(ecode3)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9531 }
9532 arg3 = static_cast< int >(val3);
9533 }
9534 if (obj3) {
9535 {
9536 arg4 = &temp4;
9537 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9538 }
9539 }
9540 if (obj4) {
9541 {
9542 arg5 = &temp5;
9543 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9544 }
9545 }
9546 if (obj5) {
9547 ecode6 = SWIG_AsVal_long(obj5, &val6);
9548 if (!SWIG_IsOK(ecode6)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9550 }
9551 arg6 = static_cast< long >(val6);
9552 }
9553 if (obj6) {
9554 {
9555 arg7 = wxString_in_helper(obj6);
9556 if (arg7 == NULL) SWIG_fail;
9557 temp7 = true;
9558 }
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
9569 {
9570 if (temp7)
9571 delete arg7;
9572 }
9573 return resultobj;
9574 fail:
9575 {
9576 if (temp7)
9577 delete arg7;
9578 }
9579 return NULL;
9580 }
9581
9582
9583 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9584 PyObject *resultobj = 0;
9585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9586 wxWindow *result = 0 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 PyObject *swig_obj[1] ;
9590
9591 if (!args) SWIG_fail;
9592 swig_obj[0] = args;
9593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9596 }
9597 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 {
9605 resultobj = wxPyMake_wxObject(result, 0);
9606 }
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9614 PyObject *resultobj = 0;
9615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9616 wxWindow *result = 0 ;
9617 void *argp1 = 0 ;
9618 int res1 = 0 ;
9619 PyObject *swig_obj[1] ;
9620
9621 if (!args) SWIG_fail;
9622 swig_obj[0] = args;
9623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res1)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9626 }
9627 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 {
9635 resultobj = wxPyMake_wxObject(result, 0);
9636 }
9637 return resultobj;
9638 fail:
9639 return NULL;
9640 }
9641
9642
9643 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj = 0;
9645 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9646 int arg2 ;
9647 void *argp1 = 0 ;
9648 int res1 = 0 ;
9649 int val2 ;
9650 int ecode2 = 0 ;
9651 PyObject * obj0 = 0 ;
9652 PyObject * obj1 = 0 ;
9653 char * kwnames[] = {
9654 (char *) "self",(char *) "mode", NULL
9655 };
9656
9657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9659 if (!SWIG_IsOK(res1)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9661 }
9662 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9663 ecode2 = SWIG_AsVal_int(obj1, &val2);
9664 if (!SWIG_IsOK(ecode2)) {
9665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9666 }
9667 arg2 = static_cast< int >(val2);
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 (arg1)->SetSplitMode(arg2);
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 resultobj = SWIG_Py_Void();
9675 return resultobj;
9676 fail:
9677 return NULL;
9678 }
9679
9680
9681 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9682 PyObject *resultobj = 0;
9683 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9684 wxSplitMode result;
9685 void *argp1 = 0 ;
9686 int res1 = 0 ;
9687 PyObject *swig_obj[1] ;
9688
9689 if (!args) SWIG_fail;
9690 swig_obj[0] = args;
9691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9692 if (!SWIG_IsOK(res1)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9694 }
9695 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_From_int(static_cast< int >(result));
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj = 0;
9711 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9712 wxWindow *arg2 = (wxWindow *) 0 ;
9713 void *argp1 = 0 ;
9714 int res1 = 0 ;
9715 void *argp2 = 0 ;
9716 int res2 = 0 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char * kwnames[] = {
9720 (char *) "self",(char *) "window", NULL
9721 };
9722
9723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9725 if (!SWIG_IsOK(res1)) {
9726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 }
9728 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9730 if (!SWIG_IsOK(res2)) {
9731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9732 }
9733 arg2 = reinterpret_cast< wxWindow * >(argp2);
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 (arg1)->Initialize(arg2);
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 resultobj = SWIG_Py_Void();
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj = 0;
9749 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9750 wxWindow *arg2 = (wxWindow *) 0 ;
9751 wxWindow *arg3 = (wxWindow *) 0 ;
9752 int arg4 = (int) 0 ;
9753 bool result;
9754 void *argp1 = 0 ;
9755 int res1 = 0 ;
9756 void *argp2 = 0 ;
9757 int res2 = 0 ;
9758 void *argp3 = 0 ;
9759 int res3 = 0 ;
9760 int val4 ;
9761 int ecode4 = 0 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 PyObject * obj2 = 0 ;
9765 PyObject * obj3 = 0 ;
9766 char * kwnames[] = {
9767 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9768 };
9769
9770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9772 if (!SWIG_IsOK(res1)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9774 }
9775 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9777 if (!SWIG_IsOK(res2)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9779 }
9780 arg2 = reinterpret_cast< wxWindow * >(argp2);
9781 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9782 if (!SWIG_IsOK(res3)) {
9783 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9784 }
9785 arg3 = reinterpret_cast< wxWindow * >(argp3);
9786 if (obj3) {
9787 ecode4 = SWIG_AsVal_int(obj3, &val4);
9788 if (!SWIG_IsOK(ecode4)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9790 }
9791 arg4 = static_cast< int >(val4);
9792 }
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 {
9800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9801 }
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(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_SplitHorizontally",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_SplitHorizontally" "', 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_SplitHorizontally" "', 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_SplitHorizontally" "', 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_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9851 }
9852 arg4 = static_cast< int >(val4);
9853 }
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (bool)(arg1)->SplitHorizontally(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_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj = 0;
9871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9872 wxWindow *arg2 = (wxWindow *) NULL ;
9873 bool result;
9874 void *argp1 = 0 ;
9875 int res1 = 0 ;
9876 void *argp2 = 0 ;
9877 int res2 = 0 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 char * kwnames[] = {
9881 (char *) "self",(char *) "toRemove", NULL
9882 };
9883
9884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9886 if (!SWIG_IsOK(res1)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9888 }
9889 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9890 if (obj1) {
9891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9892 if (!SWIG_IsOK(res2)) {
9893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9894 }
9895 arg2 = reinterpret_cast< wxWindow * >(argp2);
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (bool)(arg1)->Unsplit(arg2);
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 {
9904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj = 0;
9914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9915 wxWindow *arg2 = (wxWindow *) 0 ;
9916 wxWindow *arg3 = (wxWindow *) 0 ;
9917 bool result;
9918 void *argp1 = 0 ;
9919 int res1 = 0 ;
9920 void *argp2 = 0 ;
9921 int res2 = 0 ;
9922 void *argp3 = 0 ;
9923 int res3 = 0 ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char * kwnames[] = {
9928 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9929 };
9930
9931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9933 if (!SWIG_IsOK(res1)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9935 }
9936 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9937 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9938 if (!SWIG_IsOK(res2)) {
9939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9940 }
9941 arg2 = reinterpret_cast< wxWindow * >(argp2);
9942 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9943 if (!SWIG_IsOK(res3)) {
9944 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9945 }
9946 arg3 = reinterpret_cast< wxWindow * >(argp3);
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9955 }
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9963 PyObject *resultobj = 0;
9964 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9965 void *argp1 = 0 ;
9966 int res1 = 0 ;
9967 PyObject *swig_obj[1] ;
9968
9969 if (!args) SWIG_fail;
9970 swig_obj[0] = args;
9971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9972 if (!SWIG_IsOK(res1)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9974 }
9975 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->UpdateSize();
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_Py_Void();
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9990 PyObject *resultobj = 0;
9991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9992 bool result;
9993 void *argp1 = 0 ;
9994 int res1 = 0 ;
9995 PyObject *swig_obj[1] ;
9996
9997 if (!args) SWIG_fail;
9998 swig_obj[0] = args;
9999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10000 if (!SWIG_IsOK(res1)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10002 }
10003 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj = 0;
10021 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10022 int arg2 ;
10023 void *argp1 = 0 ;
10024 int res1 = 0 ;
10025 int val2 ;
10026 int ecode2 = 0 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 char * kwnames[] = {
10030 (char *) "self",(char *) "width", NULL
10031 };
10032
10033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10035 if (!SWIG_IsOK(res1)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 }
10038 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10039 ecode2 = SWIG_AsVal_int(obj1, &val2);
10040 if (!SWIG_IsOK(ecode2)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10042 }
10043 arg2 = static_cast< int >(val2);
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 (arg1)->SetSashSize(arg2);
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 resultobj = SWIG_Py_Void();
10051 return resultobj;
10052 fail:
10053 return NULL;
10054 }
10055
10056
10057 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj = 0;
10059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10060 int arg2 ;
10061 void *argp1 = 0 ;
10062 int res1 = 0 ;
10063 int val2 ;
10064 int ecode2 = 0 ;
10065 PyObject * obj0 = 0 ;
10066 PyObject * obj1 = 0 ;
10067 char * kwnames[] = {
10068 (char *) "self",(char *) "width", NULL
10069 };
10070
10071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10073 if (!SWIG_IsOK(res1)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10075 }
10076 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10077 ecode2 = SWIG_AsVal_int(obj1, &val2);
10078 if (!SWIG_IsOK(ecode2)) {
10079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10080 }
10081 arg2 = static_cast< int >(val2);
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 (arg1)->SetBorderSize(arg2);
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 resultobj = SWIG_Py_Void();
10089 return resultobj;
10090 fail:
10091 return NULL;
10092 }
10093
10094
10095 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10096 PyObject *resultobj = 0;
10097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10098 int result;
10099 void *argp1 = 0 ;
10100 int res1 = 0 ;
10101 PyObject *swig_obj[1] ;
10102
10103 if (!args) SWIG_fail;
10104 swig_obj[0] = args;
10105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10106 if (!SWIG_IsOK(res1)) {
10107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10108 }
10109 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_From_int(static_cast< int >(result));
10117 return resultobj;
10118 fail:
10119 return NULL;
10120 }
10121
10122
10123 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10124 PyObject *resultobj = 0;
10125 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10126 int result;
10127 void *argp1 = 0 ;
10128 int res1 = 0 ;
10129 PyObject *swig_obj[1] ;
10130
10131 if (!args) SWIG_fail;
10132 swig_obj[0] = args;
10133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10134 if (!SWIG_IsOK(res1)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 }
10137 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_From_int(static_cast< int >(result));
10145 return resultobj;
10146 fail:
10147 return NULL;
10148 }
10149
10150
10151 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj = 0;
10153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10154 int arg2 ;
10155 bool arg3 = (bool) true ;
10156 void *argp1 = 0 ;
10157 int res1 = 0 ;
10158 int val2 ;
10159 int ecode2 = 0 ;
10160 bool val3 ;
10161 int ecode3 = 0 ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj1 = 0 ;
10164 PyObject * obj2 = 0 ;
10165 char * kwnames[] = {
10166 (char *) "self",(char *) "position",(char *) "redraw", NULL
10167 };
10168
10169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10171 if (!SWIG_IsOK(res1)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10173 }
10174 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10175 ecode2 = SWIG_AsVal_int(obj1, &val2);
10176 if (!SWIG_IsOK(ecode2)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10178 }
10179 arg2 = static_cast< int >(val2);
10180 if (obj2) {
10181 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10182 if (!SWIG_IsOK(ecode3)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10184 }
10185 arg3 = static_cast< bool >(val3);
10186 }
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 (arg1)->SetSashPosition(arg2,arg3);
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 resultobj = SWIG_Py_Void();
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10201 PyObject *resultobj = 0;
10202 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10203 int result;
10204 void *argp1 = 0 ;
10205 int res1 = 0 ;
10206 PyObject *swig_obj[1] ;
10207
10208 if (!args) SWIG_fail;
10209 swig_obj[0] = args;
10210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10211 if (!SWIG_IsOK(res1)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10213 }
10214 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_From_int(static_cast< int >(result));
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj = 0;
10230 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10231 double arg2 ;
10232 void *argp1 = 0 ;
10233 int res1 = 0 ;
10234 double val2 ;
10235 int ecode2 = 0 ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238 char * kwnames[] = {
10239 (char *) "self",(char *) "gravity", NULL
10240 };
10241
10242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10244 if (!SWIG_IsOK(res1)) {
10245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10246 }
10247 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10248 ecode2 = SWIG_AsVal_double(obj1, &val2);
10249 if (!SWIG_IsOK(ecode2)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10251 }
10252 arg2 = static_cast< double >(val2);
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetSashGravity(arg2);
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = SWIG_Py_Void();
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10267 PyObject *resultobj = 0;
10268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10269 double result;
10270 void *argp1 = 0 ;
10271 int res1 = 0 ;
10272 PyObject *swig_obj[1] ;
10273
10274 if (!args) SWIG_fail;
10275 swig_obj[0] = args;
10276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10277 if (!SWIG_IsOK(res1)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10279 }
10280 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 resultobj = SWIG_From_double(static_cast< double >(result));
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj = 0;
10296 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10297 int arg2 ;
10298 void *argp1 = 0 ;
10299 int res1 = 0 ;
10300 int val2 ;
10301 int ecode2 = 0 ;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 char * kwnames[] = {
10305 (char *) "self",(char *) "min", NULL
10306 };
10307
10308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10310 if (!SWIG_IsOK(res1)) {
10311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 }
10313 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10314 ecode2 = SWIG_AsVal_int(obj1, &val2);
10315 if (!SWIG_IsOK(ecode2)) {
10316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10317 }
10318 arg2 = static_cast< int >(val2);
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->SetMinimumPaneSize(arg2);
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = SWIG_Py_Void();
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10333 PyObject *resultobj = 0;
10334 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10335 int result;
10336 void *argp1 = 0 ;
10337 int res1 = 0 ;
10338 PyObject *swig_obj[1] ;
10339
10340 if (!args) SWIG_fail;
10341 swig_obj[0] = args;
10342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10343 if (!SWIG_IsOK(res1)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 }
10346 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = SWIG_From_int(static_cast< int >(result));
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj = 0;
10362 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10363 int arg2 ;
10364 int arg3 ;
10365 int arg4 = (int) 5 ;
10366 bool result;
10367 void *argp1 = 0 ;
10368 int res1 = 0 ;
10369 int val2 ;
10370 int ecode2 = 0 ;
10371 int val3 ;
10372 int ecode3 = 0 ;
10373 int val4 ;
10374 int ecode4 = 0 ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 PyObject * obj2 = 0 ;
10378 PyObject * obj3 = 0 ;
10379 char * kwnames[] = {
10380 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10381 };
10382
10383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10385 if (!SWIG_IsOK(res1)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10387 }
10388 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10389 ecode2 = SWIG_AsVal_int(obj1, &val2);
10390 if (!SWIG_IsOK(ecode2)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10392 }
10393 arg2 = static_cast< int >(val2);
10394 ecode3 = SWIG_AsVal_int(obj2, &val3);
10395 if (!SWIG_IsOK(ecode3)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10397 }
10398 arg3 = static_cast< int >(val3);
10399 if (obj3) {
10400 ecode4 = SWIG_AsVal_int(obj3, &val4);
10401 if (!SWIG_IsOK(ecode4)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10403 }
10404 arg4 = static_cast< int >(val4);
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 {
10413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10414 }
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10422 PyObject *resultobj = 0;
10423 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 PyObject *swig_obj[1] ;
10427
10428 if (!args) SWIG_fail;
10429 swig_obj[0] = args;
10430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10431 if (!SWIG_IsOK(res1)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10433 }
10434 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 (arg1)->SizeWindows();
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 resultobj = SWIG_Py_Void();
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj = 0;
10450 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10451 bool arg2 ;
10452 void *argp1 = 0 ;
10453 int res1 = 0 ;
10454 bool val2 ;
10455 int ecode2 = 0 ;
10456 PyObject * obj0 = 0 ;
10457 PyObject * obj1 = 0 ;
10458 char * kwnames[] = {
10459 (char *) "self",(char *) "needUpdating", NULL
10460 };
10461
10462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10464 if (!SWIG_IsOK(res1)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10466 }
10467 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10468 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10469 if (!SWIG_IsOK(ecode2)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10471 }
10472 arg2 = static_cast< bool >(val2);
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 (arg1)->SetNeedUpdating(arg2);
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 resultobj = SWIG_Py_Void();
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10487 PyObject *resultobj = 0;
10488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10489 bool result;
10490 void *argp1 = 0 ;
10491 int res1 = 0 ;
10492 PyObject *swig_obj[1] ;
10493
10494 if (!args) SWIG_fail;
10495 swig_obj[0] = args;
10496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10497 if (!SWIG_IsOK(res1)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10499 }
10500 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 {
10508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10509 }
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj = 0;
10518 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10519 SwigValueWrapper<wxVisualAttributes > result;
10520 int val1 ;
10521 int ecode1 = 0 ;
10522 PyObject * obj0 = 0 ;
10523 char * kwnames[] = {
10524 (char *) "variant", NULL
10525 };
10526
10527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10528 if (obj0) {
10529 ecode1 = SWIG_AsVal_int(obj0, &val1);
10530 if (!SWIG_IsOK(ecode1)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10532 }
10533 arg1 = static_cast< wxWindowVariant >(val1);
10534 }
10535 {
10536 if (!wxPyCheckForApp()) SWIG_fail;
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10550 PyObject *obj;
10551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10553 return SWIG_Py_Void();
10554 }
10555
10556 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10557 return SWIG_Python_InitShadowInstance(args);
10558 }
10559
10560 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj = 0;
10562 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10563 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10564 wxSplitterEvent *result = 0 ;
10565 int val1 ;
10566 int ecode1 = 0 ;
10567 void *argp2 = 0 ;
10568 int res2 = 0 ;
10569 PyObject * obj0 = 0 ;
10570 PyObject * obj1 = 0 ;
10571 char * kwnames[] = {
10572 (char *) "type",(char *) "splitter", NULL
10573 };
10574
10575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10576 if (obj0) {
10577 ecode1 = SWIG_AsVal_int(obj0, &val1);
10578 if (!SWIG_IsOK(ecode1)) {
10579 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10580 }
10581 arg1 = static_cast< wxEventType >(val1);
10582 }
10583 if (obj1) {
10584 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10585 if (!SWIG_IsOK(res2)) {
10586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10587 }
10588 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj = 0;
10605 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10606 int arg2 ;
10607 void *argp1 = 0 ;
10608 int res1 = 0 ;
10609 int val2 ;
10610 int ecode2 = 0 ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char * kwnames[] = {
10614 (char *) "self",(char *) "pos", NULL
10615 };
10616
10617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10619 if (!SWIG_IsOK(res1)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10621 }
10622 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10623 ecode2 = SWIG_AsVal_int(obj1, &val2);
10624 if (!SWIG_IsOK(ecode2)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10626 }
10627 arg2 = static_cast< int >(val2);
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 (arg1)->SetSashPosition(arg2);
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 resultobj = SWIG_Py_Void();
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10642 PyObject *resultobj = 0;
10643 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10644 int result;
10645 void *argp1 = 0 ;
10646 int res1 = 0 ;
10647 PyObject *swig_obj[1] ;
10648
10649 if (!args) SWIG_fail;
10650 swig_obj[0] = args;
10651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10652 if (!SWIG_IsOK(res1)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10654 }
10655 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 resultobj = SWIG_From_int(static_cast< int >(result));
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10670 PyObject *resultobj = 0;
10671 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10672 wxWindow *result = 0 ;
10673 void *argp1 = 0 ;
10674 int res1 = 0 ;
10675 PyObject *swig_obj[1] ;
10676
10677 if (!args) SWIG_fail;
10678 swig_obj[0] = args;
10679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10680 if (!SWIG_IsOK(res1)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10682 }
10683 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 {
10691 resultobj = wxPyMake_wxObject(result, 0);
10692 }
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10700 PyObject *resultobj = 0;
10701 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10702 int result;
10703 void *argp1 = 0 ;
10704 int res1 = 0 ;
10705 PyObject *swig_obj[1] ;
10706
10707 if (!args) SWIG_fail;
10708 swig_obj[0] = args;
10709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10712 }
10713 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_From_int(static_cast< int >(result));
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10728 PyObject *resultobj = 0;
10729 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10730 int result;
10731 void *argp1 = 0 ;
10732 int res1 = 0 ;
10733 PyObject *swig_obj[1] ;
10734
10735 if (!args) SWIG_fail;
10736 swig_obj[0] = args;
10737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10738 if (!SWIG_IsOK(res1)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10740 }
10741 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 resultobj = SWIG_From_int(static_cast< int >(result));
10749 return resultobj;
10750 fail:
10751 return NULL;
10752 }
10753
10754
10755 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10756 PyObject *obj;
10757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10758 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10759 return SWIG_Py_Void();
10760 }
10761
10762 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10763 return SWIG_Python_InitShadowInstance(args);
10764 }
10765
10766 SWIGINTERN int SashNameStr_set(PyObject *) {
10767 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10768 return 1;
10769 }
10770
10771
10772 SWIGINTERN PyObject *SashNameStr_get(void) {
10773 PyObject *pyobj = 0;
10774
10775 {
10776 #if wxUSE_UNICODE
10777 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10778 #else
10779 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10780 #endif
10781 }
10782 return pyobj;
10783 }
10784
10785
10786 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10787 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10788 return 1;
10789 }
10790
10791
10792 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10793 PyObject *pyobj = 0;
10794
10795 {
10796 #if wxUSE_UNICODE
10797 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10798 #else
10799 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10800 #endif
10801 }
10802 return pyobj;
10803 }
10804
10805
10806 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj = 0;
10808 wxWindow *arg1 = (wxWindow *) 0 ;
10809 int arg2 = (int) -1 ;
10810 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10811 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10812 wxSize const &arg4_defvalue = wxDefaultSize ;
10813 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10814 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10815 wxString const &arg6_defvalue = wxPySashNameStr ;
10816 wxString *arg6 = (wxString *) &arg6_defvalue ;
10817 wxSashWindow *result = 0 ;
10818 void *argp1 = 0 ;
10819 int res1 = 0 ;
10820 int val2 ;
10821 int ecode2 = 0 ;
10822 wxPoint temp3 ;
10823 wxSize temp4 ;
10824 long val5 ;
10825 int ecode5 = 0 ;
10826 bool temp6 = false ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 PyObject * obj2 = 0 ;
10830 PyObject * obj3 = 0 ;
10831 PyObject * obj4 = 0 ;
10832 PyObject * obj5 = 0 ;
10833 char * kwnames[] = {
10834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10835 };
10836
10837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10839 if (!SWIG_IsOK(res1)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10841 }
10842 arg1 = reinterpret_cast< wxWindow * >(argp1);
10843 if (obj1) {
10844 ecode2 = SWIG_AsVal_int(obj1, &val2);
10845 if (!SWIG_IsOK(ecode2)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10847 }
10848 arg2 = static_cast< int >(val2);
10849 }
10850 if (obj2) {
10851 {
10852 arg3 = &temp3;
10853 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10854 }
10855 }
10856 if (obj3) {
10857 {
10858 arg4 = &temp4;
10859 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10860 }
10861 }
10862 if (obj4) {
10863 ecode5 = SWIG_AsVal_long(obj4, &val5);
10864 if (!SWIG_IsOK(ecode5)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10866 }
10867 arg5 = static_cast< long >(val5);
10868 }
10869 if (obj5) {
10870 {
10871 arg6 = wxString_in_helper(obj5);
10872 if (arg6 == NULL) SWIG_fail;
10873 temp6 = true;
10874 }
10875 }
10876 {
10877 if (!wxPyCheckForApp()) SWIG_fail;
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10884 {
10885 if (temp6)
10886 delete arg6;
10887 }
10888 return resultobj;
10889 fail:
10890 {
10891 if (temp6)
10892 delete arg6;
10893 }
10894 return NULL;
10895 }
10896
10897
10898 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10899 PyObject *resultobj = 0;
10900 wxSashWindow *result = 0 ;
10901
10902 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10903 {
10904 if (!wxPyCheckForApp()) SWIG_fail;
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 result = (wxSashWindow *)new wxSashWindow();
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj = 0;
10919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10920 wxWindow *arg2 = (wxWindow *) 0 ;
10921 int arg3 = (int) -1 ;
10922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10924 wxSize const &arg5_defvalue = wxDefaultSize ;
10925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10926 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10927 wxString const &arg7_defvalue = wxPySashNameStr ;
10928 wxString *arg7 = (wxString *) &arg7_defvalue ;
10929 bool result;
10930 void *argp1 = 0 ;
10931 int res1 = 0 ;
10932 void *argp2 = 0 ;
10933 int res2 = 0 ;
10934 int val3 ;
10935 int ecode3 = 0 ;
10936 wxPoint temp4 ;
10937 wxSize temp5 ;
10938 long val6 ;
10939 int ecode6 = 0 ;
10940 bool temp7 = false ;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 PyObject * obj2 = 0 ;
10944 PyObject * obj3 = 0 ;
10945 PyObject * obj4 = 0 ;
10946 PyObject * obj5 = 0 ;
10947 PyObject * obj6 = 0 ;
10948 char * kwnames[] = {
10949 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10950 };
10951
10952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10954 if (!SWIG_IsOK(res1)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10956 }
10957 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10958 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10959 if (!SWIG_IsOK(res2)) {
10960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10961 }
10962 arg2 = reinterpret_cast< wxWindow * >(argp2);
10963 if (obj2) {
10964 ecode3 = SWIG_AsVal_int(obj2, &val3);
10965 if (!SWIG_IsOK(ecode3)) {
10966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10967 }
10968 arg3 = static_cast< int >(val3);
10969 }
10970 if (obj3) {
10971 {
10972 arg4 = &temp4;
10973 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10974 }
10975 }
10976 if (obj4) {
10977 {
10978 arg5 = &temp5;
10979 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10980 }
10981 }
10982 if (obj5) {
10983 ecode6 = SWIG_AsVal_long(obj5, &val6);
10984 if (!SWIG_IsOK(ecode6)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10986 }
10987 arg6 = static_cast< long >(val6);
10988 }
10989 if (obj6) {
10990 {
10991 arg7 = wxString_in_helper(obj6);
10992 if (arg7 == NULL) SWIG_fail;
10993 temp7 = true;
10994 }
10995 }
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 {
11003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11004 }
11005 {
11006 if (temp7)
11007 delete arg7;
11008 }
11009 return resultobj;
11010 fail:
11011 {
11012 if (temp7)
11013 delete arg7;
11014 }
11015 return NULL;
11016 }
11017
11018
11019 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj = 0;
11021 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11022 wxSashEdgePosition arg2 ;
11023 bool arg3 ;
11024 void *argp1 = 0 ;
11025 int res1 = 0 ;
11026 int val2 ;
11027 int ecode2 = 0 ;
11028 bool val3 ;
11029 int ecode3 = 0 ;
11030 PyObject * obj0 = 0 ;
11031 PyObject * obj1 = 0 ;
11032 PyObject * obj2 = 0 ;
11033 char * kwnames[] = {
11034 (char *) "self",(char *) "edge",(char *) "sash", NULL
11035 };
11036
11037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11039 if (!SWIG_IsOK(res1)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11041 }
11042 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11043 ecode2 = SWIG_AsVal_int(obj1, &val2);
11044 if (!SWIG_IsOK(ecode2)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11046 }
11047 arg2 = static_cast< wxSashEdgePosition >(val2);
11048 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11049 if (!SWIG_IsOK(ecode3)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11051 }
11052 arg3 = static_cast< bool >(val3);
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 (arg1)->SetSashVisible(arg2,arg3);
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 resultobj = SWIG_Py_Void();
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj = 0;
11068 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11069 wxSashEdgePosition arg2 ;
11070 bool result;
11071 void *argp1 = 0 ;
11072 int res1 = 0 ;
11073 int val2 ;
11074 int ecode2 = 0 ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 char * kwnames[] = {
11078 (char *) "self",(char *) "edge", NULL
11079 };
11080
11081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11083 if (!SWIG_IsOK(res1)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11085 }
11086 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11087 ecode2 = SWIG_AsVal_int(obj1, &val2);
11088 if (!SWIG_IsOK(ecode2)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11090 }
11091 arg2 = static_cast< wxSashEdgePosition >(val2);
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 {
11099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11100 }
11101 return resultobj;
11102 fail:
11103 return NULL;
11104 }
11105
11106
11107 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11108 PyObject *resultobj = 0;
11109 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11110 wxSashEdgePosition arg2 ;
11111 bool arg3 ;
11112 void *argp1 = 0 ;
11113 int res1 = 0 ;
11114 int val2 ;
11115 int ecode2 = 0 ;
11116 bool val3 ;
11117 int ecode3 = 0 ;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 PyObject * obj2 = 0 ;
11121 char * kwnames[] = {
11122 (char *) "self",(char *) "edge",(char *) "border", NULL
11123 };
11124
11125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11129 }
11130 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11131 ecode2 = SWIG_AsVal_int(obj1, &val2);
11132 if (!SWIG_IsOK(ecode2)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11134 }
11135 arg2 = static_cast< wxSashEdgePosition >(val2);
11136 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11137 if (!SWIG_IsOK(ecode3)) {
11138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11139 }
11140 arg3 = static_cast< bool >(val3);
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->SetSashBorder(arg2,arg3);
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_Py_Void();
11148 return resultobj;
11149 fail:
11150 return NULL;
11151 }
11152
11153
11154 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj = 0;
11156 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11157 wxSashEdgePosition arg2 ;
11158 bool result;
11159 void *argp1 = 0 ;
11160 int res1 = 0 ;
11161 int val2 ;
11162 int ecode2 = 0 ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 char * kwnames[] = {
11166 (char *) "self",(char *) "edge", NULL
11167 };
11168
11169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11171 if (!SWIG_IsOK(res1)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11173 }
11174 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11175 ecode2 = SWIG_AsVal_int(obj1, &val2);
11176 if (!SWIG_IsOK(ecode2)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11178 }
11179 arg2 = static_cast< wxSashEdgePosition >(val2);
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 {
11187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11188 }
11189 return resultobj;
11190 fail:
11191 return NULL;
11192 }
11193
11194
11195 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11196 PyObject *resultobj = 0;
11197 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11198 wxSashEdgePosition arg2 ;
11199 int result;
11200 void *argp1 = 0 ;
11201 int res1 = 0 ;
11202 int val2 ;
11203 int ecode2 = 0 ;
11204 PyObject * obj0 = 0 ;
11205 PyObject * obj1 = 0 ;
11206 char * kwnames[] = {
11207 (char *) "self",(char *) "edge", NULL
11208 };
11209
11210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11212 if (!SWIG_IsOK(res1)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11214 }
11215 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11216 ecode2 = SWIG_AsVal_int(obj1, &val2);
11217 if (!SWIG_IsOK(ecode2)) {
11218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11219 }
11220 arg2 = static_cast< wxSashEdgePosition >(val2);
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 resultobj = SWIG_From_int(static_cast< int >(result));
11228 return resultobj;
11229 fail:
11230 return NULL;
11231 }
11232
11233
11234 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj = 0;
11236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11237 int arg2 ;
11238 void *argp1 = 0 ;
11239 int res1 = 0 ;
11240 int val2 ;
11241 int ecode2 = 0 ;
11242 PyObject * obj0 = 0 ;
11243 PyObject * obj1 = 0 ;
11244 char * kwnames[] = {
11245 (char *) "self",(char *) "width", NULL
11246 };
11247
11248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11250 if (!SWIG_IsOK(res1)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11252 }
11253 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11254 ecode2 = SWIG_AsVal_int(obj1, &val2);
11255 if (!SWIG_IsOK(ecode2)) {
11256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11257 }
11258 arg2 = static_cast< int >(val2);
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 (arg1)->SetDefaultBorderSize(arg2);
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 resultobj = SWIG_Py_Void();
11266 return resultobj;
11267 fail:
11268 return NULL;
11269 }
11270
11271
11272 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11273 PyObject *resultobj = 0;
11274 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11275 int result;
11276 void *argp1 = 0 ;
11277 int res1 = 0 ;
11278 PyObject *swig_obj[1] ;
11279
11280 if (!args) SWIG_fail;
11281 swig_obj[0] = args;
11282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11283 if (!SWIG_IsOK(res1)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11285 }
11286 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 resultobj = SWIG_From_int(static_cast< int >(result));
11294 return resultobj;
11295 fail:
11296 return NULL;
11297 }
11298
11299
11300 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj = 0;
11302 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11303 int arg2 ;
11304 void *argp1 = 0 ;
11305 int res1 = 0 ;
11306 int val2 ;
11307 int ecode2 = 0 ;
11308 PyObject * obj0 = 0 ;
11309 PyObject * obj1 = 0 ;
11310 char * kwnames[] = {
11311 (char *) "self",(char *) "width", NULL
11312 };
11313
11314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11316 if (!SWIG_IsOK(res1)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11318 }
11319 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11320 ecode2 = SWIG_AsVal_int(obj1, &val2);
11321 if (!SWIG_IsOK(ecode2)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11323 }
11324 arg2 = static_cast< int >(val2);
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 (arg1)->SetExtraBorderSize(arg2);
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_Py_Void();
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11339 PyObject *resultobj = 0;
11340 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11341 int result;
11342 void *argp1 = 0 ;
11343 int res1 = 0 ;
11344 PyObject *swig_obj[1] ;
11345
11346 if (!args) SWIG_fail;
11347 swig_obj[0] = args;
11348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11349 if (!SWIG_IsOK(res1)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11351 }
11352 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 resultobj = SWIG_From_int(static_cast< int >(result));
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj = 0;
11368 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11369 int arg2 ;
11370 void *argp1 = 0 ;
11371 int res1 = 0 ;
11372 int val2 ;
11373 int ecode2 = 0 ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 char * kwnames[] = {
11377 (char *) "self",(char *) "min", NULL
11378 };
11379
11380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11382 if (!SWIG_IsOK(res1)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11384 }
11385 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11386 ecode2 = SWIG_AsVal_int(obj1, &val2);
11387 if (!SWIG_IsOK(ecode2)) {
11388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11389 }
11390 arg2 = static_cast< int >(val2);
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->SetMinimumSizeX(arg2);
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 resultobj = SWIG_Py_Void();
11398 return resultobj;
11399 fail:
11400 return NULL;
11401 }
11402
11403
11404 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11405 PyObject *resultobj = 0;
11406 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11407 int arg2 ;
11408 void *argp1 = 0 ;
11409 int res1 = 0 ;
11410 int val2 ;
11411 int ecode2 = 0 ;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 char * kwnames[] = {
11415 (char *) "self",(char *) "min", NULL
11416 };
11417
11418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11420 if (!SWIG_IsOK(res1)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11422 }
11423 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11424 ecode2 = SWIG_AsVal_int(obj1, &val2);
11425 if (!SWIG_IsOK(ecode2)) {
11426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11427 }
11428 arg2 = static_cast< int >(val2);
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 (arg1)->SetMinimumSizeY(arg2);
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
11435 resultobj = SWIG_Py_Void();
11436 return resultobj;
11437 fail:
11438 return NULL;
11439 }
11440
11441
11442 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11443 PyObject *resultobj = 0;
11444 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11445 int result;
11446 void *argp1 = 0 ;
11447 int res1 = 0 ;
11448 PyObject *swig_obj[1] ;
11449
11450 if (!args) SWIG_fail;
11451 swig_obj[0] = args;
11452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11453 if (!SWIG_IsOK(res1)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11455 }
11456 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 resultobj = SWIG_From_int(static_cast< int >(result));
11464 return resultobj;
11465 fail:
11466 return NULL;
11467 }
11468
11469
11470 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11471 PyObject *resultobj = 0;
11472 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11473 int result;
11474 void *argp1 = 0 ;
11475 int res1 = 0 ;
11476 PyObject *swig_obj[1] ;
11477
11478 if (!args) SWIG_fail;
11479 swig_obj[0] = args;
11480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11481 if (!SWIG_IsOK(res1)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11483 }
11484 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 resultobj = SWIG_From_int(static_cast< int >(result));
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11499 PyObject *resultobj = 0;
11500 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11501 int arg2 ;
11502 void *argp1 = 0 ;
11503 int res1 = 0 ;
11504 int val2 ;
11505 int ecode2 = 0 ;
11506 PyObject * obj0 = 0 ;
11507 PyObject * obj1 = 0 ;
11508 char * kwnames[] = {
11509 (char *) "self",(char *) "max", NULL
11510 };
11511
11512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11514 if (!SWIG_IsOK(res1)) {
11515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11516 }
11517 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11518 ecode2 = SWIG_AsVal_int(obj1, &val2);
11519 if (!SWIG_IsOK(ecode2)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11521 }
11522 arg2 = static_cast< int >(val2);
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 (arg1)->SetMaximumSizeX(arg2);
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 resultobj = SWIG_Py_Void();
11530 return resultobj;
11531 fail:
11532 return NULL;
11533 }
11534
11535
11536 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj = 0;
11538 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11539 int arg2 ;
11540 void *argp1 = 0 ;
11541 int res1 = 0 ;
11542 int val2 ;
11543 int ecode2 = 0 ;
11544 PyObject * obj0 = 0 ;
11545 PyObject * obj1 = 0 ;
11546 char * kwnames[] = {
11547 (char *) "self",(char *) "max", NULL
11548 };
11549
11550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11552 if (!SWIG_IsOK(res1)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11554 }
11555 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11556 ecode2 = SWIG_AsVal_int(obj1, &val2);
11557 if (!SWIG_IsOK(ecode2)) {
11558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11559 }
11560 arg2 = static_cast< int >(val2);
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 (arg1)->SetMaximumSizeY(arg2);
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 resultobj = SWIG_Py_Void();
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11575 PyObject *resultobj = 0;
11576 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11577 int result;
11578 void *argp1 = 0 ;
11579 int res1 = 0 ;
11580 PyObject *swig_obj[1] ;
11581
11582 if (!args) SWIG_fail;
11583 swig_obj[0] = args;
11584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11585 if (!SWIG_IsOK(res1)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11587 }
11588 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 resultobj = SWIG_From_int(static_cast< int >(result));
11596 return resultobj;
11597 fail:
11598 return NULL;
11599 }
11600
11601
11602 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11603 PyObject *resultobj = 0;
11604 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11605 int result;
11606 void *argp1 = 0 ;
11607 int res1 = 0 ;
11608 PyObject *swig_obj[1] ;
11609
11610 if (!args) SWIG_fail;
11611 swig_obj[0] = args;
11612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11613 if (!SWIG_IsOK(res1)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11615 }
11616 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 resultobj = SWIG_From_int(static_cast< int >(result));
11624 return resultobj;
11625 fail:
11626 return NULL;
11627 }
11628
11629
11630 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11631 PyObject *resultobj = 0;
11632 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11633 int arg2 ;
11634 int arg3 ;
11635 int arg4 = (int) 2 ;
11636 wxSashEdgePosition result;
11637 void *argp1 = 0 ;
11638 int res1 = 0 ;
11639 int val2 ;
11640 int ecode2 = 0 ;
11641 int val3 ;
11642 int ecode3 = 0 ;
11643 int val4 ;
11644 int ecode4 = 0 ;
11645 PyObject * obj0 = 0 ;
11646 PyObject * obj1 = 0 ;
11647 PyObject * obj2 = 0 ;
11648 PyObject * obj3 = 0 ;
11649 char * kwnames[] = {
11650 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11651 };
11652
11653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11655 if (!SWIG_IsOK(res1)) {
11656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11657 }
11658 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11659 ecode2 = SWIG_AsVal_int(obj1, &val2);
11660 if (!SWIG_IsOK(ecode2)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11662 }
11663 arg2 = static_cast< int >(val2);
11664 ecode3 = SWIG_AsVal_int(obj2, &val3);
11665 if (!SWIG_IsOK(ecode3)) {
11666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11667 }
11668 arg3 = static_cast< int >(val3);
11669 if (obj3) {
11670 ecode4 = SWIG_AsVal_int(obj3, &val4);
11671 if (!SWIG_IsOK(ecode4)) {
11672 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11673 }
11674 arg4 = static_cast< int >(val4);
11675 }
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 resultobj = SWIG_From_int(static_cast< int >(result));
11683 return resultobj;
11684 fail:
11685 return NULL;
11686 }
11687
11688
11689 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11690 PyObject *resultobj = 0;
11691 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11692 void *argp1 = 0 ;
11693 int res1 = 0 ;
11694 PyObject *swig_obj[1] ;
11695
11696 if (!args) SWIG_fail;
11697 swig_obj[0] = args;
11698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11699 if (!SWIG_IsOK(res1)) {
11700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11701 }
11702 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 (arg1)->SizeWindows();
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 resultobj = SWIG_Py_Void();
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11717 PyObject *obj;
11718 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11719 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11720 return SWIG_Py_Void();
11721 }
11722
11723 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11724 return SWIG_Python_InitShadowInstance(args);
11725 }
11726
11727 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj = 0;
11729 int arg1 = (int) 0 ;
11730 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11731 wxSashEvent *result = 0 ;
11732 int val1 ;
11733 int ecode1 = 0 ;
11734 int val2 ;
11735 int ecode2 = 0 ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 char * kwnames[] = {
11739 (char *) "id",(char *) "edge", NULL
11740 };
11741
11742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11743 if (obj0) {
11744 ecode1 = SWIG_AsVal_int(obj0, &val1);
11745 if (!SWIG_IsOK(ecode1)) {
11746 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11747 }
11748 arg1 = static_cast< int >(val1);
11749 }
11750 if (obj1) {
11751 ecode2 = SWIG_AsVal_int(obj1, &val2);
11752 if (!SWIG_IsOK(ecode2)) {
11753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11754 }
11755 arg2 = static_cast< wxSashEdgePosition >(val2);
11756 }
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj = 0;
11772 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11773 wxSashEdgePosition arg2 ;
11774 void *argp1 = 0 ;
11775 int res1 = 0 ;
11776 int val2 ;
11777 int ecode2 = 0 ;
11778 PyObject * obj0 = 0 ;
11779 PyObject * obj1 = 0 ;
11780 char * kwnames[] = {
11781 (char *) "self",(char *) "edge", NULL
11782 };
11783
11784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11786 if (!SWIG_IsOK(res1)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11788 }
11789 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11790 ecode2 = SWIG_AsVal_int(obj1, &val2);
11791 if (!SWIG_IsOK(ecode2)) {
11792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11793 }
11794 arg2 = static_cast< wxSashEdgePosition >(val2);
11795 {
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 (arg1)->SetEdge(arg2);
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 resultobj = SWIG_Py_Void();
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11809 PyObject *resultobj = 0;
11810 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11811 wxSashEdgePosition result;
11812 void *argp1 = 0 ;
11813 int res1 = 0 ;
11814 PyObject *swig_obj[1] ;
11815
11816 if (!args) SWIG_fail;
11817 swig_obj[0] = args;
11818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11819 if (!SWIG_IsOK(res1)) {
11820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11821 }
11822 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11823 {
11824 PyThreadState* __tstate = wxPyBeginAllowThreads();
11825 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 resultobj = SWIG_From_int(static_cast< int >(result));
11830 return resultobj;
11831 fail:
11832 return NULL;
11833 }
11834
11835
11836 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj = 0;
11838 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11839 wxRect *arg2 = 0 ;
11840 void *argp1 = 0 ;
11841 int res1 = 0 ;
11842 wxRect temp2 ;
11843 PyObject * obj0 = 0 ;
11844 PyObject * obj1 = 0 ;
11845 char * kwnames[] = {
11846 (char *) "self",(char *) "rect", NULL
11847 };
11848
11849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11851 if (!SWIG_IsOK(res1)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11853 }
11854 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11855 {
11856 arg2 = &temp2;
11857 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 (arg1)->SetDragRect((wxRect const &)*arg2);
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 resultobj = SWIG_Py_Void();
11866 return resultobj;
11867 fail:
11868 return NULL;
11869 }
11870
11871
11872 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873 PyObject *resultobj = 0;
11874 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11875 wxRect result;
11876 void *argp1 = 0 ;
11877 int res1 = 0 ;
11878 PyObject *swig_obj[1] ;
11879
11880 if (!args) SWIG_fail;
11881 swig_obj[0] = args;
11882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11883 if (!SWIG_IsOK(res1)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 }
11886 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = ((wxSashEvent const *)arg1)->GetDragRect();
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj = 0;
11902 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11903 wxSashDragStatus arg2 ;
11904 void *argp1 = 0 ;
11905 int res1 = 0 ;
11906 int val2 ;
11907 int ecode2 = 0 ;
11908 PyObject * obj0 = 0 ;
11909 PyObject * obj1 = 0 ;
11910 char * kwnames[] = {
11911 (char *) "self",(char *) "status", NULL
11912 };
11913
11914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11916 if (!SWIG_IsOK(res1)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11918 }
11919 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11920 ecode2 = SWIG_AsVal_int(obj1, &val2);
11921 if (!SWIG_IsOK(ecode2)) {
11922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11923 }
11924 arg2 = static_cast< wxSashDragStatus >(val2);
11925 {
11926 PyThreadState* __tstate = wxPyBeginAllowThreads();
11927 (arg1)->SetDragStatus(arg2);
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 resultobj = SWIG_Py_Void();
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11939 PyObject *resultobj = 0;
11940 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11941 wxSashDragStatus result;
11942 void *argp1 = 0 ;
11943 int res1 = 0 ;
11944 PyObject *swig_obj[1] ;
11945
11946 if (!args) SWIG_fail;
11947 swig_obj[0] = args;
11948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11949 if (!SWIG_IsOK(res1)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11951 }
11952 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = SWIG_From_int(static_cast< int >(result));
11960 return resultobj;
11961 fail:
11962 return NULL;
11963 }
11964
11965
11966 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11967 PyObject *obj;
11968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11969 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11970 return SWIG_Py_Void();
11971 }
11972
11973 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11974 return SWIG_Python_InitShadowInstance(args);
11975 }
11976
11977 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11978 PyObject *resultobj = 0;
11979 int arg1 = (int) 0 ;
11980 wxQueryLayoutInfoEvent *result = 0 ;
11981 int val1 ;
11982 int ecode1 = 0 ;
11983 PyObject * obj0 = 0 ;
11984 char * kwnames[] = {
11985 (char *) "id", NULL
11986 };
11987
11988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11989 if (obj0) {
11990 ecode1 = SWIG_AsVal_int(obj0, &val1);
11991 if (!SWIG_IsOK(ecode1)) {
11992 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11993 }
11994 arg1 = static_cast< int >(val1);
11995 }
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12003 return resultobj;
12004 fail:
12005 return NULL;
12006 }
12007
12008
12009 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj = 0;
12011 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12012 int arg2 ;
12013 void *argp1 = 0 ;
12014 int res1 = 0 ;
12015 int val2 ;
12016 int ecode2 = 0 ;
12017 PyObject * obj0 = 0 ;
12018 PyObject * obj1 = 0 ;
12019 char * kwnames[] = {
12020 (char *) "self",(char *) "length", NULL
12021 };
12022
12023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12025 if (!SWIG_IsOK(res1)) {
12026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12027 }
12028 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12029 ecode2 = SWIG_AsVal_int(obj1, &val2);
12030 if (!SWIG_IsOK(ecode2)) {
12031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12032 }
12033 arg2 = static_cast< int >(val2);
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 (arg1)->SetRequestedLength(arg2);
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_Py_Void();
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12048 PyObject *resultobj = 0;
12049 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12050 int result;
12051 void *argp1 = 0 ;
12052 int res1 = 0 ;
12053 PyObject *swig_obj[1] ;
12054
12055 if (!args) SWIG_fail;
12056 swig_obj[0] = args;
12057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12058 if (!SWIG_IsOK(res1)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12060 }
12061 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = SWIG_From_int(static_cast< int >(result));
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj = 0;
12077 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12078 int arg2 ;
12079 void *argp1 = 0 ;
12080 int res1 = 0 ;
12081 int val2 ;
12082 int ecode2 = 0 ;
12083 PyObject * obj0 = 0 ;
12084 PyObject * obj1 = 0 ;
12085 char * kwnames[] = {
12086 (char *) "self",(char *) "flags", NULL
12087 };
12088
12089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12091 if (!SWIG_IsOK(res1)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12093 }
12094 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12095 ecode2 = SWIG_AsVal_int(obj1, &val2);
12096 if (!SWIG_IsOK(ecode2)) {
12097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12098 }
12099 arg2 = static_cast< int >(val2);
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 (arg1)->SetFlags(arg2);
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 resultobj = SWIG_Py_Void();
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12114 PyObject *resultobj = 0;
12115 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12116 int result;
12117 void *argp1 = 0 ;
12118 int res1 = 0 ;
12119 PyObject *swig_obj[1] ;
12120
12121 if (!args) SWIG_fail;
12122 swig_obj[0] = args;
12123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12124 if (!SWIG_IsOK(res1)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12126 }
12127 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 resultobj = SWIG_From_int(static_cast< int >(result));
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj = 0;
12143 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12144 wxSize *arg2 = 0 ;
12145 void *argp1 = 0 ;
12146 int res1 = 0 ;
12147 wxSize temp2 ;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char * kwnames[] = {
12151 (char *) "self",(char *) "size", NULL
12152 };
12153
12154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12156 if (!SWIG_IsOK(res1)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12158 }
12159 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12160 {
12161 arg2 = &temp2;
12162 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12163 }
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->SetSize((wxSize const &)*arg2);
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 resultobj = SWIG_Py_Void();
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12178 PyObject *resultobj = 0;
12179 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12180 wxSize result;
12181 void *argp1 = 0 ;
12182 int res1 = 0 ;
12183 PyObject *swig_obj[1] ;
12184
12185 if (!args) SWIG_fail;
12186 swig_obj[0] = args;
12187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12188 if (!SWIG_IsOK(res1)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 }
12191 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj = 0;
12207 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12208 wxLayoutOrientation arg2 ;
12209 void *argp1 = 0 ;
12210 int res1 = 0 ;
12211 int val2 ;
12212 int ecode2 = 0 ;
12213 PyObject * obj0 = 0 ;
12214 PyObject * obj1 = 0 ;
12215 char * kwnames[] = {
12216 (char *) "self",(char *) "orient", NULL
12217 };
12218
12219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12221 if (!SWIG_IsOK(res1)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12223 }
12224 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12225 ecode2 = SWIG_AsVal_int(obj1, &val2);
12226 if (!SWIG_IsOK(ecode2)) {
12227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12228 }
12229 arg2 = static_cast< wxLayoutOrientation >(val2);
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 (arg1)->SetOrientation(arg2);
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 resultobj = SWIG_Py_Void();
12237 return resultobj;
12238 fail:
12239 return NULL;
12240 }
12241
12242
12243 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12244 PyObject *resultobj = 0;
12245 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12246 wxLayoutOrientation result;
12247 void *argp1 = 0 ;
12248 int res1 = 0 ;
12249 PyObject *swig_obj[1] ;
12250
12251 if (!args) SWIG_fail;
12252 swig_obj[0] = args;
12253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12254 if (!SWIG_IsOK(res1)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12256 }
12257 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 resultobj = SWIG_From_int(static_cast< int >(result));
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj = 0;
12273 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12274 wxLayoutAlignment arg2 ;
12275 void *argp1 = 0 ;
12276 int res1 = 0 ;
12277 int val2 ;
12278 int ecode2 = 0 ;
12279 PyObject * obj0 = 0 ;
12280 PyObject * obj1 = 0 ;
12281 char * kwnames[] = {
12282 (char *) "self",(char *) "align", NULL
12283 };
12284
12285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12287 if (!SWIG_IsOK(res1)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12289 }
12290 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12291 ecode2 = SWIG_AsVal_int(obj1, &val2);
12292 if (!SWIG_IsOK(ecode2)) {
12293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12294 }
12295 arg2 = static_cast< wxLayoutAlignment >(val2);
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 (arg1)->SetAlignment(arg2);
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 resultobj = SWIG_Py_Void();
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12310 PyObject *resultobj = 0;
12311 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12312 wxLayoutAlignment result;
12313 void *argp1 = 0 ;
12314 int res1 = 0 ;
12315 PyObject *swig_obj[1] ;
12316
12317 if (!args) SWIG_fail;
12318 swig_obj[0] = args;
12319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12320 if (!SWIG_IsOK(res1)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12322 }
12323 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_From_int(static_cast< int >(result));
12331 return resultobj;
12332 fail:
12333 return NULL;
12334 }
12335
12336
12337 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12338 PyObject *obj;
12339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12340 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12341 return SWIG_Py_Void();
12342 }
12343
12344 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12345 return SWIG_Python_InitShadowInstance(args);
12346 }
12347
12348 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj = 0;
12350 int arg1 = (int) 0 ;
12351 wxCalculateLayoutEvent *result = 0 ;
12352 int val1 ;
12353 int ecode1 = 0 ;
12354 PyObject * obj0 = 0 ;
12355 char * kwnames[] = {
12356 (char *) "id", NULL
12357 };
12358
12359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12360 if (obj0) {
12361 ecode1 = SWIG_AsVal_int(obj0, &val1);
12362 if (!SWIG_IsOK(ecode1)) {
12363 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12364 }
12365 arg1 = static_cast< int >(val1);
12366 }
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj = 0;
12382 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12383 int arg2 ;
12384 void *argp1 = 0 ;
12385 int res1 = 0 ;
12386 int val2 ;
12387 int ecode2 = 0 ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj1 = 0 ;
12390 char * kwnames[] = {
12391 (char *) "self",(char *) "flags", NULL
12392 };
12393
12394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12396 if (!SWIG_IsOK(res1)) {
12397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12398 }
12399 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12400 ecode2 = SWIG_AsVal_int(obj1, &val2);
12401 if (!SWIG_IsOK(ecode2)) {
12402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12403 }
12404 arg2 = static_cast< int >(val2);
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 (arg1)->SetFlags(arg2);
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
12411 resultobj = SWIG_Py_Void();
12412 return resultobj;
12413 fail:
12414 return NULL;
12415 }
12416
12417
12418 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12419 PyObject *resultobj = 0;
12420 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12421 int result;
12422 void *argp1 = 0 ;
12423 int res1 = 0 ;
12424 PyObject *swig_obj[1] ;
12425
12426 if (!args) SWIG_fail;
12427 swig_obj[0] = args;
12428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12429 if (!SWIG_IsOK(res1)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12431 }
12432 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 resultobj = SWIG_From_int(static_cast< int >(result));
12440 return resultobj;
12441 fail:
12442 return NULL;
12443 }
12444
12445
12446 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj = 0;
12448 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12449 wxRect *arg2 = 0 ;
12450 void *argp1 = 0 ;
12451 int res1 = 0 ;
12452 wxRect temp2 ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 char * kwnames[] = {
12456 (char *) "self",(char *) "rect", NULL
12457 };
12458
12459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12461 if (!SWIG_IsOK(res1)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12463 }
12464 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12465 {
12466 arg2 = &temp2;
12467 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12468 }
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 (arg1)->SetRect((wxRect const &)*arg2);
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_Py_Void();
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12483 PyObject *resultobj = 0;
12484 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12485 wxRect result;
12486 void *argp1 = 0 ;
12487 int res1 = 0 ;
12488 PyObject *swig_obj[1] ;
12489
12490 if (!args) SWIG_fail;
12491 swig_obj[0] = args;
12492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12493 if (!SWIG_IsOK(res1)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 }
12496 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12511 PyObject *obj;
12512 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12513 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12514 return SWIG_Py_Void();
12515 }
12516
12517 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12518 return SWIG_Python_InitShadowInstance(args);
12519 }
12520
12521 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj = 0;
12523 wxWindow *arg1 = (wxWindow *) 0 ;
12524 int arg2 = (int) -1 ;
12525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12527 wxSize const &arg4_defvalue = wxDefaultSize ;
12528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12529 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12530 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12531 wxString *arg6 = (wxString *) &arg6_defvalue ;
12532 wxSashLayoutWindow *result = 0 ;
12533 void *argp1 = 0 ;
12534 int res1 = 0 ;
12535 int val2 ;
12536 int ecode2 = 0 ;
12537 wxPoint temp3 ;
12538 wxSize temp4 ;
12539 long val5 ;
12540 int ecode5 = 0 ;
12541 bool temp6 = false ;
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 PyObject * obj2 = 0 ;
12545 PyObject * obj3 = 0 ;
12546 PyObject * obj4 = 0 ;
12547 PyObject * obj5 = 0 ;
12548 char * kwnames[] = {
12549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12550 };
12551
12552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12554 if (!SWIG_IsOK(res1)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12556 }
12557 arg1 = reinterpret_cast< wxWindow * >(argp1);
12558 if (obj1) {
12559 ecode2 = SWIG_AsVal_int(obj1, &val2);
12560 if (!SWIG_IsOK(ecode2)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12562 }
12563 arg2 = static_cast< int >(val2);
12564 }
12565 if (obj2) {
12566 {
12567 arg3 = &temp3;
12568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12569 }
12570 }
12571 if (obj3) {
12572 {
12573 arg4 = &temp4;
12574 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12575 }
12576 }
12577 if (obj4) {
12578 ecode5 = SWIG_AsVal_long(obj4, &val5);
12579 if (!SWIG_IsOK(ecode5)) {
12580 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12581 }
12582 arg5 = static_cast< long >(val5);
12583 }
12584 if (obj5) {
12585 {
12586 arg6 = wxString_in_helper(obj5);
12587 if (arg6 == NULL) SWIG_fail;
12588 temp6 = true;
12589 }
12590 }
12591 {
12592 if (!wxPyCheckForApp()) SWIG_fail;
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
12594 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12599 {
12600 if (temp6)
12601 delete arg6;
12602 }
12603 return resultobj;
12604 fail:
12605 {
12606 if (temp6)
12607 delete arg6;
12608 }
12609 return NULL;
12610 }
12611
12612
12613 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12614 PyObject *resultobj = 0;
12615 wxSashLayoutWindow *result = 0 ;
12616
12617 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12618 {
12619 if (!wxPyCheckForApp()) SWIG_fail;
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12626 return resultobj;
12627 fail:
12628 return NULL;
12629 }
12630
12631
12632 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj = 0;
12634 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12635 wxWindow *arg2 = (wxWindow *) 0 ;
12636 int arg3 = (int) -1 ;
12637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12639 wxSize const &arg5_defvalue = wxDefaultSize ;
12640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12641 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12642 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12643 wxString *arg7 = (wxString *) &arg7_defvalue ;
12644 bool result;
12645 void *argp1 = 0 ;
12646 int res1 = 0 ;
12647 void *argp2 = 0 ;
12648 int res2 = 0 ;
12649 int val3 ;
12650 int ecode3 = 0 ;
12651 wxPoint temp4 ;
12652 wxSize temp5 ;
12653 long val6 ;
12654 int ecode6 = 0 ;
12655 bool temp7 = false ;
12656 PyObject * obj0 = 0 ;
12657 PyObject * obj1 = 0 ;
12658 PyObject * obj2 = 0 ;
12659 PyObject * obj3 = 0 ;
12660 PyObject * obj4 = 0 ;
12661 PyObject * obj5 = 0 ;
12662 PyObject * obj6 = 0 ;
12663 char * kwnames[] = {
12664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12665 };
12666
12667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12669 if (!SWIG_IsOK(res1)) {
12670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12671 }
12672 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12673 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12674 if (!SWIG_IsOK(res2)) {
12675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12676 }
12677 arg2 = reinterpret_cast< wxWindow * >(argp2);
12678 if (obj2) {
12679 ecode3 = SWIG_AsVal_int(obj2, &val3);
12680 if (!SWIG_IsOK(ecode3)) {
12681 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12682 }
12683 arg3 = static_cast< int >(val3);
12684 }
12685 if (obj3) {
12686 {
12687 arg4 = &temp4;
12688 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12689 }
12690 }
12691 if (obj4) {
12692 {
12693 arg5 = &temp5;
12694 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12695 }
12696 }
12697 if (obj5) {
12698 ecode6 = SWIG_AsVal_long(obj5, &val6);
12699 if (!SWIG_IsOK(ecode6)) {
12700 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12701 }
12702 arg6 = static_cast< long >(val6);
12703 }
12704 if (obj6) {
12705 {
12706 arg7 = wxString_in_helper(obj6);
12707 if (arg7 == NULL) SWIG_fail;
12708 temp7 = true;
12709 }
12710 }
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 {
12718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12719 }
12720 {
12721 if (temp7)
12722 delete arg7;
12723 }
12724 return resultobj;
12725 fail:
12726 {
12727 if (temp7)
12728 delete arg7;
12729 }
12730 return NULL;
12731 }
12732
12733
12734 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12735 PyObject *resultobj = 0;
12736 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12737 wxLayoutAlignment result;
12738 void *argp1 = 0 ;
12739 int res1 = 0 ;
12740 PyObject *swig_obj[1] ;
12741
12742 if (!args) SWIG_fail;
12743 swig_obj[0] = args;
12744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12745 if (!SWIG_IsOK(res1)) {
12746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12747 }
12748 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 resultobj = SWIG_From_int(static_cast< int >(result));
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12763 PyObject *resultobj = 0;
12764 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12765 wxLayoutOrientation result;
12766 void *argp1 = 0 ;
12767 int res1 = 0 ;
12768 PyObject *swig_obj[1] ;
12769
12770 if (!args) SWIG_fail;
12771 swig_obj[0] = args;
12772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12773 if (!SWIG_IsOK(res1)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12775 }
12776 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_From_int(static_cast< int >(result));
12784 return resultobj;
12785 fail:
12786 return NULL;
12787 }
12788
12789
12790 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj = 0;
12792 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12793 wxLayoutAlignment arg2 ;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 int val2 ;
12797 int ecode2 = 0 ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 char * kwnames[] = {
12801 (char *) "self",(char *) "alignment", NULL
12802 };
12803
12804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12806 if (!SWIG_IsOK(res1)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12808 }
12809 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12810 ecode2 = SWIG_AsVal_int(obj1, &val2);
12811 if (!SWIG_IsOK(ecode2)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12813 }
12814 arg2 = static_cast< wxLayoutAlignment >(val2);
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 (arg1)->SetAlignment(arg2);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_Py_Void();
12822 return resultobj;
12823 fail:
12824 return NULL;
12825 }
12826
12827
12828 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj = 0;
12830 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12831 wxSize *arg2 = 0 ;
12832 void *argp1 = 0 ;
12833 int res1 = 0 ;
12834 wxSize temp2 ;
12835 PyObject * obj0 = 0 ;
12836 PyObject * obj1 = 0 ;
12837 char * kwnames[] = {
12838 (char *) "self",(char *) "size", NULL
12839 };
12840
12841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12843 if (!SWIG_IsOK(res1)) {
12844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12845 }
12846 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12847 {
12848 arg2 = &temp2;
12849 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12850 }
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 resultobj = SWIG_Py_Void();
12858 return resultobj;
12859 fail:
12860 return NULL;
12861 }
12862
12863
12864 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj = 0;
12866 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12867 wxLayoutOrientation arg2 ;
12868 void *argp1 = 0 ;
12869 int res1 = 0 ;
12870 int val2 ;
12871 int ecode2 = 0 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char * kwnames[] = {
12875 (char *) "self",(char *) "orientation", NULL
12876 };
12877
12878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12880 if (!SWIG_IsOK(res1)) {
12881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12882 }
12883 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12884 ecode2 = SWIG_AsVal_int(obj1, &val2);
12885 if (!SWIG_IsOK(ecode2)) {
12886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12887 }
12888 arg2 = static_cast< wxLayoutOrientation >(val2);
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 (arg1)->SetOrientation(arg2);
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 resultobj = SWIG_Py_Void();
12896 return resultobj;
12897 fail:
12898 return NULL;
12899 }
12900
12901
12902 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12903 PyObject *obj;
12904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12905 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12906 return SWIG_Py_Void();
12907 }
12908
12909 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12910 return SWIG_Python_InitShadowInstance(args);
12911 }
12912
12913 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12914 PyObject *resultobj = 0;
12915 wxLayoutAlgorithm *result = 0 ;
12916
12917 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12925 return resultobj;
12926 fail:
12927 return NULL;
12928 }
12929
12930
12931 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12932 PyObject *resultobj = 0;
12933 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12934 void *argp1 = 0 ;
12935 int res1 = 0 ;
12936 PyObject *swig_obj[1] ;
12937
12938 if (!args) SWIG_fail;
12939 swig_obj[0] = args;
12940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12941 if (!SWIG_IsOK(res1)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12943 }
12944 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 delete arg1;
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 resultobj = SWIG_Py_Void();
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj = 0;
12961 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12962 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12963 wxRect *arg3 = (wxRect *) NULL ;
12964 bool result;
12965 void *argp1 = 0 ;
12966 int res1 = 0 ;
12967 void *argp2 = 0 ;
12968 int res2 = 0 ;
12969 void *argp3 = 0 ;
12970 int res3 = 0 ;
12971 PyObject * obj0 = 0 ;
12972 PyObject * obj1 = 0 ;
12973 PyObject * obj2 = 0 ;
12974 char * kwnames[] = {
12975 (char *) "self",(char *) "frame",(char *) "rect", NULL
12976 };
12977
12978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12980 if (!SWIG_IsOK(res1)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12982 }
12983 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12985 if (!SWIG_IsOK(res2)) {
12986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12987 }
12988 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12989 if (obj2) {
12990 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12991 if (!SWIG_IsOK(res3)) {
12992 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12993 }
12994 arg3 = reinterpret_cast< wxRect * >(argp3);
12995 }
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 {
13003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13004 }
13005 return resultobj;
13006 fail:
13007 return NULL;
13008 }
13009
13010
13011 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj = 0;
13013 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13014 wxFrame *arg2 = (wxFrame *) 0 ;
13015 wxWindow *arg3 = (wxWindow *) NULL ;
13016 bool result;
13017 void *argp1 = 0 ;
13018 int res1 = 0 ;
13019 void *argp2 = 0 ;
13020 int res2 = 0 ;
13021 void *argp3 = 0 ;
13022 int res3 = 0 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 PyObject * obj2 = 0 ;
13026 char * kwnames[] = {
13027 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13028 };
13029
13030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13032 if (!SWIG_IsOK(res1)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13034 }
13035 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13036 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13037 if (!SWIG_IsOK(res2)) {
13038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13039 }
13040 arg2 = reinterpret_cast< wxFrame * >(argp2);
13041 if (obj2) {
13042 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13043 if (!SWIG_IsOK(res3)) {
13044 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13045 }
13046 arg3 = reinterpret_cast< wxWindow * >(argp3);
13047 }
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 {
13055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13056 }
13057 return resultobj;
13058 fail:
13059 return NULL;
13060 }
13061
13062
13063 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13064 PyObject *resultobj = 0;
13065 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13066 wxWindow *arg2 = (wxWindow *) 0 ;
13067 wxWindow *arg3 = (wxWindow *) NULL ;
13068 bool result;
13069 void *argp1 = 0 ;
13070 int res1 = 0 ;
13071 void *argp2 = 0 ;
13072 int res2 = 0 ;
13073 void *argp3 = 0 ;
13074 int res3 = 0 ;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 PyObject * obj2 = 0 ;
13078 char * kwnames[] = {
13079 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13080 };
13081
13082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13084 if (!SWIG_IsOK(res1)) {
13085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13086 }
13087 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13088 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13089 if (!SWIG_IsOK(res2)) {
13090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13091 }
13092 arg2 = reinterpret_cast< wxWindow * >(argp2);
13093 if (obj2) {
13094 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13095 if (!SWIG_IsOK(res3)) {
13096 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13097 }
13098 arg3 = reinterpret_cast< wxWindow * >(argp3);
13099 }
13100 {
13101 PyThreadState* __tstate = wxPyBeginAllowThreads();
13102 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 {
13107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13108 }
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13116 PyObject *obj;
13117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13118 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13119 return SWIG_Py_Void();
13120 }
13121
13122 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13123 return SWIG_Python_InitShadowInstance(args);
13124 }
13125
13126 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj = 0;
13128 wxWindow *arg1 = (wxWindow *) 0 ;
13129 int arg2 = (int) wxBORDER_NONE ;
13130 wxPopupWindow *result = 0 ;
13131 void *argp1 = 0 ;
13132 int res1 = 0 ;
13133 int val2 ;
13134 int ecode2 = 0 ;
13135 PyObject * obj0 = 0 ;
13136 PyObject * obj1 = 0 ;
13137 char * kwnames[] = {
13138 (char *) "parent",(char *) "flags", NULL
13139 };
13140
13141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13143 if (!SWIG_IsOK(res1)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13145 }
13146 arg1 = reinterpret_cast< wxWindow * >(argp1);
13147 if (obj1) {
13148 ecode2 = SWIG_AsVal_int(obj1, &val2);
13149 if (!SWIG_IsOK(ecode2)) {
13150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13151 }
13152 arg2 = static_cast< int >(val2);
13153 }
13154 {
13155 if (!wxPyCheckForApp()) SWIG_fail;
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13158 wxPyEndAllowThreads(__tstate);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13162 return resultobj;
13163 fail:
13164 return NULL;
13165 }
13166
13167
13168 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13169 PyObject *resultobj = 0;
13170 wxPopupWindow *result = 0 ;
13171
13172 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13173 {
13174 if (!wxPyCheckForApp()) SWIG_fail;
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxPopupWindow *)new wxPopupWindow();
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj = 0;
13189 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13190 wxWindow *arg2 = (wxWindow *) 0 ;
13191 int arg3 = (int) wxBORDER_NONE ;
13192 bool result;
13193 void *argp1 = 0 ;
13194 int res1 = 0 ;
13195 void *argp2 = 0 ;
13196 int res2 = 0 ;
13197 int val3 ;
13198 int ecode3 = 0 ;
13199 PyObject * obj0 = 0 ;
13200 PyObject * obj1 = 0 ;
13201 PyObject * obj2 = 0 ;
13202 char * kwnames[] = {
13203 (char *) "self",(char *) "parent",(char *) "flags", NULL
13204 };
13205
13206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13208 if (!SWIG_IsOK(res1)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13210 }
13211 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13213 if (!SWIG_IsOK(res2)) {
13214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13215 }
13216 arg2 = reinterpret_cast< wxWindow * >(argp2);
13217 if (obj2) {
13218 ecode3 = SWIG_AsVal_int(obj2, &val3);
13219 if (!SWIG_IsOK(ecode3)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13221 }
13222 arg3 = static_cast< int >(val3);
13223 }
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 result = (bool)(arg1)->Create(arg2,arg3);
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 {
13231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13232 }
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj = 0;
13241 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13242 wxPoint *arg2 = 0 ;
13243 wxSize *arg3 = 0 ;
13244 void *argp1 = 0 ;
13245 int res1 = 0 ;
13246 wxPoint temp2 ;
13247 wxSize temp3 ;
13248 PyObject * obj0 = 0 ;
13249 PyObject * obj1 = 0 ;
13250 PyObject * obj2 = 0 ;
13251 char * kwnames[] = {
13252 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13253 };
13254
13255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13257 if (!SWIG_IsOK(res1)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13259 }
13260 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13261 {
13262 arg2 = &temp2;
13263 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13264 }
13265 {
13266 arg3 = &temp3;
13267 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13268 }
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_Py_Void();
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13283 PyObject *obj;
13284 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13285 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13286 return SWIG_Py_Void();
13287 }
13288
13289 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13290 return SWIG_Python_InitShadowInstance(args);
13291 }
13292
13293 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj = 0;
13295 wxWindow *arg1 = (wxWindow *) 0 ;
13296 int arg2 = (int) wxBORDER_NONE ;
13297 wxPyPopupTransientWindow *result = 0 ;
13298 void *argp1 = 0 ;
13299 int res1 = 0 ;
13300 int val2 ;
13301 int ecode2 = 0 ;
13302 PyObject * obj0 = 0 ;
13303 PyObject * obj1 = 0 ;
13304 char * kwnames[] = {
13305 (char *) "parent",(char *) "style", NULL
13306 };
13307
13308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13310 if (!SWIG_IsOK(res1)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13312 }
13313 arg1 = reinterpret_cast< wxWindow * >(argp1);
13314 if (obj1) {
13315 ecode2 = SWIG_AsVal_int(obj1, &val2);
13316 if (!SWIG_IsOK(ecode2)) {
13317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13318 }
13319 arg2 = static_cast< int >(val2);
13320 }
13321 {
13322 if (!wxPyCheckForApp()) SWIG_fail;
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13336 PyObject *resultobj = 0;
13337 wxPyPopupTransientWindow *result = 0 ;
13338
13339 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13340 {
13341 if (!wxPyCheckForApp()) SWIG_fail;
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj = 0;
13356 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13357 PyObject *arg2 = (PyObject *) 0 ;
13358 PyObject *arg3 = (PyObject *) 0 ;
13359 void *argp1 = 0 ;
13360 int res1 = 0 ;
13361 PyObject * obj0 = 0 ;
13362 PyObject * obj1 = 0 ;
13363 PyObject * obj2 = 0 ;
13364 char * kwnames[] = {
13365 (char *) "self",(char *) "self",(char *) "_class", NULL
13366 };
13367
13368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13370 if (!SWIG_IsOK(res1)) {
13371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13372 }
13373 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13374 arg2 = obj1;
13375 arg3 = obj2;
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 (arg1)->_setCallbackInfo(arg2,arg3);
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 resultobj = SWIG_Py_Void();
13383 return resultobj;
13384 fail:
13385 return NULL;
13386 }
13387
13388
13389 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj = 0;
13391 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13392 wxWindow *arg2 = (wxWindow *) NULL ;
13393 void *argp1 = 0 ;
13394 int res1 = 0 ;
13395 void *argp2 = 0 ;
13396 int res2 = 0 ;
13397 PyObject * obj0 = 0 ;
13398 PyObject * obj1 = 0 ;
13399 char * kwnames[] = {
13400 (char *) "self",(char *) "focus", NULL
13401 };
13402
13403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13405 if (!SWIG_IsOK(res1)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13407 }
13408 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13409 if (obj1) {
13410 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13411 if (!SWIG_IsOK(res2)) {
13412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13413 }
13414 arg2 = reinterpret_cast< wxWindow * >(argp2);
13415 }
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->Popup(arg2);
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 resultobj = SWIG_Py_Void();
13423 return resultobj;
13424 fail:
13425 return NULL;
13426 }
13427
13428
13429 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13430 PyObject *resultobj = 0;
13431 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13432 void *argp1 = 0 ;
13433 int res1 = 0 ;
13434 PyObject *swig_obj[1] ;
13435
13436 if (!args) SWIG_fail;
13437 swig_obj[0] = args;
13438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13439 if (!SWIG_IsOK(res1)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13441 }
13442 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->Dismiss();
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 resultobj = SWIG_Py_Void();
13450 return resultobj;
13451 fail:
13452 return NULL;
13453 }
13454
13455
13456 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13457 PyObject *obj;
13458 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13460 return SWIG_Py_Void();
13461 }
13462
13463 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13464 return SWIG_Python_InitShadowInstance(args);
13465 }
13466
13467 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj = 0;
13469 wxWindow *arg1 = (wxWindow *) 0 ;
13470 wxString *arg2 = 0 ;
13471 int arg3 = (int) 100 ;
13472 wxRect *arg4 = (wxRect *) NULL ;
13473 wxTipWindow *result = 0 ;
13474 void *argp1 = 0 ;
13475 int res1 = 0 ;
13476 bool temp2 = false ;
13477 int val3 ;
13478 int ecode3 = 0 ;
13479 void *argp4 = 0 ;
13480 int res4 = 0 ;
13481 PyObject * obj0 = 0 ;
13482 PyObject * obj1 = 0 ;
13483 PyObject * obj2 = 0 ;
13484 PyObject * obj3 = 0 ;
13485 char * kwnames[] = {
13486 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13487 };
13488
13489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13491 if (!SWIG_IsOK(res1)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13493 }
13494 arg1 = reinterpret_cast< wxWindow * >(argp1);
13495 {
13496 arg2 = wxString_in_helper(obj1);
13497 if (arg2 == NULL) SWIG_fail;
13498 temp2 = true;
13499 }
13500 if (obj2) {
13501 ecode3 = SWIG_AsVal_int(obj2, &val3);
13502 if (!SWIG_IsOK(ecode3)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13504 }
13505 arg3 = static_cast< int >(val3);
13506 }
13507 if (obj3) {
13508 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13509 if (!SWIG_IsOK(res4)) {
13510 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13511 }
13512 arg4 = reinterpret_cast< wxRect * >(argp4);
13513 }
13514 {
13515 if (!wxPyCheckForApp()) SWIG_fail;
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13522 {
13523 if (temp2)
13524 delete arg2;
13525 }
13526 return resultobj;
13527 fail:
13528 {
13529 if (temp2)
13530 delete arg2;
13531 }
13532 return NULL;
13533 }
13534
13535
13536 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj = 0;
13538 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13539 wxRect *arg2 = 0 ;
13540 void *argp1 = 0 ;
13541 int res1 = 0 ;
13542 wxRect temp2 ;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 char * kwnames[] = {
13546 (char *) "self",(char *) "rectBound", NULL
13547 };
13548
13549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13551 if (!SWIG_IsOK(res1)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13553 }
13554 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13555 {
13556 arg2 = &temp2;
13557 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13558 }
13559 {
13560 PyThreadState* __tstate = wxPyBeginAllowThreads();
13561 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 resultobj = SWIG_Py_Void();
13566 return resultobj;
13567 fail:
13568 return NULL;
13569 }
13570
13571
13572 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13573 PyObject *resultobj = 0;
13574 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13575 void *argp1 = 0 ;
13576 int res1 = 0 ;
13577 PyObject *swig_obj[1] ;
13578
13579 if (!args) SWIG_fail;
13580 swig_obj[0] = args;
13581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13582 if (!SWIG_IsOK(res1)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13584 }
13585 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 (arg1)->Close();
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 resultobj = SWIG_Py_Void();
13593 return resultobj;
13594 fail:
13595 return NULL;
13596 }
13597
13598
13599 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13600 PyObject *obj;
13601 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13602 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13603 return SWIG_Py_Void();
13604 }
13605
13606 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13607 return SWIG_Python_InitShadowInstance(args);
13608 }
13609
13610 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj = 0;
13612 wxWindow *arg1 = (wxWindow *) 0 ;
13613 int arg2 = (int) wxID_ANY ;
13614 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13615 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13616 wxSize const &arg4_defvalue = wxDefaultSize ;
13617 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13618 long arg5 = (long) 0 ;
13619 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13620 wxString *arg6 = (wxString *) &arg6_defvalue ;
13621 wxPyVScrolledWindow *result = 0 ;
13622 void *argp1 = 0 ;
13623 int res1 = 0 ;
13624 int val2 ;
13625 int ecode2 = 0 ;
13626 wxPoint temp3 ;
13627 wxSize temp4 ;
13628 long val5 ;
13629 int ecode5 = 0 ;
13630 bool temp6 = false ;
13631 PyObject * obj0 = 0 ;
13632 PyObject * obj1 = 0 ;
13633 PyObject * obj2 = 0 ;
13634 PyObject * obj3 = 0 ;
13635 PyObject * obj4 = 0 ;
13636 PyObject * obj5 = 0 ;
13637 char * kwnames[] = {
13638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13639 };
13640
13641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13643 if (!SWIG_IsOK(res1)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13645 }
13646 arg1 = reinterpret_cast< wxWindow * >(argp1);
13647 if (obj1) {
13648 ecode2 = SWIG_AsVal_int(obj1, &val2);
13649 if (!SWIG_IsOK(ecode2)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13651 }
13652 arg2 = static_cast< int >(val2);
13653 }
13654 if (obj2) {
13655 {
13656 arg3 = &temp3;
13657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13658 }
13659 }
13660 if (obj3) {
13661 {
13662 arg4 = &temp4;
13663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13664 }
13665 }
13666 if (obj4) {
13667 ecode5 = SWIG_AsVal_long(obj4, &val5);
13668 if (!SWIG_IsOK(ecode5)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13670 }
13671 arg5 = static_cast< long >(val5);
13672 }
13673 if (obj5) {
13674 {
13675 arg6 = wxString_in_helper(obj5);
13676 if (arg6 == NULL) SWIG_fail;
13677 temp6 = true;
13678 }
13679 }
13680 {
13681 if (!wxPyCheckForApp()) SWIG_fail;
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13688 {
13689 if (temp6)
13690 delete arg6;
13691 }
13692 return resultobj;
13693 fail:
13694 {
13695 if (temp6)
13696 delete arg6;
13697 }
13698 return NULL;
13699 }
13700
13701
13702 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13703 PyObject *resultobj = 0;
13704 wxPyVScrolledWindow *result = 0 ;
13705
13706 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13707 {
13708 if (!wxPyCheckForApp()) SWIG_fail;
13709 PyThreadState* __tstate = wxPyBeginAllowThreads();
13710 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13715 return resultobj;
13716 fail:
13717 return NULL;
13718 }
13719
13720
13721 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13722 PyObject *resultobj = 0;
13723 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13724 PyObject *arg2 = (PyObject *) 0 ;
13725 PyObject *arg3 = (PyObject *) 0 ;
13726 void *argp1 = 0 ;
13727 int res1 = 0 ;
13728 PyObject * obj0 = 0 ;
13729 PyObject * obj1 = 0 ;
13730 PyObject * obj2 = 0 ;
13731 char * kwnames[] = {
13732 (char *) "self",(char *) "self",(char *) "_class", NULL
13733 };
13734
13735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13737 if (!SWIG_IsOK(res1)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13739 }
13740 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13741 arg2 = obj1;
13742 arg3 = obj2;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->_setCallbackInfo(arg2,arg3);
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_Py_Void();
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj = 0;
13758 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13759 wxWindow *arg2 = (wxWindow *) 0 ;
13760 int arg3 = (int) wxID_ANY ;
13761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13763 wxSize const &arg5_defvalue = wxDefaultSize ;
13764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13765 long arg6 = (long) 0 ;
13766 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13767 wxString *arg7 = (wxString *) &arg7_defvalue ;
13768 bool result;
13769 void *argp1 = 0 ;
13770 int res1 = 0 ;
13771 void *argp2 = 0 ;
13772 int res2 = 0 ;
13773 int val3 ;
13774 int ecode3 = 0 ;
13775 wxPoint temp4 ;
13776 wxSize temp5 ;
13777 long val6 ;
13778 int ecode6 = 0 ;
13779 bool temp7 = false ;
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 PyObject * obj2 = 0 ;
13783 PyObject * obj3 = 0 ;
13784 PyObject * obj4 = 0 ;
13785 PyObject * obj5 = 0 ;
13786 PyObject * obj6 = 0 ;
13787 char * kwnames[] = {
13788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13789 };
13790
13791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13793 if (!SWIG_IsOK(res1)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 }
13796 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13797 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13798 if (!SWIG_IsOK(res2)) {
13799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13800 }
13801 arg2 = reinterpret_cast< wxWindow * >(argp2);
13802 if (obj2) {
13803 ecode3 = SWIG_AsVal_int(obj2, &val3);
13804 if (!SWIG_IsOK(ecode3)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13806 }
13807 arg3 = static_cast< int >(val3);
13808 }
13809 if (obj3) {
13810 {
13811 arg4 = &temp4;
13812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13813 }
13814 }
13815 if (obj4) {
13816 {
13817 arg5 = &temp5;
13818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13819 }
13820 }
13821 if (obj5) {
13822 ecode6 = SWIG_AsVal_long(obj5, &val6);
13823 if (!SWIG_IsOK(ecode6)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13825 }
13826 arg6 = static_cast< long >(val6);
13827 }
13828 if (obj6) {
13829 {
13830 arg7 = wxString_in_helper(obj6);
13831 if (arg7 == NULL) SWIG_fail;
13832 temp7 = true;
13833 }
13834 }
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 {
13842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13843 }
13844 {
13845 if (temp7)
13846 delete arg7;
13847 }
13848 return resultobj;
13849 fail:
13850 {
13851 if (temp7)
13852 delete arg7;
13853 }
13854 return NULL;
13855 }
13856
13857
13858 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj = 0;
13860 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13861 size_t arg2 ;
13862 void *argp1 = 0 ;
13863 int res1 = 0 ;
13864 size_t val2 ;
13865 int ecode2 = 0 ;
13866 PyObject * obj0 = 0 ;
13867 PyObject * obj1 = 0 ;
13868 char * kwnames[] = {
13869 (char *) "self",(char *) "count", NULL
13870 };
13871
13872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13874 if (!SWIG_IsOK(res1)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13876 }
13877 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13878 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13879 if (!SWIG_IsOK(ecode2)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13881 }
13882 arg2 = static_cast< size_t >(val2);
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 (arg1)->SetLineCount(arg2);
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 resultobj = SWIG_Py_Void();
13890 return resultobj;
13891 fail:
13892 return NULL;
13893 }
13894
13895
13896 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj = 0;
13898 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13899 size_t arg2 ;
13900 bool result;
13901 void *argp1 = 0 ;
13902 int res1 = 0 ;
13903 size_t val2 ;
13904 int ecode2 = 0 ;
13905 PyObject * obj0 = 0 ;
13906 PyObject * obj1 = 0 ;
13907 char * kwnames[] = {
13908 (char *) "self",(char *) "line", NULL
13909 };
13910
13911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13913 if (!SWIG_IsOK(res1)) {
13914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13915 }
13916 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13917 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13918 if (!SWIG_IsOK(ecode2)) {
13919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13920 }
13921 arg2 = static_cast< size_t >(val2);
13922 {
13923 PyThreadState* __tstate = wxPyBeginAllowThreads();
13924 result = (bool)(arg1)->ScrollToLine(arg2);
13925 wxPyEndAllowThreads(__tstate);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 {
13929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13930 }
13931 return resultobj;
13932 fail:
13933 return NULL;
13934 }
13935
13936
13937 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13938 PyObject *resultobj = 0;
13939 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13940 size_t arg2 ;
13941 void *argp1 = 0 ;
13942 int res1 = 0 ;
13943 size_t val2 ;
13944 int ecode2 = 0 ;
13945 PyObject * obj0 = 0 ;
13946 PyObject * obj1 = 0 ;
13947 char * kwnames[] = {
13948 (char *) "self",(char *) "line", NULL
13949 };
13950
13951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13953 if (!SWIG_IsOK(res1)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13955 }
13956 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13957 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13958 if (!SWIG_IsOK(ecode2)) {
13959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13960 }
13961 arg2 = static_cast< size_t >(val2);
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 (arg1)->RefreshLine(arg2);
13965 wxPyEndAllowThreads(__tstate);
13966 if (PyErr_Occurred()) SWIG_fail;
13967 }
13968 resultobj = SWIG_Py_Void();
13969 return resultobj;
13970 fail:
13971 return NULL;
13972 }
13973
13974
13975 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13976 PyObject *resultobj = 0;
13977 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13978 size_t arg2 ;
13979 size_t arg3 ;
13980 void *argp1 = 0 ;
13981 int res1 = 0 ;
13982 size_t val2 ;
13983 int ecode2 = 0 ;
13984 size_t val3 ;
13985 int ecode3 = 0 ;
13986 PyObject * obj0 = 0 ;
13987 PyObject * obj1 = 0 ;
13988 PyObject * obj2 = 0 ;
13989 char * kwnames[] = {
13990 (char *) "self",(char *) "from",(char *) "to", NULL
13991 };
13992
13993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13995 if (!SWIG_IsOK(res1)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13997 }
13998 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13999 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14000 if (!SWIG_IsOK(ecode2)) {
14001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14002 }
14003 arg2 = static_cast< size_t >(val2);
14004 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14005 if (!SWIG_IsOK(ecode3)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14007 }
14008 arg3 = static_cast< size_t >(val3);
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 (arg1)->RefreshLines(arg2,arg3);
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 resultobj = SWIG_Py_Void();
14016 return resultobj;
14017 fail:
14018 return NULL;
14019 }
14020
14021
14022 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj = 0;
14024 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14025 int arg2 ;
14026 int arg3 ;
14027 int result;
14028 void *argp1 = 0 ;
14029 int res1 = 0 ;
14030 int val2 ;
14031 int ecode2 = 0 ;
14032 int val3 ;
14033 int ecode3 = 0 ;
14034 PyObject * obj0 = 0 ;
14035 PyObject * obj1 = 0 ;
14036 PyObject * obj2 = 0 ;
14037 char * kwnames[] = {
14038 (char *) "self",(char *) "x",(char *) "y", NULL
14039 };
14040
14041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14043 if (!SWIG_IsOK(res1)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14045 }
14046 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14047 ecode2 = SWIG_AsVal_int(obj1, &val2);
14048 if (!SWIG_IsOK(ecode2)) {
14049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14050 }
14051 arg2 = static_cast< int >(val2);
14052 ecode3 = SWIG_AsVal_int(obj2, &val3);
14053 if (!SWIG_IsOK(ecode3)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14055 }
14056 arg3 = static_cast< int >(val3);
14057 {
14058 PyThreadState* __tstate = wxPyBeginAllowThreads();
14059 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 resultobj = SWIG_From_int(static_cast< int >(result));
14064 return resultobj;
14065 fail:
14066 return NULL;
14067 }
14068
14069
14070 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj = 0;
14072 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14073 wxPoint *arg2 = 0 ;
14074 int result;
14075 void *argp1 = 0 ;
14076 int res1 = 0 ;
14077 wxPoint temp2 ;
14078 PyObject * obj0 = 0 ;
14079 PyObject * obj1 = 0 ;
14080 char * kwnames[] = {
14081 (char *) "self",(char *) "pt", NULL
14082 };
14083
14084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14086 if (!SWIG_IsOK(res1)) {
14087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14088 }
14089 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14090 {
14091 arg2 = &temp2;
14092 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14093 }
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 resultobj = SWIG_From_int(static_cast< int >(result));
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14108 PyObject *resultobj = 0;
14109 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14110 void *argp1 = 0 ;
14111 int res1 = 0 ;
14112 PyObject *swig_obj[1] ;
14113
14114 if (!args) SWIG_fail;
14115 swig_obj[0] = args;
14116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14117 if (!SWIG_IsOK(res1)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14119 }
14120 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 (arg1)->RefreshAll();
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_Py_Void();
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14135 PyObject *resultobj = 0;
14136 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14137 size_t result;
14138 void *argp1 = 0 ;
14139 int res1 = 0 ;
14140 PyObject *swig_obj[1] ;
14141
14142 if (!args) SWIG_fail;
14143 swig_obj[0] = args;
14144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14145 if (!SWIG_IsOK(res1)) {
14146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14147 }
14148 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14163 PyObject *resultobj = 0;
14164 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14165 size_t result;
14166 void *argp1 = 0 ;
14167 int res1 = 0 ;
14168 PyObject *swig_obj[1] ;
14169
14170 if (!args) SWIG_fail;
14171 swig_obj[0] = args;
14172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14173 if (!SWIG_IsOK(res1)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14175 }
14176 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14184 return resultobj;
14185 fail:
14186 return NULL;
14187 }
14188
14189
14190 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14191 PyObject *resultobj = 0;
14192 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14193 size_t result;
14194 void *argp1 = 0 ;
14195 int res1 = 0 ;
14196 PyObject *swig_obj[1] ;
14197
14198 if (!args) SWIG_fail;
14199 swig_obj[0] = args;
14200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14201 if (!SWIG_IsOK(res1)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14203 }
14204 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj = 0;
14220 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14221 size_t arg2 ;
14222 bool result;
14223 void *argp1 = 0 ;
14224 int res1 = 0 ;
14225 size_t val2 ;
14226 int ecode2 = 0 ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 char * kwnames[] = {
14230 (char *) "self",(char *) "line", NULL
14231 };
14232
14233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14235 if (!SWIG_IsOK(res1)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14237 }
14238 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14239 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14240 if (!SWIG_IsOK(ecode2)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14242 }
14243 arg2 = static_cast< size_t >(val2);
14244 {
14245 PyThreadState* __tstate = wxPyBeginAllowThreads();
14246 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 {
14251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14252 }
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 PyObject *resultobj = 0;
14261 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14262 size_t result;
14263 void *argp1 = 0 ;
14264 int res1 = 0 ;
14265 PyObject *swig_obj[1] ;
14266
14267 if (!args) SWIG_fail;
14268 swig_obj[0] = args;
14269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14270 if (!SWIG_IsOK(res1)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14272 }
14273 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14281 return resultobj;
14282 fail:
14283 return NULL;
14284 }
14285
14286
14287 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14288 PyObject *resultobj = 0;
14289 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14290 size_t result;
14291 void *argp1 = 0 ;
14292 int res1 = 0 ;
14293 PyObject *swig_obj[1] ;
14294
14295 if (!args) SWIG_fail;
14296 swig_obj[0] = args;
14297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj = 0;
14317 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14318 size_t arg2 ;
14319 bool arg3 = (bool) false ;
14320 size_t result;
14321 void *argp1 = 0 ;
14322 int res1 = 0 ;
14323 size_t val2 ;
14324 int ecode2 = 0 ;
14325 bool val3 ;
14326 int ecode3 = 0 ;
14327 PyObject * obj0 = 0 ;
14328 PyObject * obj1 = 0 ;
14329 PyObject * obj2 = 0 ;
14330 char * kwnames[] = {
14331 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14332 };
14333
14334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14336 if (!SWIG_IsOK(res1)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14338 }
14339 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14340 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14341 if (!SWIG_IsOK(ecode2)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14343 }
14344 arg2 = static_cast< size_t >(val2);
14345 if (obj2) {
14346 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14347 if (!SWIG_IsOK(ecode3)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14349 }
14350 arg3 = static_cast< bool >(val3);
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj = 0;
14367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14368 size_t arg2 ;
14369 size_t arg3 ;
14370 int result;
14371 void *argp1 = 0 ;
14372 int res1 = 0 ;
14373 size_t val2 ;
14374 int ecode2 = 0 ;
14375 size_t val3 ;
14376 int ecode3 = 0 ;
14377 PyObject * obj0 = 0 ;
14378 PyObject * obj1 = 0 ;
14379 PyObject * obj2 = 0 ;
14380 char * kwnames[] = {
14381 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14382 };
14383
14384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14386 if (!SWIG_IsOK(res1)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14388 }
14389 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14390 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14391 if (!SWIG_IsOK(ecode2)) {
14392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14393 }
14394 arg2 = static_cast< size_t >(val2);
14395 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14396 if (!SWIG_IsOK(ecode3)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14398 }
14399 arg3 = static_cast< size_t >(val3);
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14403 wxPyEndAllowThreads(__tstate);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
14406 resultobj = SWIG_From_int(static_cast< int >(result));
14407 return resultobj;
14408 fail:
14409 return NULL;
14410 }
14411
14412
14413 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14414 PyObject *obj;
14415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14416 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14417 return SWIG_Py_Void();
14418 }
14419
14420 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14421 return SWIG_Python_InitShadowInstance(args);
14422 }
14423
14424 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14425 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14426 return 1;
14427 }
14428
14429
14430 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14431 PyObject *pyobj = 0;
14432
14433 {
14434 #if wxUSE_UNICODE
14435 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14436 #else
14437 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14438 #endif
14439 }
14440 return pyobj;
14441 }
14442
14443
14444 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj = 0;
14446 wxWindow *arg1 = (wxWindow *) 0 ;
14447 int arg2 = (int) wxID_ANY ;
14448 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14449 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14450 wxSize const &arg4_defvalue = wxDefaultSize ;
14451 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14452 long arg5 = (long) 0 ;
14453 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14454 wxString *arg6 = (wxString *) &arg6_defvalue ;
14455 wxPyVListBox *result = 0 ;
14456 void *argp1 = 0 ;
14457 int res1 = 0 ;
14458 int val2 ;
14459 int ecode2 = 0 ;
14460 wxPoint temp3 ;
14461 wxSize temp4 ;
14462 long val5 ;
14463 int ecode5 = 0 ;
14464 bool temp6 = false ;
14465 PyObject * obj0 = 0 ;
14466 PyObject * obj1 = 0 ;
14467 PyObject * obj2 = 0 ;
14468 PyObject * obj3 = 0 ;
14469 PyObject * obj4 = 0 ;
14470 PyObject * obj5 = 0 ;
14471 char * kwnames[] = {
14472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14473 };
14474
14475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14477 if (!SWIG_IsOK(res1)) {
14478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14479 }
14480 arg1 = reinterpret_cast< wxWindow * >(argp1);
14481 if (obj1) {
14482 ecode2 = SWIG_AsVal_int(obj1, &val2);
14483 if (!SWIG_IsOK(ecode2)) {
14484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14485 }
14486 arg2 = static_cast< int >(val2);
14487 }
14488 if (obj2) {
14489 {
14490 arg3 = &temp3;
14491 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14492 }
14493 }
14494 if (obj3) {
14495 {
14496 arg4 = &temp4;
14497 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14498 }
14499 }
14500 if (obj4) {
14501 ecode5 = SWIG_AsVal_long(obj4, &val5);
14502 if (!SWIG_IsOK(ecode5)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14504 }
14505 arg5 = static_cast< long >(val5);
14506 }
14507 if (obj5) {
14508 {
14509 arg6 = wxString_in_helper(obj5);
14510 if (arg6 == NULL) SWIG_fail;
14511 temp6 = true;
14512 }
14513 }
14514 {
14515 if (!wxPyCheckForApp()) SWIG_fail;
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14522 {
14523 if (temp6)
14524 delete arg6;
14525 }
14526 return resultobj;
14527 fail:
14528 {
14529 if (temp6)
14530 delete arg6;
14531 }
14532 return NULL;
14533 }
14534
14535
14536 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14537 PyObject *resultobj = 0;
14538 wxPyVListBox *result = 0 ;
14539
14540 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14541 {
14542 if (!wxPyCheckForApp()) SWIG_fail;
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (wxPyVListBox *)new wxPyVListBox();
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14549 return resultobj;
14550 fail:
14551 return NULL;
14552 }
14553
14554
14555 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj = 0;
14557 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14558 PyObject *arg2 = (PyObject *) 0 ;
14559 PyObject *arg3 = (PyObject *) 0 ;
14560 void *argp1 = 0 ;
14561 int res1 = 0 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj1 = 0 ;
14564 PyObject * obj2 = 0 ;
14565 char * kwnames[] = {
14566 (char *) "self",(char *) "self",(char *) "_class", NULL
14567 };
14568
14569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14571 if (!SWIG_IsOK(res1)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14573 }
14574 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14575 arg2 = obj1;
14576 arg3 = obj2;
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 (arg1)->_setCallbackInfo(arg2,arg3);
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 resultobj = SWIG_Py_Void();
14584 return resultobj;
14585 fail:
14586 return NULL;
14587 }
14588
14589
14590 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj = 0;
14592 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14593 wxWindow *arg2 = (wxWindow *) 0 ;
14594 int arg3 = (int) wxID_ANY ;
14595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14597 wxSize const &arg5_defvalue = wxDefaultSize ;
14598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14599 long arg6 = (long) 0 ;
14600 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14601 wxString *arg7 = (wxString *) &arg7_defvalue ;
14602 bool result;
14603 void *argp1 = 0 ;
14604 int res1 = 0 ;
14605 void *argp2 = 0 ;
14606 int res2 = 0 ;
14607 int val3 ;
14608 int ecode3 = 0 ;
14609 wxPoint temp4 ;
14610 wxSize temp5 ;
14611 long val6 ;
14612 int ecode6 = 0 ;
14613 bool temp7 = false ;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 PyObject * obj2 = 0 ;
14617 PyObject * obj3 = 0 ;
14618 PyObject * obj4 = 0 ;
14619 PyObject * obj5 = 0 ;
14620 PyObject * obj6 = 0 ;
14621 char * kwnames[] = {
14622 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14623 };
14624
14625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14627 if (!SWIG_IsOK(res1)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14629 }
14630 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14632 if (!SWIG_IsOK(res2)) {
14633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14634 }
14635 arg2 = reinterpret_cast< wxWindow * >(argp2);
14636 if (obj2) {
14637 ecode3 = SWIG_AsVal_int(obj2, &val3);
14638 if (!SWIG_IsOK(ecode3)) {
14639 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14640 }
14641 arg3 = static_cast< int >(val3);
14642 }
14643 if (obj3) {
14644 {
14645 arg4 = &temp4;
14646 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14647 }
14648 }
14649 if (obj4) {
14650 {
14651 arg5 = &temp5;
14652 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14653 }
14654 }
14655 if (obj5) {
14656 ecode6 = SWIG_AsVal_long(obj5, &val6);
14657 if (!SWIG_IsOK(ecode6)) {
14658 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14659 }
14660 arg6 = static_cast< long >(val6);
14661 }
14662 if (obj6) {
14663 {
14664 arg7 = wxString_in_helper(obj6);
14665 if (arg7 == NULL) SWIG_fail;
14666 temp7 = true;
14667 }
14668 }
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
14671 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 {
14676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14677 }
14678 {
14679 if (temp7)
14680 delete arg7;
14681 }
14682 return resultobj;
14683 fail:
14684 {
14685 if (temp7)
14686 delete arg7;
14687 }
14688 return NULL;
14689 }
14690
14691
14692 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14693 PyObject *resultobj = 0;
14694 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14695 size_t result;
14696 void *argp1 = 0 ;
14697 int res1 = 0 ;
14698 PyObject *swig_obj[1] ;
14699
14700 if (!args) SWIG_fail;
14701 swig_obj[0] = args;
14702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14703 if (!SWIG_IsOK(res1)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14705 }
14706 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14714 return resultobj;
14715 fail:
14716 return NULL;
14717 }
14718
14719
14720 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14721 PyObject *resultobj = 0;
14722 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14723 bool result;
14724 void *argp1 = 0 ;
14725 int res1 = 0 ;
14726 PyObject *swig_obj[1] ;
14727
14728 if (!args) SWIG_fail;
14729 swig_obj[0] = args;
14730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14731 if (!SWIG_IsOK(res1)) {
14732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14733 }
14734 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 {
14742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14743 }
14744 return resultobj;
14745 fail:
14746 return NULL;
14747 }
14748
14749
14750 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14751 PyObject *resultobj = 0;
14752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14753 int result;
14754 void *argp1 = 0 ;
14755 int res1 = 0 ;
14756 PyObject *swig_obj[1] ;
14757
14758 if (!args) SWIG_fail;
14759 swig_obj[0] = args;
14760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14761 if (!SWIG_IsOK(res1)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14763 }
14764 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 resultobj = SWIG_From_int(static_cast< int >(result));
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj = 0;
14780 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14781 size_t arg2 ;
14782 bool result;
14783 void *argp1 = 0 ;
14784 int res1 = 0 ;
14785 size_t val2 ;
14786 int ecode2 = 0 ;
14787 PyObject * obj0 = 0 ;
14788 PyObject * obj1 = 0 ;
14789 char * kwnames[] = {
14790 (char *) "self",(char *) "item", NULL
14791 };
14792
14793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14795 if (!SWIG_IsOK(res1)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14797 }
14798 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14799 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14800 if (!SWIG_IsOK(ecode2)) {
14801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14802 }
14803 arg2 = static_cast< size_t >(val2);
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 {
14811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14812 }
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj = 0;
14821 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14822 size_t arg2 ;
14823 bool result;
14824 void *argp1 = 0 ;
14825 int res1 = 0 ;
14826 size_t val2 ;
14827 int ecode2 = 0 ;
14828 PyObject * obj0 = 0 ;
14829 PyObject * obj1 = 0 ;
14830 char * kwnames[] = {
14831 (char *) "self",(char *) "item", NULL
14832 };
14833
14834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14836 if (!SWIG_IsOK(res1)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14838 }
14839 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14840 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14841 if (!SWIG_IsOK(ecode2)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14843 }
14844 arg2 = static_cast< size_t >(val2);
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14848 wxPyEndAllowThreads(__tstate);
14849 if (PyErr_Occurred()) SWIG_fail;
14850 }
14851 {
14852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14853 }
14854 return resultobj;
14855 fail:
14856 return NULL;
14857 }
14858
14859
14860 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14861 PyObject *resultobj = 0;
14862 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14863 size_t result;
14864 void *argp1 = 0 ;
14865 int res1 = 0 ;
14866 PyObject *swig_obj[1] ;
14867
14868 if (!args) SWIG_fail;
14869 swig_obj[0] = args;
14870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14871 if (!SWIG_IsOK(res1)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14873 }
14874 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14882 return resultobj;
14883 fail:
14884 return NULL;
14885 }
14886
14887
14888 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14889 PyObject *resultobj = 0;
14890 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14891 PyObject *result = 0 ;
14892 void *argp1 = 0 ;
14893 int res1 = 0 ;
14894 PyObject *swig_obj[1] ;
14895
14896 if (!args) SWIG_fail;
14897 swig_obj[0] = args;
14898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14899 if (!SWIG_IsOK(res1)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14901 }
14902 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = result;
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj = 0;
14918 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14919 unsigned long arg2 ;
14920 PyObject *result = 0 ;
14921 void *argp1 = 0 ;
14922 int res1 = 0 ;
14923 unsigned long val2 ;
14924 int ecode2 = 0 ;
14925 PyObject * obj0 = 0 ;
14926 PyObject * obj1 = 0 ;
14927 char * kwnames[] = {
14928 (char *) "self",(char *) "cookie", NULL
14929 };
14930
14931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14933 if (!SWIG_IsOK(res1)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14935 }
14936 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14937 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14938 if (!SWIG_IsOK(ecode2)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14940 }
14941 arg2 = static_cast< unsigned long >(val2);
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = result;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14956 PyObject *resultobj = 0;
14957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14958 wxPoint result;
14959 void *argp1 = 0 ;
14960 int res1 = 0 ;
14961 PyObject *swig_obj[1] ;
14962
14963 if (!args) SWIG_fail;
14964 swig_obj[0] = args;
14965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14966 if (!SWIG_IsOK(res1)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14968 }
14969 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = ((wxPyVListBox const *)arg1)->GetMargins();
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14984 PyObject *resultobj = 0;
14985 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14986 wxColour *result = 0 ;
14987 void *argp1 = 0 ;
14988 int res1 = 0 ;
14989 PyObject *swig_obj[1] ;
14990
14991 if (!args) SWIG_fail;
14992 swig_obj[0] = args;
14993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14994 if (!SWIG_IsOK(res1)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14996 }
14997 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 {
15001 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15002 result = (wxColour *) &_result_ref;
15003 }
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj = 0;
15016 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15017 size_t arg2 ;
15018 void *argp1 = 0 ;
15019 int res1 = 0 ;
15020 size_t val2 ;
15021 int ecode2 = 0 ;
15022 PyObject * obj0 = 0 ;
15023 PyObject * obj1 = 0 ;
15024 char * kwnames[] = {
15025 (char *) "self",(char *) "count", NULL
15026 };
15027
15028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15030 if (!SWIG_IsOK(res1)) {
15031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15032 }
15033 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15034 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15035 if (!SWIG_IsOK(ecode2)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15037 }
15038 arg2 = static_cast< size_t >(val2);
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 (arg1)->SetItemCount(arg2);
15042 wxPyEndAllowThreads(__tstate);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 resultobj = SWIG_Py_Void();
15046 return resultobj;
15047 fail:
15048 return NULL;
15049 }
15050
15051
15052 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15053 PyObject *resultobj = 0;
15054 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15055 void *argp1 = 0 ;
15056 int res1 = 0 ;
15057 PyObject *swig_obj[1] ;
15058
15059 if (!args) SWIG_fail;
15060 swig_obj[0] = args;
15061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15062 if (!SWIG_IsOK(res1)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15064 }
15065 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 (arg1)->Clear();
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 resultobj = SWIG_Py_Void();
15073 return resultobj;
15074 fail:
15075 return NULL;
15076 }
15077
15078
15079 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj = 0;
15081 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15082 int arg2 ;
15083 void *argp1 = 0 ;
15084 int res1 = 0 ;
15085 int val2 ;
15086 int ecode2 = 0 ;
15087 PyObject * obj0 = 0 ;
15088 PyObject * obj1 = 0 ;
15089 char * kwnames[] = {
15090 (char *) "self",(char *) "selection", NULL
15091 };
15092
15093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15095 if (!SWIG_IsOK(res1)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15097 }
15098 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15099 ecode2 = SWIG_AsVal_int(obj1, &val2);
15100 if (!SWIG_IsOK(ecode2)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15102 }
15103 arg2 = static_cast< int >(val2);
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetSelection(arg2);
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 resultobj = SWIG_Py_Void();
15111 return resultobj;
15112 fail:
15113 return NULL;
15114 }
15115
15116
15117 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj = 0;
15119 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15120 size_t arg2 ;
15121 bool arg3 = (bool) true ;
15122 bool result;
15123 void *argp1 = 0 ;
15124 int res1 = 0 ;
15125 size_t val2 ;
15126 int ecode2 = 0 ;
15127 bool val3 ;
15128 int ecode3 = 0 ;
15129 PyObject * obj0 = 0 ;
15130 PyObject * obj1 = 0 ;
15131 PyObject * obj2 = 0 ;
15132 char * kwnames[] = {
15133 (char *) "self",(char *) "item",(char *) "select", NULL
15134 };
15135
15136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15138 if (!SWIG_IsOK(res1)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15140 }
15141 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15142 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15143 if (!SWIG_IsOK(ecode2)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15145 }
15146 arg2 = static_cast< size_t >(val2);
15147 if (obj2) {
15148 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15149 if (!SWIG_IsOK(ecode3)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15151 }
15152 arg3 = static_cast< bool >(val3);
15153 }
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (bool)(arg1)->Select(arg2,arg3);
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 {
15161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15162 }
15163 return resultobj;
15164 fail:
15165 return NULL;
15166 }
15167
15168
15169 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15170 PyObject *resultobj = 0;
15171 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15172 size_t arg2 ;
15173 size_t arg3 ;
15174 bool result;
15175 void *argp1 = 0 ;
15176 int res1 = 0 ;
15177 size_t val2 ;
15178 int ecode2 = 0 ;
15179 size_t val3 ;
15180 int ecode3 = 0 ;
15181 PyObject * obj0 = 0 ;
15182 PyObject * obj1 = 0 ;
15183 PyObject * obj2 = 0 ;
15184 char * kwnames[] = {
15185 (char *) "self",(char *) "from",(char *) "to", NULL
15186 };
15187
15188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15190 if (!SWIG_IsOK(res1)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15192 }
15193 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15194 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15195 if (!SWIG_IsOK(ecode2)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15197 }
15198 arg2 = static_cast< size_t >(val2);
15199 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15200 if (!SWIG_IsOK(ecode3)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15202 }
15203 arg3 = static_cast< size_t >(val3);
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (bool)(arg1)->SelectRange(arg2,arg3);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
15211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15212 }
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj = 0;
15221 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15222 size_t arg2 ;
15223 void *argp1 = 0 ;
15224 int res1 = 0 ;
15225 size_t val2 ;
15226 int ecode2 = 0 ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 char * kwnames[] = {
15230 (char *) "self",(char *) "item", NULL
15231 };
15232
15233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15235 if (!SWIG_IsOK(res1)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15237 }
15238 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15239 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15240 if (!SWIG_IsOK(ecode2)) {
15241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15242 }
15243 arg2 = static_cast< size_t >(val2);
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 (arg1)->Toggle(arg2);
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 resultobj = SWIG_Py_Void();
15251 return resultobj;
15252 fail:
15253 return NULL;
15254 }
15255
15256
15257 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15258 PyObject *resultobj = 0;
15259 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15260 bool result;
15261 void *argp1 = 0 ;
15262 int res1 = 0 ;
15263 PyObject *swig_obj[1] ;
15264
15265 if (!args) SWIG_fail;
15266 swig_obj[0] = args;
15267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15268 if (!SWIG_IsOK(res1)) {
15269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15270 }
15271 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 result = (bool)(arg1)->SelectAll();
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 {
15279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15280 }
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15288 PyObject *resultobj = 0;
15289 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15290 bool result;
15291 void *argp1 = 0 ;
15292 int res1 = 0 ;
15293 PyObject *swig_obj[1] ;
15294
15295 if (!args) SWIG_fail;
15296 swig_obj[0] = args;
15297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (bool)(arg1)->DeselectAll();
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 {
15309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15310 }
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj = 0;
15319 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15320 wxPoint *arg2 = 0 ;
15321 void *argp1 = 0 ;
15322 int res1 = 0 ;
15323 wxPoint temp2 ;
15324 PyObject * obj0 = 0 ;
15325 PyObject * obj1 = 0 ;
15326 char * kwnames[] = {
15327 (char *) "self",(char *) "pt", NULL
15328 };
15329
15330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15332 if (!SWIG_IsOK(res1)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15334 }
15335 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15336 {
15337 arg2 = &temp2;
15338 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15339 }
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 (arg1)->SetMargins((wxPoint const &)*arg2);
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 resultobj = SWIG_Py_Void();
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj = 0;
15355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15356 int arg2 ;
15357 int arg3 ;
15358 void *argp1 = 0 ;
15359 int res1 = 0 ;
15360 int val2 ;
15361 int ecode2 = 0 ;
15362 int val3 ;
15363 int ecode3 = 0 ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 PyObject * obj2 = 0 ;
15367 char * kwnames[] = {
15368 (char *) "self",(char *) "x",(char *) "y", NULL
15369 };
15370
15371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15373 if (!SWIG_IsOK(res1)) {
15374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15375 }
15376 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15377 ecode2 = SWIG_AsVal_int(obj1, &val2);
15378 if (!SWIG_IsOK(ecode2)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15380 }
15381 arg2 = static_cast< int >(val2);
15382 ecode3 = SWIG_AsVal_int(obj2, &val3);
15383 if (!SWIG_IsOK(ecode3)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15385 }
15386 arg3 = static_cast< int >(val3);
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 (arg1)->SetMargins(arg2,arg3);
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 resultobj = SWIG_Py_Void();
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj = 0;
15402 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15403 wxColour *arg2 = 0 ;
15404 void *argp1 = 0 ;
15405 int res1 = 0 ;
15406 wxColour temp2 ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 char * kwnames[] = {
15410 (char *) "self",(char *) "col", NULL
15411 };
15412
15413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15415 if (!SWIG_IsOK(res1)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15417 }
15418 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15419 {
15420 arg2 = &temp2;
15421 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15422 }
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15426 wxPyEndAllowThreads(__tstate);
15427 if (PyErr_Occurred()) SWIG_fail;
15428 }
15429 resultobj = SWIG_Py_Void();
15430 return resultobj;
15431 fail:
15432 return NULL;
15433 }
15434
15435
15436 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15437 PyObject *resultobj = 0;
15438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15439 wxDC *arg2 = 0 ;
15440 wxRect *arg3 = 0 ;
15441 size_t arg4 ;
15442 void *argp1 = 0 ;
15443 int res1 = 0 ;
15444 void *argp2 = 0 ;
15445 int res2 = 0 ;
15446 wxRect temp3 ;
15447 size_t val4 ;
15448 int ecode4 = 0 ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 PyObject * obj2 = 0 ;
15452 PyObject * obj3 = 0 ;
15453 char * kwnames[] = {
15454 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15455 };
15456
15457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15459 if (!SWIG_IsOK(res1)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15461 }
15462 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15463 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15464 if (!SWIG_IsOK(res2)) {
15465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15466 }
15467 if (!argp2) {
15468 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15469 }
15470 arg2 = reinterpret_cast< wxDC * >(argp2);
15471 {
15472 arg3 = &temp3;
15473 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15474 }
15475 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15476 if (!SWIG_IsOK(ecode4)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15478 }
15479 arg4 = static_cast< size_t >(val4);
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_Py_Void();
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj = 0;
15495 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15496 wxDC *arg2 = 0 ;
15497 wxRect *arg3 = 0 ;
15498 size_t arg4 ;
15499 void *argp1 = 0 ;
15500 int res1 = 0 ;
15501 void *argp2 = 0 ;
15502 int res2 = 0 ;
15503 wxRect temp3 ;
15504 size_t val4 ;
15505 int ecode4 = 0 ;
15506 PyObject * obj0 = 0 ;
15507 PyObject * obj1 = 0 ;
15508 PyObject * obj2 = 0 ;
15509 PyObject * obj3 = 0 ;
15510 char * kwnames[] = {
15511 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15512 };
15513
15514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15516 if (!SWIG_IsOK(res1)) {
15517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15518 }
15519 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15521 if (!SWIG_IsOK(res2)) {
15522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15523 }
15524 if (!argp2) {
15525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15526 }
15527 arg2 = reinterpret_cast< wxDC * >(argp2);
15528 {
15529 arg3 = &temp3;
15530 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15531 }
15532 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15533 if (!SWIG_IsOK(ecode4)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15535 }
15536 arg4 = static_cast< size_t >(val4);
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 resultobj = SWIG_Py_Void();
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15551 PyObject *obj;
15552 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15553 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15554 return SWIG_Py_Void();
15555 }
15556
15557 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15558 return SWIG_Python_InitShadowInstance(args);
15559 }
15560
15561 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj = 0;
15563 wxWindow *arg1 = (wxWindow *) 0 ;
15564 int arg2 = (int) wxID_ANY ;
15565 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15566 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15567 wxSize const &arg4_defvalue = wxDefaultSize ;
15568 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15569 long arg5 = (long) 0 ;
15570 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15571 wxString *arg6 = (wxString *) &arg6_defvalue ;
15572 wxPyHtmlListBox *result = 0 ;
15573 void *argp1 = 0 ;
15574 int res1 = 0 ;
15575 int val2 ;
15576 int ecode2 = 0 ;
15577 wxPoint temp3 ;
15578 wxSize temp4 ;
15579 long val5 ;
15580 int ecode5 = 0 ;
15581 bool temp6 = false ;
15582 PyObject * obj0 = 0 ;
15583 PyObject * obj1 = 0 ;
15584 PyObject * obj2 = 0 ;
15585 PyObject * obj3 = 0 ;
15586 PyObject * obj4 = 0 ;
15587 PyObject * obj5 = 0 ;
15588 char * kwnames[] = {
15589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15590 };
15591
15592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15594 if (!SWIG_IsOK(res1)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15596 }
15597 arg1 = reinterpret_cast< wxWindow * >(argp1);
15598 if (obj1) {
15599 ecode2 = SWIG_AsVal_int(obj1, &val2);
15600 if (!SWIG_IsOK(ecode2)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15602 }
15603 arg2 = static_cast< int >(val2);
15604 }
15605 if (obj2) {
15606 {
15607 arg3 = &temp3;
15608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15609 }
15610 }
15611 if (obj3) {
15612 {
15613 arg4 = &temp4;
15614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15615 }
15616 }
15617 if (obj4) {
15618 ecode5 = SWIG_AsVal_long(obj4, &val5);
15619 if (!SWIG_IsOK(ecode5)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15621 }
15622 arg5 = static_cast< long >(val5);
15623 }
15624 if (obj5) {
15625 {
15626 arg6 = wxString_in_helper(obj5);
15627 if (arg6 == NULL) SWIG_fail;
15628 temp6 = true;
15629 }
15630 }
15631 {
15632 if (!wxPyCheckForApp()) SWIG_fail;
15633 PyThreadState* __tstate = wxPyBeginAllowThreads();
15634 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15639 {
15640 if (temp6)
15641 delete arg6;
15642 }
15643 return resultobj;
15644 fail:
15645 {
15646 if (temp6)
15647 delete arg6;
15648 }
15649 return NULL;
15650 }
15651
15652
15653 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15654 PyObject *resultobj = 0;
15655 wxPyHtmlListBox *result = 0 ;
15656
15657 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15658 {
15659 if (!wxPyCheckForApp()) SWIG_fail;
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15662 wxPyEndAllowThreads(__tstate);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 }
15665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15666 return resultobj;
15667 fail:
15668 return NULL;
15669 }
15670
15671
15672 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15673 PyObject *resultobj = 0;
15674 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15675 PyObject *arg2 = (PyObject *) 0 ;
15676 PyObject *arg3 = (PyObject *) 0 ;
15677 void *argp1 = 0 ;
15678 int res1 = 0 ;
15679 PyObject * obj0 = 0 ;
15680 PyObject * obj1 = 0 ;
15681 PyObject * obj2 = 0 ;
15682 char * kwnames[] = {
15683 (char *) "self",(char *) "self",(char *) "_class", NULL
15684 };
15685
15686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15688 if (!SWIG_IsOK(res1)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15690 }
15691 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15692 arg2 = obj1;
15693 arg3 = obj2;
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 (arg1)->_setCallbackInfo(arg2,arg3);
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 resultobj = SWIG_Py_Void();
15701 return resultobj;
15702 fail:
15703 return NULL;
15704 }
15705
15706
15707 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj = 0;
15709 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15710 wxWindow *arg2 = (wxWindow *) 0 ;
15711 int arg3 = (int) wxID_ANY ;
15712 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15713 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15714 wxSize const &arg5_defvalue = wxDefaultSize ;
15715 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15716 long arg6 = (long) 0 ;
15717 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15718 wxString *arg7 = (wxString *) &arg7_defvalue ;
15719 bool result;
15720 void *argp1 = 0 ;
15721 int res1 = 0 ;
15722 void *argp2 = 0 ;
15723 int res2 = 0 ;
15724 int val3 ;
15725 int ecode3 = 0 ;
15726 wxPoint temp4 ;
15727 wxSize temp5 ;
15728 long val6 ;
15729 int ecode6 = 0 ;
15730 bool temp7 = false ;
15731 PyObject * obj0 = 0 ;
15732 PyObject * obj1 = 0 ;
15733 PyObject * obj2 = 0 ;
15734 PyObject * obj3 = 0 ;
15735 PyObject * obj4 = 0 ;
15736 PyObject * obj5 = 0 ;
15737 PyObject * obj6 = 0 ;
15738 char * kwnames[] = {
15739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15740 };
15741
15742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 }
15747 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15748 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15749 if (!SWIG_IsOK(res2)) {
15750 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15751 }
15752 arg2 = reinterpret_cast< wxWindow * >(argp2);
15753 if (obj2) {
15754 ecode3 = SWIG_AsVal_int(obj2, &val3);
15755 if (!SWIG_IsOK(ecode3)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15757 }
15758 arg3 = static_cast< int >(val3);
15759 }
15760 if (obj3) {
15761 {
15762 arg4 = &temp4;
15763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15764 }
15765 }
15766 if (obj4) {
15767 {
15768 arg5 = &temp5;
15769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15770 }
15771 }
15772 if (obj5) {
15773 ecode6 = SWIG_AsVal_long(obj5, &val6);
15774 if (!SWIG_IsOK(ecode6)) {
15775 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15776 }
15777 arg6 = static_cast< long >(val6);
15778 }
15779 if (obj6) {
15780 {
15781 arg7 = wxString_in_helper(obj6);
15782 if (arg7 == NULL) SWIG_fail;
15783 temp7 = true;
15784 }
15785 }
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 {
15793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15794 }
15795 {
15796 if (temp7)
15797 delete arg7;
15798 }
15799 return resultobj;
15800 fail:
15801 {
15802 if (temp7)
15803 delete arg7;
15804 }
15805 return NULL;
15806 }
15807
15808
15809 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj = 0;
15811 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15812 size_t arg2 ;
15813 void *argp1 = 0 ;
15814 int res1 = 0 ;
15815 size_t val2 ;
15816 int ecode2 = 0 ;
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
15819 char * kwnames[] = {
15820 (char *) "self",(char *) "count", NULL
15821 };
15822
15823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15825 if (!SWIG_IsOK(res1)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15827 }
15828 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15829 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15830 if (!SWIG_IsOK(ecode2)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15832 }
15833 arg2 = static_cast< size_t >(val2);
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 (arg1)->SetItemCount(arg2);
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = SWIG_Py_Void();
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15848 PyObject *resultobj = 0;
15849 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15850 wxFileSystem *result = 0 ;
15851 void *argp1 = 0 ;
15852 int res1 = 0 ;
15853 PyObject *swig_obj[1] ;
15854
15855 if (!args) SWIG_fail;
15856 swig_obj[0] = args;
15857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15858 if (!SWIG_IsOK(res1)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15860 }
15861 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 {
15865 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15866 result = (wxFileSystem *) &_result_ref;
15867 }
15868 wxPyEndAllowThreads(__tstate);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 }
15871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15872 return resultobj;
15873 fail:
15874 return NULL;
15875 }
15876
15877
15878 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15879 PyObject *resultobj = 0;
15880 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15881 size_t arg2 ;
15882 wxHtmlLinkInfo *arg3 = 0 ;
15883 void *argp1 = 0 ;
15884 int res1 = 0 ;
15885 size_t val2 ;
15886 int ecode2 = 0 ;
15887 void *argp3 = 0 ;
15888 int res3 = 0 ;
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 PyObject * obj2 = 0 ;
15892 char * kwnames[] = {
15893 (char *) "self",(char *) "n",(char *) "link", NULL
15894 };
15895
15896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15898 if (!SWIG_IsOK(res1)) {
15899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15900 }
15901 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15902 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15903 if (!SWIG_IsOK(ecode2)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15905 }
15906 arg2 = static_cast< size_t >(val2);
15907 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15908 if (!SWIG_IsOK(res3)) {
15909 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15910 }
15911 if (!argp3) {
15912 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15913 }
15914 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 resultobj = SWIG_Py_Void();
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15929 PyObject *obj;
15930 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15932 return SWIG_Py_Void();
15933 }
15934
15935 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15936 return SWIG_Python_InitShadowInstance(args);
15937 }
15938
15939 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15940 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15941 return 1;
15942 }
15943
15944
15945 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15946 PyObject *pyobj = 0;
15947
15948 {
15949 #if wxUSE_UNICODE
15950 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15951 #else
15952 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15953 #endif
15954 }
15955 return pyobj;
15956 }
15957
15958
15959 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj = 0;
15961 wxWindow *arg1 = (wxWindow *) 0 ;
15962 int arg2 = (int) -1 ;
15963 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15964 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15965 wxSize const &arg4_defvalue = wxDefaultSize ;
15966 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15967 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15968 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15969 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15970 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15971 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15972 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15973 wxString *arg8 = (wxString *) &arg8_defvalue ;
15974 wxSimpleHtmlListBox *result = 0 ;
15975 void *argp1 = 0 ;
15976 int res1 = 0 ;
15977 int val2 ;
15978 int ecode2 = 0 ;
15979 wxPoint temp3 ;
15980 wxSize temp4 ;
15981 bool temp5 = false ;
15982 long val6 ;
15983 int ecode6 = 0 ;
15984 void *argp7 = 0 ;
15985 int res7 = 0 ;
15986 bool temp8 = false ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 PyObject * obj2 = 0 ;
15990 PyObject * obj3 = 0 ;
15991 PyObject * obj4 = 0 ;
15992 PyObject * obj5 = 0 ;
15993 PyObject * obj6 = 0 ;
15994 PyObject * obj7 = 0 ;
15995 char * kwnames[] = {
15996 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15997 };
15998
15999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
16000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16001 if (!SWIG_IsOK(res1)) {
16002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16003 }
16004 arg1 = reinterpret_cast< wxWindow * >(argp1);
16005 if (obj1) {
16006 ecode2 = SWIG_AsVal_int(obj1, &val2);
16007 if (!SWIG_IsOK(ecode2)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16009 }
16010 arg2 = static_cast< int >(val2);
16011 }
16012 if (obj2) {
16013 {
16014 arg3 = &temp3;
16015 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16016 }
16017 }
16018 if (obj3) {
16019 {
16020 arg4 = &temp4;
16021 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16022 }
16023 }
16024 if (obj4) {
16025 {
16026 if (! PySequence_Check(obj4)) {
16027 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16028 SWIG_fail;
16029 }
16030 arg5 = new wxArrayString;
16031 temp5 = true;
16032 int i, len=PySequence_Length(obj4);
16033 for (i=0; i<len; i++) {
16034 PyObject* item = PySequence_GetItem(obj4, i);
16035 wxString* s = wxString_in_helper(item);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 arg5->Add(*s);
16038 delete s;
16039 Py_DECREF(item);
16040 }
16041 }
16042 }
16043 if (obj5) {
16044 ecode6 = SWIG_AsVal_long(obj5, &val6);
16045 if (!SWIG_IsOK(ecode6)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16047 }
16048 arg6 = static_cast< long >(val6);
16049 }
16050 if (obj6) {
16051 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
16052 if (!SWIG_IsOK(res7)) {
16053 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16054 }
16055 if (!argp7) {
16056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16057 }
16058 arg7 = reinterpret_cast< wxValidator * >(argp7);
16059 }
16060 if (obj7) {
16061 {
16062 arg8 = wxString_in_helper(obj7);
16063 if (arg8 == NULL) SWIG_fail;
16064 temp8 = true;
16065 }
16066 }
16067 {
16068 if (!wxPyCheckForApp()) SWIG_fail;
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
16070 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16075 {
16076 if (temp5) delete arg5;
16077 }
16078 {
16079 if (temp8)
16080 delete arg8;
16081 }
16082 return resultobj;
16083 fail:
16084 {
16085 if (temp5) delete arg5;
16086 }
16087 {
16088 if (temp8)
16089 delete arg8;
16090 }
16091 return NULL;
16092 }
16093
16094
16095 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16096 PyObject *resultobj = 0;
16097 wxSimpleHtmlListBox *result = 0 ;
16098
16099 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16100 {
16101 if (!wxPyCheckForApp()) SWIG_fail;
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj = 0;
16116 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16117 wxWindow *arg2 = (wxWindow *) 0 ;
16118 int arg3 = (int) -1 ;
16119 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16120 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16121 wxSize const &arg5_defvalue = wxDefaultSize ;
16122 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16123 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16124 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16125 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16126 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16127 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16128 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16129 wxString *arg9 = (wxString *) &arg9_defvalue ;
16130 bool result;
16131 void *argp1 = 0 ;
16132 int res1 = 0 ;
16133 void *argp2 = 0 ;
16134 int res2 = 0 ;
16135 int val3 ;
16136 int ecode3 = 0 ;
16137 wxPoint temp4 ;
16138 wxSize temp5 ;
16139 bool temp6 = false ;
16140 long val7 ;
16141 int ecode7 = 0 ;
16142 void *argp8 = 0 ;
16143 int res8 = 0 ;
16144 bool temp9 = false ;
16145 PyObject * obj0 = 0 ;
16146 PyObject * obj1 = 0 ;
16147 PyObject * obj2 = 0 ;
16148 PyObject * obj3 = 0 ;
16149 PyObject * obj4 = 0 ;
16150 PyObject * obj5 = 0 ;
16151 PyObject * obj6 = 0 ;
16152 PyObject * obj7 = 0 ;
16153 PyObject * obj8 = 0 ;
16154 char * kwnames[] = {
16155 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16156 };
16157
16158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16160 if (!SWIG_IsOK(res1)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16162 }
16163 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16164 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16165 if (!SWIG_IsOK(res2)) {
16166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16167 }
16168 arg2 = reinterpret_cast< wxWindow * >(argp2);
16169 if (obj2) {
16170 ecode3 = SWIG_AsVal_int(obj2, &val3);
16171 if (!SWIG_IsOK(ecode3)) {
16172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16173 }
16174 arg3 = static_cast< int >(val3);
16175 }
16176 if (obj3) {
16177 {
16178 arg4 = &temp4;
16179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16180 }
16181 }
16182 if (obj4) {
16183 {
16184 arg5 = &temp5;
16185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16186 }
16187 }
16188 if (obj5) {
16189 {
16190 if (! PySequence_Check(obj5)) {
16191 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16192 SWIG_fail;
16193 }
16194 arg6 = new wxArrayString;
16195 temp6 = true;
16196 int i, len=PySequence_Length(obj5);
16197 for (i=0; i<len; i++) {
16198 PyObject* item = PySequence_GetItem(obj5, i);
16199 wxString* s = wxString_in_helper(item);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 arg6->Add(*s);
16202 delete s;
16203 Py_DECREF(item);
16204 }
16205 }
16206 }
16207 if (obj6) {
16208 ecode7 = SWIG_AsVal_long(obj6, &val7);
16209 if (!SWIG_IsOK(ecode7)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16211 }
16212 arg7 = static_cast< long >(val7);
16213 }
16214 if (obj7) {
16215 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16216 if (!SWIG_IsOK(res8)) {
16217 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16218 }
16219 if (!argp8) {
16220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16221 }
16222 arg8 = reinterpret_cast< wxValidator * >(argp8);
16223 }
16224 if (obj8) {
16225 {
16226 arg9 = wxString_in_helper(obj8);
16227 if (arg9 == NULL) SWIG_fail;
16228 temp9 = true;
16229 }
16230 }
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16239 }
16240 {
16241 if (temp6) delete arg6;
16242 }
16243 {
16244 if (temp9)
16245 delete arg9;
16246 }
16247 return resultobj;
16248 fail:
16249 {
16250 if (temp6) delete arg6;
16251 }
16252 {
16253 if (temp9)
16254 delete arg9;
16255 }
16256 return NULL;
16257 }
16258
16259
16260 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16261 PyObject *obj;
16262 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16263 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16264 return SWIG_Py_Void();
16265 }
16266
16267 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16268 return SWIG_Python_InitShadowInstance(args);
16269 }
16270
16271 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16272 PyObject *resultobj = 0;
16273 wxPyTaskBarIcon *result = 0 ;
16274
16275 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16276 {
16277 if (!wxPyCheckForApp()) SWIG_fail;
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
16279 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16291 PyObject *resultobj = 0;
16292 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16293 void *argp1 = 0 ;
16294 int res1 = 0 ;
16295 PyObject *swig_obj[1] ;
16296
16297 if (!args) SWIG_fail;
16298 swig_obj[0] = args;
16299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16300 if (!SWIG_IsOK(res1)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16302 }
16303 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16304 {
16305 PyThreadState* __tstate = wxPyBeginAllowThreads();
16306 delete arg1;
16307
16308 wxPyEndAllowThreads(__tstate);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 resultobj = SWIG_Py_Void();
16312 return resultobj;
16313 fail:
16314 return NULL;
16315 }
16316
16317
16318 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16319 PyObject *resultobj = 0;
16320 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16321 PyObject *arg2 = (PyObject *) 0 ;
16322 PyObject *arg3 = (PyObject *) 0 ;
16323 int arg4 = (int) 0 ;
16324 void *argp1 = 0 ;
16325 int res1 = 0 ;
16326 int val4 ;
16327 int ecode4 = 0 ;
16328 PyObject * obj0 = 0 ;
16329 PyObject * obj1 = 0 ;
16330 PyObject * obj2 = 0 ;
16331 PyObject * obj3 = 0 ;
16332 char * kwnames[] = {
16333 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16334 };
16335
16336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16338 if (!SWIG_IsOK(res1)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16340 }
16341 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16342 arg2 = obj1;
16343 arg3 = obj2;
16344 if (obj3) {
16345 ecode4 = SWIG_AsVal_int(obj3, &val4);
16346 if (!SWIG_IsOK(ecode4)) {
16347 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16348 }
16349 arg4 = static_cast< int >(val4);
16350 }
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 resultobj = SWIG_Py_Void();
16358 return resultobj;
16359 fail:
16360 return NULL;
16361 }
16362
16363
16364 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16365 PyObject *resultobj = 0;
16366 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16367 void *argp1 = 0 ;
16368 int res1 = 0 ;
16369 PyObject *swig_obj[1] ;
16370
16371 if (!args) SWIG_fail;
16372 swig_obj[0] = args;
16373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16374 if (!SWIG_IsOK(res1)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16376 }
16377 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 wxPyTaskBarIcon_Destroy(arg1);
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 resultobj = SWIG_Py_Void();
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16392 PyObject *resultobj = 0;
16393 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16394 bool result;
16395 void *argp1 = 0 ;
16396 int res1 = 0 ;
16397 PyObject *swig_obj[1] ;
16398
16399 if (!args) SWIG_fail;
16400 swig_obj[0] = args;
16401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16402 if (!SWIG_IsOK(res1)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16404 }
16405 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 {
16413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16414 }
16415 return resultobj;
16416 fail:
16417 return NULL;
16418 }
16419
16420
16421 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16422 PyObject *resultobj = 0;
16423 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16424 bool result;
16425 void *argp1 = 0 ;
16426 int res1 = 0 ;
16427 PyObject *swig_obj[1] ;
16428
16429 if (!args) SWIG_fail;
16430 swig_obj[0] = args;
16431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16432 if (!SWIG_IsOK(res1)) {
16433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16434 }
16435 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 {
16443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16444 }
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj = 0;
16453 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16454 wxIcon *arg2 = 0 ;
16455 wxString const &arg3_defvalue = wxPyEmptyString ;
16456 wxString *arg3 = (wxString *) &arg3_defvalue ;
16457 bool result;
16458 void *argp1 = 0 ;
16459 int res1 = 0 ;
16460 void *argp2 = 0 ;
16461 int res2 = 0 ;
16462 bool temp3 = false ;
16463 PyObject * obj0 = 0 ;
16464 PyObject * obj1 = 0 ;
16465 PyObject * obj2 = 0 ;
16466 char * kwnames[] = {
16467 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16468 };
16469
16470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16472 if (!SWIG_IsOK(res1)) {
16473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16474 }
16475 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16476 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16477 if (!SWIG_IsOK(res2)) {
16478 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16479 }
16480 if (!argp2) {
16481 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16482 }
16483 arg2 = reinterpret_cast< wxIcon * >(argp2);
16484 if (obj2) {
16485 {
16486 arg3 = wxString_in_helper(obj2);
16487 if (arg3 == NULL) SWIG_fail;
16488 temp3 = true;
16489 }
16490 }
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 {
16498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16499 }
16500 {
16501 if (temp3)
16502 delete arg3;
16503 }
16504 return resultobj;
16505 fail:
16506 {
16507 if (temp3)
16508 delete arg3;
16509 }
16510 return NULL;
16511 }
16512
16513
16514 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16515 PyObject *resultobj = 0;
16516 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16517 bool result;
16518 void *argp1 = 0 ;
16519 int res1 = 0 ;
16520 PyObject *swig_obj[1] ;
16521
16522 if (!args) SWIG_fail;
16523 swig_obj[0] = args;
16524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16525 if (!SWIG_IsOK(res1)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16527 }
16528 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 result = (bool)(arg1)->RemoveIcon();
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 {
16536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16537 }
16538 return resultobj;
16539 fail:
16540 return NULL;
16541 }
16542
16543
16544 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj = 0;
16546 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16547 wxMenu *arg2 = (wxMenu *) 0 ;
16548 bool result;
16549 void *argp1 = 0 ;
16550 int res1 = 0 ;
16551 void *argp2 = 0 ;
16552 int res2 = 0 ;
16553 PyObject * obj0 = 0 ;
16554 PyObject * obj1 = 0 ;
16555 char * kwnames[] = {
16556 (char *) "self",(char *) "menu", NULL
16557 };
16558
16559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16561 if (!SWIG_IsOK(res1)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16563 }
16564 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16565 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16566 if (!SWIG_IsOK(res2)) {
16567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16568 }
16569 arg2 = reinterpret_cast< wxMenu * >(argp2);
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (bool)(arg1)->PopupMenu(arg2);
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 {
16577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16586 PyObject *obj;
16587 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16588 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16589 return SWIG_Py_Void();
16590 }
16591
16592 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16593 return SWIG_Python_InitShadowInstance(args);
16594 }
16595
16596 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj = 0;
16598 wxEventType arg1 ;
16599 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16600 wxTaskBarIconEvent *result = 0 ;
16601 int val1 ;
16602 int ecode1 = 0 ;
16603 void *argp2 = 0 ;
16604 int res2 = 0 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char * kwnames[] = {
16608 (char *) "evtType",(char *) "tbIcon", NULL
16609 };
16610
16611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16612 ecode1 = SWIG_AsVal_int(obj0, &val1);
16613 if (!SWIG_IsOK(ecode1)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16615 }
16616 arg1 = static_cast< wxEventType >(val1);
16617 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16618 if (!SWIG_IsOK(res2)) {
16619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16620 }
16621 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16629 return resultobj;
16630 fail:
16631 return NULL;
16632 }
16633
16634
16635 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16636 PyObject *obj;
16637 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16638 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16639 return SWIG_Py_Void();
16640 }
16641
16642 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16643 return SWIG_Python_InitShadowInstance(args);
16644 }
16645
16646 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16647 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16648 return 1;
16649 }
16650
16651
16652 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16653 PyObject *pyobj = 0;
16654
16655 {
16656 #if wxUSE_UNICODE
16657 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16658 #else
16659 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16660 #endif
16661 }
16662 return pyobj;
16663 }
16664
16665
16666 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16667 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16668 return 1;
16669 }
16670
16671
16672 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16673 PyObject *pyobj = 0;
16674
16675 {
16676 #if wxUSE_UNICODE
16677 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16678 #else
16679 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16680 #endif
16681 }
16682 return pyobj;
16683 }
16684
16685
16686 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16687 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16688 return 1;
16689 }
16690
16691
16692 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16693 PyObject *pyobj = 0;
16694
16695 {
16696 #if wxUSE_UNICODE
16697 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16698 #else
16699 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16700 #endif
16701 }
16702 return pyobj;
16703 }
16704
16705
16706 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16707 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16708 return 1;
16709 }
16710
16711
16712 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16713 PyObject *pyobj = 0;
16714
16715 {
16716 #if wxUSE_UNICODE
16717 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16718 #else
16719 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16720 #endif
16721 }
16722 return pyobj;
16723 }
16724
16725
16726 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16727 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16728 return 1;
16729 }
16730
16731
16732 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16733 PyObject *pyobj = 0;
16734
16735 {
16736 #if wxUSE_UNICODE
16737 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16738 #else
16739 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16740 #endif
16741 }
16742 return pyobj;
16743 }
16744
16745
16746 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16747 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16748 return 1;
16749 }
16750
16751
16752 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16753 PyObject *pyobj = 0;
16754
16755 {
16756 #if wxUSE_UNICODE
16757 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16758 #else
16759 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16760 #endif
16761 }
16762 return pyobj;
16763 }
16764
16765
16766 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16767 PyObject *resultobj = 0;
16768 wxColourData *result = 0 ;
16769
16770 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = (wxColourData *)new wxColourData();
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16785 PyObject *resultobj = 0;
16786 wxColourData *arg1 = (wxColourData *) 0 ;
16787 void *argp1 = 0 ;
16788 int res1 = 0 ;
16789 PyObject *swig_obj[1] ;
16790
16791 if (!args) SWIG_fail;
16792 swig_obj[0] = args;
16793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16794 if (!SWIG_IsOK(res1)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16796 }
16797 arg1 = reinterpret_cast< wxColourData * >(argp1);
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 delete arg1;
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = SWIG_Py_Void();
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16813 PyObject *resultobj = 0;
16814 wxColourData *arg1 = (wxColourData *) 0 ;
16815 bool result;
16816 void *argp1 = 0 ;
16817 int res1 = 0 ;
16818 PyObject *swig_obj[1] ;
16819
16820 if (!args) SWIG_fail;
16821 swig_obj[0] = args;
16822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16823 if (!SWIG_IsOK(res1)) {
16824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16825 }
16826 arg1 = reinterpret_cast< wxColourData * >(argp1);
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 result = (bool)(arg1)->GetChooseFull();
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16843 PyObject *resultobj = 0;
16844 wxColourData *arg1 = (wxColourData *) 0 ;
16845 wxColour result;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 PyObject *swig_obj[1] ;
16849
16850 if (!args) SWIG_fail;
16851 swig_obj[0] = args;
16852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16853 if (!SWIG_IsOK(res1)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16855 }
16856 arg1 = reinterpret_cast< wxColourData * >(argp1);
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (arg1)->GetColour();
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16864 return resultobj;
16865 fail:
16866 return NULL;
16867 }
16868
16869
16870 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj = 0;
16872 wxColourData *arg1 = (wxColourData *) 0 ;
16873 int arg2 ;
16874 wxColour result;
16875 void *argp1 = 0 ;
16876 int res1 = 0 ;
16877 int val2 ;
16878 int ecode2 = 0 ;
16879 PyObject * obj0 = 0 ;
16880 PyObject * obj1 = 0 ;
16881 char * kwnames[] = {
16882 (char *) "self",(char *) "i", NULL
16883 };
16884
16885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16887 if (!SWIG_IsOK(res1)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16889 }
16890 arg1 = reinterpret_cast< wxColourData * >(argp1);
16891 ecode2 = SWIG_AsVal_int(obj1, &val2);
16892 if (!SWIG_IsOK(ecode2)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16894 }
16895 arg2 = static_cast< int >(val2);
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = (arg1)->GetCustomColour(arg2);
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj = 0;
16911 wxColourData *arg1 = (wxColourData *) 0 ;
16912 int arg2 ;
16913 void *argp1 = 0 ;
16914 int res1 = 0 ;
16915 int val2 ;
16916 int ecode2 = 0 ;
16917 PyObject * obj0 = 0 ;
16918 PyObject * obj1 = 0 ;
16919 char * kwnames[] = {
16920 (char *) "self",(char *) "flag", NULL
16921 };
16922
16923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16925 if (!SWIG_IsOK(res1)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16927 }
16928 arg1 = reinterpret_cast< wxColourData * >(argp1);
16929 ecode2 = SWIG_AsVal_int(obj1, &val2);
16930 if (!SWIG_IsOK(ecode2)) {
16931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16932 }
16933 arg2 = static_cast< int >(val2);
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 (arg1)->SetChooseFull(arg2);
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 resultobj = SWIG_Py_Void();
16941 return resultobj;
16942 fail:
16943 return NULL;
16944 }
16945
16946
16947 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj = 0;
16949 wxColourData *arg1 = (wxColourData *) 0 ;
16950 wxColour *arg2 = 0 ;
16951 void *argp1 = 0 ;
16952 int res1 = 0 ;
16953 wxColour temp2 ;
16954 PyObject * obj0 = 0 ;
16955 PyObject * obj1 = 0 ;
16956 char * kwnames[] = {
16957 (char *) "self",(char *) "colour", NULL
16958 };
16959
16960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16962 if (!SWIG_IsOK(res1)) {
16963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16964 }
16965 arg1 = reinterpret_cast< wxColourData * >(argp1);
16966 {
16967 arg2 = &temp2;
16968 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16969 }
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 (arg1)->SetColour((wxColour const &)*arg2);
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 resultobj = SWIG_Py_Void();
16977 return resultobj;
16978 fail:
16979 return NULL;
16980 }
16981
16982
16983 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16984 PyObject *resultobj = 0;
16985 wxColourData *arg1 = (wxColourData *) 0 ;
16986 int arg2 ;
16987 wxColour *arg3 = 0 ;
16988 void *argp1 = 0 ;
16989 int res1 = 0 ;
16990 int val2 ;
16991 int ecode2 = 0 ;
16992 wxColour temp3 ;
16993 PyObject * obj0 = 0 ;
16994 PyObject * obj1 = 0 ;
16995 PyObject * obj2 = 0 ;
16996 char * kwnames[] = {
16997 (char *) "self",(char *) "i",(char *) "colour", NULL
16998 };
16999
17000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
17002 if (!SWIG_IsOK(res1)) {
17003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17004 }
17005 arg1 = reinterpret_cast< wxColourData * >(argp1);
17006 ecode2 = SWIG_AsVal_int(obj1, &val2);
17007 if (!SWIG_IsOK(ecode2)) {
17008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17009 }
17010 arg2 = static_cast< int >(val2);
17011 {
17012 arg3 = &temp3;
17013 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17014 }
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
17018 wxPyEndAllowThreads(__tstate);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 resultobj = SWIG_Py_Void();
17022 return resultobj;
17023 fail:
17024 return NULL;
17025 }
17026
17027
17028 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17029 PyObject *obj;
17030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17031 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
17032 return SWIG_Py_Void();
17033 }
17034
17035 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17036 return SWIG_Python_InitShadowInstance(args);
17037 }
17038
17039 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj = 0;
17041 wxWindow *arg1 = (wxWindow *) 0 ;
17042 wxColourData *arg2 = (wxColourData *) NULL ;
17043 wxColourDialog *result = 0 ;
17044 void *argp1 = 0 ;
17045 int res1 = 0 ;
17046 void *argp2 = 0 ;
17047 int res2 = 0 ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 char * kwnames[] = {
17051 (char *) "parent",(char *) "data", NULL
17052 };
17053
17054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
17055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17056 if (!SWIG_IsOK(res1)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17058 }
17059 arg1 = reinterpret_cast< wxWindow * >(argp1);
17060 if (obj1) {
17061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17062 if (!SWIG_IsOK(res2)) {
17063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17064 }
17065 arg2 = reinterpret_cast< wxColourData * >(argp2);
17066 }
17067 {
17068 if (!wxPyCheckForApp()) SWIG_fail;
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17071 wxPyEndAllowThreads(__tstate);
17072 if (PyErr_Occurred()) SWIG_fail;
17073 }
17074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17075 return resultobj;
17076 fail:
17077 return NULL;
17078 }
17079
17080
17081 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17082 PyObject *resultobj = 0;
17083 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17084 wxColourData *result = 0 ;
17085 void *argp1 = 0 ;
17086 int res1 = 0 ;
17087 PyObject *swig_obj[1] ;
17088
17089 if (!args) SWIG_fail;
17090 swig_obj[0] = args;
17091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17092 if (!SWIG_IsOK(res1)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17094 }
17095 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 {
17099 wxColourData &_result_ref = (arg1)->GetColourData();
17100 result = (wxColourData *) &_result_ref;
17101 }
17102 wxPyEndAllowThreads(__tstate);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
17105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17106 return resultobj;
17107 fail:
17108 return NULL;
17109 }
17110
17111
17112 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17113 PyObject *obj;
17114 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17115 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17116 return SWIG_Py_Void();
17117 }
17118
17119 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17120 return SWIG_Python_InitShadowInstance(args);
17121 }
17122
17123 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj = 0;
17125 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17126 wxColour const &arg2_defvalue = wxNullColour ;
17127 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17128 wxString const &arg3_defvalue = wxPyEmptyString ;
17129 wxString *arg3 = (wxString *) &arg3_defvalue ;
17130 wxColour result;
17131 void *argp1 = 0 ;
17132 int res1 = 0 ;
17133 wxColour temp2 ;
17134 bool temp3 = false ;
17135 PyObject * obj0 = 0 ;
17136 PyObject * obj1 = 0 ;
17137 PyObject * obj2 = 0 ;
17138 char * kwnames[] = {
17139 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17140 };
17141
17142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17143 if (obj0) {
17144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17145 if (!SWIG_IsOK(res1)) {
17146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17147 }
17148 arg1 = reinterpret_cast< wxWindow * >(argp1);
17149 }
17150 if (obj1) {
17151 {
17152 arg2 = &temp2;
17153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17154 }
17155 }
17156 if (obj2) {
17157 {
17158 arg3 = wxString_in_helper(obj2);
17159 if (arg3 == NULL) SWIG_fail;
17160 temp3 = true;
17161 }
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17170 {
17171 if (temp3)
17172 delete arg3;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp3)
17178 delete arg3;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj = 0;
17186 wxWindow *arg1 = (wxWindow *) 0 ;
17187 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17188 wxString *arg2 = (wxString *) &arg2_defvalue ;
17189 wxString const &arg3_defvalue = wxPyEmptyString ;
17190 wxString *arg3 = (wxString *) &arg3_defvalue ;
17191 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17192 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17193 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17194 wxSize const &arg6_defvalue = wxDefaultSize ;
17195 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17196 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17197 wxString *arg7 = (wxString *) &arg7_defvalue ;
17198 wxDirDialog *result = 0 ;
17199 void *argp1 = 0 ;
17200 int res1 = 0 ;
17201 bool temp2 = false ;
17202 bool temp3 = false ;
17203 long val4 ;
17204 int ecode4 = 0 ;
17205 wxPoint temp5 ;
17206 wxSize temp6 ;
17207 bool temp7 = false ;
17208 PyObject * obj0 = 0 ;
17209 PyObject * obj1 = 0 ;
17210 PyObject * obj2 = 0 ;
17211 PyObject * obj3 = 0 ;
17212 PyObject * obj4 = 0 ;
17213 PyObject * obj5 = 0 ;
17214 PyObject * obj6 = 0 ;
17215 char * kwnames[] = {
17216 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17217 };
17218
17219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17221 if (!SWIG_IsOK(res1)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17223 }
17224 arg1 = reinterpret_cast< wxWindow * >(argp1);
17225 if (obj1) {
17226 {
17227 arg2 = wxString_in_helper(obj1);
17228 if (arg2 == NULL) SWIG_fail;
17229 temp2 = true;
17230 }
17231 }
17232 if (obj2) {
17233 {
17234 arg3 = wxString_in_helper(obj2);
17235 if (arg3 == NULL) SWIG_fail;
17236 temp3 = true;
17237 }
17238 }
17239 if (obj3) {
17240 ecode4 = SWIG_AsVal_long(obj3, &val4);
17241 if (!SWIG_IsOK(ecode4)) {
17242 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17243 }
17244 arg4 = static_cast< long >(val4);
17245 }
17246 if (obj4) {
17247 {
17248 arg5 = &temp5;
17249 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17250 }
17251 }
17252 if (obj5) {
17253 {
17254 arg6 = &temp6;
17255 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17256 }
17257 }
17258 if (obj6) {
17259 {
17260 arg7 = wxString_in_helper(obj6);
17261 if (arg7 == NULL) SWIG_fail;
17262 temp7 = true;
17263 }
17264 }
17265 {
17266 if (!wxPyCheckForApp()) SWIG_fail;
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17273 {
17274 if (temp2)
17275 delete arg2;
17276 }
17277 {
17278 if (temp3)
17279 delete arg3;
17280 }
17281 {
17282 if (temp7)
17283 delete arg7;
17284 }
17285 return resultobj;
17286 fail:
17287 {
17288 if (temp2)
17289 delete arg2;
17290 }
17291 {
17292 if (temp3)
17293 delete arg3;
17294 }
17295 {
17296 if (temp7)
17297 delete arg7;
17298 }
17299 return NULL;
17300 }
17301
17302
17303 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17304 PyObject *resultobj = 0;
17305 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17306 wxString result;
17307 void *argp1 = 0 ;
17308 int res1 = 0 ;
17309 PyObject *swig_obj[1] ;
17310
17311 if (!args) SWIG_fail;
17312 swig_obj[0] = args;
17313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17314 if (!SWIG_IsOK(res1)) {
17315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17316 }
17317 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17318 {
17319 PyThreadState* __tstate = wxPyBeginAllowThreads();
17320 result = (arg1)->GetPath();
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 {
17325 #if wxUSE_UNICODE
17326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17327 #else
17328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17329 #endif
17330 }
17331 return resultobj;
17332 fail:
17333 return NULL;
17334 }
17335
17336
17337 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17338 PyObject *resultobj = 0;
17339 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17340 wxString result;
17341 void *argp1 = 0 ;
17342 int res1 = 0 ;
17343 PyObject *swig_obj[1] ;
17344
17345 if (!args) SWIG_fail;
17346 swig_obj[0] = args;
17347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17348 if (!SWIG_IsOK(res1)) {
17349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17350 }
17351 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 result = (arg1)->GetMessage();
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 #if wxUSE_UNICODE
17360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17361 #else
17362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17363 #endif
17364 }
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj = 0;
17373 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17374 wxString *arg2 = 0 ;
17375 void *argp1 = 0 ;
17376 int res1 = 0 ;
17377 bool temp2 = false ;
17378 PyObject * obj0 = 0 ;
17379 PyObject * obj1 = 0 ;
17380 char * kwnames[] = {
17381 (char *) "self",(char *) "message", NULL
17382 };
17383
17384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17386 if (!SWIG_IsOK(res1)) {
17387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17388 }
17389 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17390 {
17391 arg2 = wxString_in_helper(obj1);
17392 if (arg2 == NULL) SWIG_fail;
17393 temp2 = true;
17394 }
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 (arg1)->SetMessage((wxString const &)*arg2);
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = SWIG_Py_Void();
17402 {
17403 if (temp2)
17404 delete arg2;
17405 }
17406 return resultobj;
17407 fail:
17408 {
17409 if (temp2)
17410 delete arg2;
17411 }
17412 return NULL;
17413 }
17414
17415
17416 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj = 0;
17418 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17419 wxString *arg2 = 0 ;
17420 void *argp1 = 0 ;
17421 int res1 = 0 ;
17422 bool temp2 = false ;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 char * kwnames[] = {
17426 (char *) "self",(char *) "path", NULL
17427 };
17428
17429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17431 if (!SWIG_IsOK(res1)) {
17432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17433 }
17434 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17435 {
17436 arg2 = wxString_in_helper(obj1);
17437 if (arg2 == NULL) SWIG_fail;
17438 temp2 = true;
17439 }
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 (arg1)->SetPath((wxString const &)*arg2);
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 resultobj = SWIG_Py_Void();
17447 {
17448 if (temp2)
17449 delete arg2;
17450 }
17451 return resultobj;
17452 fail:
17453 {
17454 if (temp2)
17455 delete arg2;
17456 }
17457 return NULL;
17458 }
17459
17460
17461 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17462 PyObject *obj;
17463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17464 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17465 return SWIG_Py_Void();
17466 }
17467
17468 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17469 return SWIG_Python_InitShadowInstance(args);
17470 }
17471
17472 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj = 0;
17474 wxWindow *arg1 = (wxWindow *) 0 ;
17475 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17476 wxString *arg2 = (wxString *) &arg2_defvalue ;
17477 wxString const &arg3_defvalue = wxPyEmptyString ;
17478 wxString *arg3 = (wxString *) &arg3_defvalue ;
17479 wxString const &arg4_defvalue = wxPyEmptyString ;
17480 wxString *arg4 = (wxString *) &arg4_defvalue ;
17481 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17482 wxString *arg5 = (wxString *) &arg5_defvalue ;
17483 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17484 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17485 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17486 wxFileDialog *result = 0 ;
17487 void *argp1 = 0 ;
17488 int res1 = 0 ;
17489 bool temp2 = false ;
17490 bool temp3 = false ;
17491 bool temp4 = false ;
17492 bool temp5 = false ;
17493 long val6 ;
17494 int ecode6 = 0 ;
17495 wxPoint temp7 ;
17496 PyObject * obj0 = 0 ;
17497 PyObject * obj1 = 0 ;
17498 PyObject * obj2 = 0 ;
17499 PyObject * obj3 = 0 ;
17500 PyObject * obj4 = 0 ;
17501 PyObject * obj5 = 0 ;
17502 PyObject * obj6 = 0 ;
17503 char * kwnames[] = {
17504 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17505 };
17506
17507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17509 if (!SWIG_IsOK(res1)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17511 }
17512 arg1 = reinterpret_cast< wxWindow * >(argp1);
17513 if (obj1) {
17514 {
17515 arg2 = wxString_in_helper(obj1);
17516 if (arg2 == NULL) SWIG_fail;
17517 temp2 = true;
17518 }
17519 }
17520 if (obj2) {
17521 {
17522 arg3 = wxString_in_helper(obj2);
17523 if (arg3 == NULL) SWIG_fail;
17524 temp3 = true;
17525 }
17526 }
17527 if (obj3) {
17528 {
17529 arg4 = wxString_in_helper(obj3);
17530 if (arg4 == NULL) SWIG_fail;
17531 temp4 = true;
17532 }
17533 }
17534 if (obj4) {
17535 {
17536 arg5 = wxString_in_helper(obj4);
17537 if (arg5 == NULL) SWIG_fail;
17538 temp5 = true;
17539 }
17540 }
17541 if (obj5) {
17542 ecode6 = SWIG_AsVal_long(obj5, &val6);
17543 if (!SWIG_IsOK(ecode6)) {
17544 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17545 }
17546 arg6 = static_cast< long >(val6);
17547 }
17548 if (obj6) {
17549 {
17550 arg7 = &temp7;
17551 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17552 }
17553 }
17554 {
17555 if (!wxPyCheckForApp()) SWIG_fail;
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17562 {
17563 if (temp2)
17564 delete arg2;
17565 }
17566 {
17567 if (temp3)
17568 delete arg3;
17569 }
17570 {
17571 if (temp4)
17572 delete arg4;
17573 }
17574 {
17575 if (temp5)
17576 delete arg5;
17577 }
17578 return resultobj;
17579 fail:
17580 {
17581 if (temp2)
17582 delete arg2;
17583 }
17584 {
17585 if (temp3)
17586 delete arg3;
17587 }
17588 {
17589 if (temp4)
17590 delete arg4;
17591 }
17592 {
17593 if (temp5)
17594 delete arg5;
17595 }
17596 return NULL;
17597 }
17598
17599
17600 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17601 PyObject *resultobj = 0;
17602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17603 wxString *arg2 = 0 ;
17604 void *argp1 = 0 ;
17605 int res1 = 0 ;
17606 bool temp2 = false ;
17607 PyObject * obj0 = 0 ;
17608 PyObject * obj1 = 0 ;
17609 char * kwnames[] = {
17610 (char *) "self",(char *) "message", NULL
17611 };
17612
17613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17615 if (!SWIG_IsOK(res1)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17617 }
17618 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17619 {
17620 arg2 = wxString_in_helper(obj1);
17621 if (arg2 == NULL) SWIG_fail;
17622 temp2 = true;
17623 }
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 (arg1)->SetMessage((wxString const &)*arg2);
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = SWIG_Py_Void();
17631 {
17632 if (temp2)
17633 delete arg2;
17634 }
17635 return resultobj;
17636 fail:
17637 {
17638 if (temp2)
17639 delete arg2;
17640 }
17641 return NULL;
17642 }
17643
17644
17645 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj = 0;
17647 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17648 wxString *arg2 = 0 ;
17649 void *argp1 = 0 ;
17650 int res1 = 0 ;
17651 bool temp2 = false ;
17652 PyObject * obj0 = 0 ;
17653 PyObject * obj1 = 0 ;
17654 char * kwnames[] = {
17655 (char *) "self",(char *) "path", NULL
17656 };
17657
17658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17660 if (!SWIG_IsOK(res1)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17662 }
17663 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17664 {
17665 arg2 = wxString_in_helper(obj1);
17666 if (arg2 == NULL) SWIG_fail;
17667 temp2 = true;
17668 }
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 (arg1)->SetPath((wxString const &)*arg2);
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 resultobj = SWIG_Py_Void();
17676 {
17677 if (temp2)
17678 delete arg2;
17679 }
17680 return resultobj;
17681 fail:
17682 {
17683 if (temp2)
17684 delete arg2;
17685 }
17686 return NULL;
17687 }
17688
17689
17690 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj = 0;
17692 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17693 wxString *arg2 = 0 ;
17694 void *argp1 = 0 ;
17695 int res1 = 0 ;
17696 bool temp2 = false ;
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
17699 char * kwnames[] = {
17700 (char *) "self",(char *) "dir", NULL
17701 };
17702
17703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17705 if (!SWIG_IsOK(res1)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17707 }
17708 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17709 {
17710 arg2 = wxString_in_helper(obj1);
17711 if (arg2 == NULL) SWIG_fail;
17712 temp2 = true;
17713 }
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 (arg1)->SetDirectory((wxString const &)*arg2);
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_Py_Void();
17721 {
17722 if (temp2)
17723 delete arg2;
17724 }
17725 return resultobj;
17726 fail:
17727 {
17728 if (temp2)
17729 delete arg2;
17730 }
17731 return NULL;
17732 }
17733
17734
17735 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17736 PyObject *resultobj = 0;
17737 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17738 wxString *arg2 = 0 ;
17739 void *argp1 = 0 ;
17740 int res1 = 0 ;
17741 bool temp2 = false ;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 char * kwnames[] = {
17745 (char *) "self",(char *) "name", NULL
17746 };
17747
17748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17750 if (!SWIG_IsOK(res1)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17752 }
17753 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17754 {
17755 arg2 = wxString_in_helper(obj1);
17756 if (arg2 == NULL) SWIG_fail;
17757 temp2 = true;
17758 }
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->SetFilename((wxString const &)*arg2);
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 resultobj = SWIG_Py_Void();
17766 {
17767 if (temp2)
17768 delete arg2;
17769 }
17770 return resultobj;
17771 fail:
17772 {
17773 if (temp2)
17774 delete arg2;
17775 }
17776 return NULL;
17777 }
17778
17779
17780 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj = 0;
17782 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17783 wxString *arg2 = 0 ;
17784 void *argp1 = 0 ;
17785 int res1 = 0 ;
17786 bool temp2 = false ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 char * kwnames[] = {
17790 (char *) "self",(char *) "wildCard", NULL
17791 };
17792
17793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17795 if (!SWIG_IsOK(res1)) {
17796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17797 }
17798 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17799 {
17800 arg2 = wxString_in_helper(obj1);
17801 if (arg2 == NULL) SWIG_fail;
17802 temp2 = true;
17803 }
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 (arg1)->SetWildcard((wxString const &)*arg2);
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 resultobj = SWIG_Py_Void();
17811 {
17812 if (temp2)
17813 delete arg2;
17814 }
17815 return resultobj;
17816 fail:
17817 {
17818 if (temp2)
17819 delete arg2;
17820 }
17821 return NULL;
17822 }
17823
17824
17825 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj = 0;
17827 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17828 int arg2 ;
17829 void *argp1 = 0 ;
17830 int res1 = 0 ;
17831 int val2 ;
17832 int ecode2 = 0 ;
17833 PyObject * obj0 = 0 ;
17834 PyObject * obj1 = 0 ;
17835 char * kwnames[] = {
17836 (char *) "self",(char *) "filterIndex", NULL
17837 };
17838
17839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17841 if (!SWIG_IsOK(res1)) {
17842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17843 }
17844 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17845 ecode2 = SWIG_AsVal_int(obj1, &val2);
17846 if (!SWIG_IsOK(ecode2)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17848 }
17849 arg2 = static_cast< int >(val2);
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 (arg1)->SetFilterIndex(arg2);
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 resultobj = SWIG_Py_Void();
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17864 PyObject *resultobj = 0;
17865 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17866 wxString result;
17867 void *argp1 = 0 ;
17868 int res1 = 0 ;
17869 PyObject *swig_obj[1] ;
17870
17871 if (!args) SWIG_fail;
17872 swig_obj[0] = args;
17873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17874 if (!SWIG_IsOK(res1)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17876 }
17877 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = ((wxFileDialog const *)arg1)->GetMessage();
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 #if wxUSE_UNICODE
17886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17887 #else
17888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17889 #endif
17890 }
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17898 PyObject *resultobj = 0;
17899 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17900 wxString result;
17901 void *argp1 = 0 ;
17902 int res1 = 0 ;
17903 PyObject *swig_obj[1] ;
17904
17905 if (!args) SWIG_fail;
17906 swig_obj[0] = args;
17907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17908 if (!SWIG_IsOK(res1)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17910 }
17911 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = ((wxFileDialog const *)arg1)->GetPath();
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 {
17919 #if wxUSE_UNICODE
17920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17921 #else
17922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17923 #endif
17924 }
17925 return resultobj;
17926 fail:
17927 return NULL;
17928 }
17929
17930
17931 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17932 PyObject *resultobj = 0;
17933 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17934 wxString result;
17935 void *argp1 = 0 ;
17936 int res1 = 0 ;
17937 PyObject *swig_obj[1] ;
17938
17939 if (!args) SWIG_fail;
17940 swig_obj[0] = args;
17941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17942 if (!SWIG_IsOK(res1)) {
17943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17944 }
17945 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = ((wxFileDialog const *)arg1)->GetDirectory();
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 {
17953 #if wxUSE_UNICODE
17954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17955 #else
17956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17957 #endif
17958 }
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17966 PyObject *resultobj = 0;
17967 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17968 wxString result;
17969 void *argp1 = 0 ;
17970 int res1 = 0 ;
17971 PyObject *swig_obj[1] ;
17972
17973 if (!args) SWIG_fail;
17974 swig_obj[0] = args;
17975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17976 if (!SWIG_IsOK(res1)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17978 }
17979 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 result = ((wxFileDialog const *)arg1)->GetFilename();
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 {
17987 #if wxUSE_UNICODE
17988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17989 #else
17990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17991 #endif
17992 }
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18000 PyObject *resultobj = 0;
18001 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18002 wxString result;
18003 void *argp1 = 0 ;
18004 int res1 = 0 ;
18005 PyObject *swig_obj[1] ;
18006
18007 if (!args) SWIG_fail;
18008 swig_obj[0] = args;
18009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18010 if (!SWIG_IsOK(res1)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18012 }
18013 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = ((wxFileDialog const *)arg1)->GetWildcard();
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 {
18021 #if wxUSE_UNICODE
18022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18023 #else
18024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18025 #endif
18026 }
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18034 PyObject *resultobj = 0;
18035 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18036 int result;
18037 void *argp1 = 0 ;
18038 int res1 = 0 ;
18039 PyObject *swig_obj[1] ;
18040
18041 if (!args) SWIG_fail;
18042 swig_obj[0] = args;
18043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18044 if (!SWIG_IsOK(res1)) {
18045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18046 }
18047 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
18051 wxPyEndAllowThreads(__tstate);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 }
18054 resultobj = SWIG_From_int(static_cast< int >(result));
18055 return resultobj;
18056 fail:
18057 return NULL;
18058 }
18059
18060
18061 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18062 PyObject *resultobj = 0;
18063 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18064 PyObject *result = 0 ;
18065 void *argp1 = 0 ;
18066 int res1 = 0 ;
18067 PyObject *swig_obj[1] ;
18068
18069 if (!args) SWIG_fail;
18070 swig_obj[0] = args;
18071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18072 if (!SWIG_IsOK(res1)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18074 }
18075 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = result;
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18090 PyObject *resultobj = 0;
18091 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18092 PyObject *result = 0 ;
18093 void *argp1 = 0 ;
18094 int res1 = 0 ;
18095 PyObject *swig_obj[1] ;
18096
18097 if (!args) SWIG_fail;
18098 swig_obj[0] = args;
18099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18100 if (!SWIG_IsOK(res1)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18102 }
18103 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = result;
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18118 PyObject *obj;
18119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18120 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18121 return SWIG_Py_Void();
18122 }
18123
18124 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18125 return SWIG_Python_InitShadowInstance(args);
18126 }
18127
18128 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj = 0;
18130 wxWindow *arg1 = (wxWindow *) 0 ;
18131 wxString *arg2 = 0 ;
18132 wxString *arg3 = 0 ;
18133 int arg4 = (int) 0 ;
18134 wxString *arg5 = (wxString *) NULL ;
18135 long arg6 = (long) wxCHOICEDLG_STYLE ;
18136 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18137 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18138 wxMultiChoiceDialog *result = 0 ;
18139 void *argp1 = 0 ;
18140 int res1 = 0 ;
18141 bool temp2 = false ;
18142 bool temp3 = false ;
18143 long val6 ;
18144 int ecode6 = 0 ;
18145 wxPoint temp7 ;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 PyObject * obj2 = 0 ;
18149 PyObject * obj3 = 0 ;
18150 PyObject * obj4 = 0 ;
18151 PyObject * obj5 = 0 ;
18152 char * kwnames[] = {
18153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18154 };
18155
18156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18158 if (!SWIG_IsOK(res1)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18160 }
18161 arg1 = reinterpret_cast< wxWindow * >(argp1);
18162 {
18163 arg2 = wxString_in_helper(obj1);
18164 if (arg2 == NULL) SWIG_fail;
18165 temp2 = true;
18166 }
18167 {
18168 arg3 = wxString_in_helper(obj2);
18169 if (arg3 == NULL) SWIG_fail;
18170 temp3 = true;
18171 }
18172 if (obj3) {
18173 {
18174 arg4 = PyList_Size(obj3);
18175 arg5 = wxString_LIST_helper(obj3);
18176 if (arg5 == NULL) SWIG_fail;
18177 }
18178 }
18179 if (obj4) {
18180 ecode6 = SWIG_AsVal_long(obj4, &val6);
18181 if (!SWIG_IsOK(ecode6)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18183 }
18184 arg6 = static_cast< long >(val6);
18185 }
18186 if (obj5) {
18187 {
18188 arg7 = &temp7;
18189 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18190 }
18191 }
18192 {
18193 if (!wxPyCheckForApp()) SWIG_fail;
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18200 {
18201 if (temp2)
18202 delete arg2;
18203 }
18204 {
18205 if (temp3)
18206 delete arg3;
18207 }
18208 {
18209 if (arg5) delete [] arg5;
18210 }
18211 return resultobj;
18212 fail:
18213 {
18214 if (temp2)
18215 delete arg2;
18216 }
18217 {
18218 if (temp3)
18219 delete arg3;
18220 }
18221 {
18222 if (arg5) delete [] arg5;
18223 }
18224 return NULL;
18225 }
18226
18227
18228 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj = 0;
18230 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18231 wxArrayInt *arg2 = 0 ;
18232 void *argp1 = 0 ;
18233 int res1 = 0 ;
18234 bool temp2 = false ;
18235 PyObject * obj0 = 0 ;
18236 PyObject * obj1 = 0 ;
18237 char * kwnames[] = {
18238 (char *) "self",(char *) "selections", NULL
18239 };
18240
18241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18243 if (!SWIG_IsOK(res1)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18245 }
18246 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18247 {
18248 if (! PySequence_Check(obj1)) {
18249 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18250 SWIG_fail;
18251 }
18252 arg2 = new wxArrayInt;
18253 temp2 = true;
18254 int i, len=PySequence_Length(obj1);
18255 for (i=0; i<len; i++) {
18256 PyObject* item = PySequence_GetItem(obj1, i);
18257 PyObject* number = PyNumber_Int(item);
18258 if (!number) {
18259 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18260 SWIG_fail;
18261 }
18262 arg2->Add(PyInt_AS_LONG(number));
18263 Py_DECREF(item);
18264 Py_DECREF(number);
18265 }
18266 }
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 resultobj = SWIG_Py_Void();
18274 {
18275 if (temp2) delete arg2;
18276 }
18277 return resultobj;
18278 fail:
18279 {
18280 if (temp2) delete arg2;
18281 }
18282 return NULL;
18283 }
18284
18285
18286 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18287 PyObject *resultobj = 0;
18288 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18289 PyObject *result = 0 ;
18290 void *argp1 = 0 ;
18291 int res1 = 0 ;
18292 PyObject *swig_obj[1] ;
18293
18294 if (!args) SWIG_fail;
18295 swig_obj[0] = args;
18296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18297 if (!SWIG_IsOK(res1)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18299 }
18300 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 resultobj = result;
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18315 PyObject *obj;
18316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18317 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18318 return SWIG_Py_Void();
18319 }
18320
18321 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18322 return SWIG_Python_InitShadowInstance(args);
18323 }
18324
18325 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18326 PyObject *resultobj = 0;
18327 wxWindow *arg1 = (wxWindow *) 0 ;
18328 wxString *arg2 = 0 ;
18329 wxString *arg3 = 0 ;
18330 int arg4 ;
18331 wxString *arg5 = (wxString *) 0 ;
18332 long arg6 = (long) wxCHOICEDLG_STYLE ;
18333 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18334 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18335 wxSingleChoiceDialog *result = 0 ;
18336 void *argp1 = 0 ;
18337 int res1 = 0 ;
18338 bool temp2 = false ;
18339 bool temp3 = false ;
18340 long val6 ;
18341 int ecode6 = 0 ;
18342 wxPoint temp7 ;
18343 PyObject * obj0 = 0 ;
18344 PyObject * obj1 = 0 ;
18345 PyObject * obj2 = 0 ;
18346 PyObject * obj3 = 0 ;
18347 PyObject * obj4 = 0 ;
18348 PyObject * obj5 = 0 ;
18349 char * kwnames[] = {
18350 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18351 };
18352
18353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18355 if (!SWIG_IsOK(res1)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18357 }
18358 arg1 = reinterpret_cast< wxWindow * >(argp1);
18359 {
18360 arg2 = wxString_in_helper(obj1);
18361 if (arg2 == NULL) SWIG_fail;
18362 temp2 = true;
18363 }
18364 {
18365 arg3 = wxString_in_helper(obj2);
18366 if (arg3 == NULL) SWIG_fail;
18367 temp3 = true;
18368 }
18369 {
18370 arg4 = PyList_Size(obj3);
18371 arg5 = wxString_LIST_helper(obj3);
18372 if (arg5 == NULL) SWIG_fail;
18373 }
18374 if (obj4) {
18375 ecode6 = SWIG_AsVal_long(obj4, &val6);
18376 if (!SWIG_IsOK(ecode6)) {
18377 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18378 }
18379 arg6 = static_cast< long >(val6);
18380 }
18381 if (obj5) {
18382 {
18383 arg7 = &temp7;
18384 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18385 }
18386 }
18387 {
18388 if (!wxPyCheckForApp()) SWIG_fail;
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18395 {
18396 if (temp2)
18397 delete arg2;
18398 }
18399 {
18400 if (temp3)
18401 delete arg3;
18402 }
18403 {
18404 if (arg5) delete [] arg5;
18405 }
18406 return resultobj;
18407 fail:
18408 {
18409 if (temp2)
18410 delete arg2;
18411 }
18412 {
18413 if (temp3)
18414 delete arg3;
18415 }
18416 {
18417 if (arg5) delete [] arg5;
18418 }
18419 return NULL;
18420 }
18421
18422
18423 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18424 PyObject *resultobj = 0;
18425 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18426 int result;
18427 void *argp1 = 0 ;
18428 int res1 = 0 ;
18429 PyObject *swig_obj[1] ;
18430
18431 if (!args) SWIG_fail;
18432 swig_obj[0] = args;
18433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18434 if (!SWIG_IsOK(res1)) {
18435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18436 }
18437 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 result = (int)(arg1)->GetSelection();
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 resultobj = SWIG_From_int(static_cast< int >(result));
18445 return resultobj;
18446 fail:
18447 return NULL;
18448 }
18449
18450
18451 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18452 PyObject *resultobj = 0;
18453 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18454 wxString result;
18455 void *argp1 = 0 ;
18456 int res1 = 0 ;
18457 PyObject *swig_obj[1] ;
18458
18459 if (!args) SWIG_fail;
18460 swig_obj[0] = args;
18461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18462 if (!SWIG_IsOK(res1)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18464 }
18465 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (arg1)->GetStringSelection();
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 {
18473 #if wxUSE_UNICODE
18474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18475 #else
18476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18477 #endif
18478 }
18479 return resultobj;
18480 fail:
18481 return NULL;
18482 }
18483
18484
18485 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj = 0;
18487 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18488 int arg2 ;
18489 void *argp1 = 0 ;
18490 int res1 = 0 ;
18491 int val2 ;
18492 int ecode2 = 0 ;
18493 PyObject * obj0 = 0 ;
18494 PyObject * obj1 = 0 ;
18495 char * kwnames[] = {
18496 (char *) "self",(char *) "sel", NULL
18497 };
18498
18499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18501 if (!SWIG_IsOK(res1)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18503 }
18504 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18505 ecode2 = SWIG_AsVal_int(obj1, &val2);
18506 if (!SWIG_IsOK(ecode2)) {
18507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18508 }
18509 arg2 = static_cast< int >(val2);
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->SetSelection(arg2);
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 resultobj = SWIG_Py_Void();
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18524 PyObject *obj;
18525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18526 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18527 return SWIG_Py_Void();
18528 }
18529
18530 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18531 return SWIG_Python_InitShadowInstance(args);
18532 }
18533
18534 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj = 0;
18536 wxWindow *arg1 = (wxWindow *) 0 ;
18537 wxString *arg2 = 0 ;
18538 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18539 wxString *arg3 = (wxString *) &arg3_defvalue ;
18540 wxString const &arg4_defvalue = wxPyEmptyString ;
18541 wxString *arg4 = (wxString *) &arg4_defvalue ;
18542 long arg5 = (long) wxTextEntryDialogStyle ;
18543 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18544 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18545 wxTextEntryDialog *result = 0 ;
18546 void *argp1 = 0 ;
18547 int res1 = 0 ;
18548 bool temp2 = false ;
18549 bool temp3 = false ;
18550 bool temp4 = false ;
18551 long val5 ;
18552 int ecode5 = 0 ;
18553 wxPoint temp6 ;
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj1 = 0 ;
18556 PyObject * obj2 = 0 ;
18557 PyObject * obj3 = 0 ;
18558 PyObject * obj4 = 0 ;
18559 PyObject * obj5 = 0 ;
18560 char * kwnames[] = {
18561 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18562 };
18563
18564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18566 if (!SWIG_IsOK(res1)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18568 }
18569 arg1 = reinterpret_cast< wxWindow * >(argp1);
18570 {
18571 arg2 = wxString_in_helper(obj1);
18572 if (arg2 == NULL) SWIG_fail;
18573 temp2 = true;
18574 }
18575 if (obj2) {
18576 {
18577 arg3 = wxString_in_helper(obj2);
18578 if (arg3 == NULL) SWIG_fail;
18579 temp3 = true;
18580 }
18581 }
18582 if (obj3) {
18583 {
18584 arg4 = wxString_in_helper(obj3);
18585 if (arg4 == NULL) SWIG_fail;
18586 temp4 = true;
18587 }
18588 }
18589 if (obj4) {
18590 ecode5 = SWIG_AsVal_long(obj4, &val5);
18591 if (!SWIG_IsOK(ecode5)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18593 }
18594 arg5 = static_cast< long >(val5);
18595 }
18596 if (obj5) {
18597 {
18598 arg6 = &temp6;
18599 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18600 }
18601 }
18602 {
18603 if (!wxPyCheckForApp()) SWIG_fail;
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18610 {
18611 if (temp2)
18612 delete arg2;
18613 }
18614 {
18615 if (temp3)
18616 delete arg3;
18617 }
18618 {
18619 if (temp4)
18620 delete arg4;
18621 }
18622 return resultobj;
18623 fail:
18624 {
18625 if (temp2)
18626 delete arg2;
18627 }
18628 {
18629 if (temp3)
18630 delete arg3;
18631 }
18632 {
18633 if (temp4)
18634 delete arg4;
18635 }
18636 return NULL;
18637 }
18638
18639
18640 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18641 PyObject *resultobj = 0;
18642 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18643 wxString result;
18644 void *argp1 = 0 ;
18645 int res1 = 0 ;
18646 PyObject *swig_obj[1] ;
18647
18648 if (!args) SWIG_fail;
18649 swig_obj[0] = args;
18650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18651 if (!SWIG_IsOK(res1)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18653 }
18654 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (arg1)->GetValue();
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 {
18662 #if wxUSE_UNICODE
18663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18664 #else
18665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18666 #endif
18667 }
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj = 0;
18676 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18677 wxString *arg2 = 0 ;
18678 void *argp1 = 0 ;
18679 int res1 = 0 ;
18680 bool temp2 = false ;
18681 PyObject * obj0 = 0 ;
18682 PyObject * obj1 = 0 ;
18683 char * kwnames[] = {
18684 (char *) "self",(char *) "value", NULL
18685 };
18686
18687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18689 if (!SWIG_IsOK(res1)) {
18690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18691 }
18692 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18693 {
18694 arg2 = wxString_in_helper(obj1);
18695 if (arg2 == NULL) SWIG_fail;
18696 temp2 = true;
18697 }
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 (arg1)->SetValue((wxString const &)*arg2);
18701 wxPyEndAllowThreads(__tstate);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 resultobj = SWIG_Py_Void();
18705 {
18706 if (temp2)
18707 delete arg2;
18708 }
18709 return resultobj;
18710 fail:
18711 {
18712 if (temp2)
18713 delete arg2;
18714 }
18715 return NULL;
18716 }
18717
18718
18719 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18720 PyObject *obj;
18721 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18722 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18723 return SWIG_Py_Void();
18724 }
18725
18726 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18727 return SWIG_Python_InitShadowInstance(args);
18728 }
18729
18730 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18731 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18732 return 1;
18733 }
18734
18735
18736 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18737 PyObject *pyobj = 0;
18738
18739 {
18740 #if wxUSE_UNICODE
18741 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18742 #else
18743 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18744 #endif
18745 }
18746 return pyobj;
18747 }
18748
18749
18750 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj = 0;
18752 wxWindow *arg1 = (wxWindow *) 0 ;
18753 wxString *arg2 = 0 ;
18754 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18755 wxString *arg3 = (wxString *) &arg3_defvalue ;
18756 wxString const &arg4_defvalue = wxPyEmptyString ;
18757 wxString *arg4 = (wxString *) &arg4_defvalue ;
18758 long arg5 = (long) wxTextEntryDialogStyle ;
18759 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18760 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18761 wxPasswordEntryDialog *result = 0 ;
18762 void *argp1 = 0 ;
18763 int res1 = 0 ;
18764 bool temp2 = false ;
18765 bool temp3 = false ;
18766 bool temp4 = false ;
18767 long val5 ;
18768 int ecode5 = 0 ;
18769 wxPoint temp6 ;
18770 PyObject * obj0 = 0 ;
18771 PyObject * obj1 = 0 ;
18772 PyObject * obj2 = 0 ;
18773 PyObject * obj3 = 0 ;
18774 PyObject * obj4 = 0 ;
18775 PyObject * obj5 = 0 ;
18776 char * kwnames[] = {
18777 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18778 };
18779
18780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18782 if (!SWIG_IsOK(res1)) {
18783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18784 }
18785 arg1 = reinterpret_cast< wxWindow * >(argp1);
18786 {
18787 arg2 = wxString_in_helper(obj1);
18788 if (arg2 == NULL) SWIG_fail;
18789 temp2 = true;
18790 }
18791 if (obj2) {
18792 {
18793 arg3 = wxString_in_helper(obj2);
18794 if (arg3 == NULL) SWIG_fail;
18795 temp3 = true;
18796 }
18797 }
18798 if (obj3) {
18799 {
18800 arg4 = wxString_in_helper(obj3);
18801 if (arg4 == NULL) SWIG_fail;
18802 temp4 = true;
18803 }
18804 }
18805 if (obj4) {
18806 ecode5 = SWIG_AsVal_long(obj4, &val5);
18807 if (!SWIG_IsOK(ecode5)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18809 }
18810 arg5 = static_cast< long >(val5);
18811 }
18812 if (obj5) {
18813 {
18814 arg6 = &temp6;
18815 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18816 }
18817 }
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18825 {
18826 if (temp2)
18827 delete arg2;
18828 }
18829 {
18830 if (temp3)
18831 delete arg3;
18832 }
18833 {
18834 if (temp4)
18835 delete arg4;
18836 }
18837 return resultobj;
18838 fail:
18839 {
18840 if (temp2)
18841 delete arg2;
18842 }
18843 {
18844 if (temp3)
18845 delete arg3;
18846 }
18847 {
18848 if (temp4)
18849 delete arg4;
18850 }
18851 return NULL;
18852 }
18853
18854
18855 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18856 PyObject *obj;
18857 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18858 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18859 return SWIG_Py_Void();
18860 }
18861
18862 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18863 return SWIG_Python_InitShadowInstance(args);
18864 }
18865
18866 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj = 0;
18868 wxWindow *arg1 = (wxWindow *) 0 ;
18869 wxString *arg2 = 0 ;
18870 wxString *arg3 = 0 ;
18871 wxString *arg4 = 0 ;
18872 long arg5 ;
18873 long arg6 ;
18874 long arg7 ;
18875 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18876 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18877 wxNumberEntryDialog *result = 0 ;
18878 void *argp1 = 0 ;
18879 int res1 = 0 ;
18880 bool temp2 = false ;
18881 bool temp3 = false ;
18882 bool temp4 = false ;
18883 long val5 ;
18884 int ecode5 = 0 ;
18885 long val6 ;
18886 int ecode6 = 0 ;
18887 long val7 ;
18888 int ecode7 = 0 ;
18889 wxPoint temp8 ;
18890 PyObject * obj0 = 0 ;
18891 PyObject * obj1 = 0 ;
18892 PyObject * obj2 = 0 ;
18893 PyObject * obj3 = 0 ;
18894 PyObject * obj4 = 0 ;
18895 PyObject * obj5 = 0 ;
18896 PyObject * obj6 = 0 ;
18897 PyObject * obj7 = 0 ;
18898 char * kwnames[] = {
18899 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18900 };
18901
18902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18904 if (!SWIG_IsOK(res1)) {
18905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18906 }
18907 arg1 = reinterpret_cast< wxWindow * >(argp1);
18908 {
18909 arg2 = wxString_in_helper(obj1);
18910 if (arg2 == NULL) SWIG_fail;
18911 temp2 = true;
18912 }
18913 {
18914 arg3 = wxString_in_helper(obj2);
18915 if (arg3 == NULL) SWIG_fail;
18916 temp3 = true;
18917 }
18918 {
18919 arg4 = wxString_in_helper(obj3);
18920 if (arg4 == NULL) SWIG_fail;
18921 temp4 = true;
18922 }
18923 ecode5 = SWIG_AsVal_long(obj4, &val5);
18924 if (!SWIG_IsOK(ecode5)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18926 }
18927 arg5 = static_cast< long >(val5);
18928 ecode6 = SWIG_AsVal_long(obj5, &val6);
18929 if (!SWIG_IsOK(ecode6)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18931 }
18932 arg6 = static_cast< long >(val6);
18933 ecode7 = SWIG_AsVal_long(obj6, &val7);
18934 if (!SWIG_IsOK(ecode7)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18936 }
18937 arg7 = static_cast< long >(val7);
18938 if (obj7) {
18939 {
18940 arg8 = &temp8;
18941 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18942 }
18943 }
18944 {
18945 if (!wxPyCheckForApp()) SWIG_fail;
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18952 {
18953 if (temp2)
18954 delete arg2;
18955 }
18956 {
18957 if (temp3)
18958 delete arg3;
18959 }
18960 {
18961 if (temp4)
18962 delete arg4;
18963 }
18964 return resultobj;
18965 fail:
18966 {
18967 if (temp2)
18968 delete arg2;
18969 }
18970 {
18971 if (temp3)
18972 delete arg3;
18973 }
18974 {
18975 if (temp4)
18976 delete arg4;
18977 }
18978 return NULL;
18979 }
18980
18981
18982 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18983 PyObject *resultobj = 0;
18984 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18985 long result;
18986 void *argp1 = 0 ;
18987 int res1 = 0 ;
18988 PyObject *swig_obj[1] ;
18989
18990 if (!args) SWIG_fail;
18991 swig_obj[0] = args;
18992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18993 if (!SWIG_IsOK(res1)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18995 }
18996 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (long)(arg1)->GetValue();
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 resultobj = SWIG_From_long(static_cast< long >(result));
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19011 PyObject *obj;
19012 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19013 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
19014 return SWIG_Py_Void();
19015 }
19016
19017 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19018 return SWIG_Python_InitShadowInstance(args);
19019 }
19020
19021 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19022 PyObject *resultobj = 0;
19023 wxFontData *result = 0 ;
19024
19025 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
19026 {
19027 PyThreadState* __tstate = wxPyBeginAllowThreads();
19028 result = (wxFontData *)new wxFontData();
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19040 PyObject *resultobj = 0;
19041 wxFontData *arg1 = (wxFontData *) 0 ;
19042 void *argp1 = 0 ;
19043 int res1 = 0 ;
19044 PyObject *swig_obj[1] ;
19045
19046 if (!args) SWIG_fail;
19047 swig_obj[0] = args;
19048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
19049 if (!SWIG_IsOK(res1)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19051 }
19052 arg1 = reinterpret_cast< wxFontData * >(argp1);
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 delete arg1;
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 resultobj = SWIG_Py_Void();
19061 return resultobj;
19062 fail:
19063 return NULL;
19064 }
19065
19066
19067 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj = 0;
19069 wxFontData *arg1 = (wxFontData *) 0 ;
19070 bool arg2 ;
19071 void *argp1 = 0 ;
19072 int res1 = 0 ;
19073 bool val2 ;
19074 int ecode2 = 0 ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 char * kwnames[] = {
19078 (char *) "self",(char *) "enable", NULL
19079 };
19080
19081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19083 if (!SWIG_IsOK(res1)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19085 }
19086 arg1 = reinterpret_cast< wxFontData * >(argp1);
19087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19088 if (!SWIG_IsOK(ecode2)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19090 }
19091 arg2 = static_cast< bool >(val2);
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 (arg1)->EnableEffects(arg2);
19095 wxPyEndAllowThreads(__tstate);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 }
19098 resultobj = SWIG_Py_Void();
19099 return resultobj;
19100 fail:
19101 return NULL;
19102 }
19103
19104
19105 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19106 PyObject *resultobj = 0;
19107 wxFontData *arg1 = (wxFontData *) 0 ;
19108 bool result;
19109 void *argp1 = 0 ;
19110 int res1 = 0 ;
19111 PyObject *swig_obj[1] ;
19112
19113 if (!args) SWIG_fail;
19114 swig_obj[0] = args;
19115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19116 if (!SWIG_IsOK(res1)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19118 }
19119 arg1 = reinterpret_cast< wxFontData * >(argp1);
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 result = (bool)(arg1)->GetAllowSymbols();
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 {
19127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19128 }
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19136 PyObject *resultobj = 0;
19137 wxFontData *arg1 = (wxFontData *) 0 ;
19138 wxColour result;
19139 void *argp1 = 0 ;
19140 int res1 = 0 ;
19141 PyObject *swig_obj[1] ;
19142
19143 if (!args) SWIG_fail;
19144 swig_obj[0] = args;
19145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19146 if (!SWIG_IsOK(res1)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19148 }
19149 arg1 = reinterpret_cast< wxFontData * >(argp1);
19150 {
19151 PyThreadState* __tstate = wxPyBeginAllowThreads();
19152 result = (arg1)->GetColour();
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19164 PyObject *resultobj = 0;
19165 wxFontData *arg1 = (wxFontData *) 0 ;
19166 wxFont result;
19167 void *argp1 = 0 ;
19168 int res1 = 0 ;
19169 PyObject *swig_obj[1] ;
19170
19171 if (!args) SWIG_fail;
19172 swig_obj[0] = args;
19173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19174 if (!SWIG_IsOK(res1)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19176 }
19177 arg1 = reinterpret_cast< wxFontData * >(argp1);
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 result = (arg1)->GetChosenFont();
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19192 PyObject *resultobj = 0;
19193 wxFontData *arg1 = (wxFontData *) 0 ;
19194 bool result;
19195 void *argp1 = 0 ;
19196 int res1 = 0 ;
19197 PyObject *swig_obj[1] ;
19198
19199 if (!args) SWIG_fail;
19200 swig_obj[0] = args;
19201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19202 if (!SWIG_IsOK(res1)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19204 }
19205 arg1 = reinterpret_cast< wxFontData * >(argp1);
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = (bool)(arg1)->GetEnableEffects();
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19222 PyObject *resultobj = 0;
19223 wxFontData *arg1 = (wxFontData *) 0 ;
19224 wxFont result;
19225 void *argp1 = 0 ;
19226 int res1 = 0 ;
19227 PyObject *swig_obj[1] ;
19228
19229 if (!args) SWIG_fail;
19230 swig_obj[0] = args;
19231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19232 if (!SWIG_IsOK(res1)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19234 }
19235 arg1 = reinterpret_cast< wxFontData * >(argp1);
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 result = (arg1)->GetInitialFont();
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19243 return resultobj;
19244 fail:
19245 return NULL;
19246 }
19247
19248
19249 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19250 PyObject *resultobj = 0;
19251 wxFontData *arg1 = (wxFontData *) 0 ;
19252 bool result;
19253 void *argp1 = 0 ;
19254 int res1 = 0 ;
19255 PyObject *swig_obj[1] ;
19256
19257 if (!args) SWIG_fail;
19258 swig_obj[0] = args;
19259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19260 if (!SWIG_IsOK(res1)) {
19261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19262 }
19263 arg1 = reinterpret_cast< wxFontData * >(argp1);
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = (bool)(arg1)->GetShowHelp();
19267 wxPyEndAllowThreads(__tstate);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 {
19271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19272 }
19273 return resultobj;
19274 fail:
19275 return NULL;
19276 }
19277
19278
19279 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19280 PyObject *resultobj = 0;
19281 wxFontData *arg1 = (wxFontData *) 0 ;
19282 bool arg2 ;
19283 void *argp1 = 0 ;
19284 int res1 = 0 ;
19285 bool val2 ;
19286 int ecode2 = 0 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char * kwnames[] = {
19290 (char *) "self",(char *) "allowSymbols", NULL
19291 };
19292
19293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19295 if (!SWIG_IsOK(res1)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19297 }
19298 arg1 = reinterpret_cast< wxFontData * >(argp1);
19299 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19300 if (!SWIG_IsOK(ecode2)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19302 }
19303 arg2 = static_cast< bool >(val2);
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 (arg1)->SetAllowSymbols(arg2);
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 resultobj = SWIG_Py_Void();
19311 return resultobj;
19312 fail:
19313 return NULL;
19314 }
19315
19316
19317 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj = 0;
19319 wxFontData *arg1 = (wxFontData *) 0 ;
19320 wxFont *arg2 = 0 ;
19321 void *argp1 = 0 ;
19322 int res1 = 0 ;
19323 void *argp2 = 0 ;
19324 int res2 = 0 ;
19325 PyObject * obj0 = 0 ;
19326 PyObject * obj1 = 0 ;
19327 char * kwnames[] = {
19328 (char *) "self",(char *) "font", NULL
19329 };
19330
19331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19333 if (!SWIG_IsOK(res1)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19335 }
19336 arg1 = reinterpret_cast< wxFontData * >(argp1);
19337 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19338 if (!SWIG_IsOK(res2)) {
19339 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19340 }
19341 if (!argp2) {
19342 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19343 }
19344 arg2 = reinterpret_cast< wxFont * >(argp2);
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 (arg1)->SetChosenFont((wxFont const &)*arg2);
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
19351 resultobj = SWIG_Py_Void();
19352 return resultobj;
19353 fail:
19354 return NULL;
19355 }
19356
19357
19358 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19359 PyObject *resultobj = 0;
19360 wxFontData *arg1 = (wxFontData *) 0 ;
19361 wxColour *arg2 = 0 ;
19362 void *argp1 = 0 ;
19363 int res1 = 0 ;
19364 wxColour temp2 ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char * kwnames[] = {
19368 (char *) "self",(char *) "colour", NULL
19369 };
19370
19371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19373 if (!SWIG_IsOK(res1)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19375 }
19376 arg1 = reinterpret_cast< wxFontData * >(argp1);
19377 {
19378 arg2 = &temp2;
19379 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19380 }
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->SetColour((wxColour const &)*arg2);
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 resultobj = SWIG_Py_Void();
19388 return resultobj;
19389 fail:
19390 return NULL;
19391 }
19392
19393
19394 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj = 0;
19396 wxFontData *arg1 = (wxFontData *) 0 ;
19397 wxFont *arg2 = 0 ;
19398 void *argp1 = 0 ;
19399 int res1 = 0 ;
19400 void *argp2 = 0 ;
19401 int res2 = 0 ;
19402 PyObject * obj0 = 0 ;
19403 PyObject * obj1 = 0 ;
19404 char * kwnames[] = {
19405 (char *) "self",(char *) "font", NULL
19406 };
19407
19408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19410 if (!SWIG_IsOK(res1)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19412 }
19413 arg1 = reinterpret_cast< wxFontData * >(argp1);
19414 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19415 if (!SWIG_IsOK(res2)) {
19416 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19417 }
19418 if (!argp2) {
19419 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19420 }
19421 arg2 = reinterpret_cast< wxFont * >(argp2);
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 (arg1)->SetInitialFont((wxFont const &)*arg2);
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = SWIG_Py_Void();
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj = 0;
19437 wxFontData *arg1 = (wxFontData *) 0 ;
19438 int arg2 ;
19439 int arg3 ;
19440 void *argp1 = 0 ;
19441 int res1 = 0 ;
19442 int val2 ;
19443 int ecode2 = 0 ;
19444 int val3 ;
19445 int ecode3 = 0 ;
19446 PyObject * obj0 = 0 ;
19447 PyObject * obj1 = 0 ;
19448 PyObject * obj2 = 0 ;
19449 char * kwnames[] = {
19450 (char *) "self",(char *) "min",(char *) "max", NULL
19451 };
19452
19453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19455 if (!SWIG_IsOK(res1)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19457 }
19458 arg1 = reinterpret_cast< wxFontData * >(argp1);
19459 ecode2 = SWIG_AsVal_int(obj1, &val2);
19460 if (!SWIG_IsOK(ecode2)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19462 }
19463 arg2 = static_cast< int >(val2);
19464 ecode3 = SWIG_AsVal_int(obj2, &val3);
19465 if (!SWIG_IsOK(ecode3)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19467 }
19468 arg3 = static_cast< int >(val3);
19469 {
19470 PyThreadState* __tstate = wxPyBeginAllowThreads();
19471 (arg1)->SetRange(arg2,arg3);
19472 wxPyEndAllowThreads(__tstate);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 }
19475 resultobj = SWIG_Py_Void();
19476 return resultobj;
19477 fail:
19478 return NULL;
19479 }
19480
19481
19482 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj = 0;
19484 wxFontData *arg1 = (wxFontData *) 0 ;
19485 bool arg2 ;
19486 void *argp1 = 0 ;
19487 int res1 = 0 ;
19488 bool val2 ;
19489 int ecode2 = 0 ;
19490 PyObject * obj0 = 0 ;
19491 PyObject * obj1 = 0 ;
19492 char * kwnames[] = {
19493 (char *) "self",(char *) "showHelp", NULL
19494 };
19495
19496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19498 if (!SWIG_IsOK(res1)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19500 }
19501 arg1 = reinterpret_cast< wxFontData * >(argp1);
19502 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19503 if (!SWIG_IsOK(ecode2)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19505 }
19506 arg2 = static_cast< bool >(val2);
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 (arg1)->SetShowHelp(arg2);
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 resultobj = SWIG_Py_Void();
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19521 PyObject *obj;
19522 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19523 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19524 return SWIG_Py_Void();
19525 }
19526
19527 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19528 return SWIG_Python_InitShadowInstance(args);
19529 }
19530
19531 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj = 0;
19533 wxWindow *arg1 = (wxWindow *) 0 ;
19534 wxFontData *arg2 = 0 ;
19535 wxFontDialog *result = 0 ;
19536 void *argp1 = 0 ;
19537 int res1 = 0 ;
19538 void *argp2 = 0 ;
19539 int res2 = 0 ;
19540 PyObject * obj0 = 0 ;
19541 PyObject * obj1 = 0 ;
19542 char * kwnames[] = {
19543 (char *) "parent",(char *) "data", NULL
19544 };
19545
19546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19548 if (!SWIG_IsOK(res1)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19550 }
19551 arg1 = reinterpret_cast< wxWindow * >(argp1);
19552 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19553 if (!SWIG_IsOK(res2)) {
19554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19555 }
19556 if (!argp2) {
19557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19558 }
19559 arg2 = reinterpret_cast< wxFontData * >(argp2);
19560 {
19561 if (!wxPyCheckForApp()) SWIG_fail;
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19575 PyObject *resultobj = 0;
19576 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19577 wxFontData *result = 0 ;
19578 void *argp1 = 0 ;
19579 int res1 = 0 ;
19580 PyObject *swig_obj[1] ;
19581
19582 if (!args) SWIG_fail;
19583 swig_obj[0] = args;
19584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19585 if (!SWIG_IsOK(res1)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19587 }
19588 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 {
19592 wxFontData &_result_ref = (arg1)->GetFontData();
19593 result = (wxFontData *) &_result_ref;
19594 }
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19606 PyObject *obj;
19607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19608 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19609 return SWIG_Py_Void();
19610 }
19611
19612 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19613 return SWIG_Python_InitShadowInstance(args);
19614 }
19615
19616 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj = 0;
19618 wxWindow *arg1 = (wxWindow *) NULL ;
19619 wxFont const &arg2_defvalue = wxNullFont ;
19620 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19621 wxString const &arg3_defvalue = wxPyEmptyString ;
19622 wxString *arg3 = (wxString *) &arg3_defvalue ;
19623 wxFont result;
19624 void *argp1 = 0 ;
19625 int res1 = 0 ;
19626 void *argp2 = 0 ;
19627 int res2 = 0 ;
19628 bool temp3 = false ;
19629 PyObject * obj0 = 0 ;
19630 PyObject * obj1 = 0 ;
19631 PyObject * obj2 = 0 ;
19632 char * kwnames[] = {
19633 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19634 };
19635
19636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19637 if (obj0) {
19638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19639 if (!SWIG_IsOK(res1)) {
19640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19641 }
19642 arg1 = reinterpret_cast< wxWindow * >(argp1);
19643 }
19644 if (obj1) {
19645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19646 if (!SWIG_IsOK(res2)) {
19647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19648 }
19649 if (!argp2) {
19650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19651 }
19652 arg2 = reinterpret_cast< wxFont * >(argp2);
19653 }
19654 if (obj2) {
19655 {
19656 arg3 = wxString_in_helper(obj2);
19657 if (arg3 == NULL) SWIG_fail;
19658 temp3 = true;
19659 }
19660 }
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19668 {
19669 if (temp3)
19670 delete arg3;
19671 }
19672 return resultobj;
19673 fail:
19674 {
19675 if (temp3)
19676 delete arg3;
19677 }
19678 return NULL;
19679 }
19680
19681
19682 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj = 0;
19684 wxWindow *arg1 = (wxWindow *) 0 ;
19685 wxString *arg2 = 0 ;
19686 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19687 wxString *arg3 = (wxString *) &arg3_defvalue ;
19688 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19689 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19690 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19691 wxMessageDialog *result = 0 ;
19692 void *argp1 = 0 ;
19693 int res1 = 0 ;
19694 bool temp2 = false ;
19695 bool temp3 = false ;
19696 long val4 ;
19697 int ecode4 = 0 ;
19698 wxPoint temp5 ;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701 PyObject * obj2 = 0 ;
19702 PyObject * obj3 = 0 ;
19703 PyObject * obj4 = 0 ;
19704 char * kwnames[] = {
19705 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19706 };
19707
19708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19710 if (!SWIG_IsOK(res1)) {
19711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19712 }
19713 arg1 = reinterpret_cast< wxWindow * >(argp1);
19714 {
19715 arg2 = wxString_in_helper(obj1);
19716 if (arg2 == NULL) SWIG_fail;
19717 temp2 = true;
19718 }
19719 if (obj2) {
19720 {
19721 arg3 = wxString_in_helper(obj2);
19722 if (arg3 == NULL) SWIG_fail;
19723 temp3 = true;
19724 }
19725 }
19726 if (obj3) {
19727 ecode4 = SWIG_AsVal_long(obj3, &val4);
19728 if (!SWIG_IsOK(ecode4)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19730 }
19731 arg4 = static_cast< long >(val4);
19732 }
19733 if (obj4) {
19734 {
19735 arg5 = &temp5;
19736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19737 }
19738 }
19739 {
19740 if (!wxPyCheckForApp()) SWIG_fail;
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
19746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19747 {
19748 if (temp2)
19749 delete arg2;
19750 }
19751 {
19752 if (temp3)
19753 delete arg3;
19754 }
19755 return resultobj;
19756 fail:
19757 {
19758 if (temp2)
19759 delete arg2;
19760 }
19761 {
19762 if (temp3)
19763 delete arg3;
19764 }
19765 return NULL;
19766 }
19767
19768
19769 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19770 PyObject *obj;
19771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19772 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19773 return SWIG_Py_Void();
19774 }
19775
19776 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19777 return SWIG_Python_InitShadowInstance(args);
19778 }
19779
19780 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj = 0;
19782 wxString *arg1 = 0 ;
19783 wxString *arg2 = 0 ;
19784 int arg3 = (int) 100 ;
19785 wxWindow *arg4 = (wxWindow *) NULL ;
19786 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19787 wxProgressDialog *result = 0 ;
19788 bool temp1 = false ;
19789 bool temp2 = false ;
19790 int val3 ;
19791 int ecode3 = 0 ;
19792 void *argp4 = 0 ;
19793 int res4 = 0 ;
19794 int val5 ;
19795 int ecode5 = 0 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 PyObject * obj2 = 0 ;
19799 PyObject * obj3 = 0 ;
19800 PyObject * obj4 = 0 ;
19801 char * kwnames[] = {
19802 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19803 };
19804
19805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19806 {
19807 arg1 = wxString_in_helper(obj0);
19808 if (arg1 == NULL) SWIG_fail;
19809 temp1 = true;
19810 }
19811 {
19812 arg2 = wxString_in_helper(obj1);
19813 if (arg2 == NULL) SWIG_fail;
19814 temp2 = true;
19815 }
19816 if (obj2) {
19817 ecode3 = SWIG_AsVal_int(obj2, &val3);
19818 if (!SWIG_IsOK(ecode3)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19820 }
19821 arg3 = static_cast< int >(val3);
19822 }
19823 if (obj3) {
19824 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19825 if (!SWIG_IsOK(res4)) {
19826 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19827 }
19828 arg4 = reinterpret_cast< wxWindow * >(argp4);
19829 }
19830 if (obj4) {
19831 ecode5 = SWIG_AsVal_int(obj4, &val5);
19832 if (!SWIG_IsOK(ecode5)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19834 }
19835 arg5 = static_cast< int >(val5);
19836 }
19837 {
19838 if (!wxPyCheckForApp()) SWIG_fail;
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19845 {
19846 if (temp1)
19847 delete arg1;
19848 }
19849 {
19850 if (temp2)
19851 delete arg2;
19852 }
19853 return resultobj;
19854 fail:
19855 {
19856 if (temp1)
19857 delete arg1;
19858 }
19859 {
19860 if (temp2)
19861 delete arg2;
19862 }
19863 return NULL;
19864 }
19865
19866
19867 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj = 0;
19869 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19870 int arg2 ;
19871 wxString const &arg3_defvalue = wxPyEmptyString ;
19872 wxString *arg3 = (wxString *) &arg3_defvalue ;
19873 bool *arg4 = (bool *) 0 ;
19874 bool result;
19875 void *argp1 = 0 ;
19876 int res1 = 0 ;
19877 int val2 ;
19878 int ecode2 = 0 ;
19879 bool temp3 = false ;
19880 bool temp4 ;
19881 int res4 = SWIG_TMPOBJ ;
19882 PyObject * obj0 = 0 ;
19883 PyObject * obj1 = 0 ;
19884 PyObject * obj2 = 0 ;
19885 char * kwnames[] = {
19886 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19887 };
19888
19889 arg4 = &temp4;
19890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19892 if (!SWIG_IsOK(res1)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19894 }
19895 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19896 ecode2 = SWIG_AsVal_int(obj1, &val2);
19897 if (!SWIG_IsOK(ecode2)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19899 }
19900 arg2 = static_cast< int >(val2);
19901 if (obj2) {
19902 {
19903 arg3 = wxString_in_helper(obj2);
19904 if (arg3 == NULL) SWIG_fail;
19905 temp3 = true;
19906 }
19907 }
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 {
19915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19916 }
19917 if (SWIG_IsTmpObj(res4)) {
19918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19919 } else {
19920 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19922 }
19923 {
19924 if (temp3)
19925 delete arg3;
19926 }
19927 return resultobj;
19928 fail:
19929 {
19930 if (temp3)
19931 delete arg3;
19932 }
19933 return NULL;
19934 }
19935
19936
19937 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj = 0;
19939 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19940 wxString const &arg2_defvalue = wxPyEmptyString ;
19941 wxString *arg2 = (wxString *) &arg2_defvalue ;
19942 bool *arg3 = (bool *) 0 ;
19943 bool result;
19944 void *argp1 = 0 ;
19945 int res1 = 0 ;
19946 bool temp2 = false ;
19947 bool temp3 ;
19948 int res3 = SWIG_TMPOBJ ;
19949 PyObject * obj0 = 0 ;
19950 PyObject * obj1 = 0 ;
19951 char * kwnames[] = {
19952 (char *) "self",(char *) "newmsg", NULL
19953 };
19954
19955 arg3 = &temp3;
19956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19958 if (!SWIG_IsOK(res1)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19960 }
19961 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19962 if (obj1) {
19963 {
19964 arg2 = wxString_in_helper(obj1);
19965 if (arg2 == NULL) SWIG_fail;
19966 temp2 = true;
19967 }
19968 }
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 {
19976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19977 }
19978 if (SWIG_IsTmpObj(res3)) {
19979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19980 } else {
19981 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19983 }
19984 {
19985 if (temp2)
19986 delete arg2;
19987 }
19988 return resultobj;
19989 fail:
19990 {
19991 if (temp2)
19992 delete arg2;
19993 }
19994 return NULL;
19995 }
19996
19997
19998 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19999 PyObject *resultobj = 0;
20000 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
20001 void *argp1 = 0 ;
20002 int res1 = 0 ;
20003 PyObject *swig_obj[1] ;
20004
20005 if (!args) SWIG_fail;
20006 swig_obj[0] = args;
20007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20008 if (!SWIG_IsOK(res1)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20010 }
20011 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->Resume();
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 resultobj = SWIG_Py_Void();
20019 return resultobj;
20020 fail:
20021 return NULL;
20022 }
20023
20024
20025 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20026 PyObject *obj;
20027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20028 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
20029 return SWIG_Py_Void();
20030 }
20031
20032 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20033 return SWIG_Python_InitShadowInstance(args);
20034 }
20035
20036 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj = 0;
20038 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20039 int arg2 = (int) 0 ;
20040 wxFindDialogEvent *result = 0 ;
20041 int val1 ;
20042 int ecode1 = 0 ;
20043 int val2 ;
20044 int ecode2 = 0 ;
20045 PyObject * obj0 = 0 ;
20046 PyObject * obj1 = 0 ;
20047 char * kwnames[] = {
20048 (char *) "commandType",(char *) "id", NULL
20049 };
20050
20051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20052 if (obj0) {
20053 ecode1 = SWIG_AsVal_int(obj0, &val1);
20054 if (!SWIG_IsOK(ecode1)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20056 }
20057 arg1 = static_cast< wxEventType >(val1);
20058 }
20059 if (obj1) {
20060 ecode2 = SWIG_AsVal_int(obj1, &val2);
20061 if (!SWIG_IsOK(ecode2)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20063 }
20064 arg2 = static_cast< int >(val2);
20065 }
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20080 PyObject *resultobj = 0;
20081 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20082 int result;
20083 void *argp1 = 0 ;
20084 int res1 = 0 ;
20085 PyObject *swig_obj[1] ;
20086
20087 if (!args) SWIG_fail;
20088 swig_obj[0] = args;
20089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20090 if (!SWIG_IsOK(res1)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20092 }
20093 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (int)(arg1)->GetFlags();
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = SWIG_From_int(static_cast< int >(result));
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20108 PyObject *resultobj = 0;
20109 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 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_wxFindDialogEvent, 0 | 0 );
20118 if (!SWIG_IsOK(res1)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20120 }
20121 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 {
20125 wxString const &_result_ref = (arg1)->GetFindString();
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_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20145 PyObject *resultobj = 0;
20146 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20147 wxString *result = 0 ;
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_wxFindDialogEvent, 0 | 0 );
20155 if (!SWIG_IsOK(res1)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20157 }
20158 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 {
20162 wxString const &_result_ref = (arg1)->GetReplaceString();
20163 result = (wxString *) &_result_ref;
20164 }
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 {
20169 #if wxUSE_UNICODE
20170 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20171 #else
20172 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20173 #endif
20174 }
20175 return resultobj;
20176 fail:
20177 return NULL;
20178 }
20179
20180
20181 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20182 PyObject *resultobj = 0;
20183 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20184 wxFindReplaceDialog *result = 0 ;
20185 void *argp1 = 0 ;
20186 int res1 = 0 ;
20187 PyObject *swig_obj[1] ;
20188
20189 if (!args) SWIG_fail;
20190 swig_obj[0] = args;
20191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20192 if (!SWIG_IsOK(res1)) {
20193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20194 }
20195 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
20202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj = 0;
20211 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20212 int arg2 ;
20213 void *argp1 = 0 ;
20214 int res1 = 0 ;
20215 int val2 ;
20216 int ecode2 = 0 ;
20217 PyObject * obj0 = 0 ;
20218 PyObject * obj1 = 0 ;
20219 char * kwnames[] = {
20220 (char *) "self",(char *) "flags", NULL
20221 };
20222
20223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20225 if (!SWIG_IsOK(res1)) {
20226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20227 }
20228 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20229 ecode2 = SWIG_AsVal_int(obj1, &val2);
20230 if (!SWIG_IsOK(ecode2)) {
20231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20232 }
20233 arg2 = static_cast< int >(val2);
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 (arg1)->SetFlags(arg2);
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 resultobj = SWIG_Py_Void();
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj = 0;
20249 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20250 wxString *arg2 = 0 ;
20251 void *argp1 = 0 ;
20252 int res1 = 0 ;
20253 bool temp2 = false ;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj1 = 0 ;
20256 char * kwnames[] = {
20257 (char *) "self",(char *) "str", NULL
20258 };
20259
20260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20262 if (!SWIG_IsOK(res1)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20264 }
20265 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20266 {
20267 arg2 = wxString_in_helper(obj1);
20268 if (arg2 == NULL) SWIG_fail;
20269 temp2 = true;
20270 }
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 (arg1)->SetFindString((wxString const &)*arg2);
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = SWIG_Py_Void();
20278 {
20279 if (temp2)
20280 delete arg2;
20281 }
20282 return resultobj;
20283 fail:
20284 {
20285 if (temp2)
20286 delete arg2;
20287 }
20288 return NULL;
20289 }
20290
20291
20292 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20293 PyObject *resultobj = 0;
20294 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20295 wxString *arg2 = 0 ;
20296 void *argp1 = 0 ;
20297 int res1 = 0 ;
20298 bool temp2 = false ;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301 char * kwnames[] = {
20302 (char *) "self",(char *) "str", NULL
20303 };
20304
20305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20307 if (!SWIG_IsOK(res1)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20309 }
20310 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20311 {
20312 arg2 = wxString_in_helper(obj1);
20313 if (arg2 == NULL) SWIG_fail;
20314 temp2 = true;
20315 }
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 (arg1)->SetReplaceString((wxString const &)*arg2);
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 resultobj = SWIG_Py_Void();
20323 {
20324 if (temp2)
20325 delete arg2;
20326 }
20327 return resultobj;
20328 fail:
20329 {
20330 if (temp2)
20331 delete arg2;
20332 }
20333 return NULL;
20334 }
20335
20336
20337 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20338 PyObject *obj;
20339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20340 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20341 return SWIG_Py_Void();
20342 }
20343
20344 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20345 return SWIG_Python_InitShadowInstance(args);
20346 }
20347
20348 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj = 0;
20350 int arg1 = (int) 0 ;
20351 wxFindReplaceData *result = 0 ;
20352 int val1 ;
20353 int ecode1 = 0 ;
20354 PyObject * obj0 = 0 ;
20355 char * kwnames[] = {
20356 (char *) "flags", NULL
20357 };
20358
20359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20360 if (obj0) {
20361 ecode1 = SWIG_AsVal_int(obj0, &val1);
20362 if (!SWIG_IsOK(ecode1)) {
20363 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20364 }
20365 arg1 = static_cast< int >(val1);
20366 }
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20381 PyObject *resultobj = 0;
20382 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20383 void *argp1 = 0 ;
20384 int res1 = 0 ;
20385 PyObject *swig_obj[1] ;
20386
20387 if (!args) SWIG_fail;
20388 swig_obj[0] = args;
20389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20390 if (!SWIG_IsOK(res1)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20392 }
20393 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 delete arg1;
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 resultobj = SWIG_Py_Void();
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20409 PyObject *resultobj = 0;
20410 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20411 wxString *result = 0 ;
20412 void *argp1 = 0 ;
20413 int res1 = 0 ;
20414 PyObject *swig_obj[1] ;
20415
20416 if (!args) SWIG_fail;
20417 swig_obj[0] = args;
20418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20419 if (!SWIG_IsOK(res1)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20421 }
20422 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 {
20426 wxString const &_result_ref = (arg1)->GetFindString();
20427 result = (wxString *) &_result_ref;
20428 }
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 #if wxUSE_UNICODE
20434 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20435 #else
20436 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20437 #endif
20438 }
20439 return resultobj;
20440 fail:
20441 return NULL;
20442 }
20443
20444
20445 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20446 PyObject *resultobj = 0;
20447 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20448 wxString *result = 0 ;
20449 void *argp1 = 0 ;
20450 int res1 = 0 ;
20451 PyObject *swig_obj[1] ;
20452
20453 if (!args) SWIG_fail;
20454 swig_obj[0] = args;
20455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20456 if (!SWIG_IsOK(res1)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20458 }
20459 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 {
20463 wxString const &_result_ref = (arg1)->GetReplaceString();
20464 result = (wxString *) &_result_ref;
20465 }
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 {
20470 #if wxUSE_UNICODE
20471 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20472 #else
20473 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20474 #endif
20475 }
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20483 PyObject *resultobj = 0;
20484 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20485 int result;
20486 void *argp1 = 0 ;
20487 int res1 = 0 ;
20488 PyObject *swig_obj[1] ;
20489
20490 if (!args) SWIG_fail;
20491 swig_obj[0] = args;
20492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20493 if (!SWIG_IsOK(res1)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20495 }
20496 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (int)(arg1)->GetFlags();
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 resultobj = SWIG_From_int(static_cast< int >(result));
20504 return resultobj;
20505 fail:
20506 return NULL;
20507 }
20508
20509
20510 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj = 0;
20512 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20513 int arg2 ;
20514 void *argp1 = 0 ;
20515 int res1 = 0 ;
20516 int val2 ;
20517 int ecode2 = 0 ;
20518 PyObject * obj0 = 0 ;
20519 PyObject * obj1 = 0 ;
20520 char * kwnames[] = {
20521 (char *) "self",(char *) "flags", NULL
20522 };
20523
20524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20526 if (!SWIG_IsOK(res1)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20528 }
20529 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20530 ecode2 = SWIG_AsVal_int(obj1, &val2);
20531 if (!SWIG_IsOK(ecode2)) {
20532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20533 }
20534 arg2 = static_cast< int >(val2);
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 (arg1)->SetFlags(arg2);
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 resultobj = SWIG_Py_Void();
20542 return resultobj;
20543 fail:
20544 return NULL;
20545 }
20546
20547
20548 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj = 0;
20550 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20551 wxString *arg2 = 0 ;
20552 void *argp1 = 0 ;
20553 int res1 = 0 ;
20554 bool temp2 = false ;
20555 PyObject * obj0 = 0 ;
20556 PyObject * obj1 = 0 ;
20557 char * kwnames[] = {
20558 (char *) "self",(char *) "str", NULL
20559 };
20560
20561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20563 if (!SWIG_IsOK(res1)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20565 }
20566 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20567 {
20568 arg2 = wxString_in_helper(obj1);
20569 if (arg2 == NULL) SWIG_fail;
20570 temp2 = true;
20571 }
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 (arg1)->SetFindString((wxString const &)*arg2);
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 resultobj = SWIG_Py_Void();
20579 {
20580 if (temp2)
20581 delete arg2;
20582 }
20583 return resultobj;
20584 fail:
20585 {
20586 if (temp2)
20587 delete arg2;
20588 }
20589 return NULL;
20590 }
20591
20592
20593 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20594 PyObject *resultobj = 0;
20595 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20596 wxString *arg2 = 0 ;
20597 void *argp1 = 0 ;
20598 int res1 = 0 ;
20599 bool temp2 = false ;
20600 PyObject * obj0 = 0 ;
20601 PyObject * obj1 = 0 ;
20602 char * kwnames[] = {
20603 (char *) "self",(char *) "str", NULL
20604 };
20605
20606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20608 if (!SWIG_IsOK(res1)) {
20609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20610 }
20611 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20612 {
20613 arg2 = wxString_in_helper(obj1);
20614 if (arg2 == NULL) SWIG_fail;
20615 temp2 = true;
20616 }
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 (arg1)->SetReplaceString((wxString const &)*arg2);
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 resultobj = SWIG_Py_Void();
20624 {
20625 if (temp2)
20626 delete arg2;
20627 }
20628 return resultobj;
20629 fail:
20630 {
20631 if (temp2)
20632 delete arg2;
20633 }
20634 return NULL;
20635 }
20636
20637
20638 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20639 PyObject *obj;
20640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20641 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20642 return SWIG_Py_Void();
20643 }
20644
20645 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20646 return SWIG_Python_InitShadowInstance(args);
20647 }
20648
20649 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20650 PyObject *resultobj = 0;
20651 wxWindow *arg1 = (wxWindow *) 0 ;
20652 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20653 wxString *arg3 = 0 ;
20654 int arg4 = (int) 0 ;
20655 wxFindReplaceDialog *result = 0 ;
20656 void *argp1 = 0 ;
20657 int res1 = 0 ;
20658 void *argp2 = 0 ;
20659 int res2 = 0 ;
20660 bool temp3 = false ;
20661 int val4 ;
20662 int ecode4 = 0 ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 PyObject * obj2 = 0 ;
20666 PyObject * obj3 = 0 ;
20667 char * kwnames[] = {
20668 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20669 };
20670
20671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20673 if (!SWIG_IsOK(res1)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20675 }
20676 arg1 = reinterpret_cast< wxWindow * >(argp1);
20677 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20678 if (!SWIG_IsOK(res2)) {
20679 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20680 }
20681 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20682 {
20683 arg3 = wxString_in_helper(obj2);
20684 if (arg3 == NULL) SWIG_fail;
20685 temp3 = true;
20686 }
20687 if (obj3) {
20688 ecode4 = SWIG_AsVal_int(obj3, &val4);
20689 if (!SWIG_IsOK(ecode4)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20691 }
20692 arg4 = static_cast< int >(val4);
20693 }
20694 {
20695 if (!wxPyCheckForApp()) SWIG_fail;
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20702 {
20703 if (temp3)
20704 delete arg3;
20705 }
20706 return resultobj;
20707 fail:
20708 {
20709 if (temp3)
20710 delete arg3;
20711 }
20712 return NULL;
20713 }
20714
20715
20716 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20717 PyObject *resultobj = 0;
20718 wxFindReplaceDialog *result = 0 ;
20719
20720 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20721 {
20722 if (!wxPyCheckForApp()) SWIG_fail;
20723 PyThreadState* __tstate = wxPyBeginAllowThreads();
20724 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20729 return resultobj;
20730 fail:
20731 return NULL;
20732 }
20733
20734
20735 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj = 0;
20737 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20738 wxWindow *arg2 = (wxWindow *) 0 ;
20739 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20740 wxString *arg4 = 0 ;
20741 int arg5 = (int) 0 ;
20742 bool result;
20743 void *argp1 = 0 ;
20744 int res1 = 0 ;
20745 void *argp2 = 0 ;
20746 int res2 = 0 ;
20747 void *argp3 = 0 ;
20748 int res3 = 0 ;
20749 bool temp4 = false ;
20750 int val5 ;
20751 int ecode5 = 0 ;
20752 PyObject * obj0 = 0 ;
20753 PyObject * obj1 = 0 ;
20754 PyObject * obj2 = 0 ;
20755 PyObject * obj3 = 0 ;
20756 PyObject * obj4 = 0 ;
20757 char * kwnames[] = {
20758 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20759 };
20760
20761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20763 if (!SWIG_IsOK(res1)) {
20764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20765 }
20766 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20768 if (!SWIG_IsOK(res2)) {
20769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20770 }
20771 arg2 = reinterpret_cast< wxWindow * >(argp2);
20772 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20773 if (!SWIG_IsOK(res3)) {
20774 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20775 }
20776 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20777 {
20778 arg4 = wxString_in_helper(obj3);
20779 if (arg4 == NULL) SWIG_fail;
20780 temp4 = true;
20781 }
20782 if (obj4) {
20783 ecode5 = SWIG_AsVal_int(obj4, &val5);
20784 if (!SWIG_IsOK(ecode5)) {
20785 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20786 }
20787 arg5 = static_cast< int >(val5);
20788 }
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
20795 {
20796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20797 }
20798 {
20799 if (temp4)
20800 delete arg4;
20801 }
20802 return resultobj;
20803 fail:
20804 {
20805 if (temp4)
20806 delete arg4;
20807 }
20808 return NULL;
20809 }
20810
20811
20812 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20813 PyObject *resultobj = 0;
20814 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20815 wxFindReplaceData *result = 0 ;
20816 void *argp1 = 0 ;
20817 int res1 = 0 ;
20818 PyObject *swig_obj[1] ;
20819
20820 if (!args) SWIG_fail;
20821 swig_obj[0] = args;
20822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20823 if (!SWIG_IsOK(res1)) {
20824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20825 }
20826 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = (wxFindReplaceData *)(arg1)->GetData();
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20834 return resultobj;
20835 fail:
20836 return NULL;
20837 }
20838
20839
20840 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj = 0;
20842 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20843 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20844 void *argp1 = 0 ;
20845 int res1 = 0 ;
20846 void *argp2 = 0 ;
20847 int res2 = 0 ;
20848 PyObject * obj0 = 0 ;
20849 PyObject * obj1 = 0 ;
20850 char * kwnames[] = {
20851 (char *) "self",(char *) "data", NULL
20852 };
20853
20854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20856 if (!SWIG_IsOK(res1)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20858 }
20859 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20860 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20861 if (!SWIG_IsOK(res2)) {
20862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20863 }
20864 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 (arg1)->SetData(arg2);
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 resultobj = SWIG_Py_Void();
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20879 PyObject *obj;
20880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20881 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20882 return SWIG_Py_Void();
20883 }
20884
20885 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20886 return SWIG_Python_InitShadowInstance(args);
20887 }
20888
20889 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj = 0;
20891 wxWindow *arg1 = (wxWindow *) 0 ;
20892 int arg2 = (int) (int)-1 ;
20893 wxString const &arg3_defvalue = wxPyEmptyString ;
20894 wxString *arg3 = (wxString *) &arg3_defvalue ;
20895 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20896 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20897 wxSize const &arg5_defvalue = wxDefaultSize ;
20898 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20899 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20900 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20901 wxString *arg7 = (wxString *) &arg7_defvalue ;
20902 wxMDIParentFrame *result = 0 ;
20903 void *argp1 = 0 ;
20904 int res1 = 0 ;
20905 int val2 ;
20906 int ecode2 = 0 ;
20907 bool temp3 = false ;
20908 wxPoint temp4 ;
20909 wxSize temp5 ;
20910 long val6 ;
20911 int ecode6 = 0 ;
20912 bool temp7 = false ;
20913 PyObject * obj0 = 0 ;
20914 PyObject * obj1 = 0 ;
20915 PyObject * obj2 = 0 ;
20916 PyObject * obj3 = 0 ;
20917 PyObject * obj4 = 0 ;
20918 PyObject * obj5 = 0 ;
20919 PyObject * obj6 = 0 ;
20920 char * kwnames[] = {
20921 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20922 };
20923
20924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20926 if (!SWIG_IsOK(res1)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20928 }
20929 arg1 = reinterpret_cast< wxWindow * >(argp1);
20930 if (obj1) {
20931 ecode2 = SWIG_AsVal_int(obj1, &val2);
20932 if (!SWIG_IsOK(ecode2)) {
20933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20934 }
20935 arg2 = static_cast< int >(val2);
20936 }
20937 if (obj2) {
20938 {
20939 arg3 = wxString_in_helper(obj2);
20940 if (arg3 == NULL) SWIG_fail;
20941 temp3 = true;
20942 }
20943 }
20944 if (obj3) {
20945 {
20946 arg4 = &temp4;
20947 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20948 }
20949 }
20950 if (obj4) {
20951 {
20952 arg5 = &temp5;
20953 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20954 }
20955 }
20956 if (obj5) {
20957 ecode6 = SWIG_AsVal_long(obj5, &val6);
20958 if (!SWIG_IsOK(ecode6)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20960 }
20961 arg6 = static_cast< long >(val6);
20962 }
20963 if (obj6) {
20964 {
20965 arg7 = wxString_in_helper(obj6);
20966 if (arg7 == NULL) SWIG_fail;
20967 temp7 = true;
20968 }
20969 }
20970 {
20971 if (!wxPyCheckForApp()) SWIG_fail;
20972 PyThreadState* __tstate = wxPyBeginAllowThreads();
20973 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20974 wxPyEndAllowThreads(__tstate);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 }
20977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20978 {
20979 if (temp3)
20980 delete arg3;
20981 }
20982 {
20983 if (temp7)
20984 delete arg7;
20985 }
20986 return resultobj;
20987 fail:
20988 {
20989 if (temp3)
20990 delete arg3;
20991 }
20992 {
20993 if (temp7)
20994 delete arg7;
20995 }
20996 return NULL;
20997 }
20998
20999
21000 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21001 PyObject *resultobj = 0;
21002 wxMDIParentFrame *result = 0 ;
21003
21004 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
21005 {
21006 if (!wxPyCheckForApp()) SWIG_fail;
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (wxMDIParentFrame *)new wxMDIParentFrame();
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj = 0;
21021 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21022 wxWindow *arg2 = (wxWindow *) 0 ;
21023 int arg3 = (int) (int)-1 ;
21024 wxString const &arg4_defvalue = wxPyEmptyString ;
21025 wxString *arg4 = (wxString *) &arg4_defvalue ;
21026 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21027 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21028 wxSize const &arg6_defvalue = wxDefaultSize ;
21029 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21030 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
21031 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21032 wxString *arg8 = (wxString *) &arg8_defvalue ;
21033 bool result;
21034 void *argp1 = 0 ;
21035 int res1 = 0 ;
21036 void *argp2 = 0 ;
21037 int res2 = 0 ;
21038 int val3 ;
21039 int ecode3 = 0 ;
21040 bool temp4 = false ;
21041 wxPoint temp5 ;
21042 wxSize temp6 ;
21043 long val7 ;
21044 int ecode7 = 0 ;
21045 bool temp8 = false ;
21046 PyObject * obj0 = 0 ;
21047 PyObject * obj1 = 0 ;
21048 PyObject * obj2 = 0 ;
21049 PyObject * obj3 = 0 ;
21050 PyObject * obj4 = 0 ;
21051 PyObject * obj5 = 0 ;
21052 PyObject * obj6 = 0 ;
21053 PyObject * obj7 = 0 ;
21054 char * kwnames[] = {
21055 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21056 };
21057
21058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21060 if (!SWIG_IsOK(res1)) {
21061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21062 }
21063 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21065 if (!SWIG_IsOK(res2)) {
21066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21067 }
21068 arg2 = reinterpret_cast< wxWindow * >(argp2);
21069 if (obj2) {
21070 ecode3 = SWIG_AsVal_int(obj2, &val3);
21071 if (!SWIG_IsOK(ecode3)) {
21072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21073 }
21074 arg3 = static_cast< int >(val3);
21075 }
21076 if (obj3) {
21077 {
21078 arg4 = wxString_in_helper(obj3);
21079 if (arg4 == NULL) SWIG_fail;
21080 temp4 = true;
21081 }
21082 }
21083 if (obj4) {
21084 {
21085 arg5 = &temp5;
21086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21087 }
21088 }
21089 if (obj5) {
21090 {
21091 arg6 = &temp6;
21092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21093 }
21094 }
21095 if (obj6) {
21096 ecode7 = SWIG_AsVal_long(obj6, &val7);
21097 if (!SWIG_IsOK(ecode7)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21099 }
21100 arg7 = static_cast< long >(val7);
21101 }
21102 if (obj7) {
21103 {
21104 arg8 = wxString_in_helper(obj7);
21105 if (arg8 == NULL) SWIG_fail;
21106 temp8 = true;
21107 }
21108 }
21109 {
21110 PyThreadState* __tstate = wxPyBeginAllowThreads();
21111 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 {
21116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21117 }
21118 {
21119 if (temp4)
21120 delete arg4;
21121 }
21122 {
21123 if (temp8)
21124 delete arg8;
21125 }
21126 return resultobj;
21127 fail:
21128 {
21129 if (temp4)
21130 delete arg4;
21131 }
21132 {
21133 if (temp8)
21134 delete arg8;
21135 }
21136 return NULL;
21137 }
21138
21139
21140 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21141 PyObject *resultobj = 0;
21142 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21143 void *argp1 = 0 ;
21144 int res1 = 0 ;
21145 PyObject *swig_obj[1] ;
21146
21147 if (!args) SWIG_fail;
21148 swig_obj[0] = args;
21149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21150 if (!SWIG_IsOK(res1)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21152 }
21153 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 (arg1)->ActivateNext();
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 resultobj = SWIG_Py_Void();
21161 return resultobj;
21162 fail:
21163 return NULL;
21164 }
21165
21166
21167 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21168 PyObject *resultobj = 0;
21169 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21170 void *argp1 = 0 ;
21171 int res1 = 0 ;
21172 PyObject *swig_obj[1] ;
21173
21174 if (!args) SWIG_fail;
21175 swig_obj[0] = args;
21176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21177 if (!SWIG_IsOK(res1)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21179 }
21180 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 (arg1)->ActivatePrevious();
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = SWIG_Py_Void();
21188 return resultobj;
21189 fail:
21190 return NULL;
21191 }
21192
21193
21194 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21195 PyObject *resultobj = 0;
21196 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21197 void *argp1 = 0 ;
21198 int res1 = 0 ;
21199 PyObject *swig_obj[1] ;
21200
21201 if (!args) SWIG_fail;
21202 swig_obj[0] = args;
21203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21204 if (!SWIG_IsOK(res1)) {
21205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21206 }
21207 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 (arg1)->ArrangeIcons();
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 resultobj = SWIG_Py_Void();
21215 return resultobj;
21216 fail:
21217 return NULL;
21218 }
21219
21220
21221 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21222 PyObject *resultobj = 0;
21223 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21224 void *argp1 = 0 ;
21225 int res1 = 0 ;
21226 PyObject *swig_obj[1] ;
21227
21228 if (!args) SWIG_fail;
21229 swig_obj[0] = args;
21230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21231 if (!SWIG_IsOK(res1)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21233 }
21234 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 (arg1)->Cascade();
21238 wxPyEndAllowThreads(__tstate);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 }
21241 resultobj = SWIG_Py_Void();
21242 return resultobj;
21243 fail:
21244 return NULL;
21245 }
21246
21247
21248 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21249 PyObject *resultobj = 0;
21250 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21251 wxMDIChildFrame *result = 0 ;
21252 void *argp1 = 0 ;
21253 int res1 = 0 ;
21254 PyObject *swig_obj[1] ;
21255
21256 if (!args) SWIG_fail;
21257 swig_obj[0] = args;
21258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21259 if (!SWIG_IsOK(res1)) {
21260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21261 }
21262 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 resultobj = wxPyMake_wxObject(result, (bool)0);
21271 }
21272 return resultobj;
21273 fail:
21274 return NULL;
21275 }
21276
21277
21278 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21279 PyObject *resultobj = 0;
21280 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21281 wxMDIClientWindow *result = 0 ;
21282 void *argp1 = 0 ;
21283 int res1 = 0 ;
21284 PyObject *swig_obj[1] ;
21285
21286 if (!args) SWIG_fail;
21287 swig_obj[0] = args;
21288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21289 if (!SWIG_IsOK(res1)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21291 }
21292 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
21299 {
21300 resultobj = wxPyMake_wxObject(result, (bool)0);
21301 }
21302 return resultobj;
21303 fail:
21304 return NULL;
21305 }
21306
21307
21308 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj = 0;
21310 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21311 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21312 void *argp1 = 0 ;
21313 int res1 = 0 ;
21314 int val2 ;
21315 int ecode2 = 0 ;
21316 PyObject * obj0 = 0 ;
21317 PyObject * obj1 = 0 ;
21318 char * kwnames[] = {
21319 (char *) "self",(char *) "orient", NULL
21320 };
21321
21322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21324 if (!SWIG_IsOK(res1)) {
21325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21326 }
21327 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21328 if (obj1) {
21329 ecode2 = SWIG_AsVal_int(obj1, &val2);
21330 if (!SWIG_IsOK(ecode2)) {
21331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21332 }
21333 arg2 = static_cast< wxOrientation >(val2);
21334 }
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 (arg1)->Tile(arg2);
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 resultobj = SWIG_Py_Void();
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21349 PyObject *obj;
21350 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21351 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21352 return SWIG_Py_Void();
21353 }
21354
21355 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21356 return SWIG_Python_InitShadowInstance(args);
21357 }
21358
21359 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21360 PyObject *resultobj = 0;
21361 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21362 int arg2 = (int) (int)-1 ;
21363 wxString const &arg3_defvalue = wxPyEmptyString ;
21364 wxString *arg3 = (wxString *) &arg3_defvalue ;
21365 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21366 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21367 wxSize const &arg5_defvalue = wxDefaultSize ;
21368 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21369 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21370 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21371 wxString *arg7 = (wxString *) &arg7_defvalue ;
21372 wxMDIChildFrame *result = 0 ;
21373 void *argp1 = 0 ;
21374 int res1 = 0 ;
21375 int val2 ;
21376 int ecode2 = 0 ;
21377 bool temp3 = false ;
21378 wxPoint temp4 ;
21379 wxSize temp5 ;
21380 long val6 ;
21381 int ecode6 = 0 ;
21382 bool temp7 = false ;
21383 PyObject * obj0 = 0 ;
21384 PyObject * obj1 = 0 ;
21385 PyObject * obj2 = 0 ;
21386 PyObject * obj3 = 0 ;
21387 PyObject * obj4 = 0 ;
21388 PyObject * obj5 = 0 ;
21389 PyObject * obj6 = 0 ;
21390 char * kwnames[] = {
21391 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21392 };
21393
21394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21396 if (!SWIG_IsOK(res1)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21398 }
21399 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21400 if (obj1) {
21401 ecode2 = SWIG_AsVal_int(obj1, &val2);
21402 if (!SWIG_IsOK(ecode2)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21404 }
21405 arg2 = static_cast< int >(val2);
21406 }
21407 if (obj2) {
21408 {
21409 arg3 = wxString_in_helper(obj2);
21410 if (arg3 == NULL) SWIG_fail;
21411 temp3 = true;
21412 }
21413 }
21414 if (obj3) {
21415 {
21416 arg4 = &temp4;
21417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21418 }
21419 }
21420 if (obj4) {
21421 {
21422 arg5 = &temp5;
21423 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21424 }
21425 }
21426 if (obj5) {
21427 ecode6 = SWIG_AsVal_long(obj5, &val6);
21428 if (!SWIG_IsOK(ecode6)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21430 }
21431 arg6 = static_cast< long >(val6);
21432 }
21433 if (obj6) {
21434 {
21435 arg7 = wxString_in_helper(obj6);
21436 if (arg7 == NULL) SWIG_fail;
21437 temp7 = true;
21438 }
21439 }
21440 {
21441 if (!wxPyCheckForApp()) SWIG_fail;
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21448 {
21449 if (temp3)
21450 delete arg3;
21451 }
21452 {
21453 if (temp7)
21454 delete arg7;
21455 }
21456 return resultobj;
21457 fail:
21458 {
21459 if (temp3)
21460 delete arg3;
21461 }
21462 {
21463 if (temp7)
21464 delete arg7;
21465 }
21466 return NULL;
21467 }
21468
21469
21470 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21471 PyObject *resultobj = 0;
21472 wxMDIChildFrame *result = 0 ;
21473
21474 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21475 {
21476 if (!wxPyCheckForApp()) SWIG_fail;
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21483 return resultobj;
21484 fail:
21485 return NULL;
21486 }
21487
21488
21489 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj = 0;
21491 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21492 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21493 int arg3 = (int) (int)-1 ;
21494 wxString const &arg4_defvalue = wxPyEmptyString ;
21495 wxString *arg4 = (wxString *) &arg4_defvalue ;
21496 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21497 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21498 wxSize const &arg6_defvalue = wxDefaultSize ;
21499 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21500 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21501 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21502 wxString *arg8 = (wxString *) &arg8_defvalue ;
21503 bool result;
21504 void *argp1 = 0 ;
21505 int res1 = 0 ;
21506 void *argp2 = 0 ;
21507 int res2 = 0 ;
21508 int val3 ;
21509 int ecode3 = 0 ;
21510 bool temp4 = false ;
21511 wxPoint temp5 ;
21512 wxSize temp6 ;
21513 long val7 ;
21514 int ecode7 = 0 ;
21515 bool temp8 = false ;
21516 PyObject * obj0 = 0 ;
21517 PyObject * obj1 = 0 ;
21518 PyObject * obj2 = 0 ;
21519 PyObject * obj3 = 0 ;
21520 PyObject * obj4 = 0 ;
21521 PyObject * obj5 = 0 ;
21522 PyObject * obj6 = 0 ;
21523 PyObject * obj7 = 0 ;
21524 char * kwnames[] = {
21525 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21526 };
21527
21528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21530 if (!SWIG_IsOK(res1)) {
21531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21532 }
21533 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21535 if (!SWIG_IsOK(res2)) {
21536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21537 }
21538 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21539 if (obj2) {
21540 ecode3 = SWIG_AsVal_int(obj2, &val3);
21541 if (!SWIG_IsOK(ecode3)) {
21542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21543 }
21544 arg3 = static_cast< int >(val3);
21545 }
21546 if (obj3) {
21547 {
21548 arg4 = wxString_in_helper(obj3);
21549 if (arg4 == NULL) SWIG_fail;
21550 temp4 = true;
21551 }
21552 }
21553 if (obj4) {
21554 {
21555 arg5 = &temp5;
21556 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21557 }
21558 }
21559 if (obj5) {
21560 {
21561 arg6 = &temp6;
21562 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21563 }
21564 }
21565 if (obj6) {
21566 ecode7 = SWIG_AsVal_long(obj6, &val7);
21567 if (!SWIG_IsOK(ecode7)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21569 }
21570 arg7 = static_cast< long >(val7);
21571 }
21572 if (obj7) {
21573 {
21574 arg8 = wxString_in_helper(obj7);
21575 if (arg8 == NULL) SWIG_fail;
21576 temp8 = true;
21577 }
21578 }
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 {
21586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21587 }
21588 {
21589 if (temp4)
21590 delete arg4;
21591 }
21592 {
21593 if (temp8)
21594 delete arg8;
21595 }
21596 return resultobj;
21597 fail:
21598 {
21599 if (temp4)
21600 delete arg4;
21601 }
21602 {
21603 if (temp8)
21604 delete arg8;
21605 }
21606 return NULL;
21607 }
21608
21609
21610 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21611 PyObject *resultobj = 0;
21612 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21613 void *argp1 = 0 ;
21614 int res1 = 0 ;
21615 PyObject *swig_obj[1] ;
21616
21617 if (!args) SWIG_fail;
21618 swig_obj[0] = args;
21619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21620 if (!SWIG_IsOK(res1)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21622 }
21623 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 (arg1)->Activate();
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 resultobj = SWIG_Py_Void();
21631 return resultobj;
21632 fail:
21633 return NULL;
21634 }
21635
21636
21637 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21638 PyObject *obj;
21639 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21640 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21641 return SWIG_Py_Void();
21642 }
21643
21644 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21645 return SWIG_Python_InitShadowInstance(args);
21646 }
21647
21648 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj = 0;
21650 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21651 long arg2 = (long) 0 ;
21652 wxMDIClientWindow *result = 0 ;
21653 void *argp1 = 0 ;
21654 int res1 = 0 ;
21655 long val2 ;
21656 int ecode2 = 0 ;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
21659 char * kwnames[] = {
21660 (char *) "parent",(char *) "style", NULL
21661 };
21662
21663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21665 if (!SWIG_IsOK(res1)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21667 }
21668 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21669 if (obj1) {
21670 ecode2 = SWIG_AsVal_long(obj1, &val2);
21671 if (!SWIG_IsOK(ecode2)) {
21672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21673 }
21674 arg2 = static_cast< long >(val2);
21675 }
21676 {
21677 if (!wxPyCheckForApp()) SWIG_fail;
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21684 return resultobj;
21685 fail:
21686 return NULL;
21687 }
21688
21689
21690 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21691 PyObject *resultobj = 0;
21692 wxMDIClientWindow *result = 0 ;
21693
21694 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21695 {
21696 if (!wxPyCheckForApp()) SWIG_fail;
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj = 0;
21711 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21712 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21713 long arg3 = (long) 0 ;
21714 bool result;
21715 void *argp1 = 0 ;
21716 int res1 = 0 ;
21717 void *argp2 = 0 ;
21718 int res2 = 0 ;
21719 long val3 ;
21720 int ecode3 = 0 ;
21721 PyObject * obj0 = 0 ;
21722 PyObject * obj1 = 0 ;
21723 PyObject * obj2 = 0 ;
21724 char * kwnames[] = {
21725 (char *) "self",(char *) "parent",(char *) "style", NULL
21726 };
21727
21728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21730 if (!SWIG_IsOK(res1)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21732 }
21733 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21734 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21735 if (!SWIG_IsOK(res2)) {
21736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21737 }
21738 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21739 if (obj2) {
21740 ecode3 = SWIG_AsVal_long(obj2, &val3);
21741 if (!SWIG_IsOK(ecode3)) {
21742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21743 }
21744 arg3 = static_cast< long >(val3);
21745 }
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 result = (bool)(arg1)->Create(arg2,arg3);
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 {
21753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21754 }
21755 return resultobj;
21756 fail:
21757 return NULL;
21758 }
21759
21760
21761 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21762 PyObject *obj;
21763 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21764 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21765 return SWIG_Py_Void();
21766 }
21767
21768 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21769 return SWIG_Python_InitShadowInstance(args);
21770 }
21771
21772 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj = 0;
21774 wxWindow *arg1 = (wxWindow *) 0 ;
21775 int arg2 = (int) (int)-1 ;
21776 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21777 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21778 wxSize const &arg4_defvalue = wxDefaultSize ;
21779 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21780 long arg5 = (long) 0 ;
21781 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21782 wxString *arg6 = (wxString *) &arg6_defvalue ;
21783 wxPyWindow *result = 0 ;
21784 void *argp1 = 0 ;
21785 int res1 = 0 ;
21786 int val2 ;
21787 int ecode2 = 0 ;
21788 wxPoint temp3 ;
21789 wxSize temp4 ;
21790 long val5 ;
21791 int ecode5 = 0 ;
21792 bool temp6 = false ;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 PyObject * obj2 = 0 ;
21796 PyObject * obj3 = 0 ;
21797 PyObject * obj4 = 0 ;
21798 PyObject * obj5 = 0 ;
21799 char * kwnames[] = {
21800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21801 };
21802
21803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21805 if (!SWIG_IsOK(res1)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21807 }
21808 arg1 = reinterpret_cast< wxWindow * >(argp1);
21809 if (obj1) {
21810 ecode2 = SWIG_AsVal_int(obj1, &val2);
21811 if (!SWIG_IsOK(ecode2)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21813 }
21814 arg2 = static_cast< int >(val2);
21815 }
21816 if (obj2) {
21817 {
21818 arg3 = &temp3;
21819 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21820 }
21821 }
21822 if (obj3) {
21823 {
21824 arg4 = &temp4;
21825 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21826 }
21827 }
21828 if (obj4) {
21829 ecode5 = SWIG_AsVal_long(obj4, &val5);
21830 if (!SWIG_IsOK(ecode5)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21832 }
21833 arg5 = static_cast< long >(val5);
21834 }
21835 if (obj5) {
21836 {
21837 arg6 = wxString_in_helper(obj5);
21838 if (arg6 == NULL) SWIG_fail;
21839 temp6 = true;
21840 }
21841 }
21842 {
21843 if (!wxPyCheckForApp()) SWIG_fail;
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21850 {
21851 if (temp6)
21852 delete arg6;
21853 }
21854 return resultobj;
21855 fail:
21856 {
21857 if (temp6)
21858 delete arg6;
21859 }
21860 return NULL;
21861 }
21862
21863
21864 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21865 PyObject *resultobj = 0;
21866 wxPyWindow *result = 0 ;
21867
21868 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21869 {
21870 if (!wxPyCheckForApp()) SWIG_fail;
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 result = (wxPyWindow *)new wxPyWindow();
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj = 0;
21885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21886 PyObject *arg2 = (PyObject *) 0 ;
21887 PyObject *arg3 = (PyObject *) 0 ;
21888 void *argp1 = 0 ;
21889 int res1 = 0 ;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 PyObject * obj2 = 0 ;
21893 char * kwnames[] = {
21894 (char *) "self",(char *) "self",(char *) "_class", NULL
21895 };
21896
21897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21899 if (!SWIG_IsOK(res1)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21901 }
21902 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21903 arg2 = obj1;
21904 arg3 = obj2;
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 (arg1)->_setCallbackInfo(arg2,arg3);
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 resultobj = SWIG_Py_Void();
21912 return resultobj;
21913 fail:
21914 return NULL;
21915 }
21916
21917
21918 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj = 0;
21920 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21921 wxDC *arg2 = (wxDC *) 0 ;
21922 bool result;
21923 void *argp1 = 0 ;
21924 int res1 = 0 ;
21925 void *argp2 = 0 ;
21926 int res2 = 0 ;
21927 PyObject * obj0 = 0 ;
21928 PyObject * obj1 = 0 ;
21929 char * kwnames[] = {
21930 (char *) "self",(char *) "dc", NULL
21931 };
21932
21933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21935 if (!SWIG_IsOK(res1)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21937 }
21938 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21939 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21940 if (!SWIG_IsOK(res2)) {
21941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21942 }
21943 arg2 = reinterpret_cast< wxDC * >(argp2);
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 result = (bool)(arg1)->DoEraseBackground(arg2);
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 {
21951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21952 }
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj = 0;
21961 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21962 int arg2 ;
21963 int arg3 ;
21964 int arg4 ;
21965 int arg5 ;
21966 void *argp1 = 0 ;
21967 int res1 = 0 ;
21968 int val2 ;
21969 int ecode2 = 0 ;
21970 int val3 ;
21971 int ecode3 = 0 ;
21972 int val4 ;
21973 int ecode4 = 0 ;
21974 int val5 ;
21975 int ecode5 = 0 ;
21976 PyObject * obj0 = 0 ;
21977 PyObject * obj1 = 0 ;
21978 PyObject * obj2 = 0 ;
21979 PyObject * obj3 = 0 ;
21980 PyObject * obj4 = 0 ;
21981 char * kwnames[] = {
21982 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21983 };
21984
21985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21987 if (!SWIG_IsOK(res1)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21989 }
21990 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21991 ecode2 = SWIG_AsVal_int(obj1, &val2);
21992 if (!SWIG_IsOK(ecode2)) {
21993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21994 }
21995 arg2 = static_cast< int >(val2);
21996 ecode3 = SWIG_AsVal_int(obj2, &val3);
21997 if (!SWIG_IsOK(ecode3)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21999 }
22000 arg3 = static_cast< int >(val3);
22001 ecode4 = SWIG_AsVal_int(obj3, &val4);
22002 if (!SWIG_IsOK(ecode4)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22004 }
22005 arg4 = static_cast< int >(val4);
22006 ecode5 = SWIG_AsVal_int(obj4, &val5);
22007 if (!SWIG_IsOK(ecode5)) {
22008 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22009 }
22010 arg5 = static_cast< int >(val5);
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 resultobj = SWIG_Py_Void();
22018 return resultobj;
22019 fail:
22020 return NULL;
22021 }
22022
22023
22024 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj = 0;
22026 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22027 int arg2 ;
22028 int arg3 ;
22029 int arg4 ;
22030 int arg5 ;
22031 int arg6 = (int) wxSIZE_AUTO ;
22032 void *argp1 = 0 ;
22033 int res1 = 0 ;
22034 int val2 ;
22035 int ecode2 = 0 ;
22036 int val3 ;
22037 int ecode3 = 0 ;
22038 int val4 ;
22039 int ecode4 = 0 ;
22040 int val5 ;
22041 int ecode5 = 0 ;
22042 int val6 ;
22043 int ecode6 = 0 ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 PyObject * obj2 = 0 ;
22047 PyObject * obj3 = 0 ;
22048 PyObject * obj4 = 0 ;
22049 PyObject * obj5 = 0 ;
22050 char * kwnames[] = {
22051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22052 };
22053
22054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22056 if (!SWIG_IsOK(res1)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22058 }
22059 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22060 ecode2 = SWIG_AsVal_int(obj1, &val2);
22061 if (!SWIG_IsOK(ecode2)) {
22062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22063 }
22064 arg2 = static_cast< int >(val2);
22065 ecode3 = SWIG_AsVal_int(obj2, &val3);
22066 if (!SWIG_IsOK(ecode3)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22068 }
22069 arg3 = static_cast< int >(val3);
22070 ecode4 = SWIG_AsVal_int(obj3, &val4);
22071 if (!SWIG_IsOK(ecode4)) {
22072 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22073 }
22074 arg4 = static_cast< int >(val4);
22075 ecode5 = SWIG_AsVal_int(obj4, &val5);
22076 if (!SWIG_IsOK(ecode5)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22078 }
22079 arg5 = static_cast< int >(val5);
22080 if (obj5) {
22081 ecode6 = SWIG_AsVal_int(obj5, &val6);
22082 if (!SWIG_IsOK(ecode6)) {
22083 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22084 }
22085 arg6 = static_cast< int >(val6);
22086 }
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 resultobj = SWIG_Py_Void();
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22101 PyObject *resultobj = 0;
22102 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22103 int arg2 ;
22104 int arg3 ;
22105 void *argp1 = 0 ;
22106 int res1 = 0 ;
22107 int val2 ;
22108 int ecode2 = 0 ;
22109 int val3 ;
22110 int ecode3 = 0 ;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 PyObject * obj2 = 0 ;
22114 char * kwnames[] = {
22115 (char *) "self",(char *) "width",(char *) "height", NULL
22116 };
22117
22118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22120 if (!SWIG_IsOK(res1)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22122 }
22123 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22124 ecode2 = SWIG_AsVal_int(obj1, &val2);
22125 if (!SWIG_IsOK(ecode2)) {
22126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22127 }
22128 arg2 = static_cast< int >(val2);
22129 ecode3 = SWIG_AsVal_int(obj2, &val3);
22130 if (!SWIG_IsOK(ecode3)) {
22131 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22132 }
22133 arg3 = static_cast< int >(val3);
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 (arg1)->DoSetClientSize(arg2,arg3);
22137 wxPyEndAllowThreads(__tstate);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
22140 resultobj = SWIG_Py_Void();
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj = 0;
22149 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22150 int arg2 ;
22151 int arg3 ;
22152 void *argp1 = 0 ;
22153 int res1 = 0 ;
22154 int val2 ;
22155 int ecode2 = 0 ;
22156 int val3 ;
22157 int ecode3 = 0 ;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 PyObject * obj2 = 0 ;
22161 char * kwnames[] = {
22162 (char *) "self",(char *) "x",(char *) "y", NULL
22163 };
22164
22165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22167 if (!SWIG_IsOK(res1)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22169 }
22170 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22171 ecode2 = SWIG_AsVal_int(obj1, &val2);
22172 if (!SWIG_IsOK(ecode2)) {
22173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22174 }
22175 arg2 = static_cast< int >(val2);
22176 ecode3 = SWIG_AsVal_int(obj2, &val3);
22177 if (!SWIG_IsOK(ecode3)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22179 }
22180 arg3 = static_cast< int >(val3);
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 (arg1)->DoSetVirtualSize(arg2,arg3);
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 resultobj = SWIG_Py_Void();
22188 return resultobj;
22189 fail:
22190 return NULL;
22191 }
22192
22193
22194 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22195 PyObject *resultobj = 0;
22196 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22197 int *arg2 = (int *) 0 ;
22198 int *arg3 = (int *) 0 ;
22199 void *argp1 = 0 ;
22200 int res1 = 0 ;
22201 int temp2 ;
22202 int res2 = SWIG_TMPOBJ ;
22203 int temp3 ;
22204 int res3 = SWIG_TMPOBJ ;
22205 PyObject *swig_obj[1] ;
22206
22207 arg2 = &temp2;
22208 arg3 = &temp3;
22209 if (!args) SWIG_fail;
22210 swig_obj[0] = args;
22211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22212 if (!SWIG_IsOK(res1)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22214 }
22215 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = SWIG_Py_Void();
22223 if (SWIG_IsTmpObj(res2)) {
22224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22225 } else {
22226 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22228 }
22229 if (SWIG_IsTmpObj(res3)) {
22230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22231 } else {
22232 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22234 }
22235 return resultobj;
22236 fail:
22237 return NULL;
22238 }
22239
22240
22241 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22242 PyObject *resultobj = 0;
22243 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22244 int *arg2 = (int *) 0 ;
22245 int *arg3 = (int *) 0 ;
22246 void *argp1 = 0 ;
22247 int res1 = 0 ;
22248 int temp2 ;
22249 int res2 = SWIG_TMPOBJ ;
22250 int temp3 ;
22251 int res3 = SWIG_TMPOBJ ;
22252 PyObject *swig_obj[1] ;
22253
22254 arg2 = &temp2;
22255 arg3 = &temp3;
22256 if (!args) SWIG_fail;
22257 swig_obj[0] = args;
22258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22259 if (!SWIG_IsOK(res1)) {
22260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22261 }
22262 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22266 wxPyEndAllowThreads(__tstate);
22267 if (PyErr_Occurred()) SWIG_fail;
22268 }
22269 resultobj = SWIG_Py_Void();
22270 if (SWIG_IsTmpObj(res2)) {
22271 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22272 } else {
22273 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22274 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22275 }
22276 if (SWIG_IsTmpObj(res3)) {
22277 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22278 } else {
22279 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22280 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22281 }
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22289 PyObject *resultobj = 0;
22290 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22291 int *arg2 = (int *) 0 ;
22292 int *arg3 = (int *) 0 ;
22293 void *argp1 = 0 ;
22294 int res1 = 0 ;
22295 int temp2 ;
22296 int res2 = SWIG_TMPOBJ ;
22297 int temp3 ;
22298 int res3 = SWIG_TMPOBJ ;
22299 PyObject *swig_obj[1] ;
22300
22301 arg2 = &temp2;
22302 arg3 = &temp3;
22303 if (!args) SWIG_fail;
22304 swig_obj[0] = args;
22305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22306 if (!SWIG_IsOK(res1)) {
22307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22308 }
22309 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 resultobj = SWIG_Py_Void();
22317 if (SWIG_IsTmpObj(res2)) {
22318 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22319 } else {
22320 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22321 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22322 }
22323 if (SWIG_IsTmpObj(res3)) {
22324 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22325 } else {
22326 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22327 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22336 PyObject *resultobj = 0;
22337 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22338 wxSize result;
22339 void *argp1 = 0 ;
22340 int res1 = 0 ;
22341 PyObject *swig_obj[1] ;
22342
22343 if (!args) SWIG_fail;
22344 swig_obj[0] = args;
22345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22346 if (!SWIG_IsOK(res1)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22348 }
22349 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22353 wxPyEndAllowThreads(__tstate);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 }
22356 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22357 return resultobj;
22358 fail:
22359 return NULL;
22360 }
22361
22362
22363 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22364 PyObject *resultobj = 0;
22365 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22366 wxSize result;
22367 void *argp1 = 0 ;
22368 int res1 = 0 ;
22369 PyObject *swig_obj[1] ;
22370
22371 if (!args) SWIG_fail;
22372 swig_obj[0] = args;
22373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22374 if (!SWIG_IsOK(res1)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22376 }
22377 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22392 PyObject *resultobj = 0;
22393 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22394 SwigValueWrapper<wxVisualAttributes > result;
22395 void *argp1 = 0 ;
22396 int res1 = 0 ;
22397 PyObject *swig_obj[1] ;
22398
22399 if (!args) SWIG_fail;
22400 swig_obj[0] = args;
22401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22402 if (!SWIG_IsOK(res1)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22404 }
22405 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (arg1)->GetDefaultAttributes();
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22413 return resultobj;
22414 fail:
22415 return NULL;
22416 }
22417
22418
22419 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22420 PyObject *resultobj = 0;
22421 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22422 void *argp1 = 0 ;
22423 int res1 = 0 ;
22424 PyObject *swig_obj[1] ;
22425
22426 if (!args) SWIG_fail;
22427 swig_obj[0] = args;
22428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22429 if (!SWIG_IsOK(res1)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22431 }
22432 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 (arg1)->OnInternalIdle();
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 resultobj = SWIG_Py_Void();
22440 return resultobj;
22441 fail:
22442 return NULL;
22443 }
22444
22445
22446 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22447 PyObject *obj;
22448 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22450 return SWIG_Py_Void();
22451 }
22452
22453 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22454 return SWIG_Python_InitShadowInstance(args);
22455 }
22456
22457 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj = 0;
22459 wxWindow *arg1 = (wxWindow *) 0 ;
22460 int arg2 = (int) (int)-1 ;
22461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22463 wxSize const &arg4_defvalue = wxDefaultSize ;
22464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22465 long arg5 = (long) 0 ;
22466 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22467 wxString *arg6 = (wxString *) &arg6_defvalue ;
22468 wxPyPanel *result = 0 ;
22469 void *argp1 = 0 ;
22470 int res1 = 0 ;
22471 int val2 ;
22472 int ecode2 = 0 ;
22473 wxPoint temp3 ;
22474 wxSize temp4 ;
22475 long val5 ;
22476 int ecode5 = 0 ;
22477 bool temp6 = false ;
22478 PyObject * obj0 = 0 ;
22479 PyObject * obj1 = 0 ;
22480 PyObject * obj2 = 0 ;
22481 PyObject * obj3 = 0 ;
22482 PyObject * obj4 = 0 ;
22483 PyObject * obj5 = 0 ;
22484 char * kwnames[] = {
22485 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22486 };
22487
22488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22490 if (!SWIG_IsOK(res1)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22492 }
22493 arg1 = reinterpret_cast< wxWindow * >(argp1);
22494 if (obj1) {
22495 ecode2 = SWIG_AsVal_int(obj1, &val2);
22496 if (!SWIG_IsOK(ecode2)) {
22497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22498 }
22499 arg2 = static_cast< int >(val2);
22500 }
22501 if (obj2) {
22502 {
22503 arg3 = &temp3;
22504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22505 }
22506 }
22507 if (obj3) {
22508 {
22509 arg4 = &temp4;
22510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22511 }
22512 }
22513 if (obj4) {
22514 ecode5 = SWIG_AsVal_long(obj4, &val5);
22515 if (!SWIG_IsOK(ecode5)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22517 }
22518 arg5 = static_cast< long >(val5);
22519 }
22520 if (obj5) {
22521 {
22522 arg6 = wxString_in_helper(obj5);
22523 if (arg6 == NULL) SWIG_fail;
22524 temp6 = true;
22525 }
22526 }
22527 {
22528 if (!wxPyCheckForApp()) SWIG_fail;
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22535 {
22536 if (temp6)
22537 delete arg6;
22538 }
22539 return resultobj;
22540 fail:
22541 {
22542 if (temp6)
22543 delete arg6;
22544 }
22545 return NULL;
22546 }
22547
22548
22549 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22550 PyObject *resultobj = 0;
22551 wxPyPanel *result = 0 ;
22552
22553 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22554 {
22555 if (!wxPyCheckForApp()) SWIG_fail;
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 result = (wxPyPanel *)new wxPyPanel();
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj = 0;
22570 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22571 PyObject *arg2 = (PyObject *) 0 ;
22572 PyObject *arg3 = (PyObject *) 0 ;
22573 void *argp1 = 0 ;
22574 int res1 = 0 ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 PyObject * obj2 = 0 ;
22578 char * kwnames[] = {
22579 (char *) "self",(char *) "self",(char *) "_class", NULL
22580 };
22581
22582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22584 if (!SWIG_IsOK(res1)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22586 }
22587 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22588 arg2 = obj1;
22589 arg3 = obj2;
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 (arg1)->_setCallbackInfo(arg2,arg3);
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 resultobj = SWIG_Py_Void();
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj = 0;
22605 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22606 wxDC *arg2 = (wxDC *) 0 ;
22607 bool result;
22608 void *argp1 = 0 ;
22609 int res1 = 0 ;
22610 void *argp2 = 0 ;
22611 int res2 = 0 ;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 char * kwnames[] = {
22615 (char *) "self",(char *) "dc", NULL
22616 };
22617
22618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22620 if (!SWIG_IsOK(res1)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22622 }
22623 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22625 if (!SWIG_IsOK(res2)) {
22626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22627 }
22628 arg2 = reinterpret_cast< wxDC * >(argp2);
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 result = (bool)(arg1)->DoEraseBackground(arg2);
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 {
22636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22637 }
22638 return resultobj;
22639 fail:
22640 return NULL;
22641 }
22642
22643
22644 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj = 0;
22646 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22647 int arg2 ;
22648 int arg3 ;
22649 int arg4 ;
22650 int arg5 ;
22651 void *argp1 = 0 ;
22652 int res1 = 0 ;
22653 int val2 ;
22654 int ecode2 = 0 ;
22655 int val3 ;
22656 int ecode3 = 0 ;
22657 int val4 ;
22658 int ecode4 = 0 ;
22659 int val5 ;
22660 int ecode5 = 0 ;
22661 PyObject * obj0 = 0 ;
22662 PyObject * obj1 = 0 ;
22663 PyObject * obj2 = 0 ;
22664 PyObject * obj3 = 0 ;
22665 PyObject * obj4 = 0 ;
22666 char * kwnames[] = {
22667 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22668 };
22669
22670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22672 if (!SWIG_IsOK(res1)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22674 }
22675 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22676 ecode2 = SWIG_AsVal_int(obj1, &val2);
22677 if (!SWIG_IsOK(ecode2)) {
22678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22679 }
22680 arg2 = static_cast< int >(val2);
22681 ecode3 = SWIG_AsVal_int(obj2, &val3);
22682 if (!SWIG_IsOK(ecode3)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22684 }
22685 arg3 = static_cast< int >(val3);
22686 ecode4 = SWIG_AsVal_int(obj3, &val4);
22687 if (!SWIG_IsOK(ecode4)) {
22688 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22689 }
22690 arg4 = static_cast< int >(val4);
22691 ecode5 = SWIG_AsVal_int(obj4, &val5);
22692 if (!SWIG_IsOK(ecode5)) {
22693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22694 }
22695 arg5 = static_cast< int >(val5);
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 resultobj = SWIG_Py_Void();
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj = 0;
22711 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22712 int arg2 ;
22713 int arg3 ;
22714 int arg4 ;
22715 int arg5 ;
22716 int arg6 = (int) wxSIZE_AUTO ;
22717 void *argp1 = 0 ;
22718 int res1 = 0 ;
22719 int val2 ;
22720 int ecode2 = 0 ;
22721 int val3 ;
22722 int ecode3 = 0 ;
22723 int val4 ;
22724 int ecode4 = 0 ;
22725 int val5 ;
22726 int ecode5 = 0 ;
22727 int val6 ;
22728 int ecode6 = 0 ;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 PyObject * obj2 = 0 ;
22732 PyObject * obj3 = 0 ;
22733 PyObject * obj4 = 0 ;
22734 PyObject * obj5 = 0 ;
22735 char * kwnames[] = {
22736 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22737 };
22738
22739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22741 if (!SWIG_IsOK(res1)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22743 }
22744 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22745 ecode2 = SWIG_AsVal_int(obj1, &val2);
22746 if (!SWIG_IsOK(ecode2)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22748 }
22749 arg2 = static_cast< int >(val2);
22750 ecode3 = SWIG_AsVal_int(obj2, &val3);
22751 if (!SWIG_IsOK(ecode3)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22753 }
22754 arg3 = static_cast< int >(val3);
22755 ecode4 = SWIG_AsVal_int(obj3, &val4);
22756 if (!SWIG_IsOK(ecode4)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22758 }
22759 arg4 = static_cast< int >(val4);
22760 ecode5 = SWIG_AsVal_int(obj4, &val5);
22761 if (!SWIG_IsOK(ecode5)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22763 }
22764 arg5 = static_cast< int >(val5);
22765 if (obj5) {
22766 ecode6 = SWIG_AsVal_int(obj5, &val6);
22767 if (!SWIG_IsOK(ecode6)) {
22768 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22769 }
22770 arg6 = static_cast< int >(val6);
22771 }
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 resultobj = SWIG_Py_Void();
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj = 0;
22787 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22788 int arg2 ;
22789 int arg3 ;
22790 void *argp1 = 0 ;
22791 int res1 = 0 ;
22792 int val2 ;
22793 int ecode2 = 0 ;
22794 int val3 ;
22795 int ecode3 = 0 ;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798 PyObject * obj2 = 0 ;
22799 char * kwnames[] = {
22800 (char *) "self",(char *) "width",(char *) "height", NULL
22801 };
22802
22803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22805 if (!SWIG_IsOK(res1)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22807 }
22808 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22809 ecode2 = SWIG_AsVal_int(obj1, &val2);
22810 if (!SWIG_IsOK(ecode2)) {
22811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22812 }
22813 arg2 = static_cast< int >(val2);
22814 ecode3 = SWIG_AsVal_int(obj2, &val3);
22815 if (!SWIG_IsOK(ecode3)) {
22816 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22817 }
22818 arg3 = static_cast< int >(val3);
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
22821 (arg1)->DoSetClientSize(arg2,arg3);
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
22825 resultobj = SWIG_Py_Void();
22826 return resultobj;
22827 fail:
22828 return NULL;
22829 }
22830
22831
22832 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22833 PyObject *resultobj = 0;
22834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22835 int arg2 ;
22836 int arg3 ;
22837 void *argp1 = 0 ;
22838 int res1 = 0 ;
22839 int val2 ;
22840 int ecode2 = 0 ;
22841 int val3 ;
22842 int ecode3 = 0 ;
22843 PyObject * obj0 = 0 ;
22844 PyObject * obj1 = 0 ;
22845 PyObject * obj2 = 0 ;
22846 char * kwnames[] = {
22847 (char *) "self",(char *) "x",(char *) "y", NULL
22848 };
22849
22850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22852 if (!SWIG_IsOK(res1)) {
22853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22854 }
22855 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22856 ecode2 = SWIG_AsVal_int(obj1, &val2);
22857 if (!SWIG_IsOK(ecode2)) {
22858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22859 }
22860 arg2 = static_cast< int >(val2);
22861 ecode3 = SWIG_AsVal_int(obj2, &val3);
22862 if (!SWIG_IsOK(ecode3)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22864 }
22865 arg3 = static_cast< int >(val3);
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 (arg1)->DoSetVirtualSize(arg2,arg3);
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 resultobj = SWIG_Py_Void();
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22880 PyObject *resultobj = 0;
22881 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22882 int *arg2 = (int *) 0 ;
22883 int *arg3 = (int *) 0 ;
22884 void *argp1 = 0 ;
22885 int res1 = 0 ;
22886 int temp2 ;
22887 int res2 = SWIG_TMPOBJ ;
22888 int temp3 ;
22889 int res3 = SWIG_TMPOBJ ;
22890 PyObject *swig_obj[1] ;
22891
22892 arg2 = &temp2;
22893 arg3 = &temp3;
22894 if (!args) SWIG_fail;
22895 swig_obj[0] = args;
22896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22897 if (!SWIG_IsOK(res1)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22899 }
22900 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 resultobj = SWIG_Py_Void();
22908 if (SWIG_IsTmpObj(res2)) {
22909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22910 } else {
22911 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22913 }
22914 if (SWIG_IsTmpObj(res3)) {
22915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22916 } else {
22917 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22919 }
22920 return resultobj;
22921 fail:
22922 return NULL;
22923 }
22924
22925
22926 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22927 PyObject *resultobj = 0;
22928 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22929 int *arg2 = (int *) 0 ;
22930 int *arg3 = (int *) 0 ;
22931 void *argp1 = 0 ;
22932 int res1 = 0 ;
22933 int temp2 ;
22934 int res2 = SWIG_TMPOBJ ;
22935 int temp3 ;
22936 int res3 = SWIG_TMPOBJ ;
22937 PyObject *swig_obj[1] ;
22938
22939 arg2 = &temp2;
22940 arg3 = &temp3;
22941 if (!args) SWIG_fail;
22942 swig_obj[0] = args;
22943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22944 if (!SWIG_IsOK(res1)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22946 }
22947 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 resultobj = SWIG_Py_Void();
22955 if (SWIG_IsTmpObj(res2)) {
22956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22957 } else {
22958 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22960 }
22961 if (SWIG_IsTmpObj(res3)) {
22962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22963 } else {
22964 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22966 }
22967 return resultobj;
22968 fail:
22969 return NULL;
22970 }
22971
22972
22973 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22974 PyObject *resultobj = 0;
22975 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22976 int *arg2 = (int *) 0 ;
22977 int *arg3 = (int *) 0 ;
22978 void *argp1 = 0 ;
22979 int res1 = 0 ;
22980 int temp2 ;
22981 int res2 = SWIG_TMPOBJ ;
22982 int temp3 ;
22983 int res3 = SWIG_TMPOBJ ;
22984 PyObject *swig_obj[1] ;
22985
22986 arg2 = &temp2;
22987 arg3 = &temp3;
22988 if (!args) SWIG_fail;
22989 swig_obj[0] = args;
22990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22991 if (!SWIG_IsOK(res1)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22993 }
22994 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 resultobj = SWIG_Py_Void();
23002 if (SWIG_IsTmpObj(res2)) {
23003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23004 } else {
23005 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23007 }
23008 if (SWIG_IsTmpObj(res3)) {
23009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23010 } else {
23011 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23012 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23013 }
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23021 PyObject *resultobj = 0;
23022 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23023 wxSize result;
23024 void *argp1 = 0 ;
23025 int res1 = 0 ;
23026 PyObject *swig_obj[1] ;
23027
23028 if (!args) SWIG_fail;
23029 swig_obj[0] = args;
23030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23031 if (!SWIG_IsOK(res1)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23033 }
23034 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23042 return resultobj;
23043 fail:
23044 return NULL;
23045 }
23046
23047
23048 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23049 PyObject *resultobj = 0;
23050 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23051 wxSize result;
23052 void *argp1 = 0 ;
23053 int res1 = 0 ;
23054 PyObject *swig_obj[1] ;
23055
23056 if (!args) SWIG_fail;
23057 swig_obj[0] = args;
23058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23059 if (!SWIG_IsOK(res1)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23061 }
23062 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23063 {
23064 PyThreadState* __tstate = wxPyBeginAllowThreads();
23065 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23070 return resultobj;
23071 fail:
23072 return NULL;
23073 }
23074
23075
23076 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23077 PyObject *resultobj = 0;
23078 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23079 SwigValueWrapper<wxVisualAttributes > result;
23080 void *argp1 = 0 ;
23081 int res1 = 0 ;
23082 PyObject *swig_obj[1] ;
23083
23084 if (!args) SWIG_fail;
23085 swig_obj[0] = args;
23086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23087 if (!SWIG_IsOK(res1)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23089 }
23090 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = (arg1)->GetDefaultAttributes();
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23105 PyObject *resultobj = 0;
23106 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23107 void *argp1 = 0 ;
23108 int res1 = 0 ;
23109 PyObject *swig_obj[1] ;
23110
23111 if (!args) SWIG_fail;
23112 swig_obj[0] = args;
23113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23114 if (!SWIG_IsOK(res1)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23116 }
23117 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 (arg1)->OnInternalIdle();
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 resultobj = SWIG_Py_Void();
23125 return resultobj;
23126 fail:
23127 return NULL;
23128 }
23129
23130
23131 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23132 PyObject *obj;
23133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23134 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23135 return SWIG_Py_Void();
23136 }
23137
23138 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23139 return SWIG_Python_InitShadowInstance(args);
23140 }
23141
23142 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23143 PyObject *resultobj = 0;
23144 wxWindow *arg1 = (wxWindow *) 0 ;
23145 int arg2 = (int) (int)-1 ;
23146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23148 wxSize const &arg4_defvalue = wxDefaultSize ;
23149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23150 long arg5 = (long) 0 ;
23151 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23152 wxString *arg6 = (wxString *) &arg6_defvalue ;
23153 wxPyScrolledWindow *result = 0 ;
23154 void *argp1 = 0 ;
23155 int res1 = 0 ;
23156 int val2 ;
23157 int ecode2 = 0 ;
23158 wxPoint temp3 ;
23159 wxSize temp4 ;
23160 long val5 ;
23161 int ecode5 = 0 ;
23162 bool temp6 = false ;
23163 PyObject * obj0 = 0 ;
23164 PyObject * obj1 = 0 ;
23165 PyObject * obj2 = 0 ;
23166 PyObject * obj3 = 0 ;
23167 PyObject * obj4 = 0 ;
23168 PyObject * obj5 = 0 ;
23169 char * kwnames[] = {
23170 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23171 };
23172
23173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23175 if (!SWIG_IsOK(res1)) {
23176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23177 }
23178 arg1 = reinterpret_cast< wxWindow * >(argp1);
23179 if (obj1) {
23180 ecode2 = SWIG_AsVal_int(obj1, &val2);
23181 if (!SWIG_IsOK(ecode2)) {
23182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23183 }
23184 arg2 = static_cast< int >(val2);
23185 }
23186 if (obj2) {
23187 {
23188 arg3 = &temp3;
23189 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23190 }
23191 }
23192 if (obj3) {
23193 {
23194 arg4 = &temp4;
23195 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23196 }
23197 }
23198 if (obj4) {
23199 ecode5 = SWIG_AsVal_long(obj4, &val5);
23200 if (!SWIG_IsOK(ecode5)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23202 }
23203 arg5 = static_cast< long >(val5);
23204 }
23205 if (obj5) {
23206 {
23207 arg6 = wxString_in_helper(obj5);
23208 if (arg6 == NULL) SWIG_fail;
23209 temp6 = true;
23210 }
23211 }
23212 {
23213 if (!wxPyCheckForApp()) SWIG_fail;
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23220 {
23221 if (temp6)
23222 delete arg6;
23223 }
23224 return resultobj;
23225 fail:
23226 {
23227 if (temp6)
23228 delete arg6;
23229 }
23230 return NULL;
23231 }
23232
23233
23234 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23235 PyObject *resultobj = 0;
23236 wxPyScrolledWindow *result = 0 ;
23237
23238 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23239 {
23240 if (!wxPyCheckForApp()) SWIG_fail;
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23243 wxPyEndAllowThreads(__tstate);
23244 if (PyErr_Occurred()) SWIG_fail;
23245 }
23246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23247 return resultobj;
23248 fail:
23249 return NULL;
23250 }
23251
23252
23253 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj = 0;
23255 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23256 PyObject *arg2 = (PyObject *) 0 ;
23257 PyObject *arg3 = (PyObject *) 0 ;
23258 void *argp1 = 0 ;
23259 int res1 = 0 ;
23260 PyObject * obj0 = 0 ;
23261 PyObject * obj1 = 0 ;
23262 PyObject * obj2 = 0 ;
23263 char * kwnames[] = {
23264 (char *) "self",(char *) "self",(char *) "_class", NULL
23265 };
23266
23267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23269 if (!SWIG_IsOK(res1)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23271 }
23272 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23273 arg2 = obj1;
23274 arg3 = obj2;
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 (arg1)->_setCallbackInfo(arg2,arg3);
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 resultobj = SWIG_Py_Void();
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj = 0;
23290 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23291 wxDC *arg2 = (wxDC *) 0 ;
23292 bool result;
23293 void *argp1 = 0 ;
23294 int res1 = 0 ;
23295 void *argp2 = 0 ;
23296 int res2 = 0 ;
23297 PyObject * obj0 = 0 ;
23298 PyObject * obj1 = 0 ;
23299 char * kwnames[] = {
23300 (char *) "self",(char *) "dc", NULL
23301 };
23302
23303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23305 if (!SWIG_IsOK(res1)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23307 }
23308 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23310 if (!SWIG_IsOK(res2)) {
23311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23312 }
23313 arg2 = reinterpret_cast< wxDC * >(argp2);
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = (bool)(arg1)->DoEraseBackground(arg2);
23317 wxPyEndAllowThreads(__tstate);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 {
23321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23322 }
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj = 0;
23331 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23332 int arg2 ;
23333 int arg3 ;
23334 int arg4 ;
23335 int arg5 ;
23336 void *argp1 = 0 ;
23337 int res1 = 0 ;
23338 int val2 ;
23339 int ecode2 = 0 ;
23340 int val3 ;
23341 int ecode3 = 0 ;
23342 int val4 ;
23343 int ecode4 = 0 ;
23344 int val5 ;
23345 int ecode5 = 0 ;
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 PyObject * obj2 = 0 ;
23349 PyObject * obj3 = 0 ;
23350 PyObject * obj4 = 0 ;
23351 char * kwnames[] = {
23352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23353 };
23354
23355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23357 if (!SWIG_IsOK(res1)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23359 }
23360 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23361 ecode2 = SWIG_AsVal_int(obj1, &val2);
23362 if (!SWIG_IsOK(ecode2)) {
23363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23364 }
23365 arg2 = static_cast< int >(val2);
23366 ecode3 = SWIG_AsVal_int(obj2, &val3);
23367 if (!SWIG_IsOK(ecode3)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23369 }
23370 arg3 = static_cast< int >(val3);
23371 ecode4 = SWIG_AsVal_int(obj3, &val4);
23372 if (!SWIG_IsOK(ecode4)) {
23373 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23374 }
23375 arg4 = static_cast< int >(val4);
23376 ecode5 = SWIG_AsVal_int(obj4, &val5);
23377 if (!SWIG_IsOK(ecode5)) {
23378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23379 }
23380 arg5 = static_cast< int >(val5);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 resultobj = SWIG_Py_Void();
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj = 0;
23396 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23397 int arg2 ;
23398 int arg3 ;
23399 int arg4 ;
23400 int arg5 ;
23401 int arg6 = (int) wxSIZE_AUTO ;
23402 void *argp1 = 0 ;
23403 int res1 = 0 ;
23404 int val2 ;
23405 int ecode2 = 0 ;
23406 int val3 ;
23407 int ecode3 = 0 ;
23408 int val4 ;
23409 int ecode4 = 0 ;
23410 int val5 ;
23411 int ecode5 = 0 ;
23412 int val6 ;
23413 int ecode6 = 0 ;
23414 PyObject * obj0 = 0 ;
23415 PyObject * obj1 = 0 ;
23416 PyObject * obj2 = 0 ;
23417 PyObject * obj3 = 0 ;
23418 PyObject * obj4 = 0 ;
23419 PyObject * obj5 = 0 ;
23420 char * kwnames[] = {
23421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23422 };
23423
23424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23426 if (!SWIG_IsOK(res1)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23428 }
23429 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23430 ecode2 = SWIG_AsVal_int(obj1, &val2);
23431 if (!SWIG_IsOK(ecode2)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23433 }
23434 arg2 = static_cast< int >(val2);
23435 ecode3 = SWIG_AsVal_int(obj2, &val3);
23436 if (!SWIG_IsOK(ecode3)) {
23437 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23438 }
23439 arg3 = static_cast< int >(val3);
23440 ecode4 = SWIG_AsVal_int(obj3, &val4);
23441 if (!SWIG_IsOK(ecode4)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23443 }
23444 arg4 = static_cast< int >(val4);
23445 ecode5 = SWIG_AsVal_int(obj4, &val5);
23446 if (!SWIG_IsOK(ecode5)) {
23447 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23448 }
23449 arg5 = static_cast< int >(val5);
23450 if (obj5) {
23451 ecode6 = SWIG_AsVal_int(obj5, &val6);
23452 if (!SWIG_IsOK(ecode6)) {
23453 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23454 }
23455 arg6 = static_cast< int >(val6);
23456 }
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 resultobj = SWIG_Py_Void();
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj = 0;
23472 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23473 int arg2 ;
23474 int arg3 ;
23475 void *argp1 = 0 ;
23476 int res1 = 0 ;
23477 int val2 ;
23478 int ecode2 = 0 ;
23479 int val3 ;
23480 int ecode3 = 0 ;
23481 PyObject * obj0 = 0 ;
23482 PyObject * obj1 = 0 ;
23483 PyObject * obj2 = 0 ;
23484 char * kwnames[] = {
23485 (char *) "self",(char *) "width",(char *) "height", NULL
23486 };
23487
23488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23490 if (!SWIG_IsOK(res1)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23492 }
23493 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23494 ecode2 = SWIG_AsVal_int(obj1, &val2);
23495 if (!SWIG_IsOK(ecode2)) {
23496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23497 }
23498 arg2 = static_cast< int >(val2);
23499 ecode3 = SWIG_AsVal_int(obj2, &val3);
23500 if (!SWIG_IsOK(ecode3)) {
23501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23502 }
23503 arg3 = static_cast< int >(val3);
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 (arg1)->DoSetClientSize(arg2,arg3);
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 resultobj = SWIG_Py_Void();
23511 return resultobj;
23512 fail:
23513 return NULL;
23514 }
23515
23516
23517 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23518 PyObject *resultobj = 0;
23519 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23520 int arg2 ;
23521 int arg3 ;
23522 void *argp1 = 0 ;
23523 int res1 = 0 ;
23524 int val2 ;
23525 int ecode2 = 0 ;
23526 int val3 ;
23527 int ecode3 = 0 ;
23528 PyObject * obj0 = 0 ;
23529 PyObject * obj1 = 0 ;
23530 PyObject * obj2 = 0 ;
23531 char * kwnames[] = {
23532 (char *) "self",(char *) "x",(char *) "y", NULL
23533 };
23534
23535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23537 if (!SWIG_IsOK(res1)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23539 }
23540 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23541 ecode2 = SWIG_AsVal_int(obj1, &val2);
23542 if (!SWIG_IsOK(ecode2)) {
23543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23544 }
23545 arg2 = static_cast< int >(val2);
23546 ecode3 = SWIG_AsVal_int(obj2, &val3);
23547 if (!SWIG_IsOK(ecode3)) {
23548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23549 }
23550 arg3 = static_cast< int >(val3);
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 (arg1)->DoSetVirtualSize(arg2,arg3);
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 resultobj = SWIG_Py_Void();
23558 return resultobj;
23559 fail:
23560 return NULL;
23561 }
23562
23563
23564 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23565 PyObject *resultobj = 0;
23566 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23567 int *arg2 = (int *) 0 ;
23568 int *arg3 = (int *) 0 ;
23569 void *argp1 = 0 ;
23570 int res1 = 0 ;
23571 int temp2 ;
23572 int res2 = SWIG_TMPOBJ ;
23573 int temp3 ;
23574 int res3 = SWIG_TMPOBJ ;
23575 PyObject *swig_obj[1] ;
23576
23577 arg2 = &temp2;
23578 arg3 = &temp3;
23579 if (!args) SWIG_fail;
23580 swig_obj[0] = args;
23581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23582 if (!SWIG_IsOK(res1)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23584 }
23585 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_Py_Void();
23593 if (SWIG_IsTmpObj(res2)) {
23594 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23595 } else {
23596 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23597 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23598 }
23599 if (SWIG_IsTmpObj(res3)) {
23600 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23601 } else {
23602 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23603 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23604 }
23605 return resultobj;
23606 fail:
23607 return NULL;
23608 }
23609
23610
23611 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23612 PyObject *resultobj = 0;
23613 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23614 int *arg2 = (int *) 0 ;
23615 int *arg3 = (int *) 0 ;
23616 void *argp1 = 0 ;
23617 int res1 = 0 ;
23618 int temp2 ;
23619 int res2 = SWIG_TMPOBJ ;
23620 int temp3 ;
23621 int res3 = SWIG_TMPOBJ ;
23622 PyObject *swig_obj[1] ;
23623
23624 arg2 = &temp2;
23625 arg3 = &temp3;
23626 if (!args) SWIG_fail;
23627 swig_obj[0] = args;
23628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23629 if (!SWIG_IsOK(res1)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23631 }
23632 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 resultobj = SWIG_Py_Void();
23640 if (SWIG_IsTmpObj(res2)) {
23641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23642 } else {
23643 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23645 }
23646 if (SWIG_IsTmpObj(res3)) {
23647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23648 } else {
23649 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23651 }
23652 return resultobj;
23653 fail:
23654 return NULL;
23655 }
23656
23657
23658 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23659 PyObject *resultobj = 0;
23660 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23661 int *arg2 = (int *) 0 ;
23662 int *arg3 = (int *) 0 ;
23663 void *argp1 = 0 ;
23664 int res1 = 0 ;
23665 int temp2 ;
23666 int res2 = SWIG_TMPOBJ ;
23667 int temp3 ;
23668 int res3 = SWIG_TMPOBJ ;
23669 PyObject *swig_obj[1] ;
23670
23671 arg2 = &temp2;
23672 arg3 = &temp3;
23673 if (!args) SWIG_fail;
23674 swig_obj[0] = args;
23675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23676 if (!SWIG_IsOK(res1)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23678 }
23679 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = SWIG_Py_Void();
23687 if (SWIG_IsTmpObj(res2)) {
23688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23689 } else {
23690 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23691 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23692 }
23693 if (SWIG_IsTmpObj(res3)) {
23694 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23695 } else {
23696 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23697 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702 }
23703
23704
23705 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23706 PyObject *resultobj = 0;
23707 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23708 wxSize result;
23709 void *argp1 = 0 ;
23710 int res1 = 0 ;
23711 PyObject *swig_obj[1] ;
23712
23713 if (!args) SWIG_fail;
23714 swig_obj[0] = args;
23715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23716 if (!SWIG_IsOK(res1)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23718 }
23719 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23727 return resultobj;
23728 fail:
23729 return NULL;
23730 }
23731
23732
23733 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23734 PyObject *resultobj = 0;
23735 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23736 wxSize result;
23737 void *argp1 = 0 ;
23738 int res1 = 0 ;
23739 PyObject *swig_obj[1] ;
23740
23741 if (!args) SWIG_fail;
23742 swig_obj[0] = args;
23743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23744 if (!SWIG_IsOK(res1)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23746 }
23747 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23755 return resultobj;
23756 fail:
23757 return NULL;
23758 }
23759
23760
23761 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23762 PyObject *resultobj = 0;
23763 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23764 SwigValueWrapper<wxVisualAttributes > 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_wxPyScrolledWindow, 0 | 0 );
23772 if (!SWIG_IsOK(res1)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23774 }
23775 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (arg1)->GetDefaultAttributes();
23779 wxPyEndAllowThreads(__tstate);
23780 if (PyErr_Occurred()) SWIG_fail;
23781 }
23782 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23783 return resultobj;
23784 fail:
23785 return NULL;
23786 }
23787
23788
23789 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23790 PyObject *resultobj = 0;
23791 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23792 void *argp1 = 0 ;
23793 int res1 = 0 ;
23794 PyObject *swig_obj[1] ;
23795
23796 if (!args) SWIG_fail;
23797 swig_obj[0] = args;
23798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23799 if (!SWIG_IsOK(res1)) {
23800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23801 }
23802 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 (arg1)->OnInternalIdle();
23806 wxPyEndAllowThreads(__tstate);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
23809 resultobj = SWIG_Py_Void();
23810 return resultobj;
23811 fail:
23812 return NULL;
23813 }
23814
23815
23816 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23817 PyObject *obj;
23818 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23819 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23820 return SWIG_Py_Void();
23821 }
23822
23823 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23824 return SWIG_Python_InitShadowInstance(args);
23825 }
23826
23827 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23828 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23829 return 1;
23830 }
23831
23832
23833 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23834 PyObject *pyobj = 0;
23835
23836 {
23837 #if wxUSE_UNICODE
23838 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23839 #else
23840 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23841 #endif
23842 }
23843 return pyobj;
23844 }
23845
23846
23847 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23848 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23849 return 1;
23850 }
23851
23852
23853 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23854 PyObject *pyobj = 0;
23855
23856 {
23857 #if wxUSE_UNICODE
23858 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23859 #else
23860 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23861 #endif
23862 }
23863 return pyobj;
23864 }
23865
23866
23867 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23868 PyObject *resultobj = 0;
23869 wxPrintData *result = 0 ;
23870
23871 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 result = (wxPrintData *)new wxPrintData();
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23886 PyObject *resultobj = 0;
23887 wxPrintData *arg1 = 0 ;
23888 wxPrintData *result = 0 ;
23889 void *argp1 = 0 ;
23890 int res1 = 0 ;
23891
23892 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23894 if (!SWIG_IsOK(res1)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23896 }
23897 if (!argp1) {
23898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23899 }
23900 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23915 int argc;
23916 PyObject *argv[2];
23917
23918 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23919 --argc;
23920 if (argc == 0) {
23921 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23922 }
23923 if (argc == 1) {
23924 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23925 }
23926
23927 fail:
23928 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23929 return NULL;
23930 }
23931
23932
23933 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23934 PyObject *resultobj = 0;
23935 wxPrintData *arg1 = (wxPrintData *) 0 ;
23936 void *argp1 = 0 ;
23937 int res1 = 0 ;
23938 PyObject *swig_obj[1] ;
23939
23940 if (!args) SWIG_fail;
23941 swig_obj[0] = args;
23942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23943 if (!SWIG_IsOK(res1)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23945 }
23946 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 delete arg1;
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 resultobj = SWIG_Py_Void();
23955 return resultobj;
23956 fail:
23957 return NULL;
23958 }
23959
23960
23961 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23962 PyObject *resultobj = 0;
23963 wxPrintData *arg1 = (wxPrintData *) 0 ;
23964 int result;
23965 void *argp1 = 0 ;
23966 int res1 = 0 ;
23967 PyObject *swig_obj[1] ;
23968
23969 if (!args) SWIG_fail;
23970 swig_obj[0] = args;
23971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23972 if (!SWIG_IsOK(res1)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23974 }
23975 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (int)(arg1)->GetNoCopies();
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 resultobj = SWIG_From_int(static_cast< int >(result));
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23990 PyObject *resultobj = 0;
23991 wxPrintData *arg1 = (wxPrintData *) 0 ;
23992 bool result;
23993 void *argp1 = 0 ;
23994 int res1 = 0 ;
23995 PyObject *swig_obj[1] ;
23996
23997 if (!args) SWIG_fail;
23998 swig_obj[0] = args;
23999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24000 if (!SWIG_IsOK(res1)) {
24001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24002 }
24003 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (bool)(arg1)->GetCollate();
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 {
24011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24012 }
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24020 PyObject *resultobj = 0;
24021 wxPrintData *arg1 = (wxPrintData *) 0 ;
24022 int result;
24023 void *argp1 = 0 ;
24024 int res1 = 0 ;
24025 PyObject *swig_obj[1] ;
24026
24027 if (!args) SWIG_fail;
24028 swig_obj[0] = args;
24029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24030 if (!SWIG_IsOK(res1)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24032 }
24033 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 result = (int)(arg1)->GetOrientation();
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 resultobj = SWIG_From_int(static_cast< int >(result));
24041 return resultobj;
24042 fail:
24043 return NULL;
24044 }
24045
24046
24047 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24048 PyObject *resultobj = 0;
24049 wxPrintData *arg1 = (wxPrintData *) 0 ;
24050 bool result;
24051 void *argp1 = 0 ;
24052 int res1 = 0 ;
24053 PyObject *swig_obj[1] ;
24054
24055 if (!args) SWIG_fail;
24056 swig_obj[0] = args;
24057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24058 if (!SWIG_IsOK(res1)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24060 }
24061 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 {
24069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24070 }
24071 return resultobj;
24072 fail:
24073 return NULL;
24074 }
24075
24076
24077 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24078 PyObject *resultobj = 0;
24079 wxPrintData *arg1 = (wxPrintData *) 0 ;
24080 bool result;
24081 void *argp1 = 0 ;
24082 int res1 = 0 ;
24083 PyObject *swig_obj[1] ;
24084
24085 if (!args) SWIG_fail;
24086 swig_obj[0] = args;
24087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24088 if (!SWIG_IsOK(res1)) {
24089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24090 }
24091 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (bool)(arg1)->IsOk();
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 {
24099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24100 }
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24108 PyObject *resultobj = 0;
24109 wxPrintData *arg1 = (wxPrintData *) 0 ;
24110 wxString *result = 0 ;
24111 void *argp1 = 0 ;
24112 int res1 = 0 ;
24113 PyObject *swig_obj[1] ;
24114
24115 if (!args) SWIG_fail;
24116 swig_obj[0] = args;
24117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24118 if (!SWIG_IsOK(res1)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24120 }
24121 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24122 {
24123 PyThreadState* __tstate = wxPyBeginAllowThreads();
24124 {
24125 wxString const &_result_ref = (arg1)->GetPrinterName();
24126 result = (wxString *) &_result_ref;
24127 }
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 {
24132 #if wxUSE_UNICODE
24133 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24134 #else
24135 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24136 #endif
24137 }
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24145 PyObject *resultobj = 0;
24146 wxPrintData *arg1 = (wxPrintData *) 0 ;
24147 bool result;
24148 void *argp1 = 0 ;
24149 int res1 = 0 ;
24150 PyObject *swig_obj[1] ;
24151
24152 if (!args) SWIG_fail;
24153 swig_obj[0] = args;
24154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24157 }
24158 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 result = (bool)(arg1)->GetColour();
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 {
24166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24167 }
24168 return resultobj;
24169 fail:
24170 return NULL;
24171 }
24172
24173
24174 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24175 PyObject *resultobj = 0;
24176 wxPrintData *arg1 = (wxPrintData *) 0 ;
24177 wxDuplexMode result;
24178 void *argp1 = 0 ;
24179 int res1 = 0 ;
24180 PyObject *swig_obj[1] ;
24181
24182 if (!args) SWIG_fail;
24183 swig_obj[0] = args;
24184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24185 if (!SWIG_IsOK(res1)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24187 }
24188 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (wxDuplexMode)(arg1)->GetDuplex();
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 resultobj = SWIG_From_int(static_cast< int >(result));
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24203 PyObject *resultobj = 0;
24204 wxPrintData *arg1 = (wxPrintData *) 0 ;
24205 wxPaperSize result;
24206 void *argp1 = 0 ;
24207 int res1 = 0 ;
24208 PyObject *swig_obj[1] ;
24209
24210 if (!args) SWIG_fail;
24211 swig_obj[0] = args;
24212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24213 if (!SWIG_IsOK(res1)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24215 }
24216 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = (wxPaperSize)(arg1)->GetPaperId();
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 resultobj = SWIG_From_int(static_cast< int >(result));
24224 return resultobj;
24225 fail:
24226 return NULL;
24227 }
24228
24229
24230 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24231 PyObject *resultobj = 0;
24232 wxPrintData *arg1 = (wxPrintData *) 0 ;
24233 wxSize *result = 0 ;
24234 void *argp1 = 0 ;
24235 int res1 = 0 ;
24236 PyObject *swig_obj[1] ;
24237
24238 if (!args) SWIG_fail;
24239 swig_obj[0] = args;
24240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24241 if (!SWIG_IsOK(res1)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24243 }
24244 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 {
24248 wxSize const &_result_ref = (arg1)->GetPaperSize();
24249 result = (wxSize *) &_result_ref;
24250 }
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24255 return resultobj;
24256 fail:
24257 return NULL;
24258 }
24259
24260
24261 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24262 PyObject *resultobj = 0;
24263 wxPrintData *arg1 = (wxPrintData *) 0 ;
24264 int result;
24265 void *argp1 = 0 ;
24266 int res1 = 0 ;
24267 PyObject *swig_obj[1] ;
24268
24269 if (!args) SWIG_fail;
24270 swig_obj[0] = args;
24271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24272 if (!SWIG_IsOK(res1)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24274 }
24275 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 result = (int)(arg1)->GetQuality();
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 resultobj = SWIG_From_int(static_cast< int >(result));
24283 return resultobj;
24284 fail:
24285 return NULL;
24286 }
24287
24288
24289 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24290 PyObject *resultobj = 0;
24291 wxPrintData *arg1 = (wxPrintData *) 0 ;
24292 wxPrintBin result;
24293 void *argp1 = 0 ;
24294 int res1 = 0 ;
24295 PyObject *swig_obj[1] ;
24296
24297 if (!args) SWIG_fail;
24298 swig_obj[0] = args;
24299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24300 if (!SWIG_IsOK(res1)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24302 }
24303 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = (wxPrintBin)(arg1)->GetBin();
24307 wxPyEndAllowThreads(__tstate);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 resultobj = SWIG_From_int(static_cast< int >(result));
24311 return resultobj;
24312 fail:
24313 return NULL;
24314 }
24315
24316
24317 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24318 PyObject *resultobj = 0;
24319 wxPrintData *arg1 = (wxPrintData *) 0 ;
24320 wxPrintMode result;
24321 void *argp1 = 0 ;
24322 int res1 = 0 ;
24323 PyObject *swig_obj[1] ;
24324
24325 if (!args) SWIG_fail;
24326 swig_obj[0] = args;
24327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24328 if (!SWIG_IsOK(res1)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24330 }
24331 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24332 {
24333 PyThreadState* __tstate = wxPyBeginAllowThreads();
24334 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 resultobj = SWIG_From_int(static_cast< int >(result));
24339 return resultobj;
24340 fail:
24341 return NULL;
24342 }
24343
24344
24345 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24346 PyObject *resultobj = 0;
24347 wxPrintData *arg1 = (wxPrintData *) 0 ;
24348 int result;
24349 void *argp1 = 0 ;
24350 int res1 = 0 ;
24351 PyObject *swig_obj[1] ;
24352
24353 if (!args) SWIG_fail;
24354 swig_obj[0] = args;
24355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24356 if (!SWIG_IsOK(res1)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24358 }
24359 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (int)((wxPrintData const *)arg1)->GetMedia();
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 resultobj = SWIG_From_int(static_cast< int >(result));
24367 return resultobj;
24368 fail:
24369 return NULL;
24370 }
24371
24372
24373 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj = 0;
24375 wxPrintData *arg1 = (wxPrintData *) 0 ;
24376 int arg2 ;
24377 void *argp1 = 0 ;
24378 int res1 = 0 ;
24379 int val2 ;
24380 int ecode2 = 0 ;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char * kwnames[] = {
24384 (char *) "self",(char *) "v", NULL
24385 };
24386
24387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24389 if (!SWIG_IsOK(res1)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24391 }
24392 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24393 ecode2 = SWIG_AsVal_int(obj1, &val2);
24394 if (!SWIG_IsOK(ecode2)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24396 }
24397 arg2 = static_cast< int >(val2);
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 (arg1)->SetNoCopies(arg2);
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 resultobj = SWIG_Py_Void();
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj = 0;
24413 wxPrintData *arg1 = (wxPrintData *) 0 ;
24414 bool arg2 ;
24415 void *argp1 = 0 ;
24416 int res1 = 0 ;
24417 bool val2 ;
24418 int ecode2 = 0 ;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 char * kwnames[] = {
24422 (char *) "self",(char *) "flag", NULL
24423 };
24424
24425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24427 if (!SWIG_IsOK(res1)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24429 }
24430 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24431 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24432 if (!SWIG_IsOK(ecode2)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24434 }
24435 arg2 = static_cast< bool >(val2);
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 (arg1)->SetCollate(arg2);
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 resultobj = SWIG_Py_Void();
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj = 0;
24451 wxPrintData *arg1 = (wxPrintData *) 0 ;
24452 int arg2 ;
24453 void *argp1 = 0 ;
24454 int res1 = 0 ;
24455 int val2 ;
24456 int ecode2 = 0 ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 char * kwnames[] = {
24460 (char *) "self",(char *) "orient", NULL
24461 };
24462
24463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24465 if (!SWIG_IsOK(res1)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24467 }
24468 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24469 ecode2 = SWIG_AsVal_int(obj1, &val2);
24470 if (!SWIG_IsOK(ecode2)) {
24471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24472 }
24473 arg2 = static_cast< int >(val2);
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 (arg1)->SetOrientation(arg2);
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 resultobj = SWIG_Py_Void();
24481 return resultobj;
24482 fail:
24483 return NULL;
24484 }
24485
24486
24487 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24488 PyObject *resultobj = 0;
24489 wxPrintData *arg1 = (wxPrintData *) 0 ;
24490 bool arg2 ;
24491 void *argp1 = 0 ;
24492 int res1 = 0 ;
24493 bool val2 ;
24494 int ecode2 = 0 ;
24495 PyObject * obj0 = 0 ;
24496 PyObject * obj1 = 0 ;
24497 char * kwnames[] = {
24498 (char *) "self",(char *) "reversed", NULL
24499 };
24500
24501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24503 if (!SWIG_IsOK(res1)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24505 }
24506 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24507 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24508 if (!SWIG_IsOK(ecode2)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24510 }
24511 arg2 = static_cast< bool >(val2);
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 (arg1)->SetOrientationReversed(arg2);
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 resultobj = SWIG_Py_Void();
24519 return resultobj;
24520 fail:
24521 return NULL;
24522 }
24523
24524
24525 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24526 PyObject *resultobj = 0;
24527 wxPrintData *arg1 = (wxPrintData *) 0 ;
24528 wxString *arg2 = 0 ;
24529 void *argp1 = 0 ;
24530 int res1 = 0 ;
24531 bool temp2 = false ;
24532 PyObject * obj0 = 0 ;
24533 PyObject * obj1 = 0 ;
24534 char * kwnames[] = {
24535 (char *) "self",(char *) "name", NULL
24536 };
24537
24538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24540 if (!SWIG_IsOK(res1)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24542 }
24543 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24544 {
24545 arg2 = wxString_in_helper(obj1);
24546 if (arg2 == NULL) SWIG_fail;
24547 temp2 = true;
24548 }
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 (arg1)->SetPrinterName((wxString const &)*arg2);
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 resultobj = SWIG_Py_Void();
24556 {
24557 if (temp2)
24558 delete arg2;
24559 }
24560 return resultobj;
24561 fail:
24562 {
24563 if (temp2)
24564 delete arg2;
24565 }
24566 return NULL;
24567 }
24568
24569
24570 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24571 PyObject *resultobj = 0;
24572 wxPrintData *arg1 = (wxPrintData *) 0 ;
24573 bool arg2 ;
24574 void *argp1 = 0 ;
24575 int res1 = 0 ;
24576 bool val2 ;
24577 int ecode2 = 0 ;
24578 PyObject * obj0 = 0 ;
24579 PyObject * obj1 = 0 ;
24580 char * kwnames[] = {
24581 (char *) "self",(char *) "colour", NULL
24582 };
24583
24584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24586 if (!SWIG_IsOK(res1)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24588 }
24589 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24590 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24591 if (!SWIG_IsOK(ecode2)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24593 }
24594 arg2 = static_cast< bool >(val2);
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetColour(arg2);
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 resultobj = SWIG_Py_Void();
24602 return resultobj;
24603 fail:
24604 return NULL;
24605 }
24606
24607
24608 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24609 PyObject *resultobj = 0;
24610 wxPrintData *arg1 = (wxPrintData *) 0 ;
24611 wxDuplexMode arg2 ;
24612 void *argp1 = 0 ;
24613 int res1 = 0 ;
24614 int val2 ;
24615 int ecode2 = 0 ;
24616 PyObject * obj0 = 0 ;
24617 PyObject * obj1 = 0 ;
24618 char * kwnames[] = {
24619 (char *) "self",(char *) "duplex", NULL
24620 };
24621
24622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24624 if (!SWIG_IsOK(res1)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24626 }
24627 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24628 ecode2 = SWIG_AsVal_int(obj1, &val2);
24629 if (!SWIG_IsOK(ecode2)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24631 }
24632 arg2 = static_cast< wxDuplexMode >(val2);
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 (arg1)->SetDuplex(arg2);
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 resultobj = SWIG_Py_Void();
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24647 PyObject *resultobj = 0;
24648 wxPrintData *arg1 = (wxPrintData *) 0 ;
24649 wxPaperSize arg2 ;
24650 void *argp1 = 0 ;
24651 int res1 = 0 ;
24652 int val2 ;
24653 int ecode2 = 0 ;
24654 PyObject * obj0 = 0 ;
24655 PyObject * obj1 = 0 ;
24656 char * kwnames[] = {
24657 (char *) "self",(char *) "sizeId", NULL
24658 };
24659
24660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24662 if (!SWIG_IsOK(res1)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24664 }
24665 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24666 ecode2 = SWIG_AsVal_int(obj1, &val2);
24667 if (!SWIG_IsOK(ecode2)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24669 }
24670 arg2 = static_cast< wxPaperSize >(val2);
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 (arg1)->SetPaperId(arg2);
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 resultobj = SWIG_Py_Void();
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj = 0;
24686 wxPrintData *arg1 = (wxPrintData *) 0 ;
24687 wxSize *arg2 = 0 ;
24688 void *argp1 = 0 ;
24689 int res1 = 0 ;
24690 wxSize temp2 ;
24691 PyObject * obj0 = 0 ;
24692 PyObject * obj1 = 0 ;
24693 char * kwnames[] = {
24694 (char *) "self",(char *) "sz", NULL
24695 };
24696
24697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24699 if (!SWIG_IsOK(res1)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24701 }
24702 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24703 {
24704 arg2 = &temp2;
24705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24706 }
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 (arg1)->SetPaperSize((wxSize const &)*arg2);
24710 wxPyEndAllowThreads(__tstate);
24711 if (PyErr_Occurred()) SWIG_fail;
24712 }
24713 resultobj = SWIG_Py_Void();
24714 return resultobj;
24715 fail:
24716 return NULL;
24717 }
24718
24719
24720 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24721 PyObject *resultobj = 0;
24722 wxPrintData *arg1 = (wxPrintData *) 0 ;
24723 int arg2 ;
24724 void *argp1 = 0 ;
24725 int res1 = 0 ;
24726 int val2 ;
24727 int ecode2 = 0 ;
24728 PyObject * obj0 = 0 ;
24729 PyObject * obj1 = 0 ;
24730 char * kwnames[] = {
24731 (char *) "self",(char *) "quality", NULL
24732 };
24733
24734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24736 if (!SWIG_IsOK(res1)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24738 }
24739 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24740 ecode2 = SWIG_AsVal_int(obj1, &val2);
24741 if (!SWIG_IsOK(ecode2)) {
24742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24743 }
24744 arg2 = static_cast< int >(val2);
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 (arg1)->SetQuality(arg2);
24748 wxPyEndAllowThreads(__tstate);
24749 if (PyErr_Occurred()) SWIG_fail;
24750 }
24751 resultobj = SWIG_Py_Void();
24752 return resultobj;
24753 fail:
24754 return NULL;
24755 }
24756
24757
24758 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24759 PyObject *resultobj = 0;
24760 wxPrintData *arg1 = (wxPrintData *) 0 ;
24761 wxPrintBin arg2 ;
24762 void *argp1 = 0 ;
24763 int res1 = 0 ;
24764 int val2 ;
24765 int ecode2 = 0 ;
24766 PyObject * obj0 = 0 ;
24767 PyObject * obj1 = 0 ;
24768 char * kwnames[] = {
24769 (char *) "self",(char *) "bin", NULL
24770 };
24771
24772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24774 if (!SWIG_IsOK(res1)) {
24775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24776 }
24777 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24778 ecode2 = SWIG_AsVal_int(obj1, &val2);
24779 if (!SWIG_IsOK(ecode2)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24781 }
24782 arg2 = static_cast< wxPrintBin >(val2);
24783 {
24784 PyThreadState* __tstate = wxPyBeginAllowThreads();
24785 (arg1)->SetBin(arg2);
24786 wxPyEndAllowThreads(__tstate);
24787 if (PyErr_Occurred()) SWIG_fail;
24788 }
24789 resultobj = SWIG_Py_Void();
24790 return resultobj;
24791 fail:
24792 return NULL;
24793 }
24794
24795
24796 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24797 PyObject *resultobj = 0;
24798 wxPrintData *arg1 = (wxPrintData *) 0 ;
24799 wxPrintMode arg2 ;
24800 void *argp1 = 0 ;
24801 int res1 = 0 ;
24802 int val2 ;
24803 int ecode2 = 0 ;
24804 PyObject * obj0 = 0 ;
24805 PyObject * obj1 = 0 ;
24806 char * kwnames[] = {
24807 (char *) "self",(char *) "printMode", NULL
24808 };
24809
24810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24812 if (!SWIG_IsOK(res1)) {
24813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24814 }
24815 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24816 ecode2 = SWIG_AsVal_int(obj1, &val2);
24817 if (!SWIG_IsOK(ecode2)) {
24818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24819 }
24820 arg2 = static_cast< wxPrintMode >(val2);
24821 {
24822 PyThreadState* __tstate = wxPyBeginAllowThreads();
24823 (arg1)->SetPrintMode(arg2);
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 resultobj = SWIG_Py_Void();
24828 return resultobj;
24829 fail:
24830 return NULL;
24831 }
24832
24833
24834 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24835 PyObject *resultobj = 0;
24836 wxPrintData *arg1 = (wxPrintData *) 0 ;
24837 int arg2 ;
24838 void *argp1 = 0 ;
24839 int res1 = 0 ;
24840 int val2 ;
24841 int ecode2 = 0 ;
24842 PyObject * obj0 = 0 ;
24843 PyObject * obj1 = 0 ;
24844 char * kwnames[] = {
24845 (char *) "self",(char *) "media", NULL
24846 };
24847
24848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24850 if (!SWIG_IsOK(res1)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24852 }
24853 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24854 ecode2 = SWIG_AsVal_int(obj1, &val2);
24855 if (!SWIG_IsOK(ecode2)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24857 }
24858 arg2 = static_cast< int >(val2);
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 (arg1)->SetMedia(arg2);
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 resultobj = SWIG_Py_Void();
24866 return resultobj;
24867 fail:
24868 return NULL;
24869 }
24870
24871
24872 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24873 PyObject *resultobj = 0;
24874 wxPrintData *arg1 = (wxPrintData *) 0 ;
24875 wxString result;
24876 void *argp1 = 0 ;
24877 int res1 = 0 ;
24878 PyObject *swig_obj[1] ;
24879
24880 if (!args) SWIG_fail;
24881 swig_obj[0] = args;
24882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24883 if (!SWIG_IsOK(res1)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24885 }
24886 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 result = ((wxPrintData const *)arg1)->GetFilename();
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
24893 {
24894 #if wxUSE_UNICODE
24895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24896 #else
24897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24898 #endif
24899 }
24900 return resultobj;
24901 fail:
24902 return NULL;
24903 }
24904
24905
24906 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24907 PyObject *resultobj = 0;
24908 wxPrintData *arg1 = (wxPrintData *) 0 ;
24909 wxString *arg2 = 0 ;
24910 void *argp1 = 0 ;
24911 int res1 = 0 ;
24912 bool temp2 = false ;
24913 PyObject * obj0 = 0 ;
24914 PyObject * obj1 = 0 ;
24915 char * kwnames[] = {
24916 (char *) "self",(char *) "filename", NULL
24917 };
24918
24919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24921 if (!SWIG_IsOK(res1)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24923 }
24924 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24925 {
24926 arg2 = wxString_in_helper(obj1);
24927 if (arg2 == NULL) SWIG_fail;
24928 temp2 = true;
24929 }
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 (arg1)->SetFilename((wxString const &)*arg2);
24933 wxPyEndAllowThreads(__tstate);
24934 if (PyErr_Occurred()) SWIG_fail;
24935 }
24936 resultobj = SWIG_Py_Void();
24937 {
24938 if (temp2)
24939 delete arg2;
24940 }
24941 return resultobj;
24942 fail:
24943 {
24944 if (temp2)
24945 delete arg2;
24946 }
24947 return NULL;
24948 }
24949
24950
24951 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24952 PyObject *resultobj = 0;
24953 wxPrintData *arg1 = (wxPrintData *) 0 ;
24954 PyObject *result = 0 ;
24955 void *argp1 = 0 ;
24956 int res1 = 0 ;
24957 PyObject *swig_obj[1] ;
24958
24959 if (!args) SWIG_fail;
24960 swig_obj[0] = args;
24961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24962 if (!SWIG_IsOK(res1)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24964 }
24965 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 resultobj = result;
24973 return resultobj;
24974 fail:
24975 return NULL;
24976 }
24977
24978
24979 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24980 PyObject *resultobj = 0;
24981 wxPrintData *arg1 = (wxPrintData *) 0 ;
24982 PyObject *arg2 = (PyObject *) 0 ;
24983 void *argp1 = 0 ;
24984 int res1 = 0 ;
24985 PyObject * obj0 = 0 ;
24986 PyObject * obj1 = 0 ;
24987 char * kwnames[] = {
24988 (char *) "self",(char *) "data", NULL
24989 };
24990
24991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24993 if (!SWIG_IsOK(res1)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24995 }
24996 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24997 arg2 = obj1;
24998 {
24999 PyThreadState* __tstate = wxPyBeginAllowThreads();
25000 wxPrintData_SetPrivData(arg1,arg2);
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 resultobj = SWIG_Py_Void();
25005 return resultobj;
25006 fail:
25007 return NULL;
25008 }
25009
25010
25011 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25012 PyObject *obj;
25013 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
25015 return SWIG_Py_Void();
25016 }
25017
25018 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25019 return SWIG_Python_InitShadowInstance(args);
25020 }
25021
25022 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25023 PyObject *resultobj = 0;
25024 wxPageSetupDialogData *result = 0 ;
25025
25026 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25034 return resultobj;
25035 fail:
25036 return NULL;
25037 }
25038
25039
25040 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25041 PyObject *resultobj = 0;
25042 wxPageSetupDialogData *arg1 = 0 ;
25043 wxPageSetupDialogData *result = 0 ;
25044 void *argp1 = 0 ;
25045 int res1 = 0 ;
25046
25047 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
25049 if (!SWIG_IsOK(res1)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25051 }
25052 if (!argp1) {
25053 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25054 }
25055 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25063 return resultobj;
25064 fail:
25065 return NULL;
25066 }
25067
25068
25069 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25070 PyObject *resultobj = 0;
25071 wxPrintData *arg1 = 0 ;
25072 wxPageSetupDialogData *result = 0 ;
25073 void *argp1 = 0 ;
25074 int res1 = 0 ;
25075
25076 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25078 if (!SWIG_IsOK(res1)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25080 }
25081 if (!argp1) {
25082 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25083 }
25084 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25092 return resultobj;
25093 fail:
25094 return NULL;
25095 }
25096
25097
25098 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25099 int argc;
25100 PyObject *argv[2];
25101
25102 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25103 --argc;
25104 if (argc == 0) {
25105 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25106 }
25107 if (argc == 1) {
25108 int _v = 0;
25109 {
25110 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25111 _v = SWIG_CheckState(res);
25112 }
25113 if (!_v) goto check_2;
25114 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25115 }
25116 check_2:
25117
25118 if (argc == 1) {
25119 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25120 }
25121
25122 fail:
25123 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25124 return NULL;
25125 }
25126
25127
25128 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25129 PyObject *resultobj = 0;
25130 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25131 void *argp1 = 0 ;
25132 int res1 = 0 ;
25133 PyObject *swig_obj[1] ;
25134
25135 if (!args) SWIG_fail;
25136 swig_obj[0] = args;
25137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25138 if (!SWIG_IsOK(res1)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25140 }
25141 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 delete arg1;
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 resultobj = SWIG_Py_Void();
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj = 0;
25158 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25159 bool arg2 ;
25160 void *argp1 = 0 ;
25161 int res1 = 0 ;
25162 bool val2 ;
25163 int ecode2 = 0 ;
25164 PyObject * obj0 = 0 ;
25165 PyObject * obj1 = 0 ;
25166 char * kwnames[] = {
25167 (char *) "self",(char *) "flag", NULL
25168 };
25169
25170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25172 if (!SWIG_IsOK(res1)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25174 }
25175 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25176 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25177 if (!SWIG_IsOK(ecode2)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25179 }
25180 arg2 = static_cast< bool >(val2);
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 (arg1)->EnableHelp(arg2);
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 resultobj = SWIG_Py_Void();
25188 return resultobj;
25189 fail:
25190 return NULL;
25191 }
25192
25193
25194 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25195 PyObject *resultobj = 0;
25196 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25197 bool arg2 ;
25198 void *argp1 = 0 ;
25199 int res1 = 0 ;
25200 bool val2 ;
25201 int ecode2 = 0 ;
25202 PyObject * obj0 = 0 ;
25203 PyObject * obj1 = 0 ;
25204 char * kwnames[] = {
25205 (char *) "self",(char *) "flag", NULL
25206 };
25207
25208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 }
25213 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25214 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25215 if (!SWIG_IsOK(ecode2)) {
25216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25217 }
25218 arg2 = static_cast< bool >(val2);
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 (arg1)->EnableMargins(arg2);
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 resultobj = SWIG_Py_Void();
25226 return resultobj;
25227 fail:
25228 return NULL;
25229 }
25230
25231
25232 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj = 0;
25234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25235 bool arg2 ;
25236 void *argp1 = 0 ;
25237 int res1 = 0 ;
25238 bool val2 ;
25239 int ecode2 = 0 ;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 char * kwnames[] = {
25243 (char *) "self",(char *) "flag", NULL
25244 };
25245
25246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25248 if (!SWIG_IsOK(res1)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25250 }
25251 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25252 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25253 if (!SWIG_IsOK(ecode2)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25255 }
25256 arg2 = static_cast< bool >(val2);
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 (arg1)->EnableOrientation(arg2);
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 resultobj = SWIG_Py_Void();
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj = 0;
25272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25273 bool arg2 ;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 bool val2 ;
25277 int ecode2 = 0 ;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char * kwnames[] = {
25281 (char *) "self",(char *) "flag", NULL
25282 };
25283
25284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25286 if (!SWIG_IsOK(res1)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25288 }
25289 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25290 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25291 if (!SWIG_IsOK(ecode2)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25293 }
25294 arg2 = static_cast< bool >(val2);
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 (arg1)->EnablePaper(arg2);
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 resultobj = SWIG_Py_Void();
25302 return resultobj;
25303 fail:
25304 return NULL;
25305 }
25306
25307
25308 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj = 0;
25310 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25311 bool arg2 ;
25312 void *argp1 = 0 ;
25313 int res1 = 0 ;
25314 bool val2 ;
25315 int ecode2 = 0 ;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 char * kwnames[] = {
25319 (char *) "self",(char *) "flag", NULL
25320 };
25321
25322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25324 if (!SWIG_IsOK(res1)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25326 }
25327 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25328 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25329 if (!SWIG_IsOK(ecode2)) {
25330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25331 }
25332 arg2 = static_cast< bool >(val2);
25333 {
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 (arg1)->EnablePrinter(arg2);
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 resultobj = SWIG_Py_Void();
25340 return resultobj;
25341 fail:
25342 return NULL;
25343 }
25344
25345
25346 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25347 PyObject *resultobj = 0;
25348 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25349 bool result;
25350 void *argp1 = 0 ;
25351 int res1 = 0 ;
25352 PyObject *swig_obj[1] ;
25353
25354 if (!args) SWIG_fail;
25355 swig_obj[0] = args;
25356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25357 if (!SWIG_IsOK(res1)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 }
25360 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 result = (bool)(arg1)->GetDefaultMinMargins();
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 {
25368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25369 }
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25377 PyObject *resultobj = 0;
25378 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25379 bool result;
25380 void *argp1 = 0 ;
25381 int res1 = 0 ;
25382 PyObject *swig_obj[1] ;
25383
25384 if (!args) SWIG_fail;
25385 swig_obj[0] = args;
25386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25387 if (!SWIG_IsOK(res1)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25389 }
25390 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 result = (bool)(arg1)->GetEnableMargins();
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
25397 {
25398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25399 }
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25407 PyObject *resultobj = 0;
25408 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25409 bool result;
25410 void *argp1 = 0 ;
25411 int res1 = 0 ;
25412 PyObject *swig_obj[1] ;
25413
25414 if (!args) SWIG_fail;
25415 swig_obj[0] = args;
25416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25417 if (!SWIG_IsOK(res1)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 }
25420 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 result = (bool)(arg1)->GetEnableOrientation();
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 {
25428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25429 }
25430 return resultobj;
25431 fail:
25432 return NULL;
25433 }
25434
25435
25436 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25437 PyObject *resultobj = 0;
25438 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25439 bool result;
25440 void *argp1 = 0 ;
25441 int res1 = 0 ;
25442 PyObject *swig_obj[1] ;
25443
25444 if (!args) SWIG_fail;
25445 swig_obj[0] = args;
25446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25447 if (!SWIG_IsOK(res1)) {
25448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25449 }
25450 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 result = (bool)(arg1)->GetEnablePaper();
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 {
25458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25459 }
25460 return resultobj;
25461 fail:
25462 return NULL;
25463 }
25464
25465
25466 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25467 PyObject *resultobj = 0;
25468 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25469 bool result;
25470 void *argp1 = 0 ;
25471 int res1 = 0 ;
25472 PyObject *swig_obj[1] ;
25473
25474 if (!args) SWIG_fail;
25475 swig_obj[0] = args;
25476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25477 if (!SWIG_IsOK(res1)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 }
25480 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (bool)(arg1)->GetEnablePrinter();
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 {
25488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25489 }
25490 return resultobj;
25491 fail:
25492 return NULL;
25493 }
25494
25495
25496 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25497 PyObject *resultobj = 0;
25498 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25499 bool result;
25500 void *argp1 = 0 ;
25501 int res1 = 0 ;
25502 PyObject *swig_obj[1] ;
25503
25504 if (!args) SWIG_fail;
25505 swig_obj[0] = args;
25506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25507 if (!SWIG_IsOK(res1)) {
25508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25509 }
25510 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 result = (bool)(arg1)->GetEnableHelp();
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 {
25518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25519 }
25520 return resultobj;
25521 fail:
25522 return NULL;
25523 }
25524
25525
25526 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25527 PyObject *resultobj = 0;
25528 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25529 bool result;
25530 void *argp1 = 0 ;
25531 int res1 = 0 ;
25532 PyObject *swig_obj[1] ;
25533
25534 if (!args) SWIG_fail;
25535 swig_obj[0] = args;
25536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25537 if (!SWIG_IsOK(res1)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25539 }
25540 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25541 {
25542 PyThreadState* __tstate = wxPyBeginAllowThreads();
25543 result = (bool)(arg1)->GetDefaultInfo();
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 {
25548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25549 }
25550 return resultobj;
25551 fail:
25552 return NULL;
25553 }
25554
25555
25556 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25557 PyObject *resultobj = 0;
25558 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25559 wxPoint result;
25560 void *argp1 = 0 ;
25561 int res1 = 0 ;
25562 PyObject *swig_obj[1] ;
25563
25564 if (!args) SWIG_fail;
25565 swig_obj[0] = args;
25566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25567 if (!SWIG_IsOK(res1)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25569 }
25570 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 result = (arg1)->GetMarginTopLeft();
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25585 PyObject *resultobj = 0;
25586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25587 wxPoint result;
25588 void *argp1 = 0 ;
25589 int res1 = 0 ;
25590 PyObject *swig_obj[1] ;
25591
25592 if (!args) SWIG_fail;
25593 swig_obj[0] = args;
25594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25595 if (!SWIG_IsOK(res1)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25597 }
25598 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 result = (arg1)->GetMarginBottomRight();
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25613 PyObject *resultobj = 0;
25614 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25615 wxPoint result;
25616 void *argp1 = 0 ;
25617 int res1 = 0 ;
25618 PyObject *swig_obj[1] ;
25619
25620 if (!args) SWIG_fail;
25621 swig_obj[0] = args;
25622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25623 if (!SWIG_IsOK(res1)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25625 }
25626 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25627 {
25628 PyThreadState* __tstate = wxPyBeginAllowThreads();
25629 result = (arg1)->GetMinMarginTopLeft();
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25634 return resultobj;
25635 fail:
25636 return NULL;
25637 }
25638
25639
25640 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25641 PyObject *resultobj = 0;
25642 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25643 wxPoint result;
25644 void *argp1 = 0 ;
25645 int res1 = 0 ;
25646 PyObject *swig_obj[1] ;
25647
25648 if (!args) SWIG_fail;
25649 swig_obj[0] = args;
25650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25651 if (!SWIG_IsOK(res1)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25653 }
25654 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (arg1)->GetMinMarginBottomRight();
25658 wxPyEndAllowThreads(__tstate);
25659 if (PyErr_Occurred()) SWIG_fail;
25660 }
25661 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25662 return resultobj;
25663 fail:
25664 return NULL;
25665 }
25666
25667
25668 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25669 PyObject *resultobj = 0;
25670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25671 wxPaperSize result;
25672 void *argp1 = 0 ;
25673 int res1 = 0 ;
25674 PyObject *swig_obj[1] ;
25675
25676 if (!args) SWIG_fail;
25677 swig_obj[0] = args;
25678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25679 if (!SWIG_IsOK(res1)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25681 }
25682 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25683 {
25684 PyThreadState* __tstate = wxPyBeginAllowThreads();
25685 result = (wxPaperSize)(arg1)->GetPaperId();
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 resultobj = SWIG_From_int(static_cast< int >(result));
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25697 PyObject *resultobj = 0;
25698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25699 wxSize result;
25700 void *argp1 = 0 ;
25701 int res1 = 0 ;
25702 PyObject *swig_obj[1] ;
25703
25704 if (!args) SWIG_fail;
25705 swig_obj[0] = args;
25706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25707 if (!SWIG_IsOK(res1)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25709 }
25710 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25711 {
25712 PyThreadState* __tstate = wxPyBeginAllowThreads();
25713 result = (arg1)->GetPaperSize();
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25718 return resultobj;
25719 fail:
25720 return NULL;
25721 }
25722
25723
25724 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25725 PyObject *resultobj = 0;
25726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25727 wxPrintData *result = 0 ;
25728 void *argp1 = 0 ;
25729 int res1 = 0 ;
25730 PyObject *swig_obj[1] ;
25731
25732 if (!args) SWIG_fail;
25733 swig_obj[0] = args;
25734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25735 if (!SWIG_IsOK(res1)) {
25736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25737 }
25738 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25739 {
25740 PyThreadState* __tstate = wxPyBeginAllowThreads();
25741 {
25742 wxPrintData &_result_ref = (arg1)->GetPrintData();
25743 result = (wxPrintData *) &_result_ref;
25744 }
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25749 return resultobj;
25750 fail:
25751 return NULL;
25752 }
25753
25754
25755 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25756 PyObject *resultobj = 0;
25757 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25758 bool result;
25759 void *argp1 = 0 ;
25760 int res1 = 0 ;
25761 PyObject *swig_obj[1] ;
25762
25763 if (!args) SWIG_fail;
25764 swig_obj[0] = args;
25765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25766 if (!SWIG_IsOK(res1)) {
25767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25768 }
25769 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25770 {
25771 PyThreadState* __tstate = wxPyBeginAllowThreads();
25772 result = (bool)(arg1)->IsOk();
25773 wxPyEndAllowThreads(__tstate);
25774 if (PyErr_Occurred()) SWIG_fail;
25775 }
25776 {
25777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25778 }
25779 return resultobj;
25780 fail:
25781 return NULL;
25782 }
25783
25784
25785 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25786 PyObject *resultobj = 0;
25787 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25788 bool arg2 ;
25789 void *argp1 = 0 ;
25790 int res1 = 0 ;
25791 bool val2 ;
25792 int ecode2 = 0 ;
25793 PyObject * obj0 = 0 ;
25794 PyObject * obj1 = 0 ;
25795 char * kwnames[] = {
25796 (char *) "self",(char *) "flag", NULL
25797 };
25798
25799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25801 if (!SWIG_IsOK(res1)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25803 }
25804 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25805 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25806 if (!SWIG_IsOK(ecode2)) {
25807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25808 }
25809 arg2 = static_cast< bool >(val2);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 (arg1)->SetDefaultInfo(arg2);
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 resultobj = SWIG_Py_Void();
25817 return resultobj;
25818 fail:
25819 return NULL;
25820 }
25821
25822
25823 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj = 0;
25825 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25826 bool arg2 ;
25827 void *argp1 = 0 ;
25828 int res1 = 0 ;
25829 bool val2 ;
25830 int ecode2 = 0 ;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 char * kwnames[] = {
25834 (char *) "self",(char *) "flag", NULL
25835 };
25836
25837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25839 if (!SWIG_IsOK(res1)) {
25840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25841 }
25842 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25843 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25844 if (!SWIG_IsOK(ecode2)) {
25845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25846 }
25847 arg2 = static_cast< bool >(val2);
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 (arg1)->SetDefaultMinMargins(arg2);
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 resultobj = SWIG_Py_Void();
25855 return resultobj;
25856 fail:
25857 return NULL;
25858 }
25859
25860
25861 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25862 PyObject *resultobj = 0;
25863 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25864 wxPoint *arg2 = 0 ;
25865 void *argp1 = 0 ;
25866 int res1 = 0 ;
25867 wxPoint temp2 ;
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 char * kwnames[] = {
25871 (char *) "self",(char *) "pt", NULL
25872 };
25873
25874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25876 if (!SWIG_IsOK(res1)) {
25877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25878 }
25879 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25880 {
25881 arg2 = &temp2;
25882 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25883 }
25884 {
25885 PyThreadState* __tstate = wxPyBeginAllowThreads();
25886 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 resultobj = SWIG_Py_Void();
25891 return resultobj;
25892 fail:
25893 return NULL;
25894 }
25895
25896
25897 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25898 PyObject *resultobj = 0;
25899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25900 wxPoint *arg2 = 0 ;
25901 void *argp1 = 0 ;
25902 int res1 = 0 ;
25903 wxPoint temp2 ;
25904 PyObject * obj0 = 0 ;
25905 PyObject * obj1 = 0 ;
25906 char * kwnames[] = {
25907 (char *) "self",(char *) "pt", NULL
25908 };
25909
25910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25912 if (!SWIG_IsOK(res1)) {
25913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25914 }
25915 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25916 {
25917 arg2 = &temp2;
25918 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25919 }
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 resultobj = SWIG_Py_Void();
25927 return resultobj;
25928 fail:
25929 return NULL;
25930 }
25931
25932
25933 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25934 PyObject *resultobj = 0;
25935 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25936 wxPoint *arg2 = 0 ;
25937 void *argp1 = 0 ;
25938 int res1 = 0 ;
25939 wxPoint temp2 ;
25940 PyObject * obj0 = 0 ;
25941 PyObject * obj1 = 0 ;
25942 char * kwnames[] = {
25943 (char *) "self",(char *) "pt", NULL
25944 };
25945
25946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25948 if (!SWIG_IsOK(res1)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25950 }
25951 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25952 {
25953 arg2 = &temp2;
25954 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25955 }
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25959 wxPyEndAllowThreads(__tstate);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 resultobj = SWIG_Py_Void();
25963 return resultobj;
25964 fail:
25965 return NULL;
25966 }
25967
25968
25969 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25970 PyObject *resultobj = 0;
25971 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25972 wxPoint *arg2 = 0 ;
25973 void *argp1 = 0 ;
25974 int res1 = 0 ;
25975 wxPoint temp2 ;
25976 PyObject * obj0 = 0 ;
25977 PyObject * obj1 = 0 ;
25978 char * kwnames[] = {
25979 (char *) "self",(char *) "pt", NULL
25980 };
25981
25982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25984 if (!SWIG_IsOK(res1)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25986 }
25987 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25988 {
25989 arg2 = &temp2;
25990 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25991 }
25992 {
25993 PyThreadState* __tstate = wxPyBeginAllowThreads();
25994 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25995 wxPyEndAllowThreads(__tstate);
25996 if (PyErr_Occurred()) SWIG_fail;
25997 }
25998 resultobj = SWIG_Py_Void();
25999 return resultobj;
26000 fail:
26001 return NULL;
26002 }
26003
26004
26005 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26006 PyObject *resultobj = 0;
26007 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26008 wxPaperSize arg2 ;
26009 void *argp1 = 0 ;
26010 int res1 = 0 ;
26011 int val2 ;
26012 int ecode2 = 0 ;
26013 PyObject * obj0 = 0 ;
26014 PyObject * obj1 = 0 ;
26015 char * kwnames[] = {
26016 (char *) "self",(char *) "id", NULL
26017 };
26018
26019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26021 if (!SWIG_IsOK(res1)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26023 }
26024 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26025 ecode2 = SWIG_AsVal_int(obj1, &val2);
26026 if (!SWIG_IsOK(ecode2)) {
26027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26028 }
26029 arg2 = static_cast< wxPaperSize >(val2);
26030 {
26031 PyThreadState* __tstate = wxPyBeginAllowThreads();
26032 (arg1)->SetPaperId(arg2);
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 resultobj = SWIG_Py_Void();
26037 return resultobj;
26038 fail:
26039 return NULL;
26040 }
26041
26042
26043 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26044 PyObject *resultobj = 0;
26045 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26046 wxSize *arg2 = 0 ;
26047 void *argp1 = 0 ;
26048 int res1 = 0 ;
26049 wxSize temp2 ;
26050 PyObject * obj0 = 0 ;
26051 PyObject * obj1 = 0 ;
26052 char * kwnames[] = {
26053 (char *) "self",(char *) "size", NULL
26054 };
26055
26056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26058 if (!SWIG_IsOK(res1)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26060 }
26061 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26062 {
26063 arg2 = &temp2;
26064 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26065 }
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 (arg1)->SetPaperSize((wxSize const &)*arg2);
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 resultobj = SWIG_Py_Void();
26073 return resultobj;
26074 fail:
26075 return NULL;
26076 }
26077
26078
26079 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26080 PyObject *resultobj = 0;
26081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26082 wxPrintData *arg2 = 0 ;
26083 void *argp1 = 0 ;
26084 int res1 = 0 ;
26085 void *argp2 = 0 ;
26086 int res2 = 0 ;
26087 PyObject * obj0 = 0 ;
26088 PyObject * obj1 = 0 ;
26089 char * kwnames[] = {
26090 (char *) "self",(char *) "printData", NULL
26091 };
26092
26093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26095 if (!SWIG_IsOK(res1)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26097 }
26098 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26100 if (!SWIG_IsOK(res2)) {
26101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26102 }
26103 if (!argp2) {
26104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26105 }
26106 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26110 wxPyEndAllowThreads(__tstate);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 resultobj = SWIG_Py_Void();
26114 return resultobj;
26115 fail:
26116 return NULL;
26117 }
26118
26119
26120 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26123 void *argp1 = 0 ;
26124 int res1 = 0 ;
26125 PyObject *swig_obj[1] ;
26126
26127 if (!args) SWIG_fail;
26128 swig_obj[0] = args;
26129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26132 }
26133 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 (arg1)->CalculateIdFromPaperSize();
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 resultobj = SWIG_Py_Void();
26141 return resultobj;
26142 fail:
26143 return NULL;
26144 }
26145
26146
26147 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26148 PyObject *resultobj = 0;
26149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26150 void *argp1 = 0 ;
26151 int res1 = 0 ;
26152 PyObject *swig_obj[1] ;
26153
26154 if (!args) SWIG_fail;
26155 swig_obj[0] = args;
26156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26157 if (!SWIG_IsOK(res1)) {
26158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26159 }
26160 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 (arg1)->CalculatePaperSizeFromId();
26164 wxPyEndAllowThreads(__tstate);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 }
26167 resultobj = SWIG_Py_Void();
26168 return resultobj;
26169 fail:
26170 return NULL;
26171 }
26172
26173
26174 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26175 PyObject *obj;
26176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26178 return SWIG_Py_Void();
26179 }
26180
26181 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26182 return SWIG_Python_InitShadowInstance(args);
26183 }
26184
26185 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj = 0;
26187 wxWindow *arg1 = (wxWindow *) 0 ;
26188 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26189 wxPageSetupDialog *result = 0 ;
26190 void *argp1 = 0 ;
26191 int res1 = 0 ;
26192 void *argp2 = 0 ;
26193 int res2 = 0 ;
26194 PyObject * obj0 = 0 ;
26195 PyObject * obj1 = 0 ;
26196 char * kwnames[] = {
26197 (char *) "parent",(char *) "data", NULL
26198 };
26199
26200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26202 if (!SWIG_IsOK(res1)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26204 }
26205 arg1 = reinterpret_cast< wxWindow * >(argp1);
26206 if (obj1) {
26207 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26208 if (!SWIG_IsOK(res2)) {
26209 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26210 }
26211 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26212 }
26213 {
26214 if (!wxPyCheckForApp()) SWIG_fail;
26215 PyThreadState* __tstate = wxPyBeginAllowThreads();
26216 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26228 PyObject *resultobj = 0;
26229 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26230 void *argp1 = 0 ;
26231 int res1 = 0 ;
26232 PyObject *swig_obj[1] ;
26233
26234 if (!args) SWIG_fail;
26235 swig_obj[0] = args;
26236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26237 if (!SWIG_IsOK(res1)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26239 }
26240 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 delete arg1;
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 resultobj = SWIG_Py_Void();
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26256 PyObject *resultobj = 0;
26257 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26258 wxPageSetupDialogData *result = 0 ;
26259 void *argp1 = 0 ;
26260 int res1 = 0 ;
26261 PyObject *swig_obj[1] ;
26262
26263 if (!args) SWIG_fail;
26264 swig_obj[0] = args;
26265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26266 if (!SWIG_IsOK(res1)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26268 }
26269 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 {
26273 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26274 result = (wxPageSetupDialogData *) &_result_ref;
26275 }
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26280 return resultobj;
26281 fail:
26282 return NULL;
26283 }
26284
26285
26286 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26287 PyObject *resultobj = 0;
26288 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26289 wxPageSetupDialogData *result = 0 ;
26290 void *argp1 = 0 ;
26291 int res1 = 0 ;
26292 PyObject *swig_obj[1] ;
26293
26294 if (!args) SWIG_fail;
26295 swig_obj[0] = args;
26296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26297 if (!SWIG_IsOK(res1)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26299 }
26300 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 {
26304 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26305 result = (wxPageSetupDialogData *) &_result_ref;
26306 }
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26311 return resultobj;
26312 fail:
26313 return NULL;
26314 }
26315
26316
26317 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26318 PyObject *resultobj = 0;
26319 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26320 int result;
26321 void *argp1 = 0 ;
26322 int res1 = 0 ;
26323 PyObject *swig_obj[1] ;
26324
26325 if (!args) SWIG_fail;
26326 swig_obj[0] = args;
26327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26328 if (!SWIG_IsOK(res1)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26330 }
26331 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = (int)(arg1)->ShowModal();
26335 wxPyEndAllowThreads(__tstate);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 }
26338 resultobj = SWIG_From_int(static_cast< int >(result));
26339 return resultobj;
26340 fail:
26341 return NULL;
26342 }
26343
26344
26345 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26346 PyObject *obj;
26347 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26349 return SWIG_Py_Void();
26350 }
26351
26352 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26353 return SWIG_Python_InitShadowInstance(args);
26354 }
26355
26356 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26357 PyObject *resultobj = 0;
26358 wxPrintDialogData *result = 0 ;
26359
26360 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 result = (wxPrintDialogData *)new wxPrintDialogData();
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26368 return resultobj;
26369 fail:
26370 return NULL;
26371 }
26372
26373
26374 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26375 PyObject *resultobj = 0;
26376 wxPrintData *arg1 = 0 ;
26377 wxPrintDialogData *result = 0 ;
26378 void *argp1 = 0 ;
26379 int res1 = 0 ;
26380
26381 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26383 if (!SWIG_IsOK(res1)) {
26384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26385 }
26386 if (!argp1) {
26387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26388 }
26389 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26397 return resultobj;
26398 fail:
26399 return NULL;
26400 }
26401
26402
26403 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26404 PyObject *resultobj = 0;
26405 wxPrintDialogData *arg1 = 0 ;
26406 wxPrintDialogData *result = 0 ;
26407 void *argp1 = 0 ;
26408 int res1 = 0 ;
26409
26410 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26412 if (!SWIG_IsOK(res1)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26414 }
26415 if (!argp1) {
26416 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26417 }
26418 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26426 return resultobj;
26427 fail:
26428 return NULL;
26429 }
26430
26431
26432 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26433 int argc;
26434 PyObject *argv[2];
26435
26436 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26437 --argc;
26438 if (argc == 0) {
26439 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26440 }
26441 if (argc == 1) {
26442 int _v = 0;
26443 {
26444 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26445 _v = SWIG_CheckState(res);
26446 }
26447 if (!_v) goto check_2;
26448 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26449 }
26450 check_2:
26451
26452 if (argc == 1) {
26453 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26454 }
26455
26456 fail:
26457 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26458 return NULL;
26459 }
26460
26461
26462 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26463 PyObject *resultobj = 0;
26464 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26465 void *argp1 = 0 ;
26466 int res1 = 0 ;
26467 PyObject *swig_obj[1] ;
26468
26469 if (!args) SWIG_fail;
26470 swig_obj[0] = args;
26471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26472 if (!SWIG_IsOK(res1)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26474 }
26475 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26476 {
26477 PyThreadState* __tstate = wxPyBeginAllowThreads();
26478 delete arg1;
26479
26480 wxPyEndAllowThreads(__tstate);
26481 if (PyErr_Occurred()) SWIG_fail;
26482 }
26483 resultobj = SWIG_Py_Void();
26484 return resultobj;
26485 fail:
26486 return NULL;
26487 }
26488
26489
26490 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26491 PyObject *resultobj = 0;
26492 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26493 int result;
26494 void *argp1 = 0 ;
26495 int res1 = 0 ;
26496 PyObject *swig_obj[1] ;
26497
26498 if (!args) SWIG_fail;
26499 swig_obj[0] = args;
26500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26501 if (!SWIG_IsOK(res1)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26503 }
26504 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 resultobj = SWIG_From_int(static_cast< int >(result));
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26519 PyObject *resultobj = 0;
26520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26521 int result;
26522 void *argp1 = 0 ;
26523 int res1 = 0 ;
26524 PyObject *swig_obj[1] ;
26525
26526 if (!args) SWIG_fail;
26527 swig_obj[0] = args;
26528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26529 if (!SWIG_IsOK(res1)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26531 }
26532 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 resultobj = SWIG_From_int(static_cast< int >(result));
26540 return resultobj;
26541 fail:
26542 return NULL;
26543 }
26544
26545
26546 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26547 PyObject *resultobj = 0;
26548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26549 int result;
26550 void *argp1 = 0 ;
26551 int res1 = 0 ;
26552 PyObject *swig_obj[1] ;
26553
26554 if (!args) SWIG_fail;
26555 swig_obj[0] = args;
26556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26557 if (!SWIG_IsOK(res1)) {
26558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26559 }
26560 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26564 wxPyEndAllowThreads(__tstate);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 }
26567 resultobj = SWIG_From_int(static_cast< int >(result));
26568 return resultobj;
26569 fail:
26570 return NULL;
26571 }
26572
26573
26574 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26575 PyObject *resultobj = 0;
26576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26577 int result;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 PyObject *swig_obj[1] ;
26581
26582 if (!args) SWIG_fail;
26583 swig_obj[0] = args;
26584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26585 if (!SWIG_IsOK(res1)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26587 }
26588 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 resultobj = SWIG_From_int(static_cast< int >(result));
26596 return resultobj;
26597 fail:
26598 return NULL;
26599 }
26600
26601
26602 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26603 PyObject *resultobj = 0;
26604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26605 int result;
26606 void *argp1 = 0 ;
26607 int res1 = 0 ;
26608 PyObject *swig_obj[1] ;
26609
26610 if (!args) SWIG_fail;
26611 swig_obj[0] = args;
26612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26613 if (!SWIG_IsOK(res1)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26615 }
26616 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26620 wxPyEndAllowThreads(__tstate);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 }
26623 resultobj = SWIG_From_int(static_cast< int >(result));
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26631 PyObject *resultobj = 0;
26632 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26633 bool result;
26634 void *argp1 = 0 ;
26635 int res1 = 0 ;
26636 PyObject *swig_obj[1] ;
26637
26638 if (!args) SWIG_fail;
26639 swig_obj[0] = args;
26640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26641 if (!SWIG_IsOK(res1)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26643 }
26644 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 {
26652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26653 }
26654 return resultobj;
26655 fail:
26656 return NULL;
26657 }
26658
26659
26660 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26661 PyObject *resultobj = 0;
26662 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26663 bool result;
26664 void *argp1 = 0 ;
26665 int res1 = 0 ;
26666 PyObject *swig_obj[1] ;
26667
26668 if (!args) SWIG_fail;
26669 swig_obj[0] = args;
26670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26671 if (!SWIG_IsOK(res1)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26673 }
26674 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26675 {
26676 PyThreadState* __tstate = wxPyBeginAllowThreads();
26677 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26678 wxPyEndAllowThreads(__tstate);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 }
26681 {
26682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26683 }
26684 return resultobj;
26685 fail:
26686 return NULL;
26687 }
26688
26689
26690 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26691 PyObject *resultobj = 0;
26692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26693 bool result;
26694 void *argp1 = 0 ;
26695 int res1 = 0 ;
26696 PyObject *swig_obj[1] ;
26697
26698 if (!args) SWIG_fail;
26699 swig_obj[0] = args;
26700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26701 if (!SWIG_IsOK(res1)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26703 }
26704 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 {
26712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26713 }
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26721 PyObject *resultobj = 0;
26722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26723 bool result;
26724 void *argp1 = 0 ;
26725 int res1 = 0 ;
26726 PyObject *swig_obj[1] ;
26727
26728 if (!args) SWIG_fail;
26729 swig_obj[0] = args;
26730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26731 if (!SWIG_IsOK(res1)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26733 }
26734 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26735 {
26736 PyThreadState* __tstate = wxPyBeginAllowThreads();
26737 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 {
26742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26743 }
26744 return resultobj;
26745 fail:
26746 return NULL;
26747 }
26748
26749
26750 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj = 0;
26752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26753 int arg2 ;
26754 void *argp1 = 0 ;
26755 int res1 = 0 ;
26756 int val2 ;
26757 int ecode2 = 0 ;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 char * kwnames[] = {
26761 (char *) "self",(char *) "v", NULL
26762 };
26763
26764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26766 if (!SWIG_IsOK(res1)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26768 }
26769 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26770 ecode2 = SWIG_AsVal_int(obj1, &val2);
26771 if (!SWIG_IsOK(ecode2)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26773 }
26774 arg2 = static_cast< int >(val2);
26775 {
26776 PyThreadState* __tstate = wxPyBeginAllowThreads();
26777 (arg1)->SetFromPage(arg2);
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 resultobj = SWIG_Py_Void();
26782 return resultobj;
26783 fail:
26784 return NULL;
26785 }
26786
26787
26788 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26789 PyObject *resultobj = 0;
26790 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26791 int arg2 ;
26792 void *argp1 = 0 ;
26793 int res1 = 0 ;
26794 int val2 ;
26795 int ecode2 = 0 ;
26796 PyObject * obj0 = 0 ;
26797 PyObject * obj1 = 0 ;
26798 char * kwnames[] = {
26799 (char *) "self",(char *) "v", NULL
26800 };
26801
26802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26804 if (!SWIG_IsOK(res1)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26806 }
26807 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26808 ecode2 = SWIG_AsVal_int(obj1, &val2);
26809 if (!SWIG_IsOK(ecode2)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26811 }
26812 arg2 = static_cast< int >(val2);
26813 {
26814 PyThreadState* __tstate = wxPyBeginAllowThreads();
26815 (arg1)->SetToPage(arg2);
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 resultobj = SWIG_Py_Void();
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj = 0;
26828 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26829 int arg2 ;
26830 void *argp1 = 0 ;
26831 int res1 = 0 ;
26832 int val2 ;
26833 int ecode2 = 0 ;
26834 PyObject * obj0 = 0 ;
26835 PyObject * obj1 = 0 ;
26836 char * kwnames[] = {
26837 (char *) "self",(char *) "v", NULL
26838 };
26839
26840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26842 if (!SWIG_IsOK(res1)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26844 }
26845 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26846 ecode2 = SWIG_AsVal_int(obj1, &val2);
26847 if (!SWIG_IsOK(ecode2)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26849 }
26850 arg2 = static_cast< int >(val2);
26851 {
26852 PyThreadState* __tstate = wxPyBeginAllowThreads();
26853 (arg1)->SetMinPage(arg2);
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = SWIG_Py_Void();
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj = 0;
26866 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26867 int arg2 ;
26868 void *argp1 = 0 ;
26869 int res1 = 0 ;
26870 int val2 ;
26871 int ecode2 = 0 ;
26872 PyObject * obj0 = 0 ;
26873 PyObject * obj1 = 0 ;
26874 char * kwnames[] = {
26875 (char *) "self",(char *) "v", NULL
26876 };
26877
26878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26880 if (!SWIG_IsOK(res1)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26882 }
26883 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26884 ecode2 = SWIG_AsVal_int(obj1, &val2);
26885 if (!SWIG_IsOK(ecode2)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26887 }
26888 arg2 = static_cast< int >(val2);
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 (arg1)->SetMaxPage(arg2);
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 resultobj = SWIG_Py_Void();
26896 return resultobj;
26897 fail:
26898 return NULL;
26899 }
26900
26901
26902 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj = 0;
26904 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26905 int arg2 ;
26906 void *argp1 = 0 ;
26907 int res1 = 0 ;
26908 int val2 ;
26909 int ecode2 = 0 ;
26910 PyObject * obj0 = 0 ;
26911 PyObject * obj1 = 0 ;
26912 char * kwnames[] = {
26913 (char *) "self",(char *) "v", NULL
26914 };
26915
26916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26918 if (!SWIG_IsOK(res1)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26920 }
26921 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26922 ecode2 = SWIG_AsVal_int(obj1, &val2);
26923 if (!SWIG_IsOK(ecode2)) {
26924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26925 }
26926 arg2 = static_cast< int >(val2);
26927 {
26928 PyThreadState* __tstate = wxPyBeginAllowThreads();
26929 (arg1)->SetNoCopies(arg2);
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 resultobj = SWIG_Py_Void();
26934 return resultobj;
26935 fail:
26936 return NULL;
26937 }
26938
26939
26940 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26941 PyObject *resultobj = 0;
26942 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26943 bool arg2 ;
26944 void *argp1 = 0 ;
26945 int res1 = 0 ;
26946 bool val2 ;
26947 int ecode2 = 0 ;
26948 PyObject * obj0 = 0 ;
26949 PyObject * obj1 = 0 ;
26950 char * kwnames[] = {
26951 (char *) "self",(char *) "flag", NULL
26952 };
26953
26954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26956 if (!SWIG_IsOK(res1)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26958 }
26959 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26960 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26961 if (!SWIG_IsOK(ecode2)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26963 }
26964 arg2 = static_cast< bool >(val2);
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 (arg1)->SetAllPages(arg2);
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 resultobj = SWIG_Py_Void();
26972 return resultobj;
26973 fail:
26974 return NULL;
26975 }
26976
26977
26978 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26979 PyObject *resultobj = 0;
26980 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26981 bool arg2 ;
26982 void *argp1 = 0 ;
26983 int res1 = 0 ;
26984 bool val2 ;
26985 int ecode2 = 0 ;
26986 PyObject * obj0 = 0 ;
26987 PyObject * obj1 = 0 ;
26988 char * kwnames[] = {
26989 (char *) "self",(char *) "flag", NULL
26990 };
26991
26992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26994 if (!SWIG_IsOK(res1)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26996 }
26997 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26998 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26999 if (!SWIG_IsOK(ecode2)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27001 }
27002 arg2 = static_cast< bool >(val2);
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 (arg1)->SetSelection(arg2);
27006 wxPyEndAllowThreads(__tstate);
27007 if (PyErr_Occurred()) SWIG_fail;
27008 }
27009 resultobj = SWIG_Py_Void();
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27017 PyObject *resultobj = 0;
27018 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27019 bool arg2 ;
27020 void *argp1 = 0 ;
27021 int res1 = 0 ;
27022 bool val2 ;
27023 int ecode2 = 0 ;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 char * kwnames[] = {
27027 (char *) "self",(char *) "flag", NULL
27028 };
27029
27030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
27031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27032 if (!SWIG_IsOK(res1)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27034 }
27035 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27036 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27037 if (!SWIG_IsOK(ecode2)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27039 }
27040 arg2 = static_cast< bool >(val2);
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 (arg1)->SetCollate(arg2);
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 resultobj = SWIG_Py_Void();
27048 return resultobj;
27049 fail:
27050 return NULL;
27051 }
27052
27053
27054 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27055 PyObject *resultobj = 0;
27056 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27057 bool arg2 ;
27058 void *argp1 = 0 ;
27059 int res1 = 0 ;
27060 bool val2 ;
27061 int ecode2 = 0 ;
27062 PyObject * obj0 = 0 ;
27063 PyObject * obj1 = 0 ;
27064 char * kwnames[] = {
27065 (char *) "self",(char *) "flag", NULL
27066 };
27067
27068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27070 if (!SWIG_IsOK(res1)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27072 }
27073 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27074 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27075 if (!SWIG_IsOK(ecode2)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27077 }
27078 arg2 = static_cast< bool >(val2);
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 (arg1)->SetPrintToFile(arg2);
27082 wxPyEndAllowThreads(__tstate);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 resultobj = SWIG_Py_Void();
27086 return resultobj;
27087 fail:
27088 return NULL;
27089 }
27090
27091
27092 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27093 PyObject *resultobj = 0;
27094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27095 bool arg2 ;
27096 void *argp1 = 0 ;
27097 int res1 = 0 ;
27098 bool val2 ;
27099 int ecode2 = 0 ;
27100 PyObject * obj0 = 0 ;
27101 PyObject * obj1 = 0 ;
27102 char * kwnames[] = {
27103 (char *) "self",(char *) "flag", NULL
27104 };
27105
27106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27108 if (!SWIG_IsOK(res1)) {
27109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27110 }
27111 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27112 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27113 if (!SWIG_IsOK(ecode2)) {
27114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27115 }
27116 arg2 = static_cast< bool >(val2);
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 (arg1)->EnablePrintToFile(arg2);
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 resultobj = SWIG_Py_Void();
27124 return resultobj;
27125 fail:
27126 return NULL;
27127 }
27128
27129
27130 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj = 0;
27132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27133 bool arg2 ;
27134 void *argp1 = 0 ;
27135 int res1 = 0 ;
27136 bool val2 ;
27137 int ecode2 = 0 ;
27138 PyObject * obj0 = 0 ;
27139 PyObject * obj1 = 0 ;
27140 char * kwnames[] = {
27141 (char *) "self",(char *) "flag", NULL
27142 };
27143
27144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27146 if (!SWIG_IsOK(res1)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27148 }
27149 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27150 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27151 if (!SWIG_IsOK(ecode2)) {
27152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27153 }
27154 arg2 = static_cast< bool >(val2);
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 (arg1)->EnableSelection(arg2);
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 resultobj = SWIG_Py_Void();
27162 return resultobj;
27163 fail:
27164 return NULL;
27165 }
27166
27167
27168 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27169 PyObject *resultobj = 0;
27170 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27171 bool arg2 ;
27172 void *argp1 = 0 ;
27173 int res1 = 0 ;
27174 bool val2 ;
27175 int ecode2 = 0 ;
27176 PyObject * obj0 = 0 ;
27177 PyObject * obj1 = 0 ;
27178 char * kwnames[] = {
27179 (char *) "self",(char *) "flag", NULL
27180 };
27181
27182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27184 if (!SWIG_IsOK(res1)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27186 }
27187 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27188 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27189 if (!SWIG_IsOK(ecode2)) {
27190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27191 }
27192 arg2 = static_cast< bool >(val2);
27193 {
27194 PyThreadState* __tstate = wxPyBeginAllowThreads();
27195 (arg1)->EnablePageNumbers(arg2);
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
27199 resultobj = SWIG_Py_Void();
27200 return resultobj;
27201 fail:
27202 return NULL;
27203 }
27204
27205
27206 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj = 0;
27208 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27209 bool arg2 ;
27210 void *argp1 = 0 ;
27211 int res1 = 0 ;
27212 bool val2 ;
27213 int ecode2 = 0 ;
27214 PyObject * obj0 = 0 ;
27215 PyObject * obj1 = 0 ;
27216 char * kwnames[] = {
27217 (char *) "self",(char *) "flag", NULL
27218 };
27219
27220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27222 if (!SWIG_IsOK(res1)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27224 }
27225 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27226 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27227 if (!SWIG_IsOK(ecode2)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27229 }
27230 arg2 = static_cast< bool >(val2);
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 (arg1)->EnableHelp(arg2);
27234 wxPyEndAllowThreads(__tstate);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 resultobj = SWIG_Py_Void();
27238 return resultobj;
27239 fail:
27240 return NULL;
27241 }
27242
27243
27244 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27245 PyObject *resultobj = 0;
27246 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27247 bool result;
27248 void *argp1 = 0 ;
27249 int res1 = 0 ;
27250 PyObject *swig_obj[1] ;
27251
27252 if (!args) SWIG_fail;
27253 swig_obj[0] = args;
27254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27255 if (!SWIG_IsOK(res1)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27257 }
27258 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27259 {
27260 PyThreadState* __tstate = wxPyBeginAllowThreads();
27261 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27262 wxPyEndAllowThreads(__tstate);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 {
27266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27267 }
27268 return resultobj;
27269 fail:
27270 return NULL;
27271 }
27272
27273
27274 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27275 PyObject *resultobj = 0;
27276 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27277 bool result;
27278 void *argp1 = 0 ;
27279 int res1 = 0 ;
27280 PyObject *swig_obj[1] ;
27281
27282 if (!args) SWIG_fail;
27283 swig_obj[0] = args;
27284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27285 if (!SWIG_IsOK(res1)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27287 }
27288 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 {
27296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27297 }
27298 return resultobj;
27299 fail:
27300 return NULL;
27301 }
27302
27303
27304 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27305 PyObject *resultobj = 0;
27306 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27307 bool result;
27308 void *argp1 = 0 ;
27309 int res1 = 0 ;
27310 PyObject *swig_obj[1] ;
27311
27312 if (!args) SWIG_fail;
27313 swig_obj[0] = args;
27314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27315 if (!SWIG_IsOK(res1)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27317 }
27318 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 {
27326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27327 }
27328 return resultobj;
27329 fail:
27330 return NULL;
27331 }
27332
27333
27334 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *resultobj = 0;
27336 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27337 bool result;
27338 void *argp1 = 0 ;
27339 int res1 = 0 ;
27340 PyObject *swig_obj[1] ;
27341
27342 if (!args) SWIG_fail;
27343 swig_obj[0] = args;
27344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27345 if (!SWIG_IsOK(res1)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27347 }
27348 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27352 wxPyEndAllowThreads(__tstate);
27353 if (PyErr_Occurred()) SWIG_fail;
27354 }
27355 {
27356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27357 }
27358 return resultobj;
27359 fail:
27360 return NULL;
27361 }
27362
27363
27364 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27365 PyObject *resultobj = 0;
27366 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27367 bool result;
27368 void *argp1 = 0 ;
27369 int res1 = 0 ;
27370 PyObject *swig_obj[1] ;
27371
27372 if (!args) SWIG_fail;
27373 swig_obj[0] = args;
27374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27375 if (!SWIG_IsOK(res1)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27377 }
27378 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27382 wxPyEndAllowThreads(__tstate);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
27385 {
27386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27387 }
27388 return resultobj;
27389 fail:
27390 return NULL;
27391 }
27392
27393
27394 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27395 PyObject *resultobj = 0;
27396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27397 wxPrintData *result = 0 ;
27398 void *argp1 = 0 ;
27399 int res1 = 0 ;
27400 PyObject *swig_obj[1] ;
27401
27402 if (!args) SWIG_fail;
27403 swig_obj[0] = args;
27404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27405 if (!SWIG_IsOK(res1)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27407 }
27408 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 {
27412 wxPrintData &_result_ref = (arg1)->GetPrintData();
27413 result = (wxPrintData *) &_result_ref;
27414 }
27415 wxPyEndAllowThreads(__tstate);
27416 if (PyErr_Occurred()) SWIG_fail;
27417 }
27418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27419 return resultobj;
27420 fail:
27421 return NULL;
27422 }
27423
27424
27425 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27426 PyObject *resultobj = 0;
27427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27428 wxPrintData *arg2 = 0 ;
27429 void *argp1 = 0 ;
27430 int res1 = 0 ;
27431 void *argp2 = 0 ;
27432 int res2 = 0 ;
27433 PyObject * obj0 = 0 ;
27434 PyObject * obj1 = 0 ;
27435 char * kwnames[] = {
27436 (char *) "self",(char *) "printData", NULL
27437 };
27438
27439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27441 if (!SWIG_IsOK(res1)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27443 }
27444 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27445 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27446 if (!SWIG_IsOK(res2)) {
27447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27448 }
27449 if (!argp2) {
27450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27451 }
27452 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27456 wxPyEndAllowThreads(__tstate);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 }
27459 resultobj = SWIG_Py_Void();
27460 return resultobj;
27461 fail:
27462 return NULL;
27463 }
27464
27465
27466 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27467 PyObject *obj;
27468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27469 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27470 return SWIG_Py_Void();
27471 }
27472
27473 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27474 return SWIG_Python_InitShadowInstance(args);
27475 }
27476
27477 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27478 PyObject *resultobj = 0;
27479 wxWindow *arg1 = (wxWindow *) 0 ;
27480 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27481 wxPrintDialog *result = 0 ;
27482 void *argp1 = 0 ;
27483 int res1 = 0 ;
27484 void *argp2 = 0 ;
27485 int res2 = 0 ;
27486 PyObject * obj0 = 0 ;
27487 PyObject * obj1 = 0 ;
27488 char * kwnames[] = {
27489 (char *) "parent",(char *) "data", NULL
27490 };
27491
27492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27494 if (!SWIG_IsOK(res1)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27496 }
27497 arg1 = reinterpret_cast< wxWindow * >(argp1);
27498 if (obj1) {
27499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27500 if (!SWIG_IsOK(res2)) {
27501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27502 }
27503 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27504 }
27505 {
27506 if (!wxPyCheckForApp()) SWIG_fail;
27507 PyThreadState* __tstate = wxPyBeginAllowThreads();
27508 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27509 wxPyEndAllowThreads(__tstate);
27510 if (PyErr_Occurred()) SWIG_fail;
27511 }
27512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27513 return resultobj;
27514 fail:
27515 return NULL;
27516 }
27517
27518
27519 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27520 PyObject *resultobj = 0;
27521 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27522 void *argp1 = 0 ;
27523 int res1 = 0 ;
27524 PyObject *swig_obj[1] ;
27525
27526 if (!args) SWIG_fail;
27527 swig_obj[0] = args;
27528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27529 if (!SWIG_IsOK(res1)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27531 }
27532 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27533 {
27534 PyThreadState* __tstate = wxPyBeginAllowThreads();
27535 delete arg1;
27536
27537 wxPyEndAllowThreads(__tstate);
27538 if (PyErr_Occurred()) SWIG_fail;
27539 }
27540 resultobj = SWIG_Py_Void();
27541 return resultobj;
27542 fail:
27543 return NULL;
27544 }
27545
27546
27547 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27548 PyObject *resultobj = 0;
27549 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27550 int result;
27551 void *argp1 = 0 ;
27552 int res1 = 0 ;
27553 PyObject *swig_obj[1] ;
27554
27555 if (!args) SWIG_fail;
27556 swig_obj[0] = args;
27557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27558 if (!SWIG_IsOK(res1)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27560 }
27561 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27562 {
27563 PyThreadState* __tstate = wxPyBeginAllowThreads();
27564 result = (int)(arg1)->ShowModal();
27565 wxPyEndAllowThreads(__tstate);
27566 if (PyErr_Occurred()) SWIG_fail;
27567 }
27568 resultobj = SWIG_From_int(static_cast< int >(result));
27569 return resultobj;
27570 fail:
27571 return NULL;
27572 }
27573
27574
27575 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27576 PyObject *resultobj = 0;
27577 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27578 wxPrintDialogData *result = 0 ;
27579 void *argp1 = 0 ;
27580 int res1 = 0 ;
27581 PyObject *swig_obj[1] ;
27582
27583 if (!args) SWIG_fail;
27584 swig_obj[0] = args;
27585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27586 if (!SWIG_IsOK(res1)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27588 }
27589 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27590 {
27591 PyThreadState* __tstate = wxPyBeginAllowThreads();
27592 {
27593 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27594 result = (wxPrintDialogData *) &_result_ref;
27595 }
27596 wxPyEndAllowThreads(__tstate);
27597 if (PyErr_Occurred()) SWIG_fail;
27598 }
27599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27600 return resultobj;
27601 fail:
27602 return NULL;
27603 }
27604
27605
27606 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27607 PyObject *resultobj = 0;
27608 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27609 wxPrintData *result = 0 ;
27610 void *argp1 = 0 ;
27611 int res1 = 0 ;
27612 PyObject *swig_obj[1] ;
27613
27614 if (!args) SWIG_fail;
27615 swig_obj[0] = args;
27616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27617 if (!SWIG_IsOK(res1)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27619 }
27620 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27621 {
27622 PyThreadState* __tstate = wxPyBeginAllowThreads();
27623 {
27624 wxPrintData &_result_ref = (arg1)->GetPrintData();
27625 result = (wxPrintData *) &_result_ref;
27626 }
27627 wxPyEndAllowThreads(__tstate);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
27630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27631 return resultobj;
27632 fail:
27633 return NULL;
27634 }
27635
27636
27637 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27638 PyObject *resultobj = 0;
27639 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27640 wxDC *result = 0 ;
27641 void *argp1 = 0 ;
27642 int res1 = 0 ;
27643 PyObject *swig_obj[1] ;
27644
27645 if (!args) SWIG_fail;
27646 swig_obj[0] = args;
27647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27648 if (!SWIG_IsOK(res1)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27650 }
27651 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27652 {
27653 PyThreadState* __tstate = wxPyBeginAllowThreads();
27654 result = (wxDC *)(arg1)->GetPrintDC();
27655 wxPyEndAllowThreads(__tstate);
27656 if (PyErr_Occurred()) SWIG_fail;
27657 }
27658 {
27659 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27660 }
27661 return resultobj;
27662 fail:
27663 return NULL;
27664 }
27665
27666
27667 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27668 PyObject *obj;
27669 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27670 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27671 return SWIG_Py_Void();
27672 }
27673
27674 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27675 return SWIG_Python_InitShadowInstance(args);
27676 }
27677
27678 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27679 PyObject *resultobj = 0;
27680 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27681 wxPrinter *result = 0 ;
27682 void *argp1 = 0 ;
27683 int res1 = 0 ;
27684 PyObject * obj0 = 0 ;
27685 char * kwnames[] = {
27686 (char *) "data", NULL
27687 };
27688
27689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27690 if (obj0) {
27691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27692 if (!SWIG_IsOK(res1)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27694 }
27695 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27696 }
27697 {
27698 if (!wxPyCheckForApp()) SWIG_fail;
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 result = (wxPrinter *)new wxPrinter(arg1);
27701 wxPyEndAllowThreads(__tstate);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
27704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27705 return resultobj;
27706 fail:
27707 return NULL;
27708 }
27709
27710
27711 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27712 PyObject *resultobj = 0;
27713 wxPrinter *arg1 = (wxPrinter *) 0 ;
27714 void *argp1 = 0 ;
27715 int res1 = 0 ;
27716 PyObject *swig_obj[1] ;
27717
27718 if (!args) SWIG_fail;
27719 swig_obj[0] = args;
27720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27721 if (!SWIG_IsOK(res1)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27723 }
27724 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 delete arg1;
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 resultobj = SWIG_Py_Void();
27733 return resultobj;
27734 fail:
27735 return NULL;
27736 }
27737
27738
27739 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27740 PyObject *resultobj = 0;
27741 wxPrinter *arg1 = (wxPrinter *) 0 ;
27742 wxWindow *arg2 = (wxWindow *) 0 ;
27743 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27744 wxWindow *result = 0 ;
27745 void *argp1 = 0 ;
27746 int res1 = 0 ;
27747 void *argp2 = 0 ;
27748 int res2 = 0 ;
27749 void *argp3 = 0 ;
27750 int res3 = 0 ;
27751 PyObject * obj0 = 0 ;
27752 PyObject * obj1 = 0 ;
27753 PyObject * obj2 = 0 ;
27754 char * kwnames[] = {
27755 (char *) "self",(char *) "parent",(char *) "printout", NULL
27756 };
27757
27758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27760 if (!SWIG_IsOK(res1)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27762 }
27763 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27764 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27765 if (!SWIG_IsOK(res2)) {
27766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27767 }
27768 arg2 = reinterpret_cast< wxWindow * >(argp2);
27769 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27770 if (!SWIG_IsOK(res3)) {
27771 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27772 }
27773 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27774 {
27775 PyThreadState* __tstate = wxPyBeginAllowThreads();
27776 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27777 wxPyEndAllowThreads(__tstate);
27778 if (PyErr_Occurred()) SWIG_fail;
27779 }
27780 {
27781 resultobj = wxPyMake_wxObject(result, 0);
27782 }
27783 return resultobj;
27784 fail:
27785 return NULL;
27786 }
27787
27788
27789 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27790 PyObject *resultobj = 0;
27791 wxPrinter *arg1 = (wxPrinter *) 0 ;
27792 wxWindow *arg2 = (wxWindow *) 0 ;
27793 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27794 wxString *arg4 = 0 ;
27795 void *argp1 = 0 ;
27796 int res1 = 0 ;
27797 void *argp2 = 0 ;
27798 int res2 = 0 ;
27799 void *argp3 = 0 ;
27800 int res3 = 0 ;
27801 bool temp4 = false ;
27802 PyObject * obj0 = 0 ;
27803 PyObject * obj1 = 0 ;
27804 PyObject * obj2 = 0 ;
27805 PyObject * obj3 = 0 ;
27806 char * kwnames[] = {
27807 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27808 };
27809
27810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27812 if (!SWIG_IsOK(res1)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27814 }
27815 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27816 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27817 if (!SWIG_IsOK(res2)) {
27818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27819 }
27820 arg2 = reinterpret_cast< wxWindow * >(argp2);
27821 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27822 if (!SWIG_IsOK(res3)) {
27823 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27824 }
27825 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27826 {
27827 arg4 = wxString_in_helper(obj3);
27828 if (arg4 == NULL) SWIG_fail;
27829 temp4 = true;
27830 }
27831 {
27832 PyThreadState* __tstate = wxPyBeginAllowThreads();
27833 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
27837 resultobj = SWIG_Py_Void();
27838 {
27839 if (temp4)
27840 delete arg4;
27841 }
27842 return resultobj;
27843 fail:
27844 {
27845 if (temp4)
27846 delete arg4;
27847 }
27848 return NULL;
27849 }
27850
27851
27852 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27853 PyObject *resultobj = 0;
27854 wxPrinter *arg1 = (wxPrinter *) 0 ;
27855 wxWindow *arg2 = (wxWindow *) 0 ;
27856 bool result;
27857 void *argp1 = 0 ;
27858 int res1 = 0 ;
27859 void *argp2 = 0 ;
27860 int res2 = 0 ;
27861 PyObject * obj0 = 0 ;
27862 PyObject * obj1 = 0 ;
27863 char * kwnames[] = {
27864 (char *) "self",(char *) "parent", NULL
27865 };
27866
27867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27869 if (!SWIG_IsOK(res1)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27871 }
27872 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27874 if (!SWIG_IsOK(res2)) {
27875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27876 }
27877 arg2 = reinterpret_cast< wxWindow * >(argp2);
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 result = (bool)(arg1)->Setup(arg2);
27881 wxPyEndAllowThreads(__tstate);
27882 if (PyErr_Occurred()) SWIG_fail;
27883 }
27884 {
27885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27886 }
27887 return resultobj;
27888 fail:
27889 return NULL;
27890 }
27891
27892
27893 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27894 PyObject *resultobj = 0;
27895 wxPrinter *arg1 = (wxPrinter *) 0 ;
27896 wxWindow *arg2 = (wxWindow *) 0 ;
27897 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27898 bool arg4 = (bool) true ;
27899 bool result;
27900 void *argp1 = 0 ;
27901 int res1 = 0 ;
27902 void *argp2 = 0 ;
27903 int res2 = 0 ;
27904 void *argp3 = 0 ;
27905 int res3 = 0 ;
27906 bool val4 ;
27907 int ecode4 = 0 ;
27908 PyObject * obj0 = 0 ;
27909 PyObject * obj1 = 0 ;
27910 PyObject * obj2 = 0 ;
27911 PyObject * obj3 = 0 ;
27912 char * kwnames[] = {
27913 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27914 };
27915
27916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27918 if (!SWIG_IsOK(res1)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27920 }
27921 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27922 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27923 if (!SWIG_IsOK(res2)) {
27924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27925 }
27926 arg2 = reinterpret_cast< wxWindow * >(argp2);
27927 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27928 if (!SWIG_IsOK(res3)) {
27929 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27930 }
27931 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27932 if (obj3) {
27933 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27934 if (!SWIG_IsOK(ecode4)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27936 }
27937 arg4 = static_cast< bool >(val4);
27938 }
27939 {
27940 PyThreadState* __tstate = wxPyBeginAllowThreads();
27941 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27942 wxPyEndAllowThreads(__tstate);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 {
27946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27947 }
27948 return resultobj;
27949 fail:
27950 return NULL;
27951 }
27952
27953
27954 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27955 PyObject *resultobj = 0;
27956 wxPrinter *arg1 = (wxPrinter *) 0 ;
27957 wxWindow *arg2 = (wxWindow *) 0 ;
27958 wxDC *result = 0 ;
27959 void *argp1 = 0 ;
27960 int res1 = 0 ;
27961 void *argp2 = 0 ;
27962 int res2 = 0 ;
27963 PyObject * obj0 = 0 ;
27964 PyObject * obj1 = 0 ;
27965 char * kwnames[] = {
27966 (char *) "self",(char *) "parent", NULL
27967 };
27968
27969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27971 if (!SWIG_IsOK(res1)) {
27972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27973 }
27974 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27975 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27976 if (!SWIG_IsOK(res2)) {
27977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27978 }
27979 arg2 = reinterpret_cast< wxWindow * >(argp2);
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
27982 result = (wxDC *)(arg1)->PrintDialog(arg2);
27983 wxPyEndAllowThreads(__tstate);
27984 if (PyErr_Occurred()) SWIG_fail;
27985 }
27986 {
27987 resultobj = wxPyMake_wxObject(result, (bool)0);
27988 }
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27996 PyObject *resultobj = 0;
27997 wxPrinter *arg1 = (wxPrinter *) 0 ;
27998 wxPrintDialogData *result = 0 ;
27999 void *argp1 = 0 ;
28000 int res1 = 0 ;
28001 PyObject *swig_obj[1] ;
28002
28003 if (!args) SWIG_fail;
28004 swig_obj[0] = args;
28005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28006 if (!SWIG_IsOK(res1)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28008 }
28009 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 {
28013 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
28014 result = (wxPrintDialogData *) &_result_ref;
28015 }
28016 wxPyEndAllowThreads(__tstate);
28017 if (PyErr_Occurred()) SWIG_fail;
28018 }
28019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28020 return resultobj;
28021 fail:
28022 return NULL;
28023 }
28024
28025
28026 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28027 PyObject *resultobj = 0;
28028 wxPrinter *arg1 = (wxPrinter *) 0 ;
28029 bool result;
28030 void *argp1 = 0 ;
28031 int res1 = 0 ;
28032 PyObject *swig_obj[1] ;
28033
28034 if (!args) SWIG_fail;
28035 swig_obj[0] = args;
28036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28037 if (!SWIG_IsOK(res1)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28039 }
28040 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28041 {
28042 PyThreadState* __tstate = wxPyBeginAllowThreads();
28043 result = (bool)(arg1)->GetAbort();
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 {
28048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28049 }
28050 return resultobj;
28051 fail:
28052 return NULL;
28053 }
28054
28055
28056 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28057 PyObject *resultobj = 0;
28058 wxPrinterError result;
28059
28060 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 result = (wxPrinterError)wxPrinter::GetLastError();
28064 wxPyEndAllowThreads(__tstate);
28065 if (PyErr_Occurred()) SWIG_fail;
28066 }
28067 resultobj = SWIG_From_int(static_cast< int >(result));
28068 return resultobj;
28069 fail:
28070 return NULL;
28071 }
28072
28073
28074 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28075 PyObject *obj;
28076 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28077 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28078 return SWIG_Py_Void();
28079 }
28080
28081 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28082 return SWIG_Python_InitShadowInstance(args);
28083 }
28084
28085 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj = 0;
28087 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28088 wxString *arg1 = (wxString *) &arg1_defvalue ;
28089 wxPyPrintout *result = 0 ;
28090 bool temp1 = false ;
28091 PyObject * obj0 = 0 ;
28092 char * kwnames[] = {
28093 (char *) "title", NULL
28094 };
28095
28096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28097 if (obj0) {
28098 {
28099 arg1 = wxString_in_helper(obj0);
28100 if (arg1 == NULL) SWIG_fail;
28101 temp1 = true;
28102 }
28103 }
28104 {
28105 if (!wxPyCheckForApp()) SWIG_fail;
28106 PyThreadState* __tstate = wxPyBeginAllowThreads();
28107 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28108 wxPyEndAllowThreads(__tstate);
28109 if (PyErr_Occurred()) SWIG_fail;
28110 }
28111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28112 {
28113 if (temp1)
28114 delete arg1;
28115 }
28116 return resultobj;
28117 fail:
28118 {
28119 if (temp1)
28120 delete arg1;
28121 }
28122 return NULL;
28123 }
28124
28125
28126 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28127 PyObject *resultobj = 0;
28128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28129 void *argp1 = 0 ;
28130 int res1 = 0 ;
28131 PyObject *swig_obj[1] ;
28132
28133 if (!args) SWIG_fail;
28134 swig_obj[0] = args;
28135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28136 if (!SWIG_IsOK(res1)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28138 }
28139 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 delete arg1;
28143
28144 wxPyEndAllowThreads(__tstate);
28145 if (PyErr_Occurred()) SWIG_fail;
28146 }
28147 resultobj = SWIG_Py_Void();
28148 return resultobj;
28149 fail:
28150 return NULL;
28151 }
28152
28153
28154 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28155 PyObject *resultobj = 0;
28156 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28157 PyObject *arg2 = (PyObject *) 0 ;
28158 PyObject *arg3 = (PyObject *) 0 ;
28159 void *argp1 = 0 ;
28160 int res1 = 0 ;
28161 PyObject * obj0 = 0 ;
28162 PyObject * obj1 = 0 ;
28163 PyObject * obj2 = 0 ;
28164 char * kwnames[] = {
28165 (char *) "self",(char *) "self",(char *) "_class", NULL
28166 };
28167
28168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28170 if (!SWIG_IsOK(res1)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28172 }
28173 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28174 arg2 = obj1;
28175 arg3 = obj2;
28176 {
28177 PyThreadState* __tstate = wxPyBeginAllowThreads();
28178 (arg1)->_setCallbackInfo(arg2,arg3);
28179 wxPyEndAllowThreads(__tstate);
28180 if (PyErr_Occurred()) SWIG_fail;
28181 }
28182 resultobj = SWIG_Py_Void();
28183 return resultobj;
28184 fail:
28185 return NULL;
28186 }
28187
28188
28189 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28190 PyObject *resultobj = 0;
28191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28192 wxString result;
28193 void *argp1 = 0 ;
28194 int res1 = 0 ;
28195 PyObject *swig_obj[1] ;
28196
28197 if (!args) SWIG_fail;
28198 swig_obj[0] = args;
28199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28200 if (!SWIG_IsOK(res1)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28202 }
28203 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28204 {
28205 PyThreadState* __tstate = wxPyBeginAllowThreads();
28206 result = ((wxPyPrintout const *)arg1)->GetTitle();
28207 wxPyEndAllowThreads(__tstate);
28208 if (PyErr_Occurred()) SWIG_fail;
28209 }
28210 {
28211 #if wxUSE_UNICODE
28212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28213 #else
28214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28215 #endif
28216 }
28217 return resultobj;
28218 fail:
28219 return NULL;
28220 }
28221
28222
28223 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28224 PyObject *resultobj = 0;
28225 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28226 wxDC *result = 0 ;
28227 void *argp1 = 0 ;
28228 int res1 = 0 ;
28229 PyObject *swig_obj[1] ;
28230
28231 if (!args) SWIG_fail;
28232 swig_obj[0] = args;
28233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28234 if (!SWIG_IsOK(res1)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28236 }
28237 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28238 {
28239 PyThreadState* __tstate = wxPyBeginAllowThreads();
28240 result = (wxDC *)(arg1)->GetDC();
28241 wxPyEndAllowThreads(__tstate);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 }
28244 {
28245 resultobj = wxPyMake_wxObject(result, (bool)0);
28246 }
28247 return resultobj;
28248 fail:
28249 return NULL;
28250 }
28251
28252
28253 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28254 PyObject *resultobj = 0;
28255 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28256 wxDC *arg2 = (wxDC *) 0 ;
28257 void *argp1 = 0 ;
28258 int res1 = 0 ;
28259 void *argp2 = 0 ;
28260 int res2 = 0 ;
28261 PyObject * obj0 = 0 ;
28262 PyObject * obj1 = 0 ;
28263 char * kwnames[] = {
28264 (char *) "self",(char *) "dc", NULL
28265 };
28266
28267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28269 if (!SWIG_IsOK(res1)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28271 }
28272 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28274 if (!SWIG_IsOK(res2)) {
28275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28276 }
28277 arg2 = reinterpret_cast< wxDC * >(argp2);
28278 {
28279 PyThreadState* __tstate = wxPyBeginAllowThreads();
28280 (arg1)->SetDC(arg2);
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
28284 resultobj = SWIG_Py_Void();
28285 return resultobj;
28286 fail:
28287 return NULL;
28288 }
28289
28290
28291 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28292 PyObject *resultobj = 0;
28293 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28294 wxSize *arg2 = 0 ;
28295 void *argp1 = 0 ;
28296 int res1 = 0 ;
28297 wxSize temp2 ;
28298 PyObject * obj0 = 0 ;
28299 PyObject * obj1 = 0 ;
28300 char * kwnames[] = {
28301 (char *) "self",(char *) "imageSize", NULL
28302 };
28303
28304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28306 if (!SWIG_IsOK(res1)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28308 }
28309 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28310 {
28311 arg2 = &temp2;
28312 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28313 }
28314 {
28315 PyThreadState* __tstate = wxPyBeginAllowThreads();
28316 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28317 wxPyEndAllowThreads(__tstate);
28318 if (PyErr_Occurred()) SWIG_fail;
28319 }
28320 resultobj = SWIG_Py_Void();
28321 return resultobj;
28322 fail:
28323 return NULL;
28324 }
28325
28326
28327 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj = 0;
28329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28330 wxSize *arg2 = 0 ;
28331 void *argp1 = 0 ;
28332 int res1 = 0 ;
28333 wxSize temp2 ;
28334 PyObject * obj0 = 0 ;
28335 PyObject * obj1 = 0 ;
28336 char * kwnames[] = {
28337 (char *) "self",(char *) "imageSize", NULL
28338 };
28339
28340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28342 if (!SWIG_IsOK(res1)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28344 }
28345 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28346 {
28347 arg2 = &temp2;
28348 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28349 }
28350 {
28351 PyThreadState* __tstate = wxPyBeginAllowThreads();
28352 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28353 wxPyEndAllowThreads(__tstate);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 resultobj = SWIG_Py_Void();
28357 return resultobj;
28358 fail:
28359 return NULL;
28360 }
28361
28362
28363 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28364 PyObject *resultobj = 0;
28365 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28366 wxSize *arg2 = 0 ;
28367 wxPageSetupDialogData *arg3 = 0 ;
28368 void *argp1 = 0 ;
28369 int res1 = 0 ;
28370 wxSize temp2 ;
28371 void *argp3 = 0 ;
28372 int res3 = 0 ;
28373 PyObject * obj0 = 0 ;
28374 PyObject * obj1 = 0 ;
28375 PyObject * obj2 = 0 ;
28376 char * kwnames[] = {
28377 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28378 };
28379
28380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28382 if (!SWIG_IsOK(res1)) {
28383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28384 }
28385 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28386 {
28387 arg2 = &temp2;
28388 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28389 }
28390 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28391 if (!SWIG_IsOK(res3)) {
28392 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28393 }
28394 if (!argp3) {
28395 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28396 }
28397 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28398 {
28399 PyThreadState* __tstate = wxPyBeginAllowThreads();
28400 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28401 wxPyEndAllowThreads(__tstate);
28402 if (PyErr_Occurred()) SWIG_fail;
28403 }
28404 resultobj = SWIG_Py_Void();
28405 return resultobj;
28406 fail:
28407 return NULL;
28408 }
28409
28410
28411 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28412 PyObject *resultobj = 0;
28413 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28414 void *argp1 = 0 ;
28415 int res1 = 0 ;
28416 PyObject *swig_obj[1] ;
28417
28418 if (!args) SWIG_fail;
28419 swig_obj[0] = args;
28420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28421 if (!SWIG_IsOK(res1)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28423 }
28424 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28425 {
28426 PyThreadState* __tstate = wxPyBeginAllowThreads();
28427 (arg1)->MapScreenSizeToPaper();
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 resultobj = SWIG_Py_Void();
28432 return resultobj;
28433 fail:
28434 return NULL;
28435 }
28436
28437
28438 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28439 PyObject *resultobj = 0;
28440 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28441 void *argp1 = 0 ;
28442 int res1 = 0 ;
28443 PyObject *swig_obj[1] ;
28444
28445 if (!args) SWIG_fail;
28446 swig_obj[0] = args;
28447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28448 if (!SWIG_IsOK(res1)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28450 }
28451 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28452 {
28453 PyThreadState* __tstate = wxPyBeginAllowThreads();
28454 (arg1)->MapScreenSizeToPage();
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 resultobj = SWIG_Py_Void();
28459 return resultobj;
28460 fail:
28461 return NULL;
28462 }
28463
28464
28465 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28466 PyObject *resultobj = 0;
28467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28468 wxPageSetupDialogData *arg2 = 0 ;
28469 void *argp1 = 0 ;
28470 int res1 = 0 ;
28471 void *argp2 = 0 ;
28472 int res2 = 0 ;
28473 PyObject * obj0 = 0 ;
28474 PyObject * obj1 = 0 ;
28475 char * kwnames[] = {
28476 (char *) "self",(char *) "pageSetupData", NULL
28477 };
28478
28479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28481 if (!SWIG_IsOK(res1)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28483 }
28484 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28485 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28486 if (!SWIG_IsOK(res2)) {
28487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28488 }
28489 if (!argp2) {
28490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28491 }
28492 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28493 {
28494 PyThreadState* __tstate = wxPyBeginAllowThreads();
28495 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28496 wxPyEndAllowThreads(__tstate);
28497 if (PyErr_Occurred()) SWIG_fail;
28498 }
28499 resultobj = SWIG_Py_Void();
28500 return resultobj;
28501 fail:
28502 return NULL;
28503 }
28504
28505
28506 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28507 PyObject *resultobj = 0;
28508 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28509 void *argp1 = 0 ;
28510 int res1 = 0 ;
28511 PyObject *swig_obj[1] ;
28512
28513 if (!args) SWIG_fail;
28514 swig_obj[0] = args;
28515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28516 if (!SWIG_IsOK(res1)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28518 }
28519 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 (arg1)->MapScreenSizeToDevice();
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 resultobj = SWIG_Py_Void();
28527 return resultobj;
28528 fail:
28529 return NULL;
28530 }
28531
28532
28533 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28534 PyObject *resultobj = 0;
28535 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28536 wxRect result;
28537 void *argp1 = 0 ;
28538 int res1 = 0 ;
28539 PyObject *swig_obj[1] ;
28540
28541 if (!args) SWIG_fail;
28542 swig_obj[0] = args;
28543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28544 if (!SWIG_IsOK(res1)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28546 }
28547 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
28554 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28555 return resultobj;
28556 fail:
28557 return NULL;
28558 }
28559
28560
28561 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28562 PyObject *resultobj = 0;
28563 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28564 wxRect result;
28565 void *argp1 = 0 ;
28566 int res1 = 0 ;
28567 PyObject *swig_obj[1] ;
28568
28569 if (!args) SWIG_fail;
28570 swig_obj[0] = args;
28571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28572 if (!SWIG_IsOK(res1)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28574 }
28575 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28576 {
28577 PyThreadState* __tstate = wxPyBeginAllowThreads();
28578 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28583 return resultobj;
28584 fail:
28585 return NULL;
28586 }
28587
28588
28589 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj = 0;
28591 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28592 wxPageSetupDialogData *arg2 = 0 ;
28593 wxRect result;
28594 void *argp1 = 0 ;
28595 int res1 = 0 ;
28596 void *argp2 = 0 ;
28597 int res2 = 0 ;
28598 PyObject * obj0 = 0 ;
28599 PyObject * obj1 = 0 ;
28600 char * kwnames[] = {
28601 (char *) "self",(char *) "pageSetupData", NULL
28602 };
28603
28604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28606 if (!SWIG_IsOK(res1)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28608 }
28609 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28610 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28611 if (!SWIG_IsOK(res2)) {
28612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28613 }
28614 if (!argp2) {
28615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28616 }
28617 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28618 {
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28621 wxPyEndAllowThreads(__tstate);
28622 if (PyErr_Occurred()) SWIG_fail;
28623 }
28624 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28625 return resultobj;
28626 fail:
28627 return NULL;
28628 }
28629
28630
28631 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28632 PyObject *resultobj = 0;
28633 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28634 int arg2 ;
28635 int arg3 ;
28636 void *argp1 = 0 ;
28637 int res1 = 0 ;
28638 int val2 ;
28639 int ecode2 = 0 ;
28640 int val3 ;
28641 int ecode3 = 0 ;
28642 PyObject * obj0 = 0 ;
28643 PyObject * obj1 = 0 ;
28644 PyObject * obj2 = 0 ;
28645 char * kwnames[] = {
28646 (char *) "self",(char *) "x",(char *) "y", NULL
28647 };
28648
28649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28651 if (!SWIG_IsOK(res1)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28653 }
28654 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28655 ecode2 = SWIG_AsVal_int(obj1, &val2);
28656 if (!SWIG_IsOK(ecode2)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28658 }
28659 arg2 = static_cast< int >(val2);
28660 ecode3 = SWIG_AsVal_int(obj2, &val3);
28661 if (!SWIG_IsOK(ecode3)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28663 }
28664 arg3 = static_cast< int >(val3);
28665 {
28666 PyThreadState* __tstate = wxPyBeginAllowThreads();
28667 (arg1)->SetLogicalOrigin(arg2,arg3);
28668 wxPyEndAllowThreads(__tstate);
28669 if (PyErr_Occurred()) SWIG_fail;
28670 }
28671 resultobj = SWIG_Py_Void();
28672 return resultobj;
28673 fail:
28674 return NULL;
28675 }
28676
28677
28678 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28679 PyObject *resultobj = 0;
28680 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28681 int arg2 ;
28682 int arg3 ;
28683 void *argp1 = 0 ;
28684 int res1 = 0 ;
28685 int val2 ;
28686 int ecode2 = 0 ;
28687 int val3 ;
28688 int ecode3 = 0 ;
28689 PyObject * obj0 = 0 ;
28690 PyObject * obj1 = 0 ;
28691 PyObject * obj2 = 0 ;
28692 char * kwnames[] = {
28693 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28694 };
28695
28696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28698 if (!SWIG_IsOK(res1)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28700 }
28701 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28702 ecode2 = SWIG_AsVal_int(obj1, &val2);
28703 if (!SWIG_IsOK(ecode2)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28705 }
28706 arg2 = static_cast< int >(val2);
28707 ecode3 = SWIG_AsVal_int(obj2, &val3);
28708 if (!SWIG_IsOK(ecode3)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28710 }
28711 arg3 = static_cast< int >(val3);
28712 {
28713 PyThreadState* __tstate = wxPyBeginAllowThreads();
28714 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28715 wxPyEndAllowThreads(__tstate);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 }
28718 resultobj = SWIG_Py_Void();
28719 return resultobj;
28720 fail:
28721 return NULL;
28722 }
28723
28724
28725 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj = 0;
28727 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28728 int arg2 ;
28729 int arg3 ;
28730 void *argp1 = 0 ;
28731 int res1 = 0 ;
28732 int val2 ;
28733 int ecode2 = 0 ;
28734 int val3 ;
28735 int ecode3 = 0 ;
28736 PyObject * obj0 = 0 ;
28737 PyObject * obj1 = 0 ;
28738 PyObject * obj2 = 0 ;
28739 char * kwnames[] = {
28740 (char *) "self",(char *) "w",(char *) "h", NULL
28741 };
28742
28743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28745 if (!SWIG_IsOK(res1)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28747 }
28748 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28749 ecode2 = SWIG_AsVal_int(obj1, &val2);
28750 if (!SWIG_IsOK(ecode2)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28752 }
28753 arg2 = static_cast< int >(val2);
28754 ecode3 = SWIG_AsVal_int(obj2, &val3);
28755 if (!SWIG_IsOK(ecode3)) {
28756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28757 }
28758 arg3 = static_cast< int >(val3);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 (arg1)->SetPageSizePixels(arg2,arg3);
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 resultobj = SWIG_Py_Void();
28766 return resultobj;
28767 fail:
28768 return NULL;
28769 }
28770
28771
28772 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28773 PyObject *resultobj = 0;
28774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28775 int *arg2 = (int *) 0 ;
28776 int *arg3 = (int *) 0 ;
28777 void *argp1 = 0 ;
28778 int res1 = 0 ;
28779 int temp2 ;
28780 int res2 = SWIG_TMPOBJ ;
28781 int temp3 ;
28782 int res3 = SWIG_TMPOBJ ;
28783 PyObject *swig_obj[1] ;
28784
28785 arg2 = &temp2;
28786 arg3 = &temp3;
28787 if (!args) SWIG_fail;
28788 swig_obj[0] = args;
28789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28790 if (!SWIG_IsOK(res1)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28792 }
28793 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28794 {
28795 PyThreadState* __tstate = wxPyBeginAllowThreads();
28796 (arg1)->GetPageSizePixels(arg2,arg3);
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 resultobj = SWIG_Py_Void();
28801 if (SWIG_IsTmpObj(res2)) {
28802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28803 } else {
28804 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28806 }
28807 if (SWIG_IsTmpObj(res3)) {
28808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28809 } else {
28810 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28812 }
28813 return resultobj;
28814 fail:
28815 return NULL;
28816 }
28817
28818
28819 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28820 PyObject *resultobj = 0;
28821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28822 int arg2 ;
28823 int arg3 ;
28824 void *argp1 = 0 ;
28825 int res1 = 0 ;
28826 int val2 ;
28827 int ecode2 = 0 ;
28828 int val3 ;
28829 int ecode3 = 0 ;
28830 PyObject * obj0 = 0 ;
28831 PyObject * obj1 = 0 ;
28832 PyObject * obj2 = 0 ;
28833 char * kwnames[] = {
28834 (char *) "self",(char *) "w",(char *) "h", NULL
28835 };
28836
28837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28839 if (!SWIG_IsOK(res1)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28841 }
28842 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28843 ecode2 = SWIG_AsVal_int(obj1, &val2);
28844 if (!SWIG_IsOK(ecode2)) {
28845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28846 }
28847 arg2 = static_cast< int >(val2);
28848 ecode3 = SWIG_AsVal_int(obj2, &val3);
28849 if (!SWIG_IsOK(ecode3)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28851 }
28852 arg3 = static_cast< int >(val3);
28853 {
28854 PyThreadState* __tstate = wxPyBeginAllowThreads();
28855 (arg1)->SetPageSizeMM(arg2,arg3);
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 resultobj = SWIG_Py_Void();
28860 return resultobj;
28861 fail:
28862 return NULL;
28863 }
28864
28865
28866 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28867 PyObject *resultobj = 0;
28868 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28869 int *arg2 = (int *) 0 ;
28870 int *arg3 = (int *) 0 ;
28871 void *argp1 = 0 ;
28872 int res1 = 0 ;
28873 int temp2 ;
28874 int res2 = SWIG_TMPOBJ ;
28875 int temp3 ;
28876 int res3 = SWIG_TMPOBJ ;
28877 PyObject *swig_obj[1] ;
28878
28879 arg2 = &temp2;
28880 arg3 = &temp3;
28881 if (!args) SWIG_fail;
28882 swig_obj[0] = args;
28883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28884 if (!SWIG_IsOK(res1)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28886 }
28887 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28888 {
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 (arg1)->GetPageSizeMM(arg2,arg3);
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 resultobj = SWIG_Py_Void();
28895 if (SWIG_IsTmpObj(res2)) {
28896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28897 } else {
28898 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28900 }
28901 if (SWIG_IsTmpObj(res3)) {
28902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28903 } else {
28904 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28905 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28906 }
28907 return resultobj;
28908 fail:
28909 return NULL;
28910 }
28911
28912
28913 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28914 PyObject *resultobj = 0;
28915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28916 int arg2 ;
28917 int arg3 ;
28918 void *argp1 = 0 ;
28919 int res1 = 0 ;
28920 int val2 ;
28921 int ecode2 = 0 ;
28922 int val3 ;
28923 int ecode3 = 0 ;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 PyObject * obj2 = 0 ;
28927 char * kwnames[] = {
28928 (char *) "self",(char *) "x",(char *) "y", NULL
28929 };
28930
28931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28933 if (!SWIG_IsOK(res1)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28935 }
28936 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28937 ecode2 = SWIG_AsVal_int(obj1, &val2);
28938 if (!SWIG_IsOK(ecode2)) {
28939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28940 }
28941 arg2 = static_cast< int >(val2);
28942 ecode3 = SWIG_AsVal_int(obj2, &val3);
28943 if (!SWIG_IsOK(ecode3)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28945 }
28946 arg3 = static_cast< int >(val3);
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 (arg1)->SetPPIScreen(arg2,arg3);
28950 wxPyEndAllowThreads(__tstate);
28951 if (PyErr_Occurred()) SWIG_fail;
28952 }
28953 resultobj = SWIG_Py_Void();
28954 return resultobj;
28955 fail:
28956 return NULL;
28957 }
28958
28959
28960 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28961 PyObject *resultobj = 0;
28962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28963 int *arg2 = (int *) 0 ;
28964 int *arg3 = (int *) 0 ;
28965 void *argp1 = 0 ;
28966 int res1 = 0 ;
28967 int temp2 ;
28968 int res2 = SWIG_TMPOBJ ;
28969 int temp3 ;
28970 int res3 = SWIG_TMPOBJ ;
28971 PyObject *swig_obj[1] ;
28972
28973 arg2 = &temp2;
28974 arg3 = &temp3;
28975 if (!args) SWIG_fail;
28976 swig_obj[0] = args;
28977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28978 if (!SWIG_IsOK(res1)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28980 }
28981 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 (arg1)->GetPPIScreen(arg2,arg3);
28985 wxPyEndAllowThreads(__tstate);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 }
28988 resultobj = SWIG_Py_Void();
28989 if (SWIG_IsTmpObj(res2)) {
28990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28991 } else {
28992 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28994 }
28995 if (SWIG_IsTmpObj(res3)) {
28996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28997 } else {
28998 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29000 }
29001 return resultobj;
29002 fail:
29003 return NULL;
29004 }
29005
29006
29007 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29008 PyObject *resultobj = 0;
29009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29010 int arg2 ;
29011 int arg3 ;
29012 void *argp1 = 0 ;
29013 int res1 = 0 ;
29014 int val2 ;
29015 int ecode2 = 0 ;
29016 int val3 ;
29017 int ecode3 = 0 ;
29018 PyObject * obj0 = 0 ;
29019 PyObject * obj1 = 0 ;
29020 PyObject * obj2 = 0 ;
29021 char * kwnames[] = {
29022 (char *) "self",(char *) "x",(char *) "y", NULL
29023 };
29024
29025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29027 if (!SWIG_IsOK(res1)) {
29028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29029 }
29030 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29031 ecode2 = SWIG_AsVal_int(obj1, &val2);
29032 if (!SWIG_IsOK(ecode2)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29034 }
29035 arg2 = static_cast< int >(val2);
29036 ecode3 = SWIG_AsVal_int(obj2, &val3);
29037 if (!SWIG_IsOK(ecode3)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29039 }
29040 arg3 = static_cast< int >(val3);
29041 {
29042 PyThreadState* __tstate = wxPyBeginAllowThreads();
29043 (arg1)->SetPPIPrinter(arg2,arg3);
29044 wxPyEndAllowThreads(__tstate);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 }
29047 resultobj = SWIG_Py_Void();
29048 return resultobj;
29049 fail:
29050 return NULL;
29051 }
29052
29053
29054 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29055 PyObject *resultobj = 0;
29056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29057 int *arg2 = (int *) 0 ;
29058 int *arg3 = (int *) 0 ;
29059 void *argp1 = 0 ;
29060 int res1 = 0 ;
29061 int temp2 ;
29062 int res2 = SWIG_TMPOBJ ;
29063 int temp3 ;
29064 int res3 = SWIG_TMPOBJ ;
29065 PyObject *swig_obj[1] ;
29066
29067 arg2 = &temp2;
29068 arg3 = &temp3;
29069 if (!args) SWIG_fail;
29070 swig_obj[0] = args;
29071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29072 if (!SWIG_IsOK(res1)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29074 }
29075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 (arg1)->GetPPIPrinter(arg2,arg3);
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
29082 resultobj = SWIG_Py_Void();
29083 if (SWIG_IsTmpObj(res2)) {
29084 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29085 } else {
29086 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29088 }
29089 if (SWIG_IsTmpObj(res3)) {
29090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29091 } else {
29092 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29094 }
29095 return resultobj;
29096 fail:
29097 return NULL;
29098 }
29099
29100
29101 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29102 PyObject *resultobj = 0;
29103 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29104 wxRect *arg2 = 0 ;
29105 void *argp1 = 0 ;
29106 int res1 = 0 ;
29107 wxRect temp2 ;
29108 PyObject * obj0 = 0 ;
29109 PyObject * obj1 = 0 ;
29110 char * kwnames[] = {
29111 (char *) "self",(char *) "paperRectPixels", NULL
29112 };
29113
29114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29116 if (!SWIG_IsOK(res1)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29118 }
29119 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29120 {
29121 arg2 = &temp2;
29122 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29123 }
29124 {
29125 PyThreadState* __tstate = wxPyBeginAllowThreads();
29126 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
29127 wxPyEndAllowThreads(__tstate);
29128 if (PyErr_Occurred()) SWIG_fail;
29129 }
29130 resultobj = SWIG_Py_Void();
29131 return resultobj;
29132 fail:
29133 return NULL;
29134 }
29135
29136
29137 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29138 PyObject *resultobj = 0;
29139 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29140 wxRect result;
29141 void *argp1 = 0 ;
29142 int res1 = 0 ;
29143 PyObject *swig_obj[1] ;
29144
29145 if (!args) SWIG_fail;
29146 swig_obj[0] = args;
29147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29148 if (!SWIG_IsOK(res1)) {
29149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29150 }
29151 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29152 {
29153 PyThreadState* __tstate = wxPyBeginAllowThreads();
29154 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29155 wxPyEndAllowThreads(__tstate);
29156 if (PyErr_Occurred()) SWIG_fail;
29157 }
29158 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29159 return resultobj;
29160 fail:
29161 return NULL;
29162 }
29163
29164
29165 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29166 PyObject *resultobj = 0;
29167 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29168 bool result;
29169 void *argp1 = 0 ;
29170 int res1 = 0 ;
29171 PyObject *swig_obj[1] ;
29172
29173 if (!args) SWIG_fail;
29174 swig_obj[0] = args;
29175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29176 if (!SWIG_IsOK(res1)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29178 }
29179 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 result = (bool)(arg1)->IsPreview();
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 {
29187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29188 }
29189 return resultobj;
29190 fail:
29191 return NULL;
29192 }
29193
29194
29195 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29196 PyObject *resultobj = 0;
29197 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29198 bool arg2 ;
29199 void *argp1 = 0 ;
29200 int res1 = 0 ;
29201 bool val2 ;
29202 int ecode2 = 0 ;
29203 PyObject * obj0 = 0 ;
29204 PyObject * obj1 = 0 ;
29205 char * kwnames[] = {
29206 (char *) "self",(char *) "p", NULL
29207 };
29208
29209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29211 if (!SWIG_IsOK(res1)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29213 }
29214 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29215 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29216 if (!SWIG_IsOK(ecode2)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29218 }
29219 arg2 = static_cast< bool >(val2);
29220 {
29221 PyThreadState* __tstate = wxPyBeginAllowThreads();
29222 (arg1)->SetIsPreview(arg2);
29223 wxPyEndAllowThreads(__tstate);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
29226 resultobj = SWIG_Py_Void();
29227 return resultobj;
29228 fail:
29229 return NULL;
29230 }
29231
29232
29233 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29234 PyObject *resultobj = 0;
29235 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29236 int arg2 ;
29237 int arg3 ;
29238 bool result;
29239 void *argp1 = 0 ;
29240 int res1 = 0 ;
29241 int val2 ;
29242 int ecode2 = 0 ;
29243 int val3 ;
29244 int ecode3 = 0 ;
29245 PyObject * obj0 = 0 ;
29246 PyObject * obj1 = 0 ;
29247 PyObject * obj2 = 0 ;
29248 char * kwnames[] = {
29249 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29250 };
29251
29252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29254 if (!SWIG_IsOK(res1)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29256 }
29257 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29258 ecode2 = SWIG_AsVal_int(obj1, &val2);
29259 if (!SWIG_IsOK(ecode2)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29261 }
29262 arg2 = static_cast< int >(val2);
29263 ecode3 = SWIG_AsVal_int(obj2, &val3);
29264 if (!SWIG_IsOK(ecode3)) {
29265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29266 }
29267 arg3 = static_cast< int >(val3);
29268 {
29269 PyThreadState* __tstate = wxPyBeginAllowThreads();
29270 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29271 wxPyEndAllowThreads(__tstate);
29272 if (PyErr_Occurred()) SWIG_fail;
29273 }
29274 {
29275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29276 }
29277 return resultobj;
29278 fail:
29279 return NULL;
29280 }
29281
29282
29283 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29284 PyObject *resultobj = 0;
29285 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29286 void *argp1 = 0 ;
29287 int res1 = 0 ;
29288 PyObject *swig_obj[1] ;
29289
29290 if (!args) SWIG_fail;
29291 swig_obj[0] = args;
29292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29293 if (!SWIG_IsOK(res1)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29295 }
29296 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29297 {
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 (arg1)->OnEndDocument();
29300 wxPyEndAllowThreads(__tstate);
29301 if (PyErr_Occurred()) SWIG_fail;
29302 }
29303 resultobj = SWIG_Py_Void();
29304 return resultobj;
29305 fail:
29306 return NULL;
29307 }
29308
29309
29310 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29311 PyObject *resultobj = 0;
29312 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29313 void *argp1 = 0 ;
29314 int res1 = 0 ;
29315 PyObject *swig_obj[1] ;
29316
29317 if (!args) SWIG_fail;
29318 swig_obj[0] = args;
29319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29320 if (!SWIG_IsOK(res1)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29322 }
29323 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29324 {
29325 PyThreadState* __tstate = wxPyBeginAllowThreads();
29326 (arg1)->OnBeginPrinting();
29327 wxPyEndAllowThreads(__tstate);
29328 if (PyErr_Occurred()) SWIG_fail;
29329 }
29330 resultobj = SWIG_Py_Void();
29331 return resultobj;
29332 fail:
29333 return NULL;
29334 }
29335
29336
29337 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29338 PyObject *resultobj = 0;
29339 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29340 void *argp1 = 0 ;
29341 int res1 = 0 ;
29342 PyObject *swig_obj[1] ;
29343
29344 if (!args) SWIG_fail;
29345 swig_obj[0] = args;
29346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29347 if (!SWIG_IsOK(res1)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29349 }
29350 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29351 {
29352 PyThreadState* __tstate = wxPyBeginAllowThreads();
29353 (arg1)->OnEndPrinting();
29354 wxPyEndAllowThreads(__tstate);
29355 if (PyErr_Occurred()) SWIG_fail;
29356 }
29357 resultobj = SWIG_Py_Void();
29358 return resultobj;
29359 fail:
29360 return NULL;
29361 }
29362
29363
29364 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29365 PyObject *resultobj = 0;
29366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29367 void *argp1 = 0 ;
29368 int res1 = 0 ;
29369 PyObject *swig_obj[1] ;
29370
29371 if (!args) SWIG_fail;
29372 swig_obj[0] = args;
29373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29374 if (!SWIG_IsOK(res1)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29376 }
29377 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 (arg1)->OnPreparePrinting();
29381 wxPyEndAllowThreads(__tstate);
29382 if (PyErr_Occurred()) SWIG_fail;
29383 }
29384 resultobj = SWIG_Py_Void();
29385 return resultobj;
29386 fail:
29387 return NULL;
29388 }
29389
29390
29391 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29392 PyObject *resultobj = 0;
29393 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29394 int arg2 ;
29395 bool result;
29396 void *argp1 = 0 ;
29397 int res1 = 0 ;
29398 int val2 ;
29399 int ecode2 = 0 ;
29400 PyObject * obj0 = 0 ;
29401 PyObject * obj1 = 0 ;
29402 char * kwnames[] = {
29403 (char *) "self",(char *) "page", NULL
29404 };
29405
29406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29408 if (!SWIG_IsOK(res1)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29410 }
29411 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29412 ecode2 = SWIG_AsVal_int(obj1, &val2);
29413 if (!SWIG_IsOK(ecode2)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29415 }
29416 arg2 = static_cast< int >(val2);
29417 {
29418 PyThreadState* __tstate = wxPyBeginAllowThreads();
29419 result = (bool)(arg1)->HasPage(arg2);
29420 wxPyEndAllowThreads(__tstate);
29421 if (PyErr_Occurred()) SWIG_fail;
29422 }
29423 {
29424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29425 }
29426 return resultobj;
29427 fail:
29428 return NULL;
29429 }
29430
29431
29432 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29433 PyObject *resultobj = 0;
29434 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29435 int *arg2 = (int *) 0 ;
29436 int *arg3 = (int *) 0 ;
29437 int *arg4 = (int *) 0 ;
29438 int *arg5 = (int *) 0 ;
29439 void *argp1 = 0 ;
29440 int res1 = 0 ;
29441 int temp2 ;
29442 int res2 = SWIG_TMPOBJ ;
29443 int temp3 ;
29444 int res3 = SWIG_TMPOBJ ;
29445 int temp4 ;
29446 int res4 = SWIG_TMPOBJ ;
29447 int temp5 ;
29448 int res5 = SWIG_TMPOBJ ;
29449 PyObject *swig_obj[1] ;
29450
29451 arg2 = &temp2;
29452 arg3 = &temp3;
29453 arg4 = &temp4;
29454 arg5 = &temp5;
29455 if (!args) SWIG_fail;
29456 swig_obj[0] = args;
29457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29458 if (!SWIG_IsOK(res1)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29460 }
29461 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29462 {
29463 PyThreadState* __tstate = wxPyBeginAllowThreads();
29464 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29465 wxPyEndAllowThreads(__tstate);
29466 if (PyErr_Occurred()) SWIG_fail;
29467 }
29468 resultobj = SWIG_Py_Void();
29469 if (SWIG_IsTmpObj(res2)) {
29470 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29471 } else {
29472 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29473 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29474 }
29475 if (SWIG_IsTmpObj(res3)) {
29476 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29477 } else {
29478 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29479 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29480 }
29481 if (SWIG_IsTmpObj(res4)) {
29482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29483 } else {
29484 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29486 }
29487 if (SWIG_IsTmpObj(res5)) {
29488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29489 } else {
29490 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29492 }
29493 return resultobj;
29494 fail:
29495 return NULL;
29496 }
29497
29498
29499 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29500 PyObject *obj;
29501 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29502 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29503 return SWIG_Py_Void();
29504 }
29505
29506 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29507 return SWIG_Python_InitShadowInstance(args);
29508 }
29509
29510 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29511 PyObject *resultobj = 0;
29512 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29513 wxWindow *arg2 = (wxWindow *) 0 ;
29514 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29515 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29516 wxSize const &arg4_defvalue = wxDefaultSize ;
29517 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29518 long arg5 = (long) 0 ;
29519 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29520 wxString *arg6 = (wxString *) &arg6_defvalue ;
29521 wxPreviewCanvas *result = 0 ;
29522 void *argp1 = 0 ;
29523 int res1 = 0 ;
29524 void *argp2 = 0 ;
29525 int res2 = 0 ;
29526 wxPoint temp3 ;
29527 wxSize temp4 ;
29528 long val5 ;
29529 int ecode5 = 0 ;
29530 bool temp6 = false ;
29531 PyObject * obj0 = 0 ;
29532 PyObject * obj1 = 0 ;
29533 PyObject * obj2 = 0 ;
29534 PyObject * obj3 = 0 ;
29535 PyObject * obj4 = 0 ;
29536 PyObject * obj5 = 0 ;
29537 char * kwnames[] = {
29538 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29539 };
29540
29541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29543 if (!SWIG_IsOK(res1)) {
29544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29545 }
29546 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29548 if (!SWIG_IsOK(res2)) {
29549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29550 }
29551 arg2 = reinterpret_cast< wxWindow * >(argp2);
29552 if (obj2) {
29553 {
29554 arg3 = &temp3;
29555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29556 }
29557 }
29558 if (obj3) {
29559 {
29560 arg4 = &temp4;
29561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29562 }
29563 }
29564 if (obj4) {
29565 ecode5 = SWIG_AsVal_long(obj4, &val5);
29566 if (!SWIG_IsOK(ecode5)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29568 }
29569 arg5 = static_cast< long >(val5);
29570 }
29571 if (obj5) {
29572 {
29573 arg6 = wxString_in_helper(obj5);
29574 if (arg6 == NULL) SWIG_fail;
29575 temp6 = true;
29576 }
29577 }
29578 {
29579 if (!wxPyCheckForApp()) SWIG_fail;
29580 PyThreadState* __tstate = wxPyBeginAllowThreads();
29581 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29582 wxPyEndAllowThreads(__tstate);
29583 if (PyErr_Occurred()) SWIG_fail;
29584 }
29585 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29586 {
29587 if (temp6)
29588 delete arg6;
29589 }
29590 return resultobj;
29591 fail:
29592 {
29593 if (temp6)
29594 delete arg6;
29595 }
29596 return NULL;
29597 }
29598
29599
29600 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29601 PyObject *obj;
29602 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29603 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29604 return SWIG_Py_Void();
29605 }
29606
29607 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29608 return SWIG_Python_InitShadowInstance(args);
29609 }
29610
29611 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29612 PyObject *resultobj = 0;
29613 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29614 wxFrame *arg2 = (wxFrame *) 0 ;
29615 wxString *arg3 = 0 ;
29616 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29617 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29618 wxSize const &arg5_defvalue = wxDefaultSize ;
29619 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29620 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29621 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29622 wxString *arg7 = (wxString *) &arg7_defvalue ;
29623 wxPreviewFrame *result = 0 ;
29624 int res1 = 0 ;
29625 void *argp2 = 0 ;
29626 int res2 = 0 ;
29627 bool temp3 = false ;
29628 wxPoint temp4 ;
29629 wxSize temp5 ;
29630 long val6 ;
29631 int ecode6 = 0 ;
29632 bool temp7 = false ;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 PyObject * obj2 = 0 ;
29636 PyObject * obj3 = 0 ;
29637 PyObject * obj4 = 0 ;
29638 PyObject * obj5 = 0 ;
29639 PyObject * obj6 = 0 ;
29640 char * kwnames[] = {
29641 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29642 };
29643
29644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29645 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29646 if (!SWIG_IsOK(res1)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29648 }
29649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29650 if (!SWIG_IsOK(res2)) {
29651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29652 }
29653 arg2 = reinterpret_cast< wxFrame * >(argp2);
29654 {
29655 arg3 = wxString_in_helper(obj2);
29656 if (arg3 == NULL) SWIG_fail;
29657 temp3 = true;
29658 }
29659 if (obj3) {
29660 {
29661 arg4 = &temp4;
29662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29663 }
29664 }
29665 if (obj4) {
29666 {
29667 arg5 = &temp5;
29668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29669 }
29670 }
29671 if (obj5) {
29672 ecode6 = SWIG_AsVal_long(obj5, &val6);
29673 if (!SWIG_IsOK(ecode6)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29675 }
29676 arg6 = static_cast< long >(val6);
29677 }
29678 if (obj6) {
29679 {
29680 arg7 = wxString_in_helper(obj6);
29681 if (arg7 == NULL) SWIG_fail;
29682 temp7 = true;
29683 }
29684 }
29685 {
29686 if (!wxPyCheckForApp()) SWIG_fail;
29687 PyThreadState* __tstate = wxPyBeginAllowThreads();
29688 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29689 wxPyEndAllowThreads(__tstate);
29690 if (PyErr_Occurred()) SWIG_fail;
29691 }
29692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29693 {
29694 if (temp3)
29695 delete arg3;
29696 }
29697 {
29698 if (temp7)
29699 delete arg7;
29700 }
29701 return resultobj;
29702 fail:
29703 {
29704 if (temp3)
29705 delete arg3;
29706 }
29707 {
29708 if (temp7)
29709 delete arg7;
29710 }
29711 return NULL;
29712 }
29713
29714
29715 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29716 PyObject *resultobj = 0;
29717 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29718 void *argp1 = 0 ;
29719 int res1 = 0 ;
29720 PyObject *swig_obj[1] ;
29721
29722 if (!args) SWIG_fail;
29723 swig_obj[0] = args;
29724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29725 if (!SWIG_IsOK(res1)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29727 }
29728 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29729 {
29730 PyThreadState* __tstate = wxPyBeginAllowThreads();
29731 (arg1)->Initialize();
29732 wxPyEndAllowThreads(__tstate);
29733 if (PyErr_Occurred()) SWIG_fail;
29734 }
29735 resultobj = SWIG_Py_Void();
29736 return resultobj;
29737 fail:
29738 return NULL;
29739 }
29740
29741
29742 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29743 PyObject *resultobj = 0;
29744 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29745 void *argp1 = 0 ;
29746 int res1 = 0 ;
29747 PyObject *swig_obj[1] ;
29748
29749 if (!args) SWIG_fail;
29750 swig_obj[0] = args;
29751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29752 if (!SWIG_IsOK(res1)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29754 }
29755 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29756 {
29757 PyThreadState* __tstate = wxPyBeginAllowThreads();
29758 (arg1)->CreateControlBar();
29759 wxPyEndAllowThreads(__tstate);
29760 if (PyErr_Occurred()) SWIG_fail;
29761 }
29762 resultobj = SWIG_Py_Void();
29763 return resultobj;
29764 fail:
29765 return NULL;
29766 }
29767
29768
29769 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29770 PyObject *resultobj = 0;
29771 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29772 void *argp1 = 0 ;
29773 int res1 = 0 ;
29774 PyObject *swig_obj[1] ;
29775
29776 if (!args) SWIG_fail;
29777 swig_obj[0] = args;
29778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29779 if (!SWIG_IsOK(res1)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29781 }
29782 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 (arg1)->CreateCanvas();
29786 wxPyEndAllowThreads(__tstate);
29787 if (PyErr_Occurred()) SWIG_fail;
29788 }
29789 resultobj = SWIG_Py_Void();
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29797 PyObject *resultobj = 0;
29798 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29799 wxPreviewControlBar *result = 0 ;
29800 void *argp1 = 0 ;
29801 int res1 = 0 ;
29802 PyObject *swig_obj[1] ;
29803
29804 if (!args) SWIG_fail;
29805 swig_obj[0] = args;
29806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29807 if (!SWIG_IsOK(res1)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29809 }
29810 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29811 {
29812 PyThreadState* __tstate = wxPyBeginAllowThreads();
29813 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29818 return resultobj;
29819 fail:
29820 return NULL;
29821 }
29822
29823
29824 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29825 PyObject *obj;
29826 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29828 return SWIG_Py_Void();
29829 }
29830
29831 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29832 return SWIG_Python_InitShadowInstance(args);
29833 }
29834
29835 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29836 PyObject *resultobj = 0;
29837 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29838 long arg2 ;
29839 wxWindow *arg3 = (wxWindow *) 0 ;
29840 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29841 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29842 wxSize const &arg5_defvalue = wxDefaultSize ;
29843 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29844 long arg6 = (long) wxTAB_TRAVERSAL ;
29845 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29846 wxString *arg7 = (wxString *) &arg7_defvalue ;
29847 wxPreviewControlBar *result = 0 ;
29848 void *argp1 = 0 ;
29849 int res1 = 0 ;
29850 long val2 ;
29851 int ecode2 = 0 ;
29852 void *argp3 = 0 ;
29853 int res3 = 0 ;
29854 wxPoint temp4 ;
29855 wxSize temp5 ;
29856 long val6 ;
29857 int ecode6 = 0 ;
29858 bool temp7 = false ;
29859 PyObject * obj0 = 0 ;
29860 PyObject * obj1 = 0 ;
29861 PyObject * obj2 = 0 ;
29862 PyObject * obj3 = 0 ;
29863 PyObject * obj4 = 0 ;
29864 PyObject * obj5 = 0 ;
29865 PyObject * obj6 = 0 ;
29866 char * kwnames[] = {
29867 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29868 };
29869
29870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29872 if (!SWIG_IsOK(res1)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29874 }
29875 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29876 ecode2 = SWIG_AsVal_long(obj1, &val2);
29877 if (!SWIG_IsOK(ecode2)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29879 }
29880 arg2 = static_cast< long >(val2);
29881 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29882 if (!SWIG_IsOK(res3)) {
29883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29884 }
29885 arg3 = reinterpret_cast< wxWindow * >(argp3);
29886 if (obj3) {
29887 {
29888 arg4 = &temp4;
29889 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29890 }
29891 }
29892 if (obj4) {
29893 {
29894 arg5 = &temp5;
29895 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29896 }
29897 }
29898 if (obj5) {
29899 ecode6 = SWIG_AsVal_long(obj5, &val6);
29900 if (!SWIG_IsOK(ecode6)) {
29901 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29902 }
29903 arg6 = static_cast< long >(val6);
29904 }
29905 if (obj6) {
29906 {
29907 arg7 = wxString_in_helper(obj6);
29908 if (arg7 == NULL) SWIG_fail;
29909 temp7 = true;
29910 }
29911 }
29912 {
29913 if (!wxPyCheckForApp()) SWIG_fail;
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29920 {
29921 if (temp7)
29922 delete arg7;
29923 }
29924 return resultobj;
29925 fail:
29926 {
29927 if (temp7)
29928 delete arg7;
29929 }
29930 return NULL;
29931 }
29932
29933
29934 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29935 PyObject *resultobj = 0;
29936 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29937 int result;
29938 void *argp1 = 0 ;
29939 int res1 = 0 ;
29940 PyObject *swig_obj[1] ;
29941
29942 if (!args) SWIG_fail;
29943 swig_obj[0] = args;
29944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29945 if (!SWIG_IsOK(res1)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29947 }
29948 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29949 {
29950 PyThreadState* __tstate = wxPyBeginAllowThreads();
29951 result = (int)(arg1)->GetZoomControl();
29952 wxPyEndAllowThreads(__tstate);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
29955 resultobj = SWIG_From_int(static_cast< int >(result));
29956 return resultobj;
29957 fail:
29958 return NULL;
29959 }
29960
29961
29962 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29963 PyObject *resultobj = 0;
29964 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29965 int arg2 ;
29966 void *argp1 = 0 ;
29967 int res1 = 0 ;
29968 int val2 ;
29969 int ecode2 = 0 ;
29970 PyObject * obj0 = 0 ;
29971 PyObject * obj1 = 0 ;
29972 char * kwnames[] = {
29973 (char *) "self",(char *) "zoom", NULL
29974 };
29975
29976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29978 if (!SWIG_IsOK(res1)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29980 }
29981 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29982 ecode2 = SWIG_AsVal_int(obj1, &val2);
29983 if (!SWIG_IsOK(ecode2)) {
29984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29985 }
29986 arg2 = static_cast< int >(val2);
29987 {
29988 PyThreadState* __tstate = wxPyBeginAllowThreads();
29989 (arg1)->SetZoomControl(arg2);
29990 wxPyEndAllowThreads(__tstate);
29991 if (PyErr_Occurred()) SWIG_fail;
29992 }
29993 resultobj = SWIG_Py_Void();
29994 return resultobj;
29995 fail:
29996 return NULL;
29997 }
29998
29999
30000 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30001 PyObject *resultobj = 0;
30002 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30003 wxPrintPreview *result = 0 ;
30004 void *argp1 = 0 ;
30005 int res1 = 0 ;
30006 PyObject *swig_obj[1] ;
30007
30008 if (!args) SWIG_fail;
30009 swig_obj[0] = args;
30010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30011 if (!SWIG_IsOK(res1)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30013 }
30014 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30015 {
30016 PyThreadState* __tstate = wxPyBeginAllowThreads();
30017 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30022 return resultobj;
30023 fail:
30024 return NULL;
30025 }
30026
30027
30028 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30029 PyObject *resultobj = 0;
30030 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30031 void *argp1 = 0 ;
30032 int res1 = 0 ;
30033 PyObject *swig_obj[1] ;
30034
30035 if (!args) SWIG_fail;
30036 swig_obj[0] = args;
30037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30038 if (!SWIG_IsOK(res1)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30040 }
30041 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30042 {
30043 PyThreadState* __tstate = wxPyBeginAllowThreads();
30044 (arg1)->OnNext();
30045 wxPyEndAllowThreads(__tstate);
30046 if (PyErr_Occurred()) SWIG_fail;
30047 }
30048 resultobj = SWIG_Py_Void();
30049 return resultobj;
30050 fail:
30051 return NULL;
30052 }
30053
30054
30055 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30056 PyObject *resultobj = 0;
30057 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30058 void *argp1 = 0 ;
30059 int res1 = 0 ;
30060 PyObject *swig_obj[1] ;
30061
30062 if (!args) SWIG_fail;
30063 swig_obj[0] = args;
30064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30065 if (!SWIG_IsOK(res1)) {
30066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30067 }
30068 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30069 {
30070 PyThreadState* __tstate = wxPyBeginAllowThreads();
30071 (arg1)->OnPrevious();
30072 wxPyEndAllowThreads(__tstate);
30073 if (PyErr_Occurred()) SWIG_fail;
30074 }
30075 resultobj = SWIG_Py_Void();
30076 return resultobj;
30077 fail:
30078 return NULL;
30079 }
30080
30081
30082 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30083 PyObject *resultobj = 0;
30084 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30085 void *argp1 = 0 ;
30086 int res1 = 0 ;
30087 PyObject *swig_obj[1] ;
30088
30089 if (!args) SWIG_fail;
30090 swig_obj[0] = args;
30091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30092 if (!SWIG_IsOK(res1)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30094 }
30095 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30096 {
30097 PyThreadState* __tstate = wxPyBeginAllowThreads();
30098 (arg1)->OnFirst();
30099 wxPyEndAllowThreads(__tstate);
30100 if (PyErr_Occurred()) SWIG_fail;
30101 }
30102 resultobj = SWIG_Py_Void();
30103 return resultobj;
30104 fail:
30105 return NULL;
30106 }
30107
30108
30109 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30110 PyObject *resultobj = 0;
30111 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30112 void *argp1 = 0 ;
30113 int res1 = 0 ;
30114 PyObject *swig_obj[1] ;
30115
30116 if (!args) SWIG_fail;
30117 swig_obj[0] = args;
30118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30119 if (!SWIG_IsOK(res1)) {
30120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30121 }
30122 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30123 {
30124 PyThreadState* __tstate = wxPyBeginAllowThreads();
30125 (arg1)->OnLast();
30126 wxPyEndAllowThreads(__tstate);
30127 if (PyErr_Occurred()) SWIG_fail;
30128 }
30129 resultobj = SWIG_Py_Void();
30130 return resultobj;
30131 fail:
30132 return NULL;
30133 }
30134
30135
30136 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30137 PyObject *resultobj = 0;
30138 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30139 void *argp1 = 0 ;
30140 int res1 = 0 ;
30141 PyObject *swig_obj[1] ;
30142
30143 if (!args) SWIG_fail;
30144 swig_obj[0] = args;
30145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30146 if (!SWIG_IsOK(res1)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30148 }
30149 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30150 {
30151 PyThreadState* __tstate = wxPyBeginAllowThreads();
30152 (arg1)->OnGoto();
30153 wxPyEndAllowThreads(__tstate);
30154 if (PyErr_Occurred()) SWIG_fail;
30155 }
30156 resultobj = SWIG_Py_Void();
30157 return resultobj;
30158 fail:
30159 return NULL;
30160 }
30161
30162
30163 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30164 PyObject *obj;
30165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30167 return SWIG_Py_Void();
30168 }
30169
30170 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30171 return SWIG_Python_InitShadowInstance(args);
30172 }
30173
30174 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30175 PyObject *resultobj = 0;
30176 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30177 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30178 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30179 wxPrintPreview *result = 0 ;
30180 int res1 = 0 ;
30181 int res2 = 0 ;
30182 void *argp3 = 0 ;
30183 int res3 = 0 ;
30184
30185 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30186 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30187 if (!SWIG_IsOK(res1)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30189 }
30190 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30191 if (!SWIG_IsOK(res2)) {
30192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30193 }
30194 if (swig_obj[2]) {
30195 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30196 if (!SWIG_IsOK(res3)) {
30197 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30198 }
30199 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30200 }
30201 {
30202 if (!wxPyCheckForApp()) SWIG_fail;
30203 PyThreadState* __tstate = wxPyBeginAllowThreads();
30204 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30205 wxPyEndAllowThreads(__tstate);
30206 if (PyErr_Occurred()) SWIG_fail;
30207 }
30208 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30209 return resultobj;
30210 fail:
30211 return NULL;
30212 }
30213
30214
30215 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30216 PyObject *resultobj = 0;
30217 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30218 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30219 wxPrintData *arg3 = (wxPrintData *) 0 ;
30220 wxPrintPreview *result = 0 ;
30221 int res1 = 0 ;
30222 int res2 = 0 ;
30223 void *argp3 = 0 ;
30224 int res3 = 0 ;
30225
30226 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30227 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30228 if (!SWIG_IsOK(res1)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30230 }
30231 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30232 if (!SWIG_IsOK(res2)) {
30233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30234 }
30235 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30236 if (!SWIG_IsOK(res3)) {
30237 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30238 }
30239 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30240 {
30241 if (!wxPyCheckForApp()) SWIG_fail;
30242 PyThreadState* __tstate = wxPyBeginAllowThreads();
30243 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30244 wxPyEndAllowThreads(__tstate);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30248 return resultobj;
30249 fail:
30250 return NULL;
30251 }
30252
30253
30254 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30255 int argc;
30256 PyObject *argv[4];
30257
30258 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30259 --argc;
30260 if ((argc >= 2) && (argc <= 3)) {
30261 int _v = 0;
30262 if (argc > 2) {
30263 {
30264 void *vptr = 0;
30265 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30266 _v = SWIG_CheckState(res);
30267 }
30268 if (!_v) goto check_1;
30269 }
30270 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30271 }
30272 check_1:
30273
30274 if (argc == 3) {
30275 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30276 }
30277
30278 fail:
30279 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30280 return NULL;
30281 }
30282
30283
30284 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30285 PyObject *resultobj = 0;
30286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30287 void *argp1 = 0 ;
30288 int res1 = 0 ;
30289 PyObject *swig_obj[1] ;
30290
30291 if (!args) SWIG_fail;
30292 swig_obj[0] = args;
30293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30294 if (!SWIG_IsOK(res1)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30296 }
30297 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30298 {
30299 PyThreadState* __tstate = wxPyBeginAllowThreads();
30300 delete arg1;
30301
30302 wxPyEndAllowThreads(__tstate);
30303 if (PyErr_Occurred()) SWIG_fail;
30304 }
30305 resultobj = SWIG_Py_Void();
30306 return resultobj;
30307 fail:
30308 return NULL;
30309 }
30310
30311
30312 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30313 PyObject *resultobj = 0;
30314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30315 int arg2 ;
30316 bool result;
30317 void *argp1 = 0 ;
30318 int res1 = 0 ;
30319 int val2 ;
30320 int ecode2 = 0 ;
30321 PyObject * obj0 = 0 ;
30322 PyObject * obj1 = 0 ;
30323 char * kwnames[] = {
30324 (char *) "self",(char *) "pageNum", NULL
30325 };
30326
30327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30329 if (!SWIG_IsOK(res1)) {
30330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30331 }
30332 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30333 ecode2 = SWIG_AsVal_int(obj1, &val2);
30334 if (!SWIG_IsOK(ecode2)) {
30335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30336 }
30337 arg2 = static_cast< int >(val2);
30338 {
30339 PyThreadState* __tstate = wxPyBeginAllowThreads();
30340 result = (bool)(arg1)->SetCurrentPage(arg2);
30341 wxPyEndAllowThreads(__tstate);
30342 if (PyErr_Occurred()) SWIG_fail;
30343 }
30344 {
30345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30346 }
30347 return resultobj;
30348 fail:
30349 return NULL;
30350 }
30351
30352
30353 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30354 PyObject *resultobj = 0;
30355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30356 int result;
30357 void *argp1 = 0 ;
30358 int res1 = 0 ;
30359 PyObject *swig_obj[1] ;
30360
30361 if (!args) SWIG_fail;
30362 swig_obj[0] = args;
30363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30364 if (!SWIG_IsOK(res1)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30366 }
30367 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30368 {
30369 PyThreadState* __tstate = wxPyBeginAllowThreads();
30370 result = (int)(arg1)->GetCurrentPage();
30371 wxPyEndAllowThreads(__tstate);
30372 if (PyErr_Occurred()) SWIG_fail;
30373 }
30374 resultobj = SWIG_From_int(static_cast< int >(result));
30375 return resultobj;
30376 fail:
30377 return NULL;
30378 }
30379
30380
30381 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30382 PyObject *resultobj = 0;
30383 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30384 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30385 void *argp1 = 0 ;
30386 int res1 = 0 ;
30387 int res2 = 0 ;
30388 PyObject * obj0 = 0 ;
30389 PyObject * obj1 = 0 ;
30390 char * kwnames[] = {
30391 (char *) "self",(char *) "printout", NULL
30392 };
30393
30394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30396 if (!SWIG_IsOK(res1)) {
30397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30398 }
30399 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30400 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30401 if (!SWIG_IsOK(res2)) {
30402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30403 }
30404 {
30405 PyThreadState* __tstate = wxPyBeginAllowThreads();
30406 (arg1)->SetPrintout(arg2);
30407 wxPyEndAllowThreads(__tstate);
30408 if (PyErr_Occurred()) SWIG_fail;
30409 }
30410 resultobj = SWIG_Py_Void();
30411 return resultobj;
30412 fail:
30413 return NULL;
30414 }
30415
30416
30417 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30418 PyObject *resultobj = 0;
30419 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30420 wxPyPrintout *result = 0 ;
30421 void *argp1 = 0 ;
30422 int res1 = 0 ;
30423 PyObject *swig_obj[1] ;
30424
30425 if (!args) SWIG_fail;
30426 swig_obj[0] = args;
30427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30428 if (!SWIG_IsOK(res1)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30430 }
30431 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30432 {
30433 PyThreadState* __tstate = wxPyBeginAllowThreads();
30434 result = (wxPyPrintout *)(arg1)->GetPrintout();
30435 wxPyEndAllowThreads(__tstate);
30436 if (PyErr_Occurred()) SWIG_fail;
30437 }
30438 {
30439 resultobj = wxPyMake_wxObject(result, 0);
30440 }
30441 return resultobj;
30442 fail:
30443 return NULL;
30444 }
30445
30446
30447 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30448 PyObject *resultobj = 0;
30449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30450 wxPyPrintout *result = 0 ;
30451 void *argp1 = 0 ;
30452 int res1 = 0 ;
30453 PyObject *swig_obj[1] ;
30454
30455 if (!args) SWIG_fail;
30456 swig_obj[0] = args;
30457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30458 if (!SWIG_IsOK(res1)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30460 }
30461 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30462 {
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30465 wxPyEndAllowThreads(__tstate);
30466 if (PyErr_Occurred()) SWIG_fail;
30467 }
30468 {
30469 resultobj = wxPyMake_wxObject(result, 0);
30470 }
30471 return resultobj;
30472 fail:
30473 return NULL;
30474 }
30475
30476
30477 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30478 PyObject *resultobj = 0;
30479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30480 wxFrame *arg2 = (wxFrame *) 0 ;
30481 void *argp1 = 0 ;
30482 int res1 = 0 ;
30483 void *argp2 = 0 ;
30484 int res2 = 0 ;
30485 PyObject * obj0 = 0 ;
30486 PyObject * obj1 = 0 ;
30487 char * kwnames[] = {
30488 (char *) "self",(char *) "frame", NULL
30489 };
30490
30491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30493 if (!SWIG_IsOK(res1)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30495 }
30496 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30498 if (!SWIG_IsOK(res2)) {
30499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30500 }
30501 arg2 = reinterpret_cast< wxFrame * >(argp2);
30502 {
30503 PyThreadState* __tstate = wxPyBeginAllowThreads();
30504 (arg1)->SetFrame(arg2);
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
30508 resultobj = SWIG_Py_Void();
30509 return resultobj;
30510 fail:
30511 return NULL;
30512 }
30513
30514
30515 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30516 PyObject *resultobj = 0;
30517 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30518 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30519 void *argp1 = 0 ;
30520 int res1 = 0 ;
30521 void *argp2 = 0 ;
30522 int res2 = 0 ;
30523 PyObject * obj0 = 0 ;
30524 PyObject * obj1 = 0 ;
30525 char * kwnames[] = {
30526 (char *) "self",(char *) "canvas", NULL
30527 };
30528
30529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30531 if (!SWIG_IsOK(res1)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30533 }
30534 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30536 if (!SWIG_IsOK(res2)) {
30537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30538 }
30539 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 (arg1)->SetCanvas(arg2);
30543 wxPyEndAllowThreads(__tstate);
30544 if (PyErr_Occurred()) SWIG_fail;
30545 }
30546 resultobj = SWIG_Py_Void();
30547 return resultobj;
30548 fail:
30549 return NULL;
30550 }
30551
30552
30553 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30554 PyObject *resultobj = 0;
30555 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30556 wxFrame *result = 0 ;
30557 void *argp1 = 0 ;
30558 int res1 = 0 ;
30559 PyObject *swig_obj[1] ;
30560
30561 if (!args) SWIG_fail;
30562 swig_obj[0] = args;
30563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30564 if (!SWIG_IsOK(res1)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30566 }
30567 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30568 {
30569 PyThreadState* __tstate = wxPyBeginAllowThreads();
30570 result = (wxFrame *)(arg1)->GetFrame();
30571 wxPyEndAllowThreads(__tstate);
30572 if (PyErr_Occurred()) SWIG_fail;
30573 }
30574 {
30575 resultobj = wxPyMake_wxObject(result, 0);
30576 }
30577 return resultobj;
30578 fail:
30579 return NULL;
30580 }
30581
30582
30583 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30584 PyObject *resultobj = 0;
30585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30586 wxPreviewCanvas *result = 0 ;
30587 void *argp1 = 0 ;
30588 int res1 = 0 ;
30589 PyObject *swig_obj[1] ;
30590
30591 if (!args) SWIG_fail;
30592 swig_obj[0] = args;
30593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30594 if (!SWIG_IsOK(res1)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30596 }
30597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30598 {
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30605 return resultobj;
30606 fail:
30607 return NULL;
30608 }
30609
30610
30611 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30612 PyObject *resultobj = 0;
30613 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30614 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30615 wxDC *arg3 = 0 ;
30616 bool result;
30617 void *argp1 = 0 ;
30618 int res1 = 0 ;
30619 void *argp2 = 0 ;
30620 int res2 = 0 ;
30621 void *argp3 = 0 ;
30622 int res3 = 0 ;
30623 PyObject * obj0 = 0 ;
30624 PyObject * obj1 = 0 ;
30625 PyObject * obj2 = 0 ;
30626 char * kwnames[] = {
30627 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30628 };
30629
30630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30632 if (!SWIG_IsOK(res1)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30634 }
30635 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30637 if (!SWIG_IsOK(res2)) {
30638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30639 }
30640 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30641 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30642 if (!SWIG_IsOK(res3)) {
30643 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30644 }
30645 if (!argp3) {
30646 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30647 }
30648 arg3 = reinterpret_cast< wxDC * >(argp3);
30649 {
30650 PyThreadState* __tstate = wxPyBeginAllowThreads();
30651 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30652 wxPyEndAllowThreads(__tstate);
30653 if (PyErr_Occurred()) SWIG_fail;
30654 }
30655 {
30656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30657 }
30658 return resultobj;
30659 fail:
30660 return NULL;
30661 }
30662
30663
30664 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30665 PyObject *resultobj = 0;
30666 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30667 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30668 wxDC *arg3 = 0 ;
30669 bool result;
30670 void *argp1 = 0 ;
30671 int res1 = 0 ;
30672 void *argp2 = 0 ;
30673 int res2 = 0 ;
30674 void *argp3 = 0 ;
30675 int res3 = 0 ;
30676 PyObject * obj0 = 0 ;
30677 PyObject * obj1 = 0 ;
30678 PyObject * obj2 = 0 ;
30679 char * kwnames[] = {
30680 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30681 };
30682
30683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30685 if (!SWIG_IsOK(res1)) {
30686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30687 }
30688 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30689 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30690 if (!SWIG_IsOK(res2)) {
30691 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30692 }
30693 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30694 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30695 if (!SWIG_IsOK(res3)) {
30696 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30697 }
30698 if (!argp3) {
30699 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30700 }
30701 arg3 = reinterpret_cast< wxDC * >(argp3);
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30705 wxPyEndAllowThreads(__tstate);
30706 if (PyErr_Occurred()) SWIG_fail;
30707 }
30708 {
30709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30710 }
30711 return resultobj;
30712 fail:
30713 return NULL;
30714 }
30715
30716
30717 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30718 PyObject *resultobj = 0;
30719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30720 int arg2 ;
30721 bool result;
30722 void *argp1 = 0 ;
30723 int res1 = 0 ;
30724 int val2 ;
30725 int ecode2 = 0 ;
30726 PyObject * obj0 = 0 ;
30727 PyObject * obj1 = 0 ;
30728 char * kwnames[] = {
30729 (char *) "self",(char *) "pageNum", NULL
30730 };
30731
30732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30734 if (!SWIG_IsOK(res1)) {
30735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30736 }
30737 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30738 ecode2 = SWIG_AsVal_int(obj1, &val2);
30739 if (!SWIG_IsOK(ecode2)) {
30740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30741 }
30742 arg2 = static_cast< int >(val2);
30743 {
30744 PyThreadState* __tstate = wxPyBeginAllowThreads();
30745 result = (bool)(arg1)->RenderPage(arg2);
30746 wxPyEndAllowThreads(__tstate);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 {
30750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30751 }
30752 return resultobj;
30753 fail:
30754 return NULL;
30755 }
30756
30757
30758 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30759 PyObject *resultobj = 0;
30760 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30761 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30762 void *argp1 = 0 ;
30763 int res1 = 0 ;
30764 void *argp2 = 0 ;
30765 int res2 = 0 ;
30766 PyObject * obj0 = 0 ;
30767 PyObject * obj1 = 0 ;
30768 char * kwnames[] = {
30769 (char *) "self",(char *) "canvas", NULL
30770 };
30771
30772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30774 if (!SWIG_IsOK(res1)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30776 }
30777 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30778 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30779 if (!SWIG_IsOK(res2)) {
30780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30781 }
30782 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30783 {
30784 PyThreadState* __tstate = wxPyBeginAllowThreads();
30785 (arg1)->AdjustScrollbars(arg2);
30786 wxPyEndAllowThreads(__tstate);
30787 if (PyErr_Occurred()) SWIG_fail;
30788 }
30789 resultobj = SWIG_Py_Void();
30790 return resultobj;
30791 fail:
30792 return NULL;
30793 }
30794
30795
30796 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30797 PyObject *resultobj = 0;
30798 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30799 wxPrintDialogData *result = 0 ;
30800 void *argp1 = 0 ;
30801 int res1 = 0 ;
30802 PyObject *swig_obj[1] ;
30803
30804 if (!args) SWIG_fail;
30805 swig_obj[0] = args;
30806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30807 if (!SWIG_IsOK(res1)) {
30808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30809 }
30810 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30811 {
30812 PyThreadState* __tstate = wxPyBeginAllowThreads();
30813 {
30814 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30815 result = (wxPrintDialogData *) &_result_ref;
30816 }
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30821 return resultobj;
30822 fail:
30823 return NULL;
30824 }
30825
30826
30827 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30828 PyObject *resultobj = 0;
30829 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30830 int arg2 ;
30831 void *argp1 = 0 ;
30832 int res1 = 0 ;
30833 int val2 ;
30834 int ecode2 = 0 ;
30835 PyObject * obj0 = 0 ;
30836 PyObject * obj1 = 0 ;
30837 char * kwnames[] = {
30838 (char *) "self",(char *) "percent", NULL
30839 };
30840
30841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30843 if (!SWIG_IsOK(res1)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30845 }
30846 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30847 ecode2 = SWIG_AsVal_int(obj1, &val2);
30848 if (!SWIG_IsOK(ecode2)) {
30849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30850 }
30851 arg2 = static_cast< int >(val2);
30852 {
30853 PyThreadState* __tstate = wxPyBeginAllowThreads();
30854 (arg1)->SetZoom(arg2);
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 resultobj = SWIG_Py_Void();
30859 return resultobj;
30860 fail:
30861 return NULL;
30862 }
30863
30864
30865 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30866 PyObject *resultobj = 0;
30867 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30868 int result;
30869 void *argp1 = 0 ;
30870 int res1 = 0 ;
30871 PyObject *swig_obj[1] ;
30872
30873 if (!args) SWIG_fail;
30874 swig_obj[0] = args;
30875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30876 if (!SWIG_IsOK(res1)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30878 }
30879 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 result = (int)(arg1)->GetZoom();
30883 wxPyEndAllowThreads(__tstate);
30884 if (PyErr_Occurred()) SWIG_fail;
30885 }
30886 resultobj = SWIG_From_int(static_cast< int >(result));
30887 return resultobj;
30888 fail:
30889 return NULL;
30890 }
30891
30892
30893 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30894 PyObject *resultobj = 0;
30895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30896 int result;
30897 void *argp1 = 0 ;
30898 int res1 = 0 ;
30899 PyObject *swig_obj[1] ;
30900
30901 if (!args) SWIG_fail;
30902 swig_obj[0] = args;
30903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30904 if (!SWIG_IsOK(res1)) {
30905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30906 }
30907 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30908 {
30909 PyThreadState* __tstate = wxPyBeginAllowThreads();
30910 result = (int)(arg1)->GetMaxPage();
30911 wxPyEndAllowThreads(__tstate);
30912 if (PyErr_Occurred()) SWIG_fail;
30913 }
30914 resultobj = SWIG_From_int(static_cast< int >(result));
30915 return resultobj;
30916 fail:
30917 return NULL;
30918 }
30919
30920
30921 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30922 PyObject *resultobj = 0;
30923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30924 int result;
30925 void *argp1 = 0 ;
30926 int res1 = 0 ;
30927 PyObject *swig_obj[1] ;
30928
30929 if (!args) SWIG_fail;
30930 swig_obj[0] = args;
30931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30932 if (!SWIG_IsOK(res1)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30934 }
30935 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30936 {
30937 PyThreadState* __tstate = wxPyBeginAllowThreads();
30938 result = (int)(arg1)->GetMinPage();
30939 wxPyEndAllowThreads(__tstate);
30940 if (PyErr_Occurred()) SWIG_fail;
30941 }
30942 resultobj = SWIG_From_int(static_cast< int >(result));
30943 return resultobj;
30944 fail:
30945 return NULL;
30946 }
30947
30948
30949 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30950 PyObject *resultobj = 0;
30951 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30952 bool result;
30953 void *argp1 = 0 ;
30954 int res1 = 0 ;
30955 PyObject *swig_obj[1] ;
30956
30957 if (!args) SWIG_fail;
30958 swig_obj[0] = args;
30959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30960 if (!SWIG_IsOK(res1)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30962 }
30963 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30964 {
30965 PyThreadState* __tstate = wxPyBeginAllowThreads();
30966 result = (bool)(arg1)->IsOk();
30967 wxPyEndAllowThreads(__tstate);
30968 if (PyErr_Occurred()) SWIG_fail;
30969 }
30970 {
30971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30972 }
30973 return resultobj;
30974 fail:
30975 return NULL;
30976 }
30977
30978
30979 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30980 PyObject *resultobj = 0;
30981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30982 bool arg2 ;
30983 void *argp1 = 0 ;
30984 int res1 = 0 ;
30985 bool val2 ;
30986 int ecode2 = 0 ;
30987 PyObject * obj0 = 0 ;
30988 PyObject * obj1 = 0 ;
30989 char * kwnames[] = {
30990 (char *) "self",(char *) "ok", NULL
30991 };
30992
30993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30995 if (!SWIG_IsOK(res1)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30997 }
30998 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30999 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31000 if (!SWIG_IsOK(ecode2)) {
31001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31002 }
31003 arg2 = static_cast< bool >(val2);
31004 {
31005 PyThreadState* __tstate = wxPyBeginAllowThreads();
31006 (arg1)->SetOk(arg2);
31007 wxPyEndAllowThreads(__tstate);
31008 if (PyErr_Occurred()) SWIG_fail;
31009 }
31010 resultobj = SWIG_Py_Void();
31011 return resultobj;
31012 fail:
31013 return NULL;
31014 }
31015
31016
31017 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31018 PyObject *resultobj = 0;
31019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31020 bool arg2 ;
31021 bool result;
31022 void *argp1 = 0 ;
31023 int res1 = 0 ;
31024 bool val2 ;
31025 int ecode2 = 0 ;
31026 PyObject * obj0 = 0 ;
31027 PyObject * obj1 = 0 ;
31028 char * kwnames[] = {
31029 (char *) "self",(char *) "interactive", NULL
31030 };
31031
31032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
31033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31034 if (!SWIG_IsOK(res1)) {
31035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31036 }
31037 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31038 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31039 if (!SWIG_IsOK(ecode2)) {
31040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31041 }
31042 arg2 = static_cast< bool >(val2);
31043 {
31044 PyThreadState* __tstate = wxPyBeginAllowThreads();
31045 result = (bool)(arg1)->Print(arg2);
31046 wxPyEndAllowThreads(__tstate);
31047 if (PyErr_Occurred()) SWIG_fail;
31048 }
31049 {
31050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31051 }
31052 return resultobj;
31053 fail:
31054 return NULL;
31055 }
31056
31057
31058 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31059 PyObject *resultobj = 0;
31060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31061 void *argp1 = 0 ;
31062 int res1 = 0 ;
31063 PyObject *swig_obj[1] ;
31064
31065 if (!args) SWIG_fail;
31066 swig_obj[0] = args;
31067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31068 if (!SWIG_IsOK(res1)) {
31069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31070 }
31071 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31072 {
31073 PyThreadState* __tstate = wxPyBeginAllowThreads();
31074 (arg1)->DetermineScaling();
31075 wxPyEndAllowThreads(__tstate);
31076 if (PyErr_Occurred()) SWIG_fail;
31077 }
31078 resultobj = SWIG_Py_Void();
31079 return resultobj;
31080 fail:
31081 return NULL;
31082 }
31083
31084
31085 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31086 PyObject *obj;
31087 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31088 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31089 return SWIG_Py_Void();
31090 }
31091
31092 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31093 return SWIG_Python_InitShadowInstance(args);
31094 }
31095
31096 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31097 PyObject *resultobj = 0;
31098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31099 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31100 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31101 wxPyPrintPreview *result = 0 ;
31102 int res1 = 0 ;
31103 int res2 = 0 ;
31104 void *argp3 = 0 ;
31105 int res3 = 0 ;
31106
31107 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31108 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31109 if (!SWIG_IsOK(res1)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31111 }
31112 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31113 if (!SWIG_IsOK(res2)) {
31114 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31115 }
31116 if (swig_obj[2]) {
31117 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31118 if (!SWIG_IsOK(res3)) {
31119 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31120 }
31121 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31122 }
31123 {
31124 if (!wxPyCheckForApp()) SWIG_fail;
31125 PyThreadState* __tstate = wxPyBeginAllowThreads();
31126 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31127 wxPyEndAllowThreads(__tstate);
31128 if (PyErr_Occurred()) SWIG_fail;
31129 }
31130 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31131 return resultobj;
31132 fail:
31133 return NULL;
31134 }
31135
31136
31137 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31138 PyObject *resultobj = 0;
31139 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31140 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31141 wxPrintData *arg3 = (wxPrintData *) 0 ;
31142 wxPyPrintPreview *result = 0 ;
31143 int res1 = 0 ;
31144 int res2 = 0 ;
31145 void *argp3 = 0 ;
31146 int res3 = 0 ;
31147
31148 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31149 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31150 if (!SWIG_IsOK(res1)) {
31151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31152 }
31153 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31154 if (!SWIG_IsOK(res2)) {
31155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31156 }
31157 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31158 if (!SWIG_IsOK(res3)) {
31159 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31160 }
31161 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31162 {
31163 if (!wxPyCheckForApp()) SWIG_fail;
31164 PyThreadState* __tstate = wxPyBeginAllowThreads();
31165 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31166 wxPyEndAllowThreads(__tstate);
31167 if (PyErr_Occurred()) SWIG_fail;
31168 }
31169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31170 return resultobj;
31171 fail:
31172 return NULL;
31173 }
31174
31175
31176 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31177 int argc;
31178 PyObject *argv[4];
31179
31180 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31181 --argc;
31182 if ((argc >= 2) && (argc <= 3)) {
31183 int _v = 0;
31184 if (argc > 2) {
31185 {
31186 void *vptr = 0;
31187 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31188 _v = SWIG_CheckState(res);
31189 }
31190 if (!_v) goto check_1;
31191 }
31192 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31193 }
31194 check_1:
31195
31196 if (argc == 3) {
31197 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31198 }
31199
31200 fail:
31201 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31202 return NULL;
31203 }
31204
31205
31206 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31207 PyObject *resultobj = 0;
31208 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31209 PyObject *arg2 = (PyObject *) 0 ;
31210 PyObject *arg3 = (PyObject *) 0 ;
31211 void *argp1 = 0 ;
31212 int res1 = 0 ;
31213 PyObject * obj0 = 0 ;
31214 PyObject * obj1 = 0 ;
31215 PyObject * obj2 = 0 ;
31216 char * kwnames[] = {
31217 (char *) "self",(char *) "self",(char *) "_class", NULL
31218 };
31219
31220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31222 if (!SWIG_IsOK(res1)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31224 }
31225 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31226 arg2 = obj1;
31227 arg3 = obj2;
31228 {
31229 PyThreadState* __tstate = wxPyBeginAllowThreads();
31230 (arg1)->_setCallbackInfo(arg2,arg3);
31231 wxPyEndAllowThreads(__tstate);
31232 if (PyErr_Occurred()) SWIG_fail;
31233 }
31234 resultobj = SWIG_Py_Void();
31235 return resultobj;
31236 fail:
31237 return NULL;
31238 }
31239
31240
31241 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31242 PyObject *obj;
31243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31244 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31245 return SWIG_Py_Void();
31246 }
31247
31248 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31249 return SWIG_Python_InitShadowInstance(args);
31250 }
31251
31252 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31253 PyObject *resultobj = 0;
31254 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31255 wxFrame *arg2 = (wxFrame *) 0 ;
31256 wxString *arg3 = 0 ;
31257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31259 wxSize const &arg5_defvalue = wxDefaultSize ;
31260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31261 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31262 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31263 wxString *arg7 = (wxString *) &arg7_defvalue ;
31264 wxPyPreviewFrame *result = 0 ;
31265 int res1 = 0 ;
31266 void *argp2 = 0 ;
31267 int res2 = 0 ;
31268 bool temp3 = false ;
31269 wxPoint temp4 ;
31270 wxSize temp5 ;
31271 long val6 ;
31272 int ecode6 = 0 ;
31273 bool temp7 = false ;
31274 PyObject * obj0 = 0 ;
31275 PyObject * obj1 = 0 ;
31276 PyObject * obj2 = 0 ;
31277 PyObject * obj3 = 0 ;
31278 PyObject * obj4 = 0 ;
31279 PyObject * obj5 = 0 ;
31280 PyObject * obj6 = 0 ;
31281 char * kwnames[] = {
31282 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31283 };
31284
31285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31286 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31287 if (!SWIG_IsOK(res1)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31289 }
31290 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31291 if (!SWIG_IsOK(res2)) {
31292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31293 }
31294 arg2 = reinterpret_cast< wxFrame * >(argp2);
31295 {
31296 arg3 = wxString_in_helper(obj2);
31297 if (arg3 == NULL) SWIG_fail;
31298 temp3 = true;
31299 }
31300 if (obj3) {
31301 {
31302 arg4 = &temp4;
31303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31304 }
31305 }
31306 if (obj4) {
31307 {
31308 arg5 = &temp5;
31309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31310 }
31311 }
31312 if (obj5) {
31313 ecode6 = SWIG_AsVal_long(obj5, &val6);
31314 if (!SWIG_IsOK(ecode6)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31316 }
31317 arg6 = static_cast< long >(val6);
31318 }
31319 if (obj6) {
31320 {
31321 arg7 = wxString_in_helper(obj6);
31322 if (arg7 == NULL) SWIG_fail;
31323 temp7 = true;
31324 }
31325 }
31326 {
31327 if (!wxPyCheckForApp()) SWIG_fail;
31328 PyThreadState* __tstate = wxPyBeginAllowThreads();
31329 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31330 wxPyEndAllowThreads(__tstate);
31331 if (PyErr_Occurred()) SWIG_fail;
31332 }
31333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31334 {
31335 if (temp3)
31336 delete arg3;
31337 }
31338 {
31339 if (temp7)
31340 delete arg7;
31341 }
31342 return resultobj;
31343 fail:
31344 {
31345 if (temp3)
31346 delete arg3;
31347 }
31348 {
31349 if (temp7)
31350 delete arg7;
31351 }
31352 return NULL;
31353 }
31354
31355
31356 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31357 PyObject *resultobj = 0;
31358 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31359 PyObject *arg2 = (PyObject *) 0 ;
31360 PyObject *arg3 = (PyObject *) 0 ;
31361 void *argp1 = 0 ;
31362 int res1 = 0 ;
31363 PyObject * obj0 = 0 ;
31364 PyObject * obj1 = 0 ;
31365 PyObject * obj2 = 0 ;
31366 char * kwnames[] = {
31367 (char *) "self",(char *) "self",(char *) "_class", NULL
31368 };
31369
31370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31372 if (!SWIG_IsOK(res1)) {
31373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31374 }
31375 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31376 arg2 = obj1;
31377 arg3 = obj2;
31378 {
31379 PyThreadState* __tstate = wxPyBeginAllowThreads();
31380 (arg1)->_setCallbackInfo(arg2,arg3);
31381 wxPyEndAllowThreads(__tstate);
31382 if (PyErr_Occurred()) SWIG_fail;
31383 }
31384 resultobj = SWIG_Py_Void();
31385 return resultobj;
31386 fail:
31387 return NULL;
31388 }
31389
31390
31391 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31392 PyObject *resultobj = 0;
31393 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31394 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31395 void *argp1 = 0 ;
31396 int res1 = 0 ;
31397 void *argp2 = 0 ;
31398 int res2 = 0 ;
31399 PyObject * obj0 = 0 ;
31400 PyObject * obj1 = 0 ;
31401 char * kwnames[] = {
31402 (char *) "self",(char *) "canvas", NULL
31403 };
31404
31405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31407 if (!SWIG_IsOK(res1)) {
31408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31409 }
31410 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31412 if (!SWIG_IsOK(res2)) {
31413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31414 }
31415 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31416 {
31417 PyThreadState* __tstate = wxPyBeginAllowThreads();
31418 (arg1)->SetPreviewCanvas(arg2);
31419 wxPyEndAllowThreads(__tstate);
31420 if (PyErr_Occurred()) SWIG_fail;
31421 }
31422 resultobj = SWIG_Py_Void();
31423 return resultobj;
31424 fail:
31425 return NULL;
31426 }
31427
31428
31429 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31430 PyObject *resultobj = 0;
31431 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31432 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31433 void *argp1 = 0 ;
31434 int res1 = 0 ;
31435 void *argp2 = 0 ;
31436 int res2 = 0 ;
31437 PyObject * obj0 = 0 ;
31438 PyObject * obj1 = 0 ;
31439 char * kwnames[] = {
31440 (char *) "self",(char *) "bar", NULL
31441 };
31442
31443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31445 if (!SWIG_IsOK(res1)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31447 }
31448 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31450 if (!SWIG_IsOK(res2)) {
31451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31452 }
31453 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31454 {
31455 PyThreadState* __tstate = wxPyBeginAllowThreads();
31456 (arg1)->SetControlBar(arg2);
31457 wxPyEndAllowThreads(__tstate);
31458 if (PyErr_Occurred()) SWIG_fail;
31459 }
31460 resultobj = SWIG_Py_Void();
31461 return resultobj;
31462 fail:
31463 return NULL;
31464 }
31465
31466
31467 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31468 PyObject *resultobj = 0;
31469 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31470 void *argp1 = 0 ;
31471 int res1 = 0 ;
31472 PyObject *swig_obj[1] ;
31473
31474 if (!args) SWIG_fail;
31475 swig_obj[0] = args;
31476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31477 if (!SWIG_IsOK(res1)) {
31478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31479 }
31480 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31481 {
31482 PyThreadState* __tstate = wxPyBeginAllowThreads();
31483 (arg1)->Initialize();
31484 wxPyEndAllowThreads(__tstate);
31485 if (PyErr_Occurred()) SWIG_fail;
31486 }
31487 resultobj = SWIG_Py_Void();
31488 return resultobj;
31489 fail:
31490 return NULL;
31491 }
31492
31493
31494 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31495 PyObject *resultobj = 0;
31496 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31497 void *argp1 = 0 ;
31498 int res1 = 0 ;
31499 PyObject *swig_obj[1] ;
31500
31501 if (!args) SWIG_fail;
31502 swig_obj[0] = args;
31503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31504 if (!SWIG_IsOK(res1)) {
31505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31506 }
31507 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31508 {
31509 PyThreadState* __tstate = wxPyBeginAllowThreads();
31510 (arg1)->CreateCanvas();
31511 wxPyEndAllowThreads(__tstate);
31512 if (PyErr_Occurred()) SWIG_fail;
31513 }
31514 resultobj = SWIG_Py_Void();
31515 return resultobj;
31516 fail:
31517 return NULL;
31518 }
31519
31520
31521 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31522 PyObject *resultobj = 0;
31523 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31524 void *argp1 = 0 ;
31525 int res1 = 0 ;
31526 PyObject *swig_obj[1] ;
31527
31528 if (!args) SWIG_fail;
31529 swig_obj[0] = args;
31530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31531 if (!SWIG_IsOK(res1)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31533 }
31534 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31535 {
31536 PyThreadState* __tstate = wxPyBeginAllowThreads();
31537 (arg1)->CreateControlBar();
31538 wxPyEndAllowThreads(__tstate);
31539 if (PyErr_Occurred()) SWIG_fail;
31540 }
31541 resultobj = SWIG_Py_Void();
31542 return resultobj;
31543 fail:
31544 return NULL;
31545 }
31546
31547
31548 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31549 PyObject *obj;
31550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31551 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31552 return SWIG_Py_Void();
31553 }
31554
31555 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31556 return SWIG_Python_InitShadowInstance(args);
31557 }
31558
31559 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31560 PyObject *resultobj = 0;
31561 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31562 long arg2 ;
31563 wxWindow *arg3 = (wxWindow *) 0 ;
31564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31566 wxSize const &arg5_defvalue = wxDefaultSize ;
31567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31568 long arg6 = (long) 0 ;
31569 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31570 wxString *arg7 = (wxString *) &arg7_defvalue ;
31571 wxPyPreviewControlBar *result = 0 ;
31572 int res1 = 0 ;
31573 long val2 ;
31574 int ecode2 = 0 ;
31575 void *argp3 = 0 ;
31576 int res3 = 0 ;
31577 wxPoint temp4 ;
31578 wxSize temp5 ;
31579 long val6 ;
31580 int ecode6 = 0 ;
31581 bool temp7 = false ;
31582 PyObject * obj0 = 0 ;
31583 PyObject * obj1 = 0 ;
31584 PyObject * obj2 = 0 ;
31585 PyObject * obj3 = 0 ;
31586 PyObject * obj4 = 0 ;
31587 PyObject * obj5 = 0 ;
31588 PyObject * obj6 = 0 ;
31589 char * kwnames[] = {
31590 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31591 };
31592
31593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31594 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31595 if (!SWIG_IsOK(res1)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31597 }
31598 ecode2 = SWIG_AsVal_long(obj1, &val2);
31599 if (!SWIG_IsOK(ecode2)) {
31600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31601 }
31602 arg2 = static_cast< long >(val2);
31603 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31604 if (!SWIG_IsOK(res3)) {
31605 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31606 }
31607 arg3 = reinterpret_cast< wxWindow * >(argp3);
31608 if (obj3) {
31609 {
31610 arg4 = &temp4;
31611 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31612 }
31613 }
31614 if (obj4) {
31615 {
31616 arg5 = &temp5;
31617 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31618 }
31619 }
31620 if (obj5) {
31621 ecode6 = SWIG_AsVal_long(obj5, &val6);
31622 if (!SWIG_IsOK(ecode6)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31624 }
31625 arg6 = static_cast< long >(val6);
31626 }
31627 if (obj6) {
31628 {
31629 arg7 = wxString_in_helper(obj6);
31630 if (arg7 == NULL) SWIG_fail;
31631 temp7 = true;
31632 }
31633 }
31634 {
31635 if (!wxPyCheckForApp()) SWIG_fail;
31636 PyThreadState* __tstate = wxPyBeginAllowThreads();
31637 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31638 wxPyEndAllowThreads(__tstate);
31639 if (PyErr_Occurred()) SWIG_fail;
31640 }
31641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31642 {
31643 if (temp7)
31644 delete arg7;
31645 }
31646 return resultobj;
31647 fail:
31648 {
31649 if (temp7)
31650 delete arg7;
31651 }
31652 return NULL;
31653 }
31654
31655
31656 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31657 PyObject *resultobj = 0;
31658 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31659 PyObject *arg2 = (PyObject *) 0 ;
31660 PyObject *arg3 = (PyObject *) 0 ;
31661 void *argp1 = 0 ;
31662 int res1 = 0 ;
31663 PyObject * obj0 = 0 ;
31664 PyObject * obj1 = 0 ;
31665 PyObject * obj2 = 0 ;
31666 char * kwnames[] = {
31667 (char *) "self",(char *) "self",(char *) "_class", NULL
31668 };
31669
31670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31672 if (!SWIG_IsOK(res1)) {
31673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31674 }
31675 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31676 arg2 = obj1;
31677 arg3 = obj2;
31678 {
31679 PyThreadState* __tstate = wxPyBeginAllowThreads();
31680 (arg1)->_setCallbackInfo(arg2,arg3);
31681 wxPyEndAllowThreads(__tstate);
31682 if (PyErr_Occurred()) SWIG_fail;
31683 }
31684 resultobj = SWIG_Py_Void();
31685 return resultobj;
31686 fail:
31687 return NULL;
31688 }
31689
31690
31691 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31692 PyObject *resultobj = 0;
31693 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31694 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31695 void *argp1 = 0 ;
31696 int res1 = 0 ;
31697 int res2 = 0 ;
31698 PyObject * obj0 = 0 ;
31699 PyObject * obj1 = 0 ;
31700 char * kwnames[] = {
31701 (char *) "self",(char *) "preview", NULL
31702 };
31703
31704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31706 if (!SWIG_IsOK(res1)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31708 }
31709 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31710 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31711 if (!SWIG_IsOK(res2)) {
31712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31713 }
31714 {
31715 PyThreadState* __tstate = wxPyBeginAllowThreads();
31716 (arg1)->SetPrintPreview(arg2);
31717 wxPyEndAllowThreads(__tstate);
31718 if (PyErr_Occurred()) SWIG_fail;
31719 }
31720 resultobj = SWIG_Py_Void();
31721 return resultobj;
31722 fail:
31723 return NULL;
31724 }
31725
31726
31727 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31728 PyObject *resultobj = 0;
31729 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31730 void *argp1 = 0 ;
31731 int res1 = 0 ;
31732 PyObject *swig_obj[1] ;
31733
31734 if (!args) SWIG_fail;
31735 swig_obj[0] = args;
31736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31737 if (!SWIG_IsOK(res1)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31739 }
31740 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31741 {
31742 PyThreadState* __tstate = wxPyBeginAllowThreads();
31743 (arg1)->CreateButtons();
31744 wxPyEndAllowThreads(__tstate);
31745 if (PyErr_Occurred()) SWIG_fail;
31746 }
31747 resultobj = SWIG_Py_Void();
31748 return resultobj;
31749 fail:
31750 return NULL;
31751 }
31752
31753
31754 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31755 PyObject *resultobj = 0;
31756 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31757 int arg2 ;
31758 void *argp1 = 0 ;
31759 int res1 = 0 ;
31760 int val2 ;
31761 int ecode2 = 0 ;
31762 PyObject * obj0 = 0 ;
31763 PyObject * obj1 = 0 ;
31764 char * kwnames[] = {
31765 (char *) "self",(char *) "zoom", NULL
31766 };
31767
31768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31770 if (!SWIG_IsOK(res1)) {
31771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31772 }
31773 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31774 ecode2 = SWIG_AsVal_int(obj1, &val2);
31775 if (!SWIG_IsOK(ecode2)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31777 }
31778 arg2 = static_cast< int >(val2);
31779 {
31780 PyThreadState* __tstate = wxPyBeginAllowThreads();
31781 (arg1)->SetZoomControl(arg2);
31782 wxPyEndAllowThreads(__tstate);
31783 if (PyErr_Occurred()) SWIG_fail;
31784 }
31785 resultobj = SWIG_Py_Void();
31786 return resultobj;
31787 fail:
31788 return NULL;
31789 }
31790
31791
31792 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31793 PyObject *obj;
31794 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31796 return SWIG_Py_Void();
31797 }
31798
31799 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31800 return SWIG_Python_InitShadowInstance(args);
31801 }
31802
31803 static PyMethodDef SwigMethods[] = {
31804 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31806 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31808 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31810 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31811 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31813 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31820 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31822 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31824 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31825 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31826 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31827 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31828 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31831 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31834 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31835 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31837 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31839 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31840 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31841 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31842 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31846 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31848 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31852 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31854 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31856 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31859 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31860 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31862 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31864 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31866 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31869 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31876 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31878 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31883 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31884 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31886 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31889 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31891 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31893 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31898 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31899 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31902 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31903 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31905 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31907 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31908 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31911 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31912 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31913 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31915 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31916 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31917 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31918 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31919 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31921 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31924 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31933 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31934 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31936 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31937 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31939 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31941 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31942 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31944 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31950 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31951 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31954 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31955 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31957 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31959 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31961 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31963 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31965 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31967 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31968 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31971 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31972 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31973 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31974 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31975 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31976 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31978 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31986 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31988 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31991 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31992 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31995 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31996 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31998 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31999 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
32000 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
32003 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
32005 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
32007 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
32008 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
32009 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
32012 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
32014 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
32016 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
32018 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
32020 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
32021 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
32022 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
32025 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
32027 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
32028 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
32029 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
32031 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
32033 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
32034 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
32038 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
32039 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
32040 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
32041 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
32045 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
32046 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
32048 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
32051 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
32052 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
32054 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
32057 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
32058 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
32059 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
32062 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
32063 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
32064 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
32066 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32075 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32076 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32077 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
32078 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32080 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32081 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
32084 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
32085 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
32087 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32090 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32091 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
32092 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32095 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
32096 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32098 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
32099 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
32101 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32106 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
32107 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
32113 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
32114 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
32116 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
32120 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
32122 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
32123 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32125 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32127 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
32128 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32129 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
32130 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32132 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32133 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
32134 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
32136 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
32138 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32139 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32141 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32142 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32143 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32144 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32145 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32146 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32151 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32152 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32154 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32155 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32156 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32159 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32160 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32163 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32164 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32172 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32173 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32174 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32175 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32176 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32177 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32178 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32179 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32180 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32181 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32182 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32184 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32185 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32186 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32188 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32189 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32191 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32192 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32194 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32196 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32197 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32199 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32200 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32202 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32203 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32204 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32205 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32206 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32208 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32209 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32210 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32211 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32212 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32213 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32220 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32221 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32223 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32224 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32225 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32228 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32229 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32233 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32234 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32235 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32237 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32238 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32239 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32240 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32244 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32245 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32247 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32248 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32249 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32250 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32251 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32252 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32254 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32255 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32257 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32259 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32261 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32262 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32263 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32264 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32266 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32267 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32268 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32269 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32270 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32271 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32273 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32274 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32275 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32276 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32277 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32278 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32279 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32280 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32282 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32284 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32285 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32287 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32294 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32295 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32296 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32297 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32298 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32299 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32300 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32301 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32302 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32304 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32307 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32308 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32309 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32310 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32311 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32312 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32313 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32314 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32315 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32316 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32317 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32318 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32319 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32321 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32325 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32326 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32327 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32328 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32329 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32330 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32331 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32332 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32333 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32334 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32335 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32336 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32337 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32338 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32339 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32340 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32341 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32342 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32343 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32344 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32345 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32346 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32347 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32348 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32349 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32350 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32351 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32352 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32353 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32354 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32355 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32356 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32358 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32359 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32361 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32362 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32366 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32367 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32368 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32369 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32370 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32371 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32372 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32373 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32376 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32377 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32378 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32379 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32380 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32381 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32382 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32383 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32384 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32385 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32386 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32387 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32388 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32389 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32390 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32391 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32392 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32393 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32395 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32400 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32401 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32402 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32403 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32404 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32405 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32406 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32407 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32408 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32409 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32410 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32411 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32412 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32413 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32414 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32415 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32416 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32417 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32418 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32419 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32420 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32421 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32422 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32423 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32424 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32426 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32430 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32431 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32432 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32433 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32434 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32435 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32436 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32437 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32438 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32439 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32440 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32441 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32442 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32443 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32444 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32445 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32446 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32447 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32448 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32449 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32450 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32451 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32452 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32453 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32454 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32455 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32456 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32457 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32458 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32459 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32460 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32461 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32462 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32463 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32464 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32465 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32466 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32467 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32468 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32469 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32470 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32471 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32472 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32473 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32474 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32475 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32476 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32477 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32478 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32479 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32480 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32481 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32482 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32483 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32484 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32485 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32486 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32487 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32488 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32489 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32490 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32491 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32492 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32493 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32494 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32495 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32496 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32497 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32498 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32499 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32500 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32501 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32502 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32503 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32504 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32505 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32506 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32507 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32508 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32509 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32510 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32511 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32512 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32513 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32514 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32515 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32516 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32517 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32518 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32519 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32520 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32521 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32522 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32523 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32524 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32525 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32526 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32527 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32528 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32529 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32530 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32532 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32533 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32534 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32535 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32536 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32537 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32538 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32539 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32540 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32541 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32542 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32543 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32544 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32545 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32546 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32547 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32548 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32549 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32550 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32551 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32552 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32553 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32554 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32555 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32556 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32557 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32558 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32559 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32560 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32561 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32562 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32563 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32564 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32565 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32566 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32568 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32569 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32570 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32571 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32572 { NULL, NULL, 0, NULL }
32573 };
32574
32575
32576 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32577
32578 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32579 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32580 }
32581 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32582 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32583 }
32584 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32585 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32586 }
32587 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32588 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32589 }
32590 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32591 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32592 }
32593 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32594 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32595 }
32596 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32597 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32598 }
32599 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32600 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32601 }
32602 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32603 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32604 }
32605 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32607 }
32608 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32610 }
32611 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32613 }
32614 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32615 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32616 }
32617 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32618 return (void *)((wxEvent *) ((wxPyEvent *) x));
32619 }
32620 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32621 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32622 }
32623 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32624 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32625 }
32626 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32627 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32628 }
32629 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32630 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32631 }
32632 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32633 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32634 }
32635 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32636 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32637 }
32638 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32639 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32640 }
32641 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32642 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32643 }
32644 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32645 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32646 }
32647 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32649 }
32650 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32651 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32652 }
32653 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32654 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32655 }
32656 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32657 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32658 }
32659 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32660 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32661 }
32662 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32663 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32664 }
32665 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32666 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32667 }
32668 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32669 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32670 }
32671 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32672 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32673 }
32674 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32675 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32676 }
32677 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32678 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32679 }
32680 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32682 }
32683 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32684 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32685 }
32686 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32687 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32688 }
32689 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32690 return (void *)((wxEvent *) ((wxShowEvent *) x));
32691 }
32692 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32693 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32694 }
32695 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32696 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32697 }
32698 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32699 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32700 }
32701 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32702 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32703 }
32704 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32705 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32706 }
32707 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32708 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32709 }
32710 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32711 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32712 }
32713 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32714 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32715 }
32716 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32717 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32718 }
32719 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32720 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32721 }
32722 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32723 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32724 }
32725 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32727 }
32728 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32729 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32730 }
32731 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
32732 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
32733 }
32734 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32735 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32736 }
32737 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32738 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32739 }
32740 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32741 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32742 }
32743 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32744 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32745 }
32746 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32747 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32748 }
32749 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32750 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32751 }
32752 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32753 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32754 }
32755 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32756 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32757 }
32758 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32760 }
32761 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32762 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32763 }
32764 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32765 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32766 }
32767 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32769 }
32770 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32771 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32772 }
32773 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32774 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32775 }
32776 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32778 }
32779 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32780 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32781 }
32782 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32783 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32784 }
32785 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32786 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32787 }
32788 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32789 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32790 }
32791 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32792 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32793 }
32794 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32795 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32796 }
32797 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32798 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32799 }
32800 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32801 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32802 }
32803 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32804 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32805 }
32806 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32807 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32808 }
32809 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32810 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32811 }
32812 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32814 }
32815 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32817 }
32818 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32820 }
32821 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32822 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32823 }
32824 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32825 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32826 }
32827 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32829 }
32830 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32831 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32832 }
32833 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32834 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32835 }
32836 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32837 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32838 }
32839 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32841 }
32842 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32843 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32844 }
32845 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32846 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32847 }
32848 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32849 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32850 }
32851 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32852 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32853 }
32854 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32855 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32856 }
32857 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32858 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32859 }
32860 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32861 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32862 }
32863 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32865 }
32866 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32868 }
32869 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32871 }
32872 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32874 }
32875 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32876 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32877 }
32878 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32880 }
32881 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32882 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32883 }
32884 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32885 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32886 }
32887 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32888 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32889 }
32890 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32891 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32892 }
32893 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32894 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32895 }
32896 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32897 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32898 }
32899 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32900 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32901 }
32902 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32903 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32904 }
32905 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32906 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32907 }
32908 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32909 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32910 }
32911 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32913 }
32914 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32916 }
32917 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
32919 }
32920 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32922 }
32923 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32925 }
32926 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) ((wxSizerItem *) x));
32928 }
32929 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32931 }
32932 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32934 }
32935 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32937 }
32938 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32940 }
32941 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32943 }
32944 static void *_p_wxSizerTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) ((wxSizer *) x));
32946 }
32947 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32949 }
32950 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32952 }
32953 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32955 }
32956 static void *_p_wxEventTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) ((wxEvent *) x));
32958 }
32959 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) ((wxFontData *) x));
32961 }
32962 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) ((wxPrintData *) x));
32964 }
32965 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32967 }
32968 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32970 }
32971 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32973 }
32974 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32976 }
32977 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32979 }
32980 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32982 }
32983 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32985 }
32986 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32988 }
32989 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32991 }
32992 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32994 }
32995 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32997 }
32998 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33000 }
33001 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
33003 }
33004 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33006 }
33007 static void *_p_wxControlTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33009 }
33010 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33012 }
33013 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33015 }
33016 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) ((wxFSFile *) x));
33018 }
33019 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33021 }
33022 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33024 }
33025 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33027 }
33028 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) ((wxColourData *) x));
33030 }
33031 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33033 }
33034 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33036 }
33037 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33039 }
33040 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33042 }
33043 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33045 }
33046 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33048 }
33049 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33051 }
33052 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33054 }
33055 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33057 }
33058 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33060 }
33061 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33063 }
33064 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33066 }
33067 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33069 }
33070 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33072 }
33073 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) ((wxPrinter *) x));
33075 }
33076 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33077 return (void *)((wxObject *) ((wxMenuItem *) x));
33078 }
33079 static void *_p_wxDateEventTo_p_wxObject(void *x) {
33080 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33081 }
33082 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33084 }
33085 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33087 }
33088 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33090 }
33091 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33093 }
33094 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33096 }
33097 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33099 }
33100 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33102 }
33103 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33105 }
33106 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33108 }
33109 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33111 }
33112 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33114 }
33115 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33117 }
33118 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33120 }
33121 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33123 }
33124 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33126 }
33127 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33129 }
33130 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33132 }
33133 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33135 }
33136 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) ((wxImageHandler *) x));
33138 }
33139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33140 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33141 }
33142 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33143 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33144 }
33145 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33146 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33147 }
33148 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33149 return (void *)((wxObject *) ((wxEvtHandler *) x));
33150 }
33151 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33152 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33153 }
33154 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33155 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33156 }
33157 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33159 }
33160 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33162 }
33163 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33165 }
33166 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33167 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33168 }
33169 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33170 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33171 }
33172 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33174 }
33175 static void *_p_wxImageTo_p_wxObject(void *x) {
33176 return (void *)((wxObject *) ((wxImage *) x));
33177 }
33178 static void *_p_wxFrameTo_p_wxObject(void *x) {
33179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33180 }
33181 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33182 return (void *)((wxObject *) ((wxPyPrintout *) x));
33183 }
33184 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33185 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33186 }
33187 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33188 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33189 }
33190 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33192 }
33193 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33195 }
33196 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33197 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33198 }
33199 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33200 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33201 }
33202 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33203 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33204 }
33205 static void *_p_wxWindowTo_p_wxObject(void *x) {
33206 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33207 }
33208 static void *_p_wxMenuTo_p_wxObject(void *x) {
33209 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33210 }
33211 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33213 }
33214 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33216 }
33217 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33219 }
33220 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33222 }
33223 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33225 }
33226 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33228 }
33229 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33231 }
33232 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33234 }
33235 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33237 }
33238 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33240 }
33241 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33243 }
33244 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33246 }
33247 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33249 }
33250 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33251 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33252 }
33253 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33254 return (void *)((wxObject *) ((wxPrintPreview *) x));
33255 }
33256 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33257 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33258 }
33259 static void *_p_wxPanelTo_p_wxObject(void *x) {
33260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33261 }
33262 static void *_p_wxDialogTo_p_wxObject(void *x) {
33263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33264 }
33265 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33267 }
33268 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33270 }
33271 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33273 }
33274 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33275 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33276 }
33277 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33278 return (void *)((wxObject *) ((wxPrintDialog *) x));
33279 }
33280 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33281 return (void *)((wxObject *) ((wxFileSystem *) x));
33282 }
33283 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33285 }
33286 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33287 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33288 }
33289 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33290 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33291 }
33292 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33293 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33294 }
33295 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33296 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33297 }
33298 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33299 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33300 }
33301 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33303 }
33304 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33305 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33306 }
33307 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33309 }
33310 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33312 }
33313 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33314 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33315 }
33316 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33317 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33318 }
33319 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33320 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33321 }
33322 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33324 }
33325 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33326 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33327 }
33328 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33329 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33330 }
33331 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33332 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33333 }
33334 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33335 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33336 }
33337 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33338 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33339 }
33340 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33341 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33342 }
33343 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33344 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33345 }
33346 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33347 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33348 }
33349 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33350 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33351 }
33352 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33353 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33354 }
33355 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33356 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33357 }
33358 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33359 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33360 }
33361 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33362 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33363 }
33364 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33365 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33366 }
33367 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33368 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33369 }
33370 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33371 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33372 }
33373 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33374 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33375 }
33376 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33377 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33378 }
33379 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33380 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33381 }
33382 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33383 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33384 }
33385 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33386 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33387 }
33388 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33389 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33390 }
33391 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33392 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33393 }
33394 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33395 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33396 }
33397 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33398 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33399 }
33400 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33401 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33402 }
33403 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33404 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33405 }
33406 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33407 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33408 }
33409 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33410 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33411 }
33412 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33413 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33414 }
33415 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33416 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33417 }
33418 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33419 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33420 }
33421 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33422 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33423 }
33424 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33425 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33426 }
33427 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33428 return (void *)((wxWindow *) ((wxMenuBar *) x));
33429 }
33430 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33431 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33432 }
33433 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33434 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33435 }
33436 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33438 }
33439 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33441 }
33442 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33444 }
33445 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33446 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33447 }
33448 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33449 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33450 }
33451 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33452 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33453 }
33454 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33455 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33456 }
33457 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33458 return (void *)((wxWindow *) ((wxPanel *) x));
33459 }
33460 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33461 return (void *)((wxWindow *) ((wxStatusBar *) x));
33462 }
33463 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33464 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33465 }
33466 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33467 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33468 }
33469 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33470 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33471 }
33472 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33473 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33474 }
33475 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33476 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33477 }
33478 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33479 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33480 }
33481 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33482 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33483 }
33484 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33485 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33486 }
33487 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33488 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33489 }
33490 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33491 return (void *)((wxWindow *) ((wxSashWindow *) x));
33492 }
33493 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33494 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33495 }
33496 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33497 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33498 }
33499 static void *_p_wxControlTo_p_wxWindow(void *x) {
33500 return (void *)((wxWindow *) ((wxControl *) x));
33501 }
33502 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33504 }
33505 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33507 }
33508 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33510 }
33511 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33512 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33513 }
33514 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33515 return (void *)((wxWindow *) ((wxPyWindow *) x));
33516 }
33517 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33518 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33519 }
33520 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33521 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33522 }
33523 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33524 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33525 }
33526 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33527 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33528 }
33529 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33530 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33531 }
33532 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33533 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33534 }
33535 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33536 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33537 }
33538 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33540 }
33541 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33543 }
33544 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33546 }
33547 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33548 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33549 }
33550 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33552 }
33553 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33554 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33555 }
33556 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33557 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33558 }
33559 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33560 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33561 }
33562 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33563 return (void *)((wxDialog *) ((wxColourDialog *) x));
33564 }
33565 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33566 return (void *)((wxDialog *) ((wxDirDialog *) x));
33567 }
33568 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33569 return (void *)((wxDialog *) ((wxFontDialog *) x));
33570 }
33571 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33572 return (void *)((wxDialog *) ((wxFileDialog *) x));
33573 }
33574 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33575 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33576 }
33577 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33578 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33579 }
33580 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33581 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33582 }
33583 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33584 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33585 }
33586 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33587 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33588 }
33589 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33590 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33591 }
33592 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33593 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33594 }
33595 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33596 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33597 }
33598 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33599 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33600 }
33601 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33602 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33603 }
33604 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33605 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33606 }
33607 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33608 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33609 }
33610 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33611 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33612 }
33613 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33614 return (void *)((wxPanel *) ((wxPyPanel *) x));
33615 }
33616 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33617 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33618 }
33619 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33620 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33621 }
33622 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33623 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33624 }
33625 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33626 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33627 }
33628 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33629 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33630 }
33631 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33632 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33633 }
33634 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33635 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33636 }
33637 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33638 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33639 }
33640 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33641 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33642 }
33643 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33644 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33645 }
33646 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33647 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33648 }
33649 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33650 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33651 }
33652 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33653 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33654 }
33655 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33656 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33657 }
33658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33659 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33660 }
33661 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33662 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33663 }
33664 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33665 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33666 }
33667 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33668 return (void *)((wxValidator *) ((wxPyValidator *) x));
33669 }
33670 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33672 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};
33673 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33686 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33687 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33688 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33689 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33690 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33691 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33692 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33693 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33694 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33695 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33696 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33697 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33698 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33699 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33717 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33719 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33722 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33723 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33724 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33725 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33727 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33728 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33729 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33730 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33731 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33747 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33749 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33750 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33751 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33752 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33753 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33754 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33755 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33756 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33757 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33758 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33759 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33769 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33770 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33771 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33772 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33773 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33776 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33777 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33778 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33779 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33780 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33781 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33782 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33783 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33784 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33785 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33786 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33787 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33788 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33789 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33790 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33791 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33792 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33793 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33794 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33795 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33796 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33797 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33798 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33799 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33801 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33802 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33830 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33831 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33832 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33833 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33834 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33835 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33836 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33837 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33838 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33839 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33840
33841 static swig_type_info *swig_type_initial[] = {
33842 &_swigt__p_bool,
33843 &_swigt__p_char,
33844 &_swigt__p_form_ops_t,
33845 &_swigt__p_int,
33846 &_swigt__p_unsigned_char,
33847 &_swigt__p_unsigned_int,
33848 &_swigt__p_unsigned_long,
33849 &_swigt__p_wxANIHandler,
33850 &_swigt__p_wxAcceleratorTable,
33851 &_swigt__p_wxActivateEvent,
33852 &_swigt__p_wxArrayInt,
33853 &_swigt__p_wxArrayString,
33854 &_swigt__p_wxBMPHandler,
33855 &_swigt__p_wxBitmap,
33856 &_swigt__p_wxBoxSizer,
33857 &_swigt__p_wxCURHandler,
33858 &_swigt__p_wxCalculateLayoutEvent,
33859 &_swigt__p_wxChildFocusEvent,
33860 &_swigt__p_wxClipboardTextEvent,
33861 &_swigt__p_wxCloseEvent,
33862 &_swigt__p_wxColour,
33863 &_swigt__p_wxColourData,
33864 &_swigt__p_wxColourDialog,
33865 &_swigt__p_wxCommandEvent,
33866 &_swigt__p_wxContextMenuEvent,
33867 &_swigt__p_wxControl,
33868 &_swigt__p_wxControlWithItems,
33869 &_swigt__p_wxDC,
33870 &_swigt__p_wxDateEvent,
33871 &_swigt__p_wxDialog,
33872 &_swigt__p_wxDirDialog,
33873 &_swigt__p_wxDisplayChangedEvent,
33874 &_swigt__p_wxDropFilesEvent,
33875 &_swigt__p_wxDuplexMode,
33876 &_swigt__p_wxEraseEvent,
33877 &_swigt__p_wxEvent,
33878 &_swigt__p_wxEventBlocker,
33879 &_swigt__p_wxEvtHandler,
33880 &_swigt__p_wxFSFile,
33881 &_swigt__p_wxFileDialog,
33882 &_swigt__p_wxFileSystem,
33883 &_swigt__p_wxFindDialogEvent,
33884 &_swigt__p_wxFindReplaceData,
33885 &_swigt__p_wxFindReplaceDialog,
33886 &_swigt__p_wxFlexGridSizer,
33887 &_swigt__p_wxFocusEvent,
33888 &_swigt__p_wxFont,
33889 &_swigt__p_wxFontData,
33890 &_swigt__p_wxFontDialog,
33891 &_swigt__p_wxFrame,
33892 &_swigt__p_wxGBSizerItem,
33893 &_swigt__p_wxGIFHandler,
33894 &_swigt__p_wxGridBagSizer,
33895 &_swigt__p_wxGridSizer,
33896 &_swigt__p_wxHtmlLinkInfo,
33897 &_swigt__p_wxICOHandler,
33898 &_swigt__p_wxIcon,
33899 &_swigt__p_wxIconBundle,
33900 &_swigt__p_wxIconizeEvent,
33901 &_swigt__p_wxIdleEvent,
33902 &_swigt__p_wxImage,
33903 &_swigt__p_wxImageHandler,
33904 &_swigt__p_wxIndividualLayoutConstraint,
33905 &_swigt__p_wxInitDialogEvent,
33906 &_swigt__p_wxItemContainer,
33907 &_swigt__p_wxJPEGHandler,
33908 &_swigt__p_wxKeyEvent,
33909 &_swigt__p_wxLayoutAlgorithm,
33910 &_swigt__p_wxLayoutConstraints,
33911 &_swigt__p_wxMDIChildFrame,
33912 &_swigt__p_wxMDIClientWindow,
33913 &_swigt__p_wxMDIParentFrame,
33914 &_swigt__p_wxMaximizeEvent,
33915 &_swigt__p_wxMenu,
33916 &_swigt__p_wxMenuBar,
33917 &_swigt__p_wxMenuEvent,
33918 &_swigt__p_wxMenuItem,
33919 &_swigt__p_wxMessageDialog,
33920 &_swigt__p_wxMiniFrame,
33921 &_swigt__p_wxMouseCaptureChangedEvent,
33922 &_swigt__p_wxMouseCaptureLostEvent,
33923 &_swigt__p_wxMouseEvent,
33924 &_swigt__p_wxMoveEvent,
33925 &_swigt__p_wxMultiChoiceDialog,
33926 &_swigt__p_wxNavigationKeyEvent,
33927 &_swigt__p_wxNcPaintEvent,
33928 &_swigt__p_wxNotifyEvent,
33929 &_swigt__p_wxNumberEntryDialog,
33930 &_swigt__p_wxObject,
33931 &_swigt__p_wxPCXHandler,
33932 &_swigt__p_wxPNGHandler,
33933 &_swigt__p_wxPNMHandler,
33934 &_swigt__p_wxPageSetupDialog,
33935 &_swigt__p_wxPageSetupDialogData,
33936 &_swigt__p_wxPaintEvent,
33937 &_swigt__p_wxPaletteChangedEvent,
33938 &_swigt__p_wxPanel,
33939 &_swigt__p_wxPaperSize,
33940 &_swigt__p_wxPasswordEntryDialog,
33941 &_swigt__p_wxPoint,
33942 &_swigt__p_wxPopupWindow,
33943 &_swigt__p_wxPreviewCanvas,
33944 &_swigt__p_wxPreviewControlBar,
33945 &_swigt__p_wxPreviewFrame,
33946 &_swigt__p_wxPrintData,
33947 &_swigt__p_wxPrintDialog,
33948 &_swigt__p_wxPrintDialogData,
33949 &_swigt__p_wxPrintPreview,
33950 &_swigt__p_wxPrinter,
33951 &_swigt__p_wxProgressDialog,
33952 &_swigt__p_wxPyApp,
33953 &_swigt__p_wxPyCommandEvent,
33954 &_swigt__p_wxPyEvent,
33955 &_swigt__p_wxPyHtmlListBox,
33956 &_swigt__p_wxPyImageHandler,
33957 &_swigt__p_wxPyPanel,
33958 &_swigt__p_wxPyPopupTransientWindow,
33959 &_swigt__p_wxPyPreviewControlBar,
33960 &_swigt__p_wxPyPreviewFrame,
33961 &_swigt__p_wxPyPrintPreview,
33962 &_swigt__p_wxPyPrintout,
33963 &_swigt__p_wxPyScrolledWindow,
33964 &_swigt__p_wxPySizer,
33965 &_swigt__p_wxPyTaskBarIcon,
33966 &_swigt__p_wxPyVListBox,
33967 &_swigt__p_wxPyVScrolledWindow,
33968 &_swigt__p_wxPyValidator,
33969 &_swigt__p_wxPyWindow,
33970 &_swigt__p_wxQueryLayoutInfoEvent,
33971 &_swigt__p_wxQueryNewPaletteEvent,
33972 &_swigt__p_wxRect,
33973 &_swigt__p_wxRegion,
33974 &_swigt__p_wxSashEvent,
33975 &_swigt__p_wxSashLayoutWindow,
33976 &_swigt__p_wxSashWindow,
33977 &_swigt__p_wxScrollEvent,
33978 &_swigt__p_wxScrollWinEvent,
33979 &_swigt__p_wxScrolledWindow,
33980 &_swigt__p_wxSetCursorEvent,
33981 &_swigt__p_wxShowEvent,
33982 &_swigt__p_wxSimpleHtmlListBox,
33983 &_swigt__p_wxSingleChoiceDialog,
33984 &_swigt__p_wxSize,
33985 &_swigt__p_wxSizeEvent,
33986 &_swigt__p_wxSizer,
33987 &_swigt__p_wxSizerItem,
33988 &_swigt__p_wxSplashScreen,
33989 &_swigt__p_wxSplashScreenWindow,
33990 &_swigt__p_wxSplitterEvent,
33991 &_swigt__p_wxSplitterWindow,
33992 &_swigt__p_wxStaticBoxSizer,
33993 &_swigt__p_wxStatusBar,
33994 &_swigt__p_wxStdDialogButtonSizer,
33995 &_swigt__p_wxString,
33996 &_swigt__p_wxSysColourChangedEvent,
33997 &_swigt__p_wxTGAHandler,
33998 &_swigt__p_wxTIFFHandler,
33999 &_swigt__p_wxTaskBarIcon,
34000 &_swigt__p_wxTaskBarIconEvent,
34001 &_swigt__p_wxTextEntryDialog,
34002 &_swigt__p_wxTipWindow,
34003 &_swigt__p_wxToolBar,
34004 &_swigt__p_wxTopLevelWindow,
34005 &_swigt__p_wxUpdateUIEvent,
34006 &_swigt__p_wxValidator,
34007 &_swigt__p_wxVisualAttributes,
34008 &_swigt__p_wxWindow,
34009 &_swigt__p_wxWindowCreateEvent,
34010 &_swigt__p_wxWindowDestroyEvent,
34011 &_swigt__p_wxXPMHandler,
34012 };
34013
34014 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34026 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34037 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}};
34038 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34039 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}};
34040 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34057 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34058 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34059 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34060 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34063 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34068 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
34069 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
34070 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34071 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34072 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34073 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34074 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34075 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34076 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34077 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34080 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34081 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34083 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}};
34084 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
34085 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34086 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
34087 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
34088 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34097 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}};
34098 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34119 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34120 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34123 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34124 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34125 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
34126 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34127 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34128 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_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxBMPHandler, _p_wxBMPHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
34129 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34130 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
34131 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34132 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34133 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34134 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34135 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}};
34136 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34137 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}};
34138 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}};
34139 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34142 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}};
34143 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34147 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}};
34148 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34155 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}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34162 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}};
34163 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34164 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}};
34165 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34177 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}};
34178 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34180 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}};
34181 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34183 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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34184
34185 static swig_cast_info *swig_cast_initial[] = {
34186 _swigc__p_bool,
34187 _swigc__p_char,
34188 _swigc__p_form_ops_t,
34189 _swigc__p_int,
34190 _swigc__p_unsigned_char,
34191 _swigc__p_unsigned_int,
34192 _swigc__p_unsigned_long,
34193 _swigc__p_wxANIHandler,
34194 _swigc__p_wxAcceleratorTable,
34195 _swigc__p_wxActivateEvent,
34196 _swigc__p_wxArrayInt,
34197 _swigc__p_wxArrayString,
34198 _swigc__p_wxBMPHandler,
34199 _swigc__p_wxBitmap,
34200 _swigc__p_wxBoxSizer,
34201 _swigc__p_wxCURHandler,
34202 _swigc__p_wxCalculateLayoutEvent,
34203 _swigc__p_wxChildFocusEvent,
34204 _swigc__p_wxClipboardTextEvent,
34205 _swigc__p_wxCloseEvent,
34206 _swigc__p_wxColour,
34207 _swigc__p_wxColourData,
34208 _swigc__p_wxColourDialog,
34209 _swigc__p_wxCommandEvent,
34210 _swigc__p_wxContextMenuEvent,
34211 _swigc__p_wxControl,
34212 _swigc__p_wxControlWithItems,
34213 _swigc__p_wxDC,
34214 _swigc__p_wxDateEvent,
34215 _swigc__p_wxDialog,
34216 _swigc__p_wxDirDialog,
34217 _swigc__p_wxDisplayChangedEvent,
34218 _swigc__p_wxDropFilesEvent,
34219 _swigc__p_wxDuplexMode,
34220 _swigc__p_wxEraseEvent,
34221 _swigc__p_wxEvent,
34222 _swigc__p_wxEventBlocker,
34223 _swigc__p_wxEvtHandler,
34224 _swigc__p_wxFSFile,
34225 _swigc__p_wxFileDialog,
34226 _swigc__p_wxFileSystem,
34227 _swigc__p_wxFindDialogEvent,
34228 _swigc__p_wxFindReplaceData,
34229 _swigc__p_wxFindReplaceDialog,
34230 _swigc__p_wxFlexGridSizer,
34231 _swigc__p_wxFocusEvent,
34232 _swigc__p_wxFont,
34233 _swigc__p_wxFontData,
34234 _swigc__p_wxFontDialog,
34235 _swigc__p_wxFrame,
34236 _swigc__p_wxGBSizerItem,
34237 _swigc__p_wxGIFHandler,
34238 _swigc__p_wxGridBagSizer,
34239 _swigc__p_wxGridSizer,
34240 _swigc__p_wxHtmlLinkInfo,
34241 _swigc__p_wxICOHandler,
34242 _swigc__p_wxIcon,
34243 _swigc__p_wxIconBundle,
34244 _swigc__p_wxIconizeEvent,
34245 _swigc__p_wxIdleEvent,
34246 _swigc__p_wxImage,
34247 _swigc__p_wxImageHandler,
34248 _swigc__p_wxIndividualLayoutConstraint,
34249 _swigc__p_wxInitDialogEvent,
34250 _swigc__p_wxItemContainer,
34251 _swigc__p_wxJPEGHandler,
34252 _swigc__p_wxKeyEvent,
34253 _swigc__p_wxLayoutAlgorithm,
34254 _swigc__p_wxLayoutConstraints,
34255 _swigc__p_wxMDIChildFrame,
34256 _swigc__p_wxMDIClientWindow,
34257 _swigc__p_wxMDIParentFrame,
34258 _swigc__p_wxMaximizeEvent,
34259 _swigc__p_wxMenu,
34260 _swigc__p_wxMenuBar,
34261 _swigc__p_wxMenuEvent,
34262 _swigc__p_wxMenuItem,
34263 _swigc__p_wxMessageDialog,
34264 _swigc__p_wxMiniFrame,
34265 _swigc__p_wxMouseCaptureChangedEvent,
34266 _swigc__p_wxMouseCaptureLostEvent,
34267 _swigc__p_wxMouseEvent,
34268 _swigc__p_wxMoveEvent,
34269 _swigc__p_wxMultiChoiceDialog,
34270 _swigc__p_wxNavigationKeyEvent,
34271 _swigc__p_wxNcPaintEvent,
34272 _swigc__p_wxNotifyEvent,
34273 _swigc__p_wxNumberEntryDialog,
34274 _swigc__p_wxObject,
34275 _swigc__p_wxPCXHandler,
34276 _swigc__p_wxPNGHandler,
34277 _swigc__p_wxPNMHandler,
34278 _swigc__p_wxPageSetupDialog,
34279 _swigc__p_wxPageSetupDialogData,
34280 _swigc__p_wxPaintEvent,
34281 _swigc__p_wxPaletteChangedEvent,
34282 _swigc__p_wxPanel,
34283 _swigc__p_wxPaperSize,
34284 _swigc__p_wxPasswordEntryDialog,
34285 _swigc__p_wxPoint,
34286 _swigc__p_wxPopupWindow,
34287 _swigc__p_wxPreviewCanvas,
34288 _swigc__p_wxPreviewControlBar,
34289 _swigc__p_wxPreviewFrame,
34290 _swigc__p_wxPrintData,
34291 _swigc__p_wxPrintDialog,
34292 _swigc__p_wxPrintDialogData,
34293 _swigc__p_wxPrintPreview,
34294 _swigc__p_wxPrinter,
34295 _swigc__p_wxProgressDialog,
34296 _swigc__p_wxPyApp,
34297 _swigc__p_wxPyCommandEvent,
34298 _swigc__p_wxPyEvent,
34299 _swigc__p_wxPyHtmlListBox,
34300 _swigc__p_wxPyImageHandler,
34301 _swigc__p_wxPyPanel,
34302 _swigc__p_wxPyPopupTransientWindow,
34303 _swigc__p_wxPyPreviewControlBar,
34304 _swigc__p_wxPyPreviewFrame,
34305 _swigc__p_wxPyPrintPreview,
34306 _swigc__p_wxPyPrintout,
34307 _swigc__p_wxPyScrolledWindow,
34308 _swigc__p_wxPySizer,
34309 _swigc__p_wxPyTaskBarIcon,
34310 _swigc__p_wxPyVListBox,
34311 _swigc__p_wxPyVScrolledWindow,
34312 _swigc__p_wxPyValidator,
34313 _swigc__p_wxPyWindow,
34314 _swigc__p_wxQueryLayoutInfoEvent,
34315 _swigc__p_wxQueryNewPaletteEvent,
34316 _swigc__p_wxRect,
34317 _swigc__p_wxRegion,
34318 _swigc__p_wxSashEvent,
34319 _swigc__p_wxSashLayoutWindow,
34320 _swigc__p_wxSashWindow,
34321 _swigc__p_wxScrollEvent,
34322 _swigc__p_wxScrollWinEvent,
34323 _swigc__p_wxScrolledWindow,
34324 _swigc__p_wxSetCursorEvent,
34325 _swigc__p_wxShowEvent,
34326 _swigc__p_wxSimpleHtmlListBox,
34327 _swigc__p_wxSingleChoiceDialog,
34328 _swigc__p_wxSize,
34329 _swigc__p_wxSizeEvent,
34330 _swigc__p_wxSizer,
34331 _swigc__p_wxSizerItem,
34332 _swigc__p_wxSplashScreen,
34333 _swigc__p_wxSplashScreenWindow,
34334 _swigc__p_wxSplitterEvent,
34335 _swigc__p_wxSplitterWindow,
34336 _swigc__p_wxStaticBoxSizer,
34337 _swigc__p_wxStatusBar,
34338 _swigc__p_wxStdDialogButtonSizer,
34339 _swigc__p_wxString,
34340 _swigc__p_wxSysColourChangedEvent,
34341 _swigc__p_wxTGAHandler,
34342 _swigc__p_wxTIFFHandler,
34343 _swigc__p_wxTaskBarIcon,
34344 _swigc__p_wxTaskBarIconEvent,
34345 _swigc__p_wxTextEntryDialog,
34346 _swigc__p_wxTipWindow,
34347 _swigc__p_wxToolBar,
34348 _swigc__p_wxTopLevelWindow,
34349 _swigc__p_wxUpdateUIEvent,
34350 _swigc__p_wxValidator,
34351 _swigc__p_wxVisualAttributes,
34352 _swigc__p_wxWindow,
34353 _swigc__p_wxWindowCreateEvent,
34354 _swigc__p_wxWindowDestroyEvent,
34355 _swigc__p_wxXPMHandler,
34356 };
34357
34358
34359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34360
34361 static swig_const_info swig_const_table[] = {
34362 {0, 0, 0, 0.0, 0, 0}};
34363
34364 #ifdef __cplusplus
34365 }
34366 #endif
34367 /* -----------------------------------------------------------------------------
34368 * Type initialization:
34369 * This problem is tough by the requirement that no dynamic
34370 * memory is used. Also, since swig_type_info structures store pointers to
34371 * swig_cast_info structures and swig_cast_info structures store pointers back
34372 * to swig_type_info structures, we need some lookup code at initialization.
34373 * The idea is that swig generates all the structures that are needed.
34374 * The runtime then collects these partially filled structures.
34375 * The SWIG_InitializeModule function takes these initial arrays out of
34376 * swig_module, and does all the lookup, filling in the swig_module.types
34377 * array with the correct data and linking the correct swig_cast_info
34378 * structures together.
34379 *
34380 * The generated swig_type_info structures are assigned staticly to an initial
34381 * array. We just loop though that array, and handle each type individually.
34382 * First we lookup if this type has been already loaded, and if so, use the
34383 * loaded structure instead of the generated one. Then we have to fill in the
34384 * cast linked list. The cast data is initially stored in something like a
34385 * two-dimensional array. Each row corresponds to a type (there are the same
34386 * number of rows as there are in the swig_type_initial array). Each entry in
34387 * a column is one of the swig_cast_info structures for that type.
34388 * The cast_initial array is actually an array of arrays, because each row has
34389 * a variable number of columns. So to actually build the cast linked list,
34390 * we find the array of casts associated with the type, and loop through it
34391 * adding the casts to the list. The one last trick we need to do is making
34392 * sure the type pointer in the swig_cast_info struct is correct.
34393 *
34394 * First off, we lookup the cast->type name to see if it is already loaded.
34395 * There are three cases to handle:
34396 * 1) If the cast->type has already been loaded AND the type we are adding
34397 * casting info to has not been loaded (it is in this module), THEN we
34398 * replace the cast->type pointer with the type pointer that has already
34399 * been loaded.
34400 * 2) If BOTH types (the one we are adding casting info to, and the
34401 * cast->type) are loaded, THEN the cast info has already been loaded by
34402 * the previous module so we just ignore it.
34403 * 3) Finally, if cast->type has not already been loaded, then we add that
34404 * swig_cast_info to the linked list (because the cast->type) pointer will
34405 * be correct.
34406 * ----------------------------------------------------------------------------- */
34407
34408 #ifdef __cplusplus
34409 extern "C" {
34410 #if 0
34411 } /* c-mode */
34412 #endif
34413 #endif
34414
34415 #if 0
34416 #define SWIGRUNTIME_DEBUG
34417 #endif
34418
34419 SWIGRUNTIME void
34420 SWIG_InitializeModule(void *clientdata) {
34421 size_t i;
34422 swig_module_info *module_head;
34423 static int init_run = 0;
34424
34425 clientdata = clientdata;
34426
34427 if (init_run) return;
34428 init_run = 1;
34429
34430 /* Initialize the swig_module */
34431 swig_module.type_initial = swig_type_initial;
34432 swig_module.cast_initial = swig_cast_initial;
34433
34434 /* Try and load any already created modules */
34435 module_head = SWIG_GetModule(clientdata);
34436 if (module_head) {
34437 swig_module.next = module_head->next;
34438 module_head->next = &swig_module;
34439 } else {
34440 /* This is the first module loaded */
34441 swig_module.next = &swig_module;
34442 SWIG_SetModule(clientdata, &swig_module);
34443 }
34444
34445 /* Now work on filling in swig_module.types */
34446 #ifdef SWIGRUNTIME_DEBUG
34447 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34448 #endif
34449 for (i = 0; i < swig_module.size; ++i) {
34450 swig_type_info *type = 0;
34451 swig_type_info *ret;
34452 swig_cast_info *cast;
34453
34454 #ifdef SWIGRUNTIME_DEBUG
34455 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34456 #endif
34457
34458 /* if there is another module already loaded */
34459 if (swig_module.next != &swig_module) {
34460 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34461 }
34462 if (type) {
34463 /* Overwrite clientdata field */
34464 #ifdef SWIGRUNTIME_DEBUG
34465 printf("SWIG_InitializeModule: found type %s\n", type->name);
34466 #endif
34467 if (swig_module.type_initial[i]->clientdata) {
34468 type->clientdata = swig_module.type_initial[i]->clientdata;
34469 #ifdef SWIGRUNTIME_DEBUG
34470 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34471 #endif
34472 }
34473 } else {
34474 type = swig_module.type_initial[i];
34475 }
34476
34477 /* Insert casting types */
34478 cast = swig_module.cast_initial[i];
34479 while (cast->type) {
34480 /* Don't need to add information already in the list */
34481 ret = 0;
34482 #ifdef SWIGRUNTIME_DEBUG
34483 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34484 #endif
34485 if (swig_module.next != &swig_module) {
34486 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34487 #ifdef SWIGRUNTIME_DEBUG
34488 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34489 #endif
34490 }
34491 if (ret) {
34492 if (type == swig_module.type_initial[i]) {
34493 #ifdef SWIGRUNTIME_DEBUG
34494 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34495 #endif
34496 cast->type = ret;
34497 ret = 0;
34498 } else {
34499 /* Check for casting already in the list */
34500 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34501 #ifdef SWIGRUNTIME_DEBUG
34502 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34503 #endif
34504 if (!ocast) ret = 0;
34505 }
34506 }
34507
34508 if (!ret) {
34509 #ifdef SWIGRUNTIME_DEBUG
34510 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34511 #endif
34512 if (type->cast) {
34513 type->cast->prev = cast;
34514 cast->next = type->cast;
34515 }
34516 type->cast = cast;
34517 }
34518 cast++;
34519 }
34520 /* Set entry in modules->types array equal to the type */
34521 swig_module.types[i] = type;
34522 }
34523 swig_module.types[i] = 0;
34524
34525 #ifdef SWIGRUNTIME_DEBUG
34526 printf("**** SWIG_InitializeModule: Cast List ******\n");
34527 for (i = 0; i < swig_module.size; ++i) {
34528 int j = 0;
34529 swig_cast_info *cast = swig_module.cast_initial[i];
34530 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34531 while (cast->type) {
34532 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34533 cast++;
34534 ++j;
34535 }
34536 printf("---- Total casts: %d\n",j);
34537 }
34538 printf("**** SWIG_InitializeModule: Cast List ******\n");
34539 #endif
34540 }
34541
34542 /* This function will propagate the clientdata field of type to
34543 * any new swig_type_info structures that have been added into the list
34544 * of equivalent types. It is like calling
34545 * SWIG_TypeClientData(type, clientdata) a second time.
34546 */
34547 SWIGRUNTIME void
34548 SWIG_PropagateClientData(void) {
34549 size_t i;
34550 swig_cast_info *equiv;
34551 static int init_run = 0;
34552
34553 if (init_run) return;
34554 init_run = 1;
34555
34556 for (i = 0; i < swig_module.size; i++) {
34557 if (swig_module.types[i]->clientdata) {
34558 equiv = swig_module.types[i]->cast;
34559 while (equiv) {
34560 if (!equiv->converter) {
34561 if (equiv->type && !equiv->type->clientdata)
34562 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34563 }
34564 equiv = equiv->next;
34565 }
34566 }
34567 }
34568 }
34569
34570 #ifdef __cplusplus
34571 #if 0
34572 {
34573 /* c-mode */
34574 #endif
34575 }
34576 #endif
34577
34578
34579
34580 #ifdef __cplusplus
34581 extern "C" {
34582 #endif
34583
34584 /* Python-specific SWIG API */
34585 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34586 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34587 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34588
34589 /* -----------------------------------------------------------------------------
34590 * global variable support code.
34591 * ----------------------------------------------------------------------------- */
34592
34593 typedef struct swig_globalvar {
34594 char *name; /* Name of global variable */
34595 PyObject *(*get_attr)(void); /* Return the current value */
34596 int (*set_attr)(PyObject *); /* Set the value */
34597 struct swig_globalvar *next;
34598 } swig_globalvar;
34599
34600 typedef struct swig_varlinkobject {
34601 PyObject_HEAD
34602 swig_globalvar *vars;
34603 } swig_varlinkobject;
34604
34605 SWIGINTERN PyObject *
34606 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34607 return PyString_FromString("<Swig global variables>");
34608 }
34609
34610 SWIGINTERN PyObject *
34611 swig_varlink_str(swig_varlinkobject *v) {
34612 PyObject *str = PyString_FromString("(");
34613 swig_globalvar *var;
34614 for (var = v->vars; var; var=var->next) {
34615 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34616 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34617 }
34618 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34619 return str;
34620 }
34621
34622 SWIGINTERN int
34623 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34624 PyObject *str = swig_varlink_str(v);
34625 fprintf(fp,"Swig global variables ");
34626 fprintf(fp,"%s\n", PyString_AsString(str));
34627 Py_DECREF(str);
34628 return 0;
34629 }
34630
34631 SWIGINTERN void
34632 swig_varlink_dealloc(swig_varlinkobject *v) {
34633 swig_globalvar *var = v->vars;
34634 while (var) {
34635 swig_globalvar *n = var->next;
34636 free(var->name);
34637 free(var);
34638 var = n;
34639 }
34640 }
34641
34642 SWIGINTERN PyObject *
34643 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34644 PyObject *res = NULL;
34645 swig_globalvar *var = v->vars;
34646 while (var) {
34647 if (strcmp(var->name,n) == 0) {
34648 res = (*var->get_attr)();
34649 break;
34650 }
34651 var = var->next;
34652 }
34653 if (res == NULL && !PyErr_Occurred()) {
34654 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34655 }
34656 return res;
34657 }
34658
34659 SWIGINTERN int
34660 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34661 int res = 1;
34662 swig_globalvar *var = v->vars;
34663 while (var) {
34664 if (strcmp(var->name,n) == 0) {
34665 res = (*var->set_attr)(p);
34666 break;
34667 }
34668 var = var->next;
34669 }
34670 if (res == 1 && !PyErr_Occurred()) {
34671 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34672 }
34673 return res;
34674 }
34675
34676 SWIGINTERN PyTypeObject*
34677 swig_varlink_type(void) {
34678 static char varlink__doc__[] = "Swig var link object";
34679 static PyTypeObject varlink_type;
34680 static int type_init = 0;
34681 if (!type_init) {
34682 const PyTypeObject tmp
34683 = {
34684 PyObject_HEAD_INIT(NULL)
34685 0, /* Number of items in variable part (ob_size) */
34686 (char *)"swigvarlink", /* Type name (tp_name) */
34687 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34688 0, /* Itemsize (tp_itemsize) */
34689 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34690 (printfunc) swig_varlink_print, /* Print (tp_print) */
34691 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34692 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34693 0, /* tp_compare */
34694 (reprfunc) swig_varlink_repr, /* tp_repr */
34695 0, /* tp_as_number */
34696 0, /* tp_as_sequence */
34697 0, /* tp_as_mapping */
34698 0, /* tp_hash */
34699 0, /* tp_call */
34700 (reprfunc)swig_varlink_str, /* tp_str */
34701 0, /* tp_getattro */
34702 0, /* tp_setattro */
34703 0, /* tp_as_buffer */
34704 0, /* tp_flags */
34705 varlink__doc__, /* tp_doc */
34706 0, /* tp_traverse */
34707 0, /* tp_clear */
34708 0, /* tp_richcompare */
34709 0, /* tp_weaklistoffset */
34710 #if PY_VERSION_HEX >= 0x02020000
34711 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34712 #endif
34713 #if PY_VERSION_HEX >= 0x02030000
34714 0, /* tp_del */
34715 #endif
34716 #ifdef COUNT_ALLOCS
34717 0,0,0,0 /* tp_alloc -> tp_next */
34718 #endif
34719 };
34720 varlink_type = tmp;
34721 varlink_type.ob_type = &PyType_Type;
34722 type_init = 1;
34723 }
34724 return &varlink_type;
34725 }
34726
34727 /* Create a variable linking object for use later */
34728 SWIGINTERN PyObject *
34729 SWIG_Python_newvarlink(void) {
34730 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34731 if (result) {
34732 result->vars = 0;
34733 }
34734 return ((PyObject*) result);
34735 }
34736
34737 SWIGINTERN void
34738 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34739 swig_varlinkobject *v = (swig_varlinkobject *) p;
34740 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34741 if (gv) {
34742 size_t size = strlen(name)+1;
34743 gv->name = (char *)malloc(size);
34744 if (gv->name) {
34745 strncpy(gv->name,name,size);
34746 gv->get_attr = get_attr;
34747 gv->set_attr = set_attr;
34748 gv->next = v->vars;
34749 }
34750 }
34751 v->vars = gv;
34752 }
34753
34754 SWIGINTERN PyObject *
34755 SWIG_globals() {
34756 static PyObject *_SWIG_globals = 0;
34757 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34758 return _SWIG_globals;
34759 }
34760
34761 /* -----------------------------------------------------------------------------
34762 * constants/methods manipulation
34763 * ----------------------------------------------------------------------------- */
34764
34765 /* Install Constants */
34766 SWIGINTERN void
34767 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34768 PyObject *obj = 0;
34769 size_t i;
34770 for (i = 0; constants[i].type; ++i) {
34771 switch(constants[i].type) {
34772 case SWIG_PY_POINTER:
34773 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34774 break;
34775 case SWIG_PY_BINARY:
34776 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34777 break;
34778 default:
34779 obj = 0;
34780 break;
34781 }
34782 if (obj) {
34783 PyDict_SetItemString(d, constants[i].name, obj);
34784 Py_DECREF(obj);
34785 }
34786 }
34787 }
34788
34789 /* -----------------------------------------------------------------------------*/
34790 /* Fix SwigMethods to carry the callback ptrs when needed */
34791 /* -----------------------------------------------------------------------------*/
34792
34793 SWIGINTERN void
34794 SWIG_Python_FixMethods(PyMethodDef *methods,
34795 swig_const_info *const_table,
34796 swig_type_info **types,
34797 swig_type_info **types_initial) {
34798 size_t i;
34799 for (i = 0; methods[i].ml_name; ++i) {
34800 const char *c = methods[i].ml_doc;
34801 if (c && (c = strstr(c, "swig_ptr: "))) {
34802 int j;
34803 swig_const_info *ci = 0;
34804 const char *name = c + 10;
34805 for (j = 0; const_table[j].type; ++j) {
34806 if (strncmp(const_table[j].name, name,
34807 strlen(const_table[j].name)) == 0) {
34808 ci = &(const_table[j]);
34809 break;
34810 }
34811 }
34812 if (ci) {
34813 size_t shift = (ci->ptype) - types;
34814 swig_type_info *ty = types_initial[shift];
34815 size_t ldoc = (c - methods[i].ml_doc);
34816 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34817 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34818 if (ndoc) {
34819 char *buff = ndoc;
34820 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34821 if (ptr) {
34822 strncpy(buff, methods[i].ml_doc, ldoc);
34823 buff += ldoc;
34824 strncpy(buff, "swig_ptr: ", 10);
34825 buff += 10;
34826 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34827 methods[i].ml_doc = ndoc;
34828 }
34829 }
34830 }
34831 }
34832 }
34833 }
34834
34835 #ifdef __cplusplus
34836 }
34837 #endif
34838
34839 /* -----------------------------------------------------------------------------*
34840 * Partial Init method
34841 * -----------------------------------------------------------------------------*/
34842
34843 #ifdef __cplusplus
34844 extern "C"
34845 #endif
34846 SWIGEXPORT void SWIG_init(void) {
34847 PyObject *m, *d;
34848
34849 /* Fix SwigMethods to carry the callback ptrs when needed */
34850 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34851
34852 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34853 d = PyModule_GetDict(m);
34854
34855 SWIG_InitializeModule(0);
34856 SWIG_InstallConstants(d,swig_const_table);
34857
34858
34859 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34860 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34861 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34862 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34863 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34864 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34865 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34866 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34867 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34868 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34869 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34870 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34871 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34872 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34873 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34874 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34875 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34876 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34877 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34878 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34879 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34880 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34881 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34882 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34883 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34884 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34885 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34886 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34887 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34888 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34889 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34890 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34891 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34892 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34893 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34894 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34895 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34896 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34897 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34898 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34899 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34900 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34901 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34902 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34903 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34904 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34905 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34906 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34907 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34908 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34909 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34910 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34911 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34912 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34913 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34914 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34915 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34916 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34917 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34918 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34919 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34920 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34921 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34922 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34923 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34924 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34925 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34926 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34927 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34928 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34929 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34930 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34931 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34932 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34933 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34934 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34935 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34936 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34937 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34938 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34939 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34940 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34941 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34942 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34943 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34944 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34945 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34946 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34947 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34948 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34949 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34950 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34951 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34952 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34953 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34954 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34955 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34956 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34957 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34958 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34959 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34960 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34961 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34962 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34963 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34964 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34965 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
34966 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
34967 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
34968
34969 // Map renamed classes back to their common name for OOR
34970 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34971 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34972 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34973
34974 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34975 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34976 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34977 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34978 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34979 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34980 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34981 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
34982 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34983 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34984 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34985 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34986 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34987 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34988 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34989 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34990 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34991 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34992 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34993 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34994 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34995 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34996 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34997 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34998 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34999 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
35000 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
35001 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
35002 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
35003 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
35004 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
35005 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
35006 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
35007 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
35008 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
35009 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
35010 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
35011 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
35012 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
35013 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
35014 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
35015 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
35016 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
35017 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
35018 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
35019 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
35020 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
35021 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
35022 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
35023 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
35024 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
35025 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
35026 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
35027 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
35028 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
35029 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35030 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35031 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35032 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35033 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35034 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35035 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35036 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35037 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35038 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
35039 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
35040 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
35041 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
35042 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
35043 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
35044 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
35045 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
35046 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
35047 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
35048 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
35049 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
35050 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
35051 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
35052 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
35053 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
35054 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
35055 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
35056 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
35057 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
35058 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
35059 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
35060 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
35061 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
35062 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
35063 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
35064 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
35065 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
35066 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
35067 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
35068 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
35069 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
35070 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
35071 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
35072 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
35073 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35074 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35075 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35076 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35077 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35078 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35079
35080 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35081
35082 }
35083