]> 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_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info *swig_types[170];
2636 static swig_module_info swig_module = {swig_types, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2639
2640 /* -------- TYPES TABLE (END) -------- */
2641
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2645 # endif
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2649 #endif
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2652 #endif
2653 #ifndef METH_O
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2655 #endif
2656
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2661
2662 #define SWIG_name "_windows_"
2663
2664 #define SWIGVERSION 0x010329
2665
2666
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2669
2670
2671 #include <stdexcept>
2672
2673
2674 namespace swig {
2675 class PyObject_ptr {
2676 protected:
2677 PyObject *_obj;
2678
2679 public:
2680 PyObject_ptr() :_obj(0)
2681 {
2682 }
2683
2684 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2685 {
2686 Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2690 {
2691 if (initial_ref) Py_XINCREF(_obj);
2692 }
2693
2694 PyObject_ptr & operator=(const PyObject_ptr& item)
2695 {
2696 Py_XINCREF(item._obj);
2697 Py_XDECREF(_obj);
2698 _obj = item._obj;
2699 return *this;
2700 }
2701
2702 ~PyObject_ptr()
2703 {
2704 Py_XDECREF(_obj);
2705 }
2706
2707 operator PyObject *() const
2708 {
2709 return _obj;
2710 }
2711
2712 PyObject *operator->() const
2713 {
2714 return _obj;
2715 }
2716 };
2717 }
2718
2719
2720 namespace swig {
2721 struct PyObject_var : PyObject_ptr {
2722 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2723
2724 PyObject_var & operator = (PyObject* obj)
2725 {
2726 Py_XDECREF(_obj);
2727 _obj = obj;
2728 return *this;
2729 }
2730 };
2731 }
2732
2733
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2736
2737
2738 static const wxString wxPyEmptyString(wxEmptyString);
2739 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2740
2741
2742
2743 #include <limits.h>
2744 #ifndef LLONG_MIN
2745 # define LLONG_MIN LONG_LONG_MIN
2746 #endif
2747 #ifndef LLONG_MAX
2748 # define LLONG_MAX LONG_LONG_MAX
2749 #endif
2750 #ifndef ULLONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2752 #endif
2753
2754
2755 SWIGINTERN int
2756 SWIG_AsVal_long (PyObject* obj, long* val)
2757 {
2758 if (PyNumber_Check(obj)) {
2759 if (val) *val = PyInt_AsLong(obj);
2760 return SWIG_OK;
2761 }
2762 return SWIG_TypeError;
2763 }
2764
2765
2766 SWIGINTERN int
2767 SWIG_AsVal_int (PyObject * obj, int *val)
2768 {
2769 long v;
2770 int res = SWIG_AsVal_long (obj, &v);
2771 if (SWIG_IsOK(res)) {
2772 if ((v < INT_MIN || v > INT_MAX)) {
2773 return SWIG_OverflowError;
2774 } else {
2775 if (val) *val = static_cast< int >(v);
2776 }
2777 }
2778 return res;
2779 }
2780
2781
2782 SWIGINTERN int
2783 SWIG_AsVal_bool (PyObject *obj, bool *val)
2784 {
2785 if (obj == Py_True) {
2786 if (val) *val = true;
2787 return SWIG_OK;
2788 } else if (obj == Py_False) {
2789 if (val) *val = false;
2790 return SWIG_OK;
2791 } else {
2792 long v = 0;
2793 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2794 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2795 return res;
2796 }
2797 }
2798
2799
2800 #define SWIG_From_long PyInt_FromLong
2801
2802
2803 SWIGINTERNINLINE PyObject *
2804 SWIG_From_int (int value)
2805 {
2806 return SWIG_From_long (value);
2807 }
2808
2809
2810 SWIGINTERN int
2811 SWIG_AsVal_double (PyObject *obj, double* val)
2812 {
2813 if (PyNumber_Check(obj)) {
2814 if (val) *val = PyFloat_AsDouble(obj);
2815 return SWIG_OK;
2816 }
2817 return SWIG_TypeError;
2818 }
2819
2820
2821 #define SWIG_From_double PyFloat_FromDouble
2822
2823 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2824 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2825 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2826 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2827 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2828 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2829
2830 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831
2832
2833
2834 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843 #include <wx/popupwin.h>
2844
2845
2846 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2847 {
2848 public:
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2851 : wxPopupTransientWindow(parent, style) {}
2852
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2854 DEC_PYCALLBACK__(OnDismiss);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss);
2856 PYPRIVATE;
2857 };
2858
2859
2860 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2861 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2862 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2863
2864
2865 #include <wx/tipwin.h>
2866
2867 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2868 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2869 }
2870
2871 #include <wx/tipwin.h>
2872
2873
2874 #include <wx/vscroll.h>
2875
2876
2877 class wxPyVScrolledWindow : public wxVScrolledWindow
2878 {
2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2880 public:
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2882
2883 wxPyVScrolledWindow(wxWindow *parent,
2884 wxWindowID id = wxID_ANY,
2885 const wxPoint& pos = wxDefaultPosition,
2886 const wxSize& size = wxDefaultSize,
2887 long style = 0,
2888 const wxString& name = wxPyPanelNameStr)
2889 : wxVScrolledWindow(parent, id, pos, size, style, name)
2890 {}
2891
2892 // Overridable virtuals
2893
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2897
2898
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2902 // once
2903 //
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2909 //
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2911 // usual
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2913
2914
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2919 // its own logic
2920 //
2921 // this function should return the best guess for the total height it may
2922 // make
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2924
2925
2926 // Also expose some other interesting protected methods
2927
2928
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2933
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2938
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2941
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2944
2945 PYPRIVATE;
2946 };
2947
2948 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2949
2950 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2951 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2952 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2953
2954
2955 SWIGINTERN int
2956 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2957 {
2958 long v = 0;
2959 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2960 return SWIG_TypeError;
2961 }
2962 else if (val)
2963 *val = (unsigned long)v;
2964 return SWIG_OK;
2965 }
2966
2967
2968 SWIGINTERNINLINE int
2969 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2970 {
2971 unsigned long v;
2972 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2973 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2974 return res;
2975 }
2976
2977
2978 SWIGINTERNINLINE PyObject*
2979 SWIG_From_unsigned_SS_long (unsigned long value)
2980 {
2981 return (value > LONG_MAX) ?
2982 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2983 }
2984
2985
2986 SWIGINTERNINLINE PyObject *
2987 SWIG_From_size_t (size_t value)
2988 {
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2990 }
2991
2992
2993 #include <wx/vlbox.h>
2994
2995 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2996
2997 class wxPyVListBox : public wxVListBox
2998 {
2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3000 public:
3001 wxPyVListBox() : wxVListBox() {}
3002
3003 wxPyVListBox(wxWindow *parent,
3004 wxWindowID id = wxID_ANY,
3005 const wxPoint& pos = wxDefaultPosition,
3006 const wxSize& size = wxDefaultSize,
3007 long style = 0,
3008 const wxString& name = wxPyVListBoxNameStr)
3009 : wxVListBox(parent, id, pos, size, style, name)
3010 {}
3011
3012 // Overridable virtuals
3013
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3018
3019
3020 // the derived class must implement this method to return the height of the
3021 // specified item
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3024
3025
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3029 //
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3033
3034
3035 // this method is used to draw the items background and, maybe, a border
3036 // around it
3037 //
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3041 // current
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3044
3045
3046 PYPRIVATE;
3047 };
3048
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3050
3051 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3052 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3053 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3054 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3055
3056
3057 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3058 unsigned long cookie = 0;
3059 int selected = self->GetFirstSelected(cookie);
3060 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3061 PyObject* tup = PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3063 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3064 wxPyEndBlockThreads(blocked);
3065 return tup;
3066 }
3067 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3068 int selected = self->GetNextSelected(cookie);
3069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3070 PyObject* tup = PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3072 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3073 wxPyEndBlockThreads(blocked);
3074 return tup;
3075 }
3076
3077 #include <wx/htmllbox.h>
3078
3079
3080 class wxPyHtmlListBox : public wxHtmlListBox
3081 {
3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3083 public:
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3085
3086 wxPyHtmlListBox(wxWindow *parent,
3087 wxWindowID id = wxID_ANY,
3088 const wxPoint& pos = wxDefaultPosition,
3089 const wxSize& size = wxDefaultSize,
3090 long style = 0,
3091 const wxString& name = wxPyVListBoxNameStr)
3092 : wxHtmlListBox(parent, id, pos, size, style, name)
3093 {}
3094
3095 // Overridable virtuals
3096
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3100
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3103
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3107
3108 // TODO:
3109 // // this method allows to customize the selection appearance: it may be used
3110 // // to specify the colour of the text which normally has the given colour
3111 // // colFg when it is inside the selection
3112 // //
3113 // // by default, the original colour is not used at all and all text has the
3114 // // same (default for this system) colour inside selection
3115 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3116
3117 // // this is the same as GetSelectedTextColour() but allows to customize the
3118 // // background colour -- this is even more rarely used as you can change it
3119 // // globally using SetSelectionBackground()
3120 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3121
3122
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n,
3126 const wxHtmlLinkInfo& link);
3127
3128 PYPRIVATE;
3129 };
3130
3131
3132 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3133
3134 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3135 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3136 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3137 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3138
3139
3140 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3141 const wxHtmlLinkInfo& link) {
3142 bool found;
3143 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3144 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3145 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3147 Py_DECREF(obj);
3148 }
3149 wxPyEndBlockThreads(blocked);
3150 if (! found)
3151 wxPyHtmlListBox::OnLinkClicked(n, link);
3152 }
3153
3154
3155
3156 const wxArrayString wxPyEmptyStringArray;
3157
3158 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3159
3160
3161
3162 #ifndef wxHAS_TASK_BAR_ICON
3163 // implement dummy classes for platforms that don't have it
3164
3165 class wxTaskBarIcon : public wxEvtHandler
3166 {
3167 public:
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3169 };
3170
3171
3172 class wxTaskBarIconEvent : public wxEvent
3173 {
3174 public:
3175 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent* Clone() const { return NULL; }
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu *menu) { return false; }
3183 };
3184
3185 enum {
3186 wxEVT_TASKBAR_MOVE = 0,
3187 wxEVT_TASKBAR_LEFT_DOWN = 0,
3188 wxEVT_TASKBAR_LEFT_UP = 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3190 wxEVT_TASKBAR_RIGHT_UP = 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3193 };
3194
3195
3196 #else
3197 // Otherwise make a class that can virtualize CreatePopupMenu
3198 class wxPyTaskBarIcon : public wxTaskBarIcon
3199 {
3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3201 public:
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3203 {}
3204
3205 wxMenu* CreatePopupMenu() {
3206 wxMenu *rval = NULL;
3207 bool found;
3208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3209 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3210 PyObject* ro;
3211 wxMenu* ptr;
3212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3213 if (ro) {
3214 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3215 rval = ptr;
3216 Py_DECREF(ro);
3217 }
3218 }
3219 wxPyEndBlockThreads(blocked);
3220 if (! found)
3221 rval = wxTaskBarIcon::CreatePopupMenu();
3222 return rval;
3223 }
3224
3225 PYPRIVATE;
3226 };
3227
3228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3229
3230 #endif
3231
3232 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3233 self->RemoveIcon();
3234 delete self;
3235 }
3236 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3237 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3238 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3239 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3240 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3241 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3242
3243 // for compatibility only
3244 #define wxHIDE_READONLY 0
3245
3246 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3247 wxArrayString arr;
3248 self->GetFilenames(arr);
3249 return wxArrayString2PyList_helper(arr);
3250 }
3251 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3252 wxArrayString arr;
3253 self->GetPaths(arr);
3254 return wxArrayString2PyList_helper(arr);
3255 }
3256 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3257 return wxArrayInt2PyList_helper(self->GetSelections());
3258 }
3259 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){
3260 return new wxSingleChoiceDialog(parent, message, caption,
3261 choices, choices_array, NULL, style, pos);
3262 }
3263 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3264
3265 SWIGINTERNINLINE PyObject*
3266 SWIG_From_bool (bool value)
3267 {
3268 return PyBool_FromLong(value ? 1 : 0);
3269 }
3270
3271
3272 #include <wx/mdi.h>
3273
3274 // C++ version of Python aware wxWindow
3275 class wxPyWindow : public wxWindow
3276 {
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3278 public:
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow* parent, const wxWindowID id,
3281 const wxPoint& pos = wxDefaultPosition,
3282 const wxSize& size = wxDefaultSize,
3283 long style = 0,
3284 const wxString& name = wxPyPanelNameStr)
3285 : wxWindow(parent, id, pos, size, style, name) {}
3286
3287
3288 bool DoEraseBackground(wxDC* dc) {
3289 #ifdef __WXMSW__
3290 return wxWindow::DoEraseBackground(dc->GetHDC());
3291 #else
3292 dc->SetBackground(wxBrush(GetBackgroundColour()));
3293 dc->Clear();
3294 return true;
3295 #endif
3296 }
3297
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3302
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3306
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3309
3310 DEC_PYCALLBACK__(InitDialog);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3313 DEC_PYCALLBACK_BOOL_(Validate);
3314
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3318
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3321
3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3324
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3326
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3328
3329 PYPRIVATE;
3330 };
3331
3332 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3333
3334 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3335 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3336 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3338
3339 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3342
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3345
3346 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3347 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3350
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3353 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3354
3355 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3357
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3359 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3360
3361 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3362
3363 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3364
3365 // C++ version of Python aware wxPanel
3366 class wxPyPanel : public wxPanel
3367 {
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3369 public:
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow* parent, const wxWindowID id,
3372 const wxPoint& pos = wxDefaultPosition,
3373 const wxSize& size = wxDefaultSize,
3374 long style = 0,
3375 const wxString& name = wxPyPanelNameStr)
3376 : wxPanel(parent, id, pos, size, style, name) {}
3377
3378 bool DoEraseBackground(wxDC* dc) {
3379 #ifdef __WXMSW__
3380 return wxWindow::DoEraseBackground(dc->GetHDC());
3381 #else
3382 dc->SetBackground(wxBrush(GetBackgroundColour()));
3383 dc->Clear();
3384 return true;
3385 #endif
3386 }
3387
3388
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3393
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3397
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3400
3401 DEC_PYCALLBACK__(InitDialog);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3404 DEC_PYCALLBACK_BOOL_(Validate);
3405
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3409
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3412
3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3415
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3417
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3419
3420 PYPRIVATE;
3421 };
3422
3423 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3424
3425 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3426 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3427 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3429
3430 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3433
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3436
3437 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3445
3446 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3448
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3450 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3451
3452 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3453
3454 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3455
3456 // C++ version of Python aware wxScrolledWindow
3457 class wxPyScrolledWindow : public wxScrolledWindow
3458 {
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3460 public:
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3463 const wxPoint& pos = wxDefaultPosition,
3464 const wxSize& size = wxDefaultSize,
3465 long style = 0,
3466 const wxString& name = wxPyPanelNameStr)
3467 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3468
3469 bool DoEraseBackground(wxDC* dc) {
3470 #ifdef __WXMSW__
3471 return wxWindow::DoEraseBackground(dc->GetHDC());
3472 #else
3473 dc->SetBackground(wxBrush(GetBackgroundColour()));
3474 dc->Clear();
3475 return true;
3476 #endif
3477 }
3478
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3483
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3487
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3490
3491 DEC_PYCALLBACK__(InitDialog);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3494 DEC_PYCALLBACK_BOOL_(Validate);
3495
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3499
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3502
3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3505
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3507
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3509
3510 PYPRIVATE;
3511 };
3512
3513 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3514
3515 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3516 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3517 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3519
3520 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3523
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3526
3527 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3531
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3535
3536 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3538
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3540 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3541
3542 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3543
3544 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3545
3546
3547 #include "wx/wxPython/printfw.h"
3548
3549
3550 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3552 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3553 PyObject* data;
3554 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3555 data = PyString_FromStringAndSize(self->GetPrivData(),
3556 self->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked);
3558 return data;
3559 }
3560 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3561 if (! PyString_Check(data)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3563 "Expected string object"));
3564 return /* NULL */ ;
3565 }
3566
3567 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3568 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3569 wxPyEndBlockThreads(blocked);
3570 }
3571
3572
3573 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3574
3575 // Since this one would be tough and ugly to do with the Macros...
3576 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3577 bool hadErr = false;
3578 bool found;
3579
3580 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3581 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3582 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3583 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3584 PyObject* val;
3585
3586 val = PyTuple_GetItem(result, 0);
3587 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3588 else hadErr = true;
3589
3590 val = PyTuple_GetItem(result, 1);
3591 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3592 else hadErr = true;
3593
3594 val = PyTuple_GetItem(result, 2);
3595 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3596 else hadErr = true;
3597
3598 val = PyTuple_GetItem(result, 3);
3599 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3600 else hadErr = true;
3601 }
3602 else
3603 hadErr = true;
3604
3605 if (hadErr) {
3606 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3607 PyErr_Print();
3608 }
3609 Py_DECREF(result);
3610 }
3611 wxPyEndBlockThreads(blocked);
3612 if (! found)
3613 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3614 }
3615
3616
3617
3618 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3619 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3620 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3623 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3624 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3625
3626
3627
3628
3629
3630 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3632
3633
3634 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3636 bool rval=false; \
3637 bool found; \
3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3643 Py_DECREF(win); \
3644 Py_DECREF(dc); \
3645 } \
3646 wxPyEndBlockThreads(blocked); \
3647 if (! found) \
3648 rval = PCLASS::CBNAME(a, b); \
3649 return rval; \
3650 }
3651
3652
3653
3654
3655 class wxPyPrintPreview : public wxPrintPreview
3656 {
3657 DECLARE_CLASS(wxPyPrintPreview)
3658 public:
3659 wxPyPrintPreview(wxPyPrintout* printout,
3660 wxPyPrintout* printoutForPrinting,
3661 wxPrintDialogData* data=NULL)
3662 : wxPrintPreview(printout, printoutForPrinting, data)
3663 {}
3664 wxPyPrintPreview(wxPyPrintout* printout,
3665 wxPyPrintout* printoutForPrinting,
3666 wxPrintData* data)
3667 : wxPrintPreview(printout, printoutForPrinting, data)
3668 {}
3669
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling);
3677
3678 PYPRIVATE;
3679 };
3680
3681 // Stupid renamed classes... Fix this in 2.5...
3682 #if defined(__WXMSW__)
3683 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3684 #elif defined(__WXMAC__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3686 #else
3687 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3688 #endif
3689
3690 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3693 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3694 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3695 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3696 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3697
3698
3699 class wxPyPreviewFrame : public wxPreviewFrame
3700 {
3701 DECLARE_CLASS(wxPyPreviewFrame)
3702 public:
3703 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3704 const wxString& title,
3705 const wxPoint& pos = wxDefaultPosition,
3706 const wxSize& size = wxDefaultSize,
3707 long style = wxDEFAULT_FRAME_STYLE,
3708 const wxString& name = wxPyFrameNameStr)
3709 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3710 {}
3711
3712 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3713 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3714
3715 DEC_PYCALLBACK_VOID_(Initialize);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar);
3718
3719 PYPRIVATE;
3720 };
3721
3722 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3723
3724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3727
3728
3729 class wxPyPreviewControlBar : public wxPreviewControlBar
3730 {
3731 DECLARE_CLASS(wxPyPreviewControlBar)
3732 public:
3733 wxPyPreviewControlBar(wxPrintPreview *preview,
3734 long buttons,
3735 wxWindow *parent,
3736 const wxPoint& pos = wxDefaultPosition,
3737 const wxSize& size = wxDefaultSize,
3738 long style = 0,
3739 const wxString& name = wxPyPanelNameStr)
3740 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3741 {}
3742
3743 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3744
3745 DEC_PYCALLBACK_VOID_(CreateButtons);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3747
3748 PYPRIVATE;
3749 };
3750
3751 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3752 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3753 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3754
3755 #ifdef __cplusplus
3756 extern "C" {
3757 #endif
3758 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj = 0;
3760 wxWindow *arg1 = (wxWindow *) 0 ;
3761 int arg2 = (int) (int)-1 ;
3762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3764 wxSize const &arg4_defvalue = wxDefaultSize ;
3765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3766 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3767 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3768 wxString *arg6 = (wxString *) &arg6_defvalue ;
3769 wxPanel *result = 0 ;
3770 void *argp1 = 0 ;
3771 int res1 = 0 ;
3772 int val2 ;
3773 int ecode2 = 0 ;
3774 wxPoint temp3 ;
3775 wxSize temp4 ;
3776 long val5 ;
3777 int ecode5 = 0 ;
3778 bool temp6 = false ;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 PyObject * obj2 = 0 ;
3782 PyObject * obj3 = 0 ;
3783 PyObject * obj4 = 0 ;
3784 PyObject * obj5 = 0 ;
3785 char * kwnames[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3787 };
3788
3789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3791 if (!SWIG_IsOK(res1)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3793 }
3794 arg1 = reinterpret_cast< wxWindow * >(argp1);
3795 if (obj1) {
3796 ecode2 = SWIG_AsVal_int(obj1, &val2);
3797 if (!SWIG_IsOK(ecode2)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3799 }
3800 arg2 = static_cast< int >(val2);
3801 }
3802 if (obj2) {
3803 {
3804 arg3 = &temp3;
3805 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3806 }
3807 }
3808 if (obj3) {
3809 {
3810 arg4 = &temp4;
3811 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3812 }
3813 }
3814 if (obj4) {
3815 ecode5 = SWIG_AsVal_long(obj4, &val5);
3816 if (!SWIG_IsOK(ecode5)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3818 }
3819 arg5 = static_cast< long >(val5);
3820 }
3821 if (obj5) {
3822 {
3823 arg6 = wxString_in_helper(obj5);
3824 if (arg6 == NULL) SWIG_fail;
3825 temp6 = true;
3826 }
3827 }
3828 {
3829 if (!wxPyCheckForApp()) SWIG_fail;
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3836 {
3837 if (temp6)
3838 delete arg6;
3839 }
3840 return resultobj;
3841 fail:
3842 {
3843 if (temp6)
3844 delete arg6;
3845 }
3846 return NULL;
3847 }
3848
3849
3850 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3851 PyObject *resultobj = 0;
3852 wxPanel *result = 0 ;
3853
3854 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3855 {
3856 if (!wxPyCheckForApp()) SWIG_fail;
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxPanel *)new wxPanel();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj = 0;
3871 wxPanel *arg1 = (wxPanel *) 0 ;
3872 wxWindow *arg2 = (wxWindow *) 0 ;
3873 int arg3 = (int) (int)-1 ;
3874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3876 wxSize const &arg5_defvalue = wxDefaultSize ;
3877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3878 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3879 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3880 wxString *arg7 = (wxString *) &arg7_defvalue ;
3881 bool result;
3882 void *argp1 = 0 ;
3883 int res1 = 0 ;
3884 void *argp2 = 0 ;
3885 int res2 = 0 ;
3886 int val3 ;
3887 int ecode3 = 0 ;
3888 wxPoint temp4 ;
3889 wxSize temp5 ;
3890 long val6 ;
3891 int ecode6 = 0 ;
3892 bool temp7 = false ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 PyObject * obj2 = 0 ;
3896 PyObject * obj3 = 0 ;
3897 PyObject * obj4 = 0 ;
3898 PyObject * obj5 = 0 ;
3899 PyObject * obj6 = 0 ;
3900 char * kwnames[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3902 };
3903
3904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3906 if (!SWIG_IsOK(res1)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3908 }
3909 arg1 = reinterpret_cast< wxPanel * >(argp1);
3910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3911 if (!SWIG_IsOK(res2)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3913 }
3914 arg2 = reinterpret_cast< wxWindow * >(argp2);
3915 if (obj2) {
3916 ecode3 = SWIG_AsVal_int(obj2, &val3);
3917 if (!SWIG_IsOK(ecode3)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3919 }
3920 arg3 = static_cast< int >(val3);
3921 }
3922 if (obj3) {
3923 {
3924 arg4 = &temp4;
3925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3926 }
3927 }
3928 if (obj4) {
3929 {
3930 arg5 = &temp5;
3931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3932 }
3933 }
3934 if (obj5) {
3935 ecode6 = SWIG_AsVal_long(obj5, &val6);
3936 if (!SWIG_IsOK(ecode6)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3938 }
3939 arg6 = static_cast< long >(val6);
3940 }
3941 if (obj6) {
3942 {
3943 arg7 = wxString_in_helper(obj6);
3944 if (arg7 == NULL) SWIG_fail;
3945 temp7 = true;
3946 }
3947 }
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 {
3955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3956 }
3957 {
3958 if (temp7)
3959 delete arg7;
3960 }
3961 return resultobj;
3962 fail:
3963 {
3964 if (temp7)
3965 delete arg7;
3966 }
3967 return NULL;
3968 }
3969
3970
3971 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3972 PyObject *resultobj = 0;
3973 wxPanel *arg1 = (wxPanel *) 0 ;
3974 void *argp1 = 0 ;
3975 int res1 = 0 ;
3976 PyObject *swig_obj[1] ;
3977
3978 if (!args) SWIG_fail;
3979 swig_obj[0] = args;
3980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3981 if (!SWIG_IsOK(res1)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3983 }
3984 arg1 = reinterpret_cast< wxPanel * >(argp1);
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 (arg1)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 resultobj = SWIG_Py_Void();
3992 return resultobj;
3993 fail:
3994 return NULL;
3995 }
3996
3997
3998 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj = 0;
4000 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4001 SwigValueWrapper<wxVisualAttributes > result;
4002 int val1 ;
4003 int ecode1 = 0 ;
4004 PyObject * obj0 = 0 ;
4005 char * kwnames[] = {
4006 (char *) "variant", NULL
4007 };
4008
4009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4010 if (obj0) {
4011 ecode1 = SWIG_AsVal_int(obj0, &val1);
4012 if (!SWIG_IsOK(ecode1)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4014 }
4015 arg1 = static_cast< wxWindowVariant >(val1);
4016 }
4017 {
4018 if (!wxPyCheckForApp()) SWIG_fail;
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = wxPanel::GetClassDefaultAttributes(arg1);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4025 return resultobj;
4026 fail:
4027 return NULL;
4028 }
4029
4030
4031 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 PyObject *obj;
4033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4035 return SWIG_Py_Void();
4036 }
4037
4038 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039 return SWIG_Python_InitShadowInstance(args);
4040 }
4041
4042 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4043 PyObject *resultobj = 0;
4044 wxWindow *arg1 = (wxWindow *) 0 ;
4045 int arg2 = (int) (int)-1 ;
4046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4048 wxSize const &arg4_defvalue = wxDefaultSize ;
4049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4050 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4051 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4052 wxString *arg6 = (wxString *) &arg6_defvalue ;
4053 wxScrolledWindow *result = 0 ;
4054 void *argp1 = 0 ;
4055 int res1 = 0 ;
4056 int val2 ;
4057 int ecode2 = 0 ;
4058 wxPoint temp3 ;
4059 wxSize temp4 ;
4060 long val5 ;
4061 int ecode5 = 0 ;
4062 bool temp6 = false ;
4063 PyObject * obj0 = 0 ;
4064 PyObject * obj1 = 0 ;
4065 PyObject * obj2 = 0 ;
4066 PyObject * obj3 = 0 ;
4067 PyObject * obj4 = 0 ;
4068 PyObject * obj5 = 0 ;
4069 char * kwnames[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4071 };
4072
4073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4075 if (!SWIG_IsOK(res1)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4077 }
4078 arg1 = reinterpret_cast< wxWindow * >(argp1);
4079 if (obj1) {
4080 ecode2 = SWIG_AsVal_int(obj1, &val2);
4081 if (!SWIG_IsOK(ecode2)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4083 }
4084 arg2 = static_cast< int >(val2);
4085 }
4086 if (obj2) {
4087 {
4088 arg3 = &temp3;
4089 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4090 }
4091 }
4092 if (obj3) {
4093 {
4094 arg4 = &temp4;
4095 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4096 }
4097 }
4098 if (obj4) {
4099 ecode5 = SWIG_AsVal_long(obj4, &val5);
4100 if (!SWIG_IsOK(ecode5)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4102 }
4103 arg5 = static_cast< long >(val5);
4104 }
4105 if (obj5) {
4106 {
4107 arg6 = wxString_in_helper(obj5);
4108 if (arg6 == NULL) SWIG_fail;
4109 temp6 = true;
4110 }
4111 }
4112 {
4113 if (!wxPyCheckForApp()) SWIG_fail;
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4120 {
4121 if (temp6)
4122 delete arg6;
4123 }
4124 return resultobj;
4125 fail:
4126 {
4127 if (temp6)
4128 delete arg6;
4129 }
4130 return NULL;
4131 }
4132
4133
4134 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4135 PyObject *resultobj = 0;
4136 wxScrolledWindow *result = 0 ;
4137
4138 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4139 {
4140 if (!wxPyCheckForApp()) SWIG_fail;
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (wxScrolledWindow *)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj = 0;
4155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4156 wxWindow *arg2 = (wxWindow *) 0 ;
4157 int arg3 = (int) (int)-1 ;
4158 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4159 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4160 wxSize const &arg5_defvalue = wxDefaultSize ;
4161 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4162 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4163 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4164 wxString *arg7 = (wxString *) &arg7_defvalue ;
4165 bool result;
4166 void *argp1 = 0 ;
4167 int res1 = 0 ;
4168 void *argp2 = 0 ;
4169 int res2 = 0 ;
4170 int val3 ;
4171 int ecode3 = 0 ;
4172 wxPoint temp4 ;
4173 wxSize temp5 ;
4174 long val6 ;
4175 int ecode6 = 0 ;
4176 bool temp7 = false ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 PyObject * obj3 = 0 ;
4181 PyObject * obj4 = 0 ;
4182 PyObject * obj5 = 0 ;
4183 PyObject * obj6 = 0 ;
4184 char * kwnames[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4186 };
4187
4188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4190 if (!SWIG_IsOK(res1)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4192 }
4193 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4195 if (!SWIG_IsOK(res2)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4197 }
4198 arg2 = reinterpret_cast< wxWindow * >(argp2);
4199 if (obj2) {
4200 ecode3 = SWIG_AsVal_int(obj2, &val3);
4201 if (!SWIG_IsOK(ecode3)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4203 }
4204 arg3 = static_cast< int >(val3);
4205 }
4206 if (obj3) {
4207 {
4208 arg4 = &temp4;
4209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4210 }
4211 }
4212 if (obj4) {
4213 {
4214 arg5 = &temp5;
4215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4216 }
4217 }
4218 if (obj5) {
4219 ecode6 = SWIG_AsVal_long(obj5, &val6);
4220 if (!SWIG_IsOK(ecode6)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4222 }
4223 arg6 = static_cast< long >(val6);
4224 }
4225 if (obj6) {
4226 {
4227 arg7 = wxString_in_helper(obj6);
4228 if (arg7 == NULL) SWIG_fail;
4229 temp7 = true;
4230 }
4231 }
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4235 wxPyEndAllowThreads(__tstate);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 {
4239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4240 }
4241 {
4242 if (temp7)
4243 delete arg7;
4244 }
4245 return resultobj;
4246 fail:
4247 {
4248 if (temp7)
4249 delete arg7;
4250 }
4251 return NULL;
4252 }
4253
4254
4255 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj = 0;
4257 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4258 int arg2 ;
4259 int arg3 ;
4260 int arg4 ;
4261 int arg5 ;
4262 int arg6 = (int) 0 ;
4263 int arg7 = (int) 0 ;
4264 bool arg8 = (bool) false ;
4265 void *argp1 = 0 ;
4266 int res1 = 0 ;
4267 int val2 ;
4268 int ecode2 = 0 ;
4269 int val3 ;
4270 int ecode3 = 0 ;
4271 int val4 ;
4272 int ecode4 = 0 ;
4273 int val5 ;
4274 int ecode5 = 0 ;
4275 int val6 ;
4276 int ecode6 = 0 ;
4277 int val7 ;
4278 int ecode7 = 0 ;
4279 bool val8 ;
4280 int ecode8 = 0 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 PyObject * obj2 = 0 ;
4284 PyObject * obj3 = 0 ;
4285 PyObject * obj4 = 0 ;
4286 PyObject * obj5 = 0 ;
4287 PyObject * obj6 = 0 ;
4288 PyObject * obj7 = 0 ;
4289 char * kwnames[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4291 };
4292
4293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4295 if (!SWIG_IsOK(res1)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4297 }
4298 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4299 ecode2 = SWIG_AsVal_int(obj1, &val2);
4300 if (!SWIG_IsOK(ecode2)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4302 }
4303 arg2 = static_cast< int >(val2);
4304 ecode3 = SWIG_AsVal_int(obj2, &val3);
4305 if (!SWIG_IsOK(ecode3)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4307 }
4308 arg3 = static_cast< int >(val3);
4309 ecode4 = SWIG_AsVal_int(obj3, &val4);
4310 if (!SWIG_IsOK(ecode4)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4312 }
4313 arg4 = static_cast< int >(val4);
4314 ecode5 = SWIG_AsVal_int(obj4, &val5);
4315 if (!SWIG_IsOK(ecode5)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4317 }
4318 arg5 = static_cast< int >(val5);
4319 if (obj5) {
4320 ecode6 = SWIG_AsVal_int(obj5, &val6);
4321 if (!SWIG_IsOK(ecode6)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4323 }
4324 arg6 = static_cast< int >(val6);
4325 }
4326 if (obj6) {
4327 ecode7 = SWIG_AsVal_int(obj6, &val7);
4328 if (!SWIG_IsOK(ecode7)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4330 }
4331 arg7 = static_cast< int >(val7);
4332 }
4333 if (obj7) {
4334 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4335 if (!SWIG_IsOK(ecode8)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4337 }
4338 arg8 = static_cast< bool >(val8);
4339 }
4340 {
4341 PyThreadState* __tstate = wxPyBeginAllowThreads();
4342 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = SWIG_Py_Void();
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj = 0;
4355 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4356 int arg2 ;
4357 int arg3 ;
4358 void *argp1 = 0 ;
4359 int res1 = 0 ;
4360 int val2 ;
4361 int ecode2 = 0 ;
4362 int val3 ;
4363 int ecode3 = 0 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 PyObject * obj2 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4377 ecode2 = SWIG_AsVal_int(obj1, &val2);
4378 if (!SWIG_IsOK(ecode2)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4380 }
4381 arg2 = static_cast< int >(val2);
4382 ecode3 = SWIG_AsVal_int(obj2, &val3);
4383 if (!SWIG_IsOK(ecode3)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->Scroll(arg2,arg3);
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 resultobj = SWIG_Py_Void();
4394 return resultobj;
4395 fail:
4396 return NULL;
4397 }
4398
4399
4400 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4401 PyObject *resultobj = 0;
4402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4403 int arg2 ;
4404 int result;
4405 void *argp1 = 0 ;
4406 int res1 = 0 ;
4407 int val2 ;
4408 int ecode2 = 0 ;
4409 PyObject * obj0 = 0 ;
4410 PyObject * obj1 = 0 ;
4411 char * kwnames[] = {
4412 (char *) "self",(char *) "orient", NULL
4413 };
4414
4415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4417 if (!SWIG_IsOK(res1)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4419 }
4420 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4421 ecode2 = SWIG_AsVal_int(obj1, &val2);
4422 if (!SWIG_IsOK(ecode2)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4424 }
4425 arg2 = static_cast< int >(val2);
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_From_int(static_cast< int >(result));
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj = 0;
4441 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4442 int arg2 ;
4443 int arg3 ;
4444 void *argp1 = 0 ;
4445 int res1 = 0 ;
4446 int val2 ;
4447 int ecode2 = 0 ;
4448 int val3 ;
4449 int ecode3 = 0 ;
4450 PyObject * obj0 = 0 ;
4451 PyObject * obj1 = 0 ;
4452 PyObject * obj2 = 0 ;
4453 char * kwnames[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4455 };
4456
4457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4459 if (!SWIG_IsOK(res1)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4461 }
4462 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4463 ecode2 = SWIG_AsVal_int(obj1, &val2);
4464 if (!SWIG_IsOK(ecode2)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4466 }
4467 arg2 = static_cast< int >(val2);
4468 ecode3 = SWIG_AsVal_int(obj2, &val3);
4469 if (!SWIG_IsOK(ecode3)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4471 }
4472 arg3 = static_cast< int >(val3);
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 (arg1)->SetScrollPageSize(arg2,arg3);
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_Py_Void();
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj = 0;
4488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4489 int arg2 ;
4490 int arg3 ;
4491 void *argp1 = 0 ;
4492 int res1 = 0 ;
4493 int val2 ;
4494 int ecode2 = 0 ;
4495 int val3 ;
4496 int ecode3 = 0 ;
4497 PyObject * obj0 = 0 ;
4498 PyObject * obj1 = 0 ;
4499 PyObject * obj2 = 0 ;
4500 char * kwnames[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4502 };
4503
4504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4506 if (!SWIG_IsOK(res1)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4508 }
4509 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4510 ecode2 = SWIG_AsVal_int(obj1, &val2);
4511 if (!SWIG_IsOK(ecode2)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4513 }
4514 arg2 = static_cast< int >(val2);
4515 ecode3 = SWIG_AsVal_int(obj2, &val3);
4516 if (!SWIG_IsOK(ecode3)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4518 }
4519 arg3 = static_cast< int >(val3);
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 (arg1)->SetScrollRate(arg2,arg3);
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 resultobj = SWIG_Py_Void();
4527 return resultobj;
4528 fail:
4529 return NULL;
4530 }
4531
4532
4533 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4534 PyObject *resultobj = 0;
4535 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4536 int *arg2 = (int *) 0 ;
4537 int *arg3 = (int *) 0 ;
4538 void *argp1 = 0 ;
4539 int res1 = 0 ;
4540 int temp2 ;
4541 int res2 = SWIG_TMPOBJ ;
4542 int temp3 ;
4543 int res3 = SWIG_TMPOBJ ;
4544 PyObject *swig_obj[1] ;
4545
4546 arg2 = &temp2;
4547 arg3 = &temp3;
4548 if (!args) SWIG_fail;
4549 swig_obj[0] = args;
4550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4551 if (!SWIG_IsOK(res1)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4553 }
4554 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2)) {
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4564 } else {
4565 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4566 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4567 }
4568 if (SWIG_IsTmpObj(res3)) {
4569 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4570 } else {
4571 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4573 }
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj = 0;
4582 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4583 bool arg2 ;
4584 bool arg3 ;
4585 void *argp1 = 0 ;
4586 int res1 = 0 ;
4587 bool val2 ;
4588 int ecode2 = 0 ;
4589 bool val3 ;
4590 int ecode3 = 0 ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 PyObject * obj2 = 0 ;
4594 char * kwnames[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4596 };
4597
4598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4600 if (!SWIG_IsOK(res1)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4602 }
4603 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4605 if (!SWIG_IsOK(ecode2)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4607 }
4608 arg2 = static_cast< bool >(val2);
4609 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4610 if (!SWIG_IsOK(ecode3)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4612 }
4613 arg3 = static_cast< bool >(val3);
4614 {
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 (arg1)->EnableScrolling(arg2,arg3);
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 resultobj = SWIG_Py_Void();
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4628 PyObject *resultobj = 0;
4629 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4630 int *arg2 = (int *) 0 ;
4631 int *arg3 = (int *) 0 ;
4632 void *argp1 = 0 ;
4633 int res1 = 0 ;
4634 int temp2 ;
4635 int res2 = SWIG_TMPOBJ ;
4636 int temp3 ;
4637 int res3 = SWIG_TMPOBJ ;
4638 PyObject *swig_obj[1] ;
4639
4640 arg2 = &temp2;
4641 arg3 = &temp3;
4642 if (!args) SWIG_fail;
4643 swig_obj[0] = args;
4644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4645 if (!SWIG_IsOK(res1)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4647 }
4648 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2)) {
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4658 } else {
4659 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4661 }
4662 if (SWIG_IsTmpObj(res3)) {
4663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4664 } else {
4665 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4667 }
4668 return resultobj;
4669 fail:
4670 return NULL;
4671 }
4672
4673
4674 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj = 0;
4676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4677 double arg2 ;
4678 double arg3 ;
4679 void *argp1 = 0 ;
4680 int res1 = 0 ;
4681 double val2 ;
4682 int ecode2 = 0 ;
4683 double val3 ;
4684 int ecode3 = 0 ;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4687 PyObject * obj2 = 0 ;
4688 char * kwnames[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4690 };
4691
4692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4694 if (!SWIG_IsOK(res1)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4696 }
4697 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4698 ecode2 = SWIG_AsVal_double(obj1, &val2);
4699 if (!SWIG_IsOK(ecode2)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4701 }
4702 arg2 = static_cast< double >(val2);
4703 ecode3 = SWIG_AsVal_double(obj2, &val3);
4704 if (!SWIG_IsOK(ecode3)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4706 }
4707 arg3 = static_cast< double >(val3);
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 (arg1)->SetScale(arg2,arg3);
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) SWIG_fail;
4713 }
4714 resultobj = SWIG_Py_Void();
4715 return resultobj;
4716 fail:
4717 return NULL;
4718 }
4719
4720
4721 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4722 PyObject *resultobj = 0;
4723 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4724 double result;
4725 void *argp1 = 0 ;
4726 int res1 = 0 ;
4727 PyObject *swig_obj[1] ;
4728
4729 if (!args) SWIG_fail;
4730 swig_obj[0] = args;
4731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4732 if (!SWIG_IsOK(res1)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4734 }
4735 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = SWIG_From_double(static_cast< double >(result));
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4750 PyObject *resultobj = 0;
4751 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4752 double result;
4753 void *argp1 = 0 ;
4754 int res1 = 0 ;
4755 PyObject *swig_obj[1] ;
4756
4757 if (!args) SWIG_fail;
4758 swig_obj[0] = args;
4759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4760 if (!SWIG_IsOK(res1)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4762 }
4763 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 resultobj = SWIG_From_double(static_cast< double >(result));
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4778 PyObject *resultobj = 0;
4779 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4780 wxPoint *arg2 = 0 ;
4781 wxPoint result;
4782 void *argp1 = 0 ;
4783 int res1 = 0 ;
4784 wxPoint temp2 ;
4785
4786 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4788 if (!SWIG_IsOK(res1)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4790 }
4791 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4792 {
4793 arg2 = &temp2;
4794 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4810 PyObject *resultobj = 0;
4811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4812 int arg2 ;
4813 int arg3 ;
4814 int *arg4 = (int *) 0 ;
4815 int *arg5 = (int *) 0 ;
4816 void *argp1 = 0 ;
4817 int res1 = 0 ;
4818 int val2 ;
4819 int ecode2 = 0 ;
4820 int val3 ;
4821 int ecode3 = 0 ;
4822 int temp4 ;
4823 int res4 = SWIG_TMPOBJ ;
4824 int temp5 ;
4825 int res5 = SWIG_TMPOBJ ;
4826
4827 arg4 = &temp4;
4828 arg5 = &temp5;
4829 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4831 if (!SWIG_IsOK(res1)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4833 }
4834 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4835 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4836 if (!SWIG_IsOK(ecode2)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4838 }
4839 arg2 = static_cast< int >(val2);
4840 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4841 if (!SWIG_IsOK(ecode3)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4843 }
4844 arg3 = static_cast< int >(val3);
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 resultobj = SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4)) {
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4854 } else {
4855 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4857 }
4858 if (SWIG_IsTmpObj(res5)) {
4859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4860 } else {
4861 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4863 }
4864 return resultobj;
4865 fail:
4866 return NULL;
4867 }
4868
4869
4870 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4871 int argc;
4872 PyObject *argv[4];
4873
4874 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4875 --argc;
4876 if (argc == 2) {
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4878 }
4879 if (argc == 3) {
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4881 }
4882
4883 fail:
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4885 return NULL;
4886 }
4887
4888
4889 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4890 PyObject *resultobj = 0;
4891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4892 wxPoint *arg2 = 0 ;
4893 wxPoint result;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 wxPoint temp2 ;
4897
4898 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4900 if (!SWIG_IsOK(res1)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4902 }
4903 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4904 {
4905 arg2 = &temp2;
4906 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4907 }
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4915 return resultobj;
4916 fail:
4917 return NULL;
4918 }
4919
4920
4921 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4922 PyObject *resultobj = 0;
4923 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4924 int arg2 ;
4925 int arg3 ;
4926 int *arg4 = (int *) 0 ;
4927 int *arg5 = (int *) 0 ;
4928 void *argp1 = 0 ;
4929 int res1 = 0 ;
4930 int val2 ;
4931 int ecode2 = 0 ;
4932 int val3 ;
4933 int ecode3 = 0 ;
4934 int temp4 ;
4935 int res4 = SWIG_TMPOBJ ;
4936 int temp5 ;
4937 int res5 = SWIG_TMPOBJ ;
4938
4939 arg4 = &temp4;
4940 arg5 = &temp5;
4941 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4945 }
4946 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4947 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4950 }
4951 arg2 = static_cast< int >(val2);
4952 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4953 if (!SWIG_IsOK(ecode3)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4955 }
4956 arg3 = static_cast< int >(val3);
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4)) {
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4966 } else {
4967 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4969 }
4970 if (SWIG_IsTmpObj(res5)) {
4971 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4972 } else {
4973 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4975 }
4976 return resultobj;
4977 fail:
4978 return NULL;
4979 }
4980
4981
4982 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4983 int argc;
4984 PyObject *argv[4];
4985
4986 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4987 --argc;
4988 if (argc == 2) {
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4990 }
4991 if (argc == 3) {
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4993 }
4994
4995 fail:
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4997 return NULL;
4998 }
4999
5000
5001 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5002 PyObject *resultobj = 0;
5003 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5004 void *argp1 = 0 ;
5005 int res1 = 0 ;
5006 PyObject *swig_obj[1] ;
5007
5008 if (!args) SWIG_fail;
5009 swig_obj[0] = args;
5010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5011 if (!SWIG_IsOK(res1)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5013 }
5014 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 resultobj = SWIG_Py_Void();
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj = 0;
5030 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5031 wxScrollWinEvent *arg2 = 0 ;
5032 int result;
5033 void *argp1 = 0 ;
5034 int res1 = 0 ;
5035 void *argp2 = 0 ;
5036 int res2 = 0 ;
5037 PyObject * obj0 = 0 ;
5038 PyObject * obj1 = 0 ;
5039 char * kwnames[] = {
5040 (char *) "self",(char *) "event", NULL
5041 };
5042
5043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5045 if (!SWIG_IsOK(res1)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5047 }
5048 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5049 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5050 if (!SWIG_IsOK(res2)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5052 }
5053 if (!argp2) {
5054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5055 }
5056 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 result = (int)(arg1)->CalcScrollInc(*arg2);
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 resultobj = SWIG_From_int(static_cast< int >(result));
5064 return resultobj;
5065 fail:
5066 return NULL;
5067 }
5068
5069
5070 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj = 0;
5072 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5073 wxWindow *arg2 = (wxWindow *) 0 ;
5074 void *argp1 = 0 ;
5075 int res1 = 0 ;
5076 void *argp2 = 0 ;
5077 int res2 = 0 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char * kwnames[] = {
5081 (char *) "self",(char *) "target", NULL
5082 };
5083
5084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5086 if (!SWIG_IsOK(res1)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5088 }
5089 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5091 if (!SWIG_IsOK(res2)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5093 }
5094 arg2 = reinterpret_cast< wxWindow * >(argp2);
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 (arg1)->SetTargetWindow(arg2);
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 resultobj = SWIG_Py_Void();
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5109 PyObject *resultobj = 0;
5110 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5111 wxWindow *result = 0 ;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 PyObject *swig_obj[1] ;
5115
5116 if (!args) SWIG_fail;
5117 swig_obj[0] = args;
5118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5119 if (!SWIG_IsOK(res1)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5121 }
5122 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 {
5130 resultobj = wxPyMake_wxObject(result, 0);
5131 }
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj = 0;
5140 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5141 wxDC *arg2 = 0 ;
5142 void *argp1 = 0 ;
5143 int res1 = 0 ;
5144 void *argp2 = 0 ;
5145 int res2 = 0 ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 char * kwnames[] = {
5149 (char *) "self",(char *) "dc", NULL
5150 };
5151
5152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5154 if (!SWIG_IsOK(res1)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5156 }
5157 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5158 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5159 if (!SWIG_IsOK(res2)) {
5160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5161 }
5162 if (!argp2) {
5163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5164 }
5165 arg2 = reinterpret_cast< wxDC * >(argp2);
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 (arg1)->DoPrepareDC(*arg2);
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 resultobj = SWIG_Py_Void();
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj = 0;
5181 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5182 SwigValueWrapper<wxVisualAttributes > result;
5183 int val1 ;
5184 int ecode1 = 0 ;
5185 PyObject * obj0 = 0 ;
5186 char * kwnames[] = {
5187 (char *) "variant", NULL
5188 };
5189
5190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5191 if (obj0) {
5192 ecode1 = SWIG_AsVal_int(obj0, &val1);
5193 if (!SWIG_IsOK(ecode1)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5195 }
5196 arg1 = static_cast< wxWindowVariant >(val1);
5197 }
5198 {
5199 if (!wxPyCheckForApp()) SWIG_fail;
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5206 return resultobj;
5207 fail:
5208 return NULL;
5209 }
5210
5211
5212 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5213 PyObject *obj;
5214 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5215 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5216 return SWIG_Py_Void();
5217 }
5218
5219 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5220 return SWIG_Python_InitShadowInstance(args);
5221 }
5222
5223 SWIGINTERN int FrameNameStr_set(PyObject *) {
5224 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5225 return 1;
5226 }
5227
5228
5229 SWIGINTERN PyObject *FrameNameStr_get(void) {
5230 PyObject *pyobj = 0;
5231
5232 {
5233 #if wxUSE_UNICODE
5234 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5235 #else
5236 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5237 #endif
5238 }
5239 return pyobj;
5240 }
5241
5242
5243 SWIGINTERN int DialogNameStr_set(PyObject *) {
5244 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5245 return 1;
5246 }
5247
5248
5249 SWIGINTERN PyObject *DialogNameStr_get(void) {
5250 PyObject *pyobj = 0;
5251
5252 {
5253 #if wxUSE_UNICODE
5254 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5255 #else
5256 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5257 #endif
5258 }
5259 return pyobj;
5260 }
5261
5262
5263 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5264 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5265 return 1;
5266 }
5267
5268
5269 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5270 PyObject *pyobj = 0;
5271
5272 {
5273 #if wxUSE_UNICODE
5274 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5275 #else
5276 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5277 #endif
5278 }
5279 return pyobj;
5280 }
5281
5282
5283 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5284 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5285 return 1;
5286 }
5287
5288
5289 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5290 PyObject *pyobj = 0;
5291
5292 {
5293 #if wxUSE_UNICODE
5294 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5295 #else
5296 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5297 #endif
5298 }
5299 return pyobj;
5300 }
5301
5302
5303 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj = 0;
5305 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5306 bool arg2 = (bool) true ;
5307 void *argp1 = 0 ;
5308 int res1 = 0 ;
5309 bool val2 ;
5310 int ecode2 = 0 ;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 char * kwnames[] = {
5314 (char *) "self",(char *) "maximize", NULL
5315 };
5316
5317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5319 if (!SWIG_IsOK(res1)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5321 }
5322 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5323 if (obj1) {
5324 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5325 if (!SWIG_IsOK(ecode2)) {
5326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5327 }
5328 arg2 = static_cast< bool >(val2);
5329 }
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 (arg1)->Maximize(arg2);
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 resultobj = SWIG_Py_Void();
5337 return resultobj;
5338 fail:
5339 return NULL;
5340 }
5341
5342
5343 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5344 PyObject *resultobj = 0;
5345 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5346 void *argp1 = 0 ;
5347 int res1 = 0 ;
5348 PyObject *swig_obj[1] ;
5349
5350 if (!args) SWIG_fail;
5351 swig_obj[0] = args;
5352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5353 if (!SWIG_IsOK(res1)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5355 }
5356 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 (arg1)->Restore();
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 resultobj = SWIG_Py_Void();
5364 return resultobj;
5365 fail:
5366 return NULL;
5367 }
5368
5369
5370 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5371 PyObject *resultobj = 0;
5372 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5373 bool arg2 = (bool) true ;
5374 void *argp1 = 0 ;
5375 int res1 = 0 ;
5376 bool val2 ;
5377 int ecode2 = 0 ;
5378 PyObject * obj0 = 0 ;
5379 PyObject * obj1 = 0 ;
5380 char * kwnames[] = {
5381 (char *) "self",(char *) "iconize", NULL
5382 };
5383
5384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5386 if (!SWIG_IsOK(res1)) {
5387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5388 }
5389 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5390 if (obj1) {
5391 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5392 if (!SWIG_IsOK(ecode2)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5394 }
5395 arg2 = static_cast< bool >(val2);
5396 }
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 (arg1)->Iconize(arg2);
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 resultobj = SWIG_Py_Void();
5404 return resultobj;
5405 fail:
5406 return NULL;
5407 }
5408
5409
5410 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5411 PyObject *resultobj = 0;
5412 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5413 bool result;
5414 void *argp1 = 0 ;
5415 int res1 = 0 ;
5416 PyObject *swig_obj[1] ;
5417
5418 if (!args) SWIG_fail;
5419 swig_obj[0] = args;
5420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5421 if (!SWIG_IsOK(res1)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5423 }
5424 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 {
5432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5433 }
5434 return resultobj;
5435 fail:
5436 return NULL;
5437 }
5438
5439
5440 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5441 PyObject *resultobj = 0;
5442 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5443 bool result;
5444 void *argp1 = 0 ;
5445 int res1 = 0 ;
5446 PyObject *swig_obj[1] ;
5447
5448 if (!args) SWIG_fail;
5449 swig_obj[0] = args;
5450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5451 if (!SWIG_IsOK(res1)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5453 }
5454 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 {
5462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5463 }
5464 return resultobj;
5465 fail:
5466 return NULL;
5467 }
5468
5469
5470 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5471 PyObject *resultobj = 0;
5472 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5473 bool result;
5474 void *argp1 = 0 ;
5475 int res1 = 0 ;
5476 PyObject *swig_obj[1] ;
5477
5478 if (!args) SWIG_fail;
5479 swig_obj[0] = args;
5480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5481 if (!SWIG_IsOK(res1)) {
5482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5483 }
5484 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 {
5492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5493 }
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5501 PyObject *resultobj = 0;
5502 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5503 wxIcon result;
5504 void *argp1 = 0 ;
5505 int res1 = 0 ;
5506 PyObject *swig_obj[1] ;
5507
5508 if (!args) SWIG_fail;
5509 swig_obj[0] = args;
5510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5511 if (!SWIG_IsOK(res1)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5513 }
5514 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj = 0;
5530 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5531 wxIcon *arg2 = 0 ;
5532 void *argp1 = 0 ;
5533 int res1 = 0 ;
5534 void *argp2 = 0 ;
5535 int res2 = 0 ;
5536 PyObject * obj0 = 0 ;
5537 PyObject * obj1 = 0 ;
5538 char * kwnames[] = {
5539 (char *) "self",(char *) "icon", NULL
5540 };
5541
5542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5544 if (!SWIG_IsOK(res1)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5546 }
5547 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5548 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5549 if (!SWIG_IsOK(res2)) {
5550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5551 }
5552 if (!argp2) {
5553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5554 }
5555 arg2 = reinterpret_cast< wxIcon * >(argp2);
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->SetIcon((wxIcon const &)*arg2);
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 resultobj = SWIG_Py_Void();
5563 return resultobj;
5564 fail:
5565 return NULL;
5566 }
5567
5568
5569 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj = 0;
5571 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5572 wxIconBundle *arg2 = 0 ;
5573 void *argp1 = 0 ;
5574 int res1 = 0 ;
5575 void *argp2 = 0 ;
5576 int res2 = 0 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char * kwnames[] = {
5580 (char *) "self",(char *) "icons", NULL
5581 };
5582
5583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5585 if (!SWIG_IsOK(res1)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5587 }
5588 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5589 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5590 if (!SWIG_IsOK(res2)) {
5591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5592 }
5593 if (!argp2) {
5594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5595 }
5596 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 resultobj = SWIG_Py_Void();
5604 return resultobj;
5605 fail:
5606 return NULL;
5607 }
5608
5609
5610 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5611 PyObject *resultobj = 0;
5612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5613 bool arg2 ;
5614 long arg3 = (long) wxFULLSCREEN_ALL ;
5615 bool result;
5616 void *argp1 = 0 ;
5617 int res1 = 0 ;
5618 bool val2 ;
5619 int ecode2 = 0 ;
5620 long val3 ;
5621 int ecode3 = 0 ;
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 PyObject * obj2 = 0 ;
5625 char * kwnames[] = {
5626 (char *) "self",(char *) "show",(char *) "style", NULL
5627 };
5628
5629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5631 if (!SWIG_IsOK(res1)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5633 }
5634 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5635 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5636 if (!SWIG_IsOK(ecode2)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5638 }
5639 arg2 = static_cast< bool >(val2);
5640 if (obj2) {
5641 ecode3 = SWIG_AsVal_long(obj2, &val3);
5642 if (!SWIG_IsOK(ecode3)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5644 }
5645 arg3 = static_cast< long >(val3);
5646 }
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 {
5654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5655 }
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5663 PyObject *resultobj = 0;
5664 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5665 bool result;
5666 void *argp1 = 0 ;
5667 int res1 = 0 ;
5668 PyObject *swig_obj[1] ;
5669
5670 if (!args) SWIG_fail;
5671 swig_obj[0] = args;
5672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5673 if (!SWIG_IsOK(res1)) {
5674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5675 }
5676 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 {
5684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5685 }
5686 return resultobj;
5687 fail:
5688 return NULL;
5689 }
5690
5691
5692 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj = 0;
5694 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5695 wxString *arg2 = 0 ;
5696 void *argp1 = 0 ;
5697 int res1 = 0 ;
5698 bool temp2 = false ;
5699 PyObject * obj0 = 0 ;
5700 PyObject * obj1 = 0 ;
5701 char * kwnames[] = {
5702 (char *) "self",(char *) "title", NULL
5703 };
5704
5705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5707 if (!SWIG_IsOK(res1)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5709 }
5710 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5711 {
5712 arg2 = wxString_in_helper(obj1);
5713 if (arg2 == NULL) SWIG_fail;
5714 temp2 = true;
5715 }
5716 {
5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
5718 (arg1)->SetTitle((wxString const &)*arg2);
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
5722 resultobj = SWIG_Py_Void();
5723 {
5724 if (temp2)
5725 delete arg2;
5726 }
5727 return resultobj;
5728 fail:
5729 {
5730 if (temp2)
5731 delete arg2;
5732 }
5733 return NULL;
5734 }
5735
5736
5737 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5738 PyObject *resultobj = 0;
5739 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5740 wxString result;
5741 void *argp1 = 0 ;
5742 int res1 = 0 ;
5743 PyObject *swig_obj[1] ;
5744
5745 if (!args) SWIG_fail;
5746 swig_obj[0] = args;
5747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5748 if (!SWIG_IsOK(res1)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5750 }
5751 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 {
5759 #if wxUSE_UNICODE
5760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5761 #else
5762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5763 #endif
5764 }
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj = 0;
5773 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5774 bool arg2 ;
5775 bool result;
5776 void *argp1 = 0 ;
5777 int res1 = 0 ;
5778 bool val2 ;
5779 int ecode2 = 0 ;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 char * kwnames[] = {
5783 (char *) "self",(char *) "enable", NULL
5784 };
5785
5786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5788 if (!SWIG_IsOK(res1)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5790 }
5791 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5792 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5793 if (!SWIG_IsOK(ecode2)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5795 }
5796 arg2 = static_cast< bool >(val2);
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 result = (bool)(arg1)->EnableCloseButton(arg2);
5800 wxPyEndAllowThreads(__tstate);
5801 if (PyErr_Occurred()) SWIG_fail;
5802 }
5803 {
5804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5805 }
5806 return resultobj;
5807 fail:
5808 return NULL;
5809 }
5810
5811
5812 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj = 0;
5814 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5815 wxRegion *arg2 = 0 ;
5816 bool result;
5817 void *argp1 = 0 ;
5818 int res1 = 0 ;
5819 void *argp2 = 0 ;
5820 int res2 = 0 ;
5821 PyObject * obj0 = 0 ;
5822 PyObject * obj1 = 0 ;
5823 char * kwnames[] = {
5824 (char *) "self",(char *) "region", NULL
5825 };
5826
5827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5829 if (!SWIG_IsOK(res1)) {
5830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5831 }
5832 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5834 if (!SWIG_IsOK(res2)) {
5835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5836 }
5837 if (!argp2) {
5838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5839 }
5840 arg2 = reinterpret_cast< wxRegion * >(argp2);
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 {
5848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5849 }
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj = 0;
5858 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5859 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5860 void *argp1 = 0 ;
5861 int res1 = 0 ;
5862 int val2 ;
5863 int ecode2 = 0 ;
5864 PyObject * obj0 = 0 ;
5865 PyObject * obj1 = 0 ;
5866 char * kwnames[] = {
5867 (char *) "self",(char *) "flags", NULL
5868 };
5869
5870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5872 if (!SWIG_IsOK(res1)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5874 }
5875 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5876 if (obj1) {
5877 ecode2 = SWIG_AsVal_int(obj1, &val2);
5878 if (!SWIG_IsOK(ecode2)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5880 }
5881 arg2 = static_cast< int >(val2);
5882 }
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 (arg1)->RequestUserAttention(arg2);
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 resultobj = SWIG_Py_Void();
5890 return resultobj;
5891 fail:
5892 return NULL;
5893 }
5894
5895
5896 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5897 PyObject *resultobj = 0;
5898 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5899 bool result;
5900 void *argp1 = 0 ;
5901 int res1 = 0 ;
5902 PyObject *swig_obj[1] ;
5903
5904 if (!args) SWIG_fail;
5905 swig_obj[0] = args;
5906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5909 }
5910 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 result = (bool)(arg1)->IsActive();
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 {
5918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5919 }
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj = 0;
5928 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5929 bool arg2 ;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 bool val2 ;
5933 int ecode2 = 0 ;
5934 PyObject * obj0 = 0 ;
5935 PyObject * obj1 = 0 ;
5936 char * kwnames[] = {
5937 (char *) "self",(char *) "on", NULL
5938 };
5939
5940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5942 if (!SWIG_IsOK(res1)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5944 }
5945 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5946 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5947 if (!SWIG_IsOK(ecode2)) {
5948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5949 }
5950 arg2 = static_cast< bool >(val2);
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_Py_Void();
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5965 PyObject *resultobj = 0;
5966 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5967 bool result;
5968 void *argp1 = 0 ;
5969 int res1 = 0 ;
5970 PyObject *swig_obj[1] ;
5971
5972 if (!args) SWIG_fail;
5973 swig_obj[0] = args;
5974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5975 if (!SWIG_IsOK(res1)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5977 }
5978 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 {
5986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5987 }
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5995 PyObject *resultobj = 0;
5996 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5997 int arg2 = (int) wxBOTH ;
5998 void *argp1 = 0 ;
5999 int res1 = 0 ;
6000 int val2 ;
6001 int ecode2 = 0 ;
6002 PyObject * obj0 = 0 ;
6003 PyObject * obj1 = 0 ;
6004 char * kwnames[] = {
6005 (char *) "self",(char *) "dir", NULL
6006 };
6007
6008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6010 if (!SWIG_IsOK(res1)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6012 }
6013 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6014 if (obj1) {
6015 ecode2 = SWIG_AsVal_int(obj1, &val2);
6016 if (!SWIG_IsOK(ecode2)) {
6017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6018 }
6019 arg2 = static_cast< int >(val2);
6020 }
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->CenterOnScreen(arg2);
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_Py_Void();
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6035 PyObject *resultobj = 0;
6036 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6037 wxWindow *result = 0 ;
6038 void *argp1 = 0 ;
6039 int res1 = 0 ;
6040 PyObject *swig_obj[1] ;
6041
6042 if (!args) SWIG_fail;
6043 swig_obj[0] = args;
6044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6045 if (!SWIG_IsOK(res1)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6047 }
6048 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 {
6056 resultobj = wxPyMake_wxObject(result, 0);
6057 }
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6065 PyObject *resultobj = 0;
6066 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6067 wxWindow *arg2 = (wxWindow *) 0 ;
6068 wxWindow *result = 0 ;
6069 void *argp1 = 0 ;
6070 int res1 = 0 ;
6071 void *argp2 = 0 ;
6072 int res2 = 0 ;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 char * kwnames[] = {
6076 (char *) "self",(char *) "child", NULL
6077 };
6078
6079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6081 if (!SWIG_IsOK(res1)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6083 }
6084 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6085 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6086 if (!SWIG_IsOK(res2)) {
6087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6088 }
6089 arg2 = reinterpret_cast< wxWindow * >(argp2);
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 {
6097 resultobj = wxPyMake_wxObject(result, 0);
6098 }
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj = 0;
6107 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6108 wxWindow *arg2 = (wxWindow *) 0 ;
6109 void *argp1 = 0 ;
6110 int res1 = 0 ;
6111 void *argp2 = 0 ;
6112 int res2 = 0 ;
6113 PyObject * obj0 = 0 ;
6114 PyObject * obj1 = 0 ;
6115 char * kwnames[] = {
6116 (char *) "self",(char *) "win", NULL
6117 };
6118
6119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6121 if (!SWIG_IsOK(res1)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6123 }
6124 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6126 if (!SWIG_IsOK(res2)) {
6127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6128 }
6129 arg2 = reinterpret_cast< wxWindow * >(argp2);
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 (arg1)->SetTmpDefaultItem(arg2);
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 resultobj = SWIG_Py_Void();
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6144 PyObject *resultobj = 0;
6145 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6146 wxWindow *result = 0 ;
6147 void *argp1 = 0 ;
6148 int res1 = 0 ;
6149 PyObject *swig_obj[1] ;
6150
6151 if (!args) SWIG_fail;
6152 swig_obj[0] = args;
6153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6154 if (!SWIG_IsOK(res1)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6156 }
6157 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 resultobj = wxPyMake_wxObject(result, 0);
6166 }
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6174 PyObject *obj;
6175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6176 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6177 return SWIG_Py_Void();
6178 }
6179
6180 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj = 0;
6182 wxWindow *arg1 = (wxWindow *) 0 ;
6183 int arg2 = (int) (int)-1 ;
6184 wxString const &arg3_defvalue = wxPyEmptyString ;
6185 wxString *arg3 = (wxString *) &arg3_defvalue ;
6186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6188 wxSize const &arg5_defvalue = wxDefaultSize ;
6189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6190 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6191 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6192 wxString *arg7 = (wxString *) &arg7_defvalue ;
6193 wxFrame *result = 0 ;
6194 void *argp1 = 0 ;
6195 int res1 = 0 ;
6196 int val2 ;
6197 int ecode2 = 0 ;
6198 bool temp3 = false ;
6199 wxPoint temp4 ;
6200 wxSize temp5 ;
6201 long val6 ;
6202 int ecode6 = 0 ;
6203 bool temp7 = false ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 PyObject * obj3 = 0 ;
6208 PyObject * obj4 = 0 ;
6209 PyObject * obj5 = 0 ;
6210 PyObject * obj6 = 0 ;
6211 char * kwnames[] = {
6212 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6213 };
6214
6215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6217 if (!SWIG_IsOK(res1)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6219 }
6220 arg1 = reinterpret_cast< wxWindow * >(argp1);
6221 if (obj1) {
6222 ecode2 = SWIG_AsVal_int(obj1, &val2);
6223 if (!SWIG_IsOK(ecode2)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6225 }
6226 arg2 = static_cast< int >(val2);
6227 }
6228 if (obj2) {
6229 {
6230 arg3 = wxString_in_helper(obj2);
6231 if (arg3 == NULL) SWIG_fail;
6232 temp3 = true;
6233 }
6234 }
6235 if (obj3) {
6236 {
6237 arg4 = &temp4;
6238 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6239 }
6240 }
6241 if (obj4) {
6242 {
6243 arg5 = &temp5;
6244 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6245 }
6246 }
6247 if (obj5) {
6248 ecode6 = SWIG_AsVal_long(obj5, &val6);
6249 if (!SWIG_IsOK(ecode6)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6251 }
6252 arg6 = static_cast< long >(val6);
6253 }
6254 if (obj6) {
6255 {
6256 arg7 = wxString_in_helper(obj6);
6257 if (arg7 == NULL) SWIG_fail;
6258 temp7 = true;
6259 }
6260 }
6261 {
6262 if (!wxPyCheckForApp()) SWIG_fail;
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6269 {
6270 if (temp3)
6271 delete arg3;
6272 }
6273 {
6274 if (temp7)
6275 delete arg7;
6276 }
6277 return resultobj;
6278 fail:
6279 {
6280 if (temp3)
6281 delete arg3;
6282 }
6283 {
6284 if (temp7)
6285 delete arg7;
6286 }
6287 return NULL;
6288 }
6289
6290
6291 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6292 PyObject *resultobj = 0;
6293 wxFrame *result = 0 ;
6294
6295 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6296 {
6297 if (!wxPyCheckForApp()) SWIG_fail;
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 result = (wxFrame *)new wxFrame();
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj = 0;
6312 wxFrame *arg1 = (wxFrame *) 0 ;
6313 wxWindow *arg2 = (wxWindow *) 0 ;
6314 int arg3 = (int) (int)-1 ;
6315 wxString const &arg4_defvalue = wxPyEmptyString ;
6316 wxString *arg4 = (wxString *) &arg4_defvalue ;
6317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6319 wxSize const &arg6_defvalue = wxDefaultSize ;
6320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6321 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6322 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6323 wxString *arg8 = (wxString *) &arg8_defvalue ;
6324 bool result;
6325 void *argp1 = 0 ;
6326 int res1 = 0 ;
6327 void *argp2 = 0 ;
6328 int res2 = 0 ;
6329 int val3 ;
6330 int ecode3 = 0 ;
6331 bool temp4 = false ;
6332 wxPoint temp5 ;
6333 wxSize temp6 ;
6334 long val7 ;
6335 int ecode7 = 0 ;
6336 bool temp8 = false ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 PyObject * obj2 = 0 ;
6340 PyObject * obj3 = 0 ;
6341 PyObject * obj4 = 0 ;
6342 PyObject * obj5 = 0 ;
6343 PyObject * obj6 = 0 ;
6344 PyObject * obj7 = 0 ;
6345 char * kwnames[] = {
6346 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6347 };
6348
6349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6351 if (!SWIG_IsOK(res1)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6353 }
6354 arg1 = reinterpret_cast< wxFrame * >(argp1);
6355 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6356 if (!SWIG_IsOK(res2)) {
6357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6358 }
6359 arg2 = reinterpret_cast< wxWindow * >(argp2);
6360 if (obj2) {
6361 ecode3 = SWIG_AsVal_int(obj2, &val3);
6362 if (!SWIG_IsOK(ecode3)) {
6363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6364 }
6365 arg3 = static_cast< int >(val3);
6366 }
6367 if (obj3) {
6368 {
6369 arg4 = wxString_in_helper(obj3);
6370 if (arg4 == NULL) SWIG_fail;
6371 temp4 = true;
6372 }
6373 }
6374 if (obj4) {
6375 {
6376 arg5 = &temp5;
6377 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6378 }
6379 }
6380 if (obj5) {
6381 {
6382 arg6 = &temp6;
6383 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6384 }
6385 }
6386 if (obj6) {
6387 ecode7 = SWIG_AsVal_long(obj6, &val7);
6388 if (!SWIG_IsOK(ecode7)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6390 }
6391 arg7 = static_cast< long >(val7);
6392 }
6393 if (obj7) {
6394 {
6395 arg8 = wxString_in_helper(obj7);
6396 if (arg8 == NULL) SWIG_fail;
6397 temp8 = true;
6398 }
6399 }
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 {
6407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6408 }
6409 {
6410 if (temp4)
6411 delete arg4;
6412 }
6413 {
6414 if (temp8)
6415 delete arg8;
6416 }
6417 return resultobj;
6418 fail:
6419 {
6420 if (temp4)
6421 delete arg4;
6422 }
6423 {
6424 if (temp8)
6425 delete arg8;
6426 }
6427 return NULL;
6428 }
6429
6430
6431 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6432 PyObject *resultobj = 0;
6433 wxFrame *arg1 = (wxFrame *) 0 ;
6434 void *argp1 = 0 ;
6435 int res1 = 0 ;
6436 PyObject *swig_obj[1] ;
6437
6438 if (!args) SWIG_fail;
6439 swig_obj[0] = args;
6440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6441 if (!SWIG_IsOK(res1)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6443 }
6444 arg1 = reinterpret_cast< wxFrame * >(argp1);
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 (arg1)->SendSizeEvent();
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 resultobj = SWIG_Py_Void();
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj = 0;
6460 wxFrame *arg1 = (wxFrame *) 0 ;
6461 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6462 void *argp1 = 0 ;
6463 int res1 = 0 ;
6464 void *argp2 = 0 ;
6465 int res2 = 0 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char * kwnames[] = {
6469 (char *) "self",(char *) "menubar", NULL
6470 };
6471
6472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6474 if (!SWIG_IsOK(res1)) {
6475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6476 }
6477 arg1 = reinterpret_cast< wxFrame * >(argp1);
6478 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6479 if (!SWIG_IsOK(res2)) {
6480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6481 }
6482 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 (arg1)->SetMenuBar(arg2);
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = SWIG_Py_Void();
6490 return resultobj;
6491 fail:
6492 return NULL;
6493 }
6494
6495
6496 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6497 PyObject *resultobj = 0;
6498 wxFrame *arg1 = (wxFrame *) 0 ;
6499 wxMenuBar *result = 0 ;
6500 void *argp1 = 0 ;
6501 int res1 = 0 ;
6502 PyObject *swig_obj[1] ;
6503
6504 if (!args) SWIG_fail;
6505 swig_obj[0] = args;
6506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6507 if (!SWIG_IsOK(res1)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6509 }
6510 arg1 = reinterpret_cast< wxFrame * >(argp1);
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 {
6518 resultobj = wxPyMake_wxObject(result, 0);
6519 }
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj = 0;
6528 wxFrame *arg1 = (wxFrame *) 0 ;
6529 int arg2 ;
6530 bool result;
6531 void *argp1 = 0 ;
6532 int res1 = 0 ;
6533 int val2 ;
6534 int ecode2 = 0 ;
6535 PyObject * obj0 = 0 ;
6536 PyObject * obj1 = 0 ;
6537 char * kwnames[] = {
6538 (char *) "self",(char *) "winid", NULL
6539 };
6540
6541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6543 if (!SWIG_IsOK(res1)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6545 }
6546 arg1 = reinterpret_cast< wxFrame * >(argp1);
6547 ecode2 = SWIG_AsVal_int(obj1, &val2);
6548 if (!SWIG_IsOK(ecode2)) {
6549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6550 }
6551 arg2 = static_cast< int >(val2);
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (bool)(arg1)->ProcessCommand(arg2);
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 {
6559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6560 }
6561 return resultobj;
6562 fail:
6563 return NULL;
6564 }
6565
6566
6567 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6568 PyObject *resultobj = 0;
6569 wxFrame *arg1 = (wxFrame *) 0 ;
6570 int arg2 = (int) 1 ;
6571 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6572 int arg4 = (int) 0 ;
6573 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6574 wxString *arg5 = (wxString *) &arg5_defvalue ;
6575 wxStatusBar *result = 0 ;
6576 void *argp1 = 0 ;
6577 int res1 = 0 ;
6578 int val2 ;
6579 int ecode2 = 0 ;
6580 long val3 ;
6581 int ecode3 = 0 ;
6582 int val4 ;
6583 int ecode4 = 0 ;
6584 bool temp5 = false ;
6585 PyObject * obj0 = 0 ;
6586 PyObject * obj1 = 0 ;
6587 PyObject * obj2 = 0 ;
6588 PyObject * obj3 = 0 ;
6589 PyObject * obj4 = 0 ;
6590 char * kwnames[] = {
6591 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6592 };
6593
6594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6598 }
6599 arg1 = reinterpret_cast< wxFrame * >(argp1);
6600 if (obj1) {
6601 ecode2 = SWIG_AsVal_int(obj1, &val2);
6602 if (!SWIG_IsOK(ecode2)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6604 }
6605 arg2 = static_cast< int >(val2);
6606 }
6607 if (obj2) {
6608 ecode3 = SWIG_AsVal_long(obj2, &val3);
6609 if (!SWIG_IsOK(ecode3)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6611 }
6612 arg3 = static_cast< long >(val3);
6613 }
6614 if (obj3) {
6615 ecode4 = SWIG_AsVal_int(obj3, &val4);
6616 if (!SWIG_IsOK(ecode4)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6618 }
6619 arg4 = static_cast< int >(val4);
6620 }
6621 if (obj4) {
6622 {
6623 arg5 = wxString_in_helper(obj4);
6624 if (arg5 == NULL) SWIG_fail;
6625 temp5 = true;
6626 }
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 {
6635 resultobj = wxPyMake_wxObject(result, (bool)0);
6636 }
6637 {
6638 if (temp5)
6639 delete arg5;
6640 }
6641 return resultobj;
6642 fail:
6643 {
6644 if (temp5)
6645 delete arg5;
6646 }
6647 return NULL;
6648 }
6649
6650
6651 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6652 PyObject *resultobj = 0;
6653 wxFrame *arg1 = (wxFrame *) 0 ;
6654 wxStatusBar *result = 0 ;
6655 void *argp1 = 0 ;
6656 int res1 = 0 ;
6657 PyObject *swig_obj[1] ;
6658
6659 if (!args) SWIG_fail;
6660 swig_obj[0] = args;
6661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6662 if (!SWIG_IsOK(res1)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6664 }
6665 arg1 = reinterpret_cast< wxFrame * >(argp1);
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 resultobj = wxPyMake_wxObject(result, (bool)0);
6674 }
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj = 0;
6683 wxFrame *arg1 = (wxFrame *) 0 ;
6684 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6685 void *argp1 = 0 ;
6686 int res1 = 0 ;
6687 void *argp2 = 0 ;
6688 int res2 = 0 ;
6689 PyObject * obj0 = 0 ;
6690 PyObject * obj1 = 0 ;
6691 char * kwnames[] = {
6692 (char *) "self",(char *) "statBar", NULL
6693 };
6694
6695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6697 if (!SWIG_IsOK(res1)) {
6698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6699 }
6700 arg1 = reinterpret_cast< wxFrame * >(argp1);
6701 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6702 if (!SWIG_IsOK(res2)) {
6703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6704 }
6705 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 (arg1)->SetStatusBar(arg2);
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 resultobj = SWIG_Py_Void();
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj = 0;
6721 wxFrame *arg1 = (wxFrame *) 0 ;
6722 wxString *arg2 = 0 ;
6723 int arg3 = (int) 0 ;
6724 void *argp1 = 0 ;
6725 int res1 = 0 ;
6726 bool temp2 = false ;
6727 int val3 ;
6728 int ecode3 = 0 ;
6729 PyObject * obj0 = 0 ;
6730 PyObject * obj1 = 0 ;
6731 PyObject * obj2 = 0 ;
6732 char * kwnames[] = {
6733 (char *) "self",(char *) "text",(char *) "number", NULL
6734 };
6735
6736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6738 if (!SWIG_IsOK(res1)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6740 }
6741 arg1 = reinterpret_cast< wxFrame * >(argp1);
6742 {
6743 arg2 = wxString_in_helper(obj1);
6744 if (arg2 == NULL) SWIG_fail;
6745 temp2 = true;
6746 }
6747 if (obj2) {
6748 ecode3 = SWIG_AsVal_int(obj2, &val3);
6749 if (!SWIG_IsOK(ecode3)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6751 }
6752 arg3 = static_cast< int >(val3);
6753 }
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_Py_Void();
6761 {
6762 if (temp2)
6763 delete arg2;
6764 }
6765 return resultobj;
6766 fail:
6767 {
6768 if (temp2)
6769 delete arg2;
6770 }
6771 return NULL;
6772 }
6773
6774
6775 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj = 0;
6777 wxFrame *arg1 = (wxFrame *) 0 ;
6778 int arg2 ;
6779 int *arg3 = (int *) 0 ;
6780 void *argp1 = 0 ;
6781 int res1 = 0 ;
6782 PyObject * obj0 = 0 ;
6783 PyObject * obj1 = 0 ;
6784 char * kwnames[] = {
6785 (char *) "self",(char *) "widths", NULL
6786 };
6787
6788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6790 if (!SWIG_IsOK(res1)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6792 }
6793 arg1 = reinterpret_cast< wxFrame * >(argp1);
6794 {
6795 arg2 = PyList_Size(obj1);
6796 arg3 = int_LIST_helper(obj1);
6797 if (arg3 == NULL) SWIG_fail;
6798 }
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 resultobj = SWIG_Py_Void();
6806 {
6807 if (arg3) delete [] arg3;
6808 }
6809 return resultobj;
6810 fail:
6811 {
6812 if (arg3) delete [] arg3;
6813 }
6814 return NULL;
6815 }
6816
6817
6818 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj = 0;
6820 wxFrame *arg1 = (wxFrame *) 0 ;
6821 wxString *arg2 = 0 ;
6822 int arg3 = (int) 0 ;
6823 void *argp1 = 0 ;
6824 int res1 = 0 ;
6825 bool temp2 = false ;
6826 int val3 ;
6827 int ecode3 = 0 ;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 PyObject * obj2 = 0 ;
6831 char * kwnames[] = {
6832 (char *) "self",(char *) "text",(char *) "number", NULL
6833 };
6834
6835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6837 if (!SWIG_IsOK(res1)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6839 }
6840 arg1 = reinterpret_cast< wxFrame * >(argp1);
6841 {
6842 arg2 = wxString_in_helper(obj1);
6843 if (arg2 == NULL) SWIG_fail;
6844 temp2 = true;
6845 }
6846 if (obj2) {
6847 ecode3 = SWIG_AsVal_int(obj2, &val3);
6848 if (!SWIG_IsOK(ecode3)) {
6849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6850 }
6851 arg3 = static_cast< int >(val3);
6852 }
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = SWIG_Py_Void();
6860 {
6861 if (temp2)
6862 delete arg2;
6863 }
6864 return resultobj;
6865 fail:
6866 {
6867 if (temp2)
6868 delete arg2;
6869 }
6870 return NULL;
6871 }
6872
6873
6874 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6875 PyObject *resultobj = 0;
6876 wxFrame *arg1 = (wxFrame *) 0 ;
6877 int arg2 = (int) 0 ;
6878 void *argp1 = 0 ;
6879 int res1 = 0 ;
6880 int val2 ;
6881 int ecode2 = 0 ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 char * kwnames[] = {
6885 (char *) "self",(char *) "number", NULL
6886 };
6887
6888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6890 if (!SWIG_IsOK(res1)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6892 }
6893 arg1 = reinterpret_cast< wxFrame * >(argp1);
6894 if (obj1) {
6895 ecode2 = SWIG_AsVal_int(obj1, &val2);
6896 if (!SWIG_IsOK(ecode2)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6898 }
6899 arg2 = static_cast< int >(val2);
6900 }
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->PopStatusText(arg2);
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = SWIG_Py_Void();
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj = 0;
6916 wxFrame *arg1 = (wxFrame *) 0 ;
6917 int arg2 ;
6918 void *argp1 = 0 ;
6919 int res1 = 0 ;
6920 int val2 ;
6921 int ecode2 = 0 ;
6922 PyObject * obj0 = 0 ;
6923 PyObject * obj1 = 0 ;
6924 char * kwnames[] = {
6925 (char *) "self",(char *) "n", NULL
6926 };
6927
6928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6930 if (!SWIG_IsOK(res1)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6932 }
6933 arg1 = reinterpret_cast< wxFrame * >(argp1);
6934 ecode2 = SWIG_AsVal_int(obj1, &val2);
6935 if (!SWIG_IsOK(ecode2)) {
6936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6937 }
6938 arg2 = static_cast< int >(val2);
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 (arg1)->SetStatusBarPane(arg2);
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 resultobj = SWIG_Py_Void();
6946 return resultobj;
6947 fail:
6948 return NULL;
6949 }
6950
6951
6952 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6953 PyObject *resultobj = 0;
6954 wxFrame *arg1 = (wxFrame *) 0 ;
6955 int result;
6956 void *argp1 = 0 ;
6957 int res1 = 0 ;
6958 PyObject *swig_obj[1] ;
6959
6960 if (!args) SWIG_fail;
6961 swig_obj[0] = args;
6962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6963 if (!SWIG_IsOK(res1)) {
6964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6965 }
6966 arg1 = reinterpret_cast< wxFrame * >(argp1);
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 resultobj = SWIG_From_int(static_cast< int >(result));
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6981 PyObject *resultobj = 0;
6982 wxFrame *arg1 = (wxFrame *) 0 ;
6983 long arg2 = (long) -1 ;
6984 int arg3 = (int) -1 ;
6985 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6986 wxString *arg4 = (wxString *) &arg4_defvalue ;
6987 wxToolBar *result = 0 ;
6988 void *argp1 = 0 ;
6989 int res1 = 0 ;
6990 long val2 ;
6991 int ecode2 = 0 ;
6992 int val3 ;
6993 int ecode3 = 0 ;
6994 bool temp4 = false ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 PyObject * obj2 = 0 ;
6998 PyObject * obj3 = 0 ;
6999 char * kwnames[] = {
7000 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7001 };
7002
7003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7005 if (!SWIG_IsOK(res1)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7007 }
7008 arg1 = reinterpret_cast< wxFrame * >(argp1);
7009 if (obj1) {
7010 ecode2 = SWIG_AsVal_long(obj1, &val2);
7011 if (!SWIG_IsOK(ecode2)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7013 }
7014 arg2 = static_cast< long >(val2);
7015 }
7016 if (obj2) {
7017 ecode3 = SWIG_AsVal_int(obj2, &val3);
7018 if (!SWIG_IsOK(ecode3)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7020 }
7021 arg3 = static_cast< int >(val3);
7022 }
7023 if (obj3) {
7024 {
7025 arg4 = wxString_in_helper(obj3);
7026 if (arg4 == NULL) SWIG_fail;
7027 temp4 = true;
7028 }
7029 }
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 {
7037 resultobj = wxPyMake_wxObject(result, (bool)0);
7038 }
7039 {
7040 if (temp4)
7041 delete arg4;
7042 }
7043 return resultobj;
7044 fail:
7045 {
7046 if (temp4)
7047 delete arg4;
7048 }
7049 return NULL;
7050 }
7051
7052
7053 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7054 PyObject *resultobj = 0;
7055 wxFrame *arg1 = (wxFrame *) 0 ;
7056 wxToolBar *result = 0 ;
7057 void *argp1 = 0 ;
7058 int res1 = 0 ;
7059 PyObject *swig_obj[1] ;
7060
7061 if (!args) SWIG_fail;
7062 swig_obj[0] = args;
7063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7064 if (!SWIG_IsOK(res1)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7066 }
7067 arg1 = reinterpret_cast< wxFrame * >(argp1);
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 {
7075 resultobj = wxPyMake_wxObject(result, (bool)0);
7076 }
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = 0;
7085 wxFrame *arg1 = (wxFrame *) 0 ;
7086 wxToolBar *arg2 = (wxToolBar *) 0 ;
7087 void *argp1 = 0 ;
7088 int res1 = 0 ;
7089 void *argp2 = 0 ;
7090 int res2 = 0 ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char * kwnames[] = {
7094 (char *) "self",(char *) "toolbar", NULL
7095 };
7096
7097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7099 if (!SWIG_IsOK(res1)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7101 }
7102 arg1 = reinterpret_cast< wxFrame * >(argp1);
7103 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7104 if (!SWIG_IsOK(res2)) {
7105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7106 }
7107 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->SetToolBar(arg2);
7111 wxPyEndAllowThreads(__tstate);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 }
7114 resultobj = SWIG_Py_Void();
7115 return resultobj;
7116 fail:
7117 return NULL;
7118 }
7119
7120
7121 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7122 PyObject *resultobj = 0;
7123 wxFrame *arg1 = (wxFrame *) 0 ;
7124 wxString *arg2 = 0 ;
7125 bool arg3 ;
7126 void *argp1 = 0 ;
7127 int res1 = 0 ;
7128 bool temp2 = false ;
7129 bool val3 ;
7130 int ecode3 = 0 ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 PyObject * obj2 = 0 ;
7134 char * kwnames[] = {
7135 (char *) "self",(char *) "text",(char *) "show", NULL
7136 };
7137
7138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7140 if (!SWIG_IsOK(res1)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7142 }
7143 arg1 = reinterpret_cast< wxFrame * >(argp1);
7144 {
7145 arg2 = wxString_in_helper(obj1);
7146 if (arg2 == NULL) SWIG_fail;
7147 temp2 = true;
7148 }
7149 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7150 if (!SWIG_IsOK(ecode3)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7152 }
7153 arg3 = static_cast< bool >(val3);
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_Py_Void();
7161 {
7162 if (temp2)
7163 delete arg2;
7164 }
7165 return resultobj;
7166 fail:
7167 {
7168 if (temp2)
7169 delete arg2;
7170 }
7171 return NULL;
7172 }
7173
7174
7175 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj = 0;
7177 wxFrame *arg1 = (wxFrame *) 0 ;
7178 wxMenu *arg2 = (wxMenu *) NULL ;
7179 void *argp1 = 0 ;
7180 int res1 = 0 ;
7181 void *argp2 = 0 ;
7182 int res2 = 0 ;
7183 PyObject * obj0 = 0 ;
7184 PyObject * obj1 = 0 ;
7185 char * kwnames[] = {
7186 (char *) "self",(char *) "menu", NULL
7187 };
7188
7189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7191 if (!SWIG_IsOK(res1)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7193 }
7194 arg1 = reinterpret_cast< wxFrame * >(argp1);
7195 if (obj1) {
7196 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7197 if (!SWIG_IsOK(res2)) {
7198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7199 }
7200 arg2 = reinterpret_cast< wxMenu * >(argp2);
7201 }
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 (arg1)->DoMenuUpdates(arg2);
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 resultobj = SWIG_Py_Void();
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj = 0;
7217 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7218 SwigValueWrapper<wxVisualAttributes > result;
7219 int val1 ;
7220 int ecode1 = 0 ;
7221 PyObject * obj0 = 0 ;
7222 char * kwnames[] = {
7223 (char *) "variant", NULL
7224 };
7225
7226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7227 if (obj0) {
7228 ecode1 = SWIG_AsVal_int(obj0, &val1);
7229 if (!SWIG_IsOK(ecode1)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7231 }
7232 arg1 = static_cast< wxWindowVariant >(val1);
7233 }
7234 {
7235 if (!wxPyCheckForApp()) SWIG_fail;
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = wxFrame::GetClassDefaultAttributes(arg1);
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7249 PyObject *obj;
7250 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7251 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7252 return SWIG_Py_Void();
7253 }
7254
7255 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7256 return SWIG_Python_InitShadowInstance(args);
7257 }
7258
7259 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj = 0;
7261 wxWindow *arg1 = (wxWindow *) 0 ;
7262 int arg2 = (int) (int)-1 ;
7263 wxString const &arg3_defvalue = wxPyEmptyString ;
7264 wxString *arg3 = (wxString *) &arg3_defvalue ;
7265 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7266 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7267 wxSize const &arg5_defvalue = wxDefaultSize ;
7268 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7269 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7270 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7271 wxString *arg7 = (wxString *) &arg7_defvalue ;
7272 wxDialog *result = 0 ;
7273 void *argp1 = 0 ;
7274 int res1 = 0 ;
7275 int val2 ;
7276 int ecode2 = 0 ;
7277 bool temp3 = false ;
7278 wxPoint temp4 ;
7279 wxSize temp5 ;
7280 long val6 ;
7281 int ecode6 = 0 ;
7282 bool temp7 = false ;
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 PyObject * obj2 = 0 ;
7286 PyObject * obj3 = 0 ;
7287 PyObject * obj4 = 0 ;
7288 PyObject * obj5 = 0 ;
7289 PyObject * obj6 = 0 ;
7290 char * kwnames[] = {
7291 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7292 };
7293
7294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7296 if (!SWIG_IsOK(res1)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7298 }
7299 arg1 = reinterpret_cast< wxWindow * >(argp1);
7300 if (obj1) {
7301 ecode2 = SWIG_AsVal_int(obj1, &val2);
7302 if (!SWIG_IsOK(ecode2)) {
7303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7304 }
7305 arg2 = static_cast< int >(val2);
7306 }
7307 if (obj2) {
7308 {
7309 arg3 = wxString_in_helper(obj2);
7310 if (arg3 == NULL) SWIG_fail;
7311 temp3 = true;
7312 }
7313 }
7314 if (obj3) {
7315 {
7316 arg4 = &temp4;
7317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7318 }
7319 }
7320 if (obj4) {
7321 {
7322 arg5 = &temp5;
7323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7324 }
7325 }
7326 if (obj5) {
7327 ecode6 = SWIG_AsVal_long(obj5, &val6);
7328 if (!SWIG_IsOK(ecode6)) {
7329 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7330 }
7331 arg6 = static_cast< long >(val6);
7332 }
7333 if (obj6) {
7334 {
7335 arg7 = wxString_in_helper(obj6);
7336 if (arg7 == NULL) SWIG_fail;
7337 temp7 = true;
7338 }
7339 }
7340 {
7341 if (!wxPyCheckForApp()) SWIG_fail;
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7348 {
7349 if (temp3)
7350 delete arg3;
7351 }
7352 {
7353 if (temp7)
7354 delete arg7;
7355 }
7356 return resultobj;
7357 fail:
7358 {
7359 if (temp3)
7360 delete arg3;
7361 }
7362 {
7363 if (temp7)
7364 delete arg7;
7365 }
7366 return NULL;
7367 }
7368
7369
7370 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7371 PyObject *resultobj = 0;
7372 wxDialog *result = 0 ;
7373
7374 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7375 {
7376 if (!wxPyCheckForApp()) SWIG_fail;
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (wxDialog *)new wxDialog();
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) SWIG_fail;
7381 }
7382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7383 return resultobj;
7384 fail:
7385 return NULL;
7386 }
7387
7388
7389 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj = 0;
7391 wxDialog *arg1 = (wxDialog *) 0 ;
7392 wxWindow *arg2 = (wxWindow *) 0 ;
7393 int arg3 = (int) (int)-1 ;
7394 wxString const &arg4_defvalue = wxPyEmptyString ;
7395 wxString *arg4 = (wxString *) &arg4_defvalue ;
7396 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7397 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7398 wxSize const &arg6_defvalue = wxDefaultSize ;
7399 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7400 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7401 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7402 wxString *arg8 = (wxString *) &arg8_defvalue ;
7403 bool result;
7404 void *argp1 = 0 ;
7405 int res1 = 0 ;
7406 void *argp2 = 0 ;
7407 int res2 = 0 ;
7408 int val3 ;
7409 int ecode3 = 0 ;
7410 bool temp4 = false ;
7411 wxPoint temp5 ;
7412 wxSize temp6 ;
7413 long val7 ;
7414 int ecode7 = 0 ;
7415 bool temp8 = false ;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 PyObject * obj2 = 0 ;
7419 PyObject * obj3 = 0 ;
7420 PyObject * obj4 = 0 ;
7421 PyObject * obj5 = 0 ;
7422 PyObject * obj6 = 0 ;
7423 PyObject * obj7 = 0 ;
7424 char * kwnames[] = {
7425 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7426 };
7427
7428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7430 if (!SWIG_IsOK(res1)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7432 }
7433 arg1 = reinterpret_cast< wxDialog * >(argp1);
7434 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7435 if (!SWIG_IsOK(res2)) {
7436 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7437 }
7438 arg2 = reinterpret_cast< wxWindow * >(argp2);
7439 if (obj2) {
7440 ecode3 = SWIG_AsVal_int(obj2, &val3);
7441 if (!SWIG_IsOK(ecode3)) {
7442 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7443 }
7444 arg3 = static_cast< int >(val3);
7445 }
7446 if (obj3) {
7447 {
7448 arg4 = wxString_in_helper(obj3);
7449 if (arg4 == NULL) SWIG_fail;
7450 temp4 = true;
7451 }
7452 }
7453 if (obj4) {
7454 {
7455 arg5 = &temp5;
7456 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7457 }
7458 }
7459 if (obj5) {
7460 {
7461 arg6 = &temp6;
7462 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7463 }
7464 }
7465 if (obj6) {
7466 ecode7 = SWIG_AsVal_long(obj6, &val7);
7467 if (!SWIG_IsOK(ecode7)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7469 }
7470 arg7 = static_cast< long >(val7);
7471 }
7472 if (obj7) {
7473 {
7474 arg8 = wxString_in_helper(obj7);
7475 if (arg8 == NULL) SWIG_fail;
7476 temp8 = true;
7477 }
7478 }
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 {
7486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7487 }
7488 {
7489 if (temp4)
7490 delete arg4;
7491 }
7492 {
7493 if (temp8)
7494 delete arg8;
7495 }
7496 return resultobj;
7497 fail:
7498 {
7499 if (temp4)
7500 delete arg4;
7501 }
7502 {
7503 if (temp8)
7504 delete arg8;
7505 }
7506 return NULL;
7507 }
7508
7509
7510 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj = 0;
7512 wxDialog *arg1 = (wxDialog *) 0 ;
7513 int arg2 ;
7514 void *argp1 = 0 ;
7515 int res1 = 0 ;
7516 int val2 ;
7517 int ecode2 = 0 ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "self",(char *) "returnCode", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7528 }
7529 arg1 = reinterpret_cast< wxDialog * >(argp1);
7530 ecode2 = SWIG_AsVal_int(obj1, &val2);
7531 if (!SWIG_IsOK(ecode2)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7533 }
7534 arg2 = static_cast< int >(val2);
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 (arg1)->SetReturnCode(arg2);
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 resultobj = SWIG_Py_Void();
7542 return resultobj;
7543 fail:
7544 return NULL;
7545 }
7546
7547
7548 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7549 PyObject *resultobj = 0;
7550 wxDialog *arg1 = (wxDialog *) 0 ;
7551 int result;
7552 void *argp1 = 0 ;
7553 int res1 = 0 ;
7554 PyObject *swig_obj[1] ;
7555
7556 if (!args) SWIG_fail;
7557 swig_obj[0] = args;
7558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7559 if (!SWIG_IsOK(res1)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7561 }
7562 arg1 = reinterpret_cast< wxDialog * >(argp1);
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 resultobj = SWIG_From_int(static_cast< int >(result));
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj = 0;
7578 wxDialog *arg1 = (wxDialog *) 0 ;
7579 int arg2 ;
7580 void *argp1 = 0 ;
7581 int res1 = 0 ;
7582 int val2 ;
7583 int ecode2 = 0 ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586 char * kwnames[] = {
7587 (char *) "self",(char *) "affirmativeId", NULL
7588 };
7589
7590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7592 if (!SWIG_IsOK(res1)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 }
7595 arg1 = reinterpret_cast< wxDialog * >(argp1);
7596 ecode2 = SWIG_AsVal_int(obj1, &val2);
7597 if (!SWIG_IsOK(ecode2)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7599 }
7600 arg2 = static_cast< int >(val2);
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetAffirmativeId(arg2);
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 resultobj = SWIG_Py_Void();
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7615 PyObject *resultobj = 0;
7616 wxDialog *arg1 = (wxDialog *) 0 ;
7617 int result;
7618 void *argp1 = 0 ;
7619 int res1 = 0 ;
7620 PyObject *swig_obj[1] ;
7621
7622 if (!args) SWIG_fail;
7623 swig_obj[0] = args;
7624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7625 if (!SWIG_IsOK(res1)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7627 }
7628 arg1 = reinterpret_cast< wxDialog * >(argp1);
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_From_int(static_cast< int >(result));
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj = 0;
7644 wxDialog *arg1 = (wxDialog *) 0 ;
7645 int arg2 ;
7646 void *argp1 = 0 ;
7647 int res1 = 0 ;
7648 int val2 ;
7649 int ecode2 = 0 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char * kwnames[] = {
7653 (char *) "self",(char *) "escapeId", NULL
7654 };
7655
7656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7658 if (!SWIG_IsOK(res1)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 }
7661 arg1 = reinterpret_cast< wxDialog * >(argp1);
7662 ecode2 = SWIG_AsVal_int(obj1, &val2);
7663 if (!SWIG_IsOK(ecode2)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7665 }
7666 arg2 = static_cast< int >(val2);
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->SetEscapeId(arg2);
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 resultobj = SWIG_Py_Void();
7674 return resultobj;
7675 fail:
7676 return NULL;
7677 }
7678
7679
7680 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7681 PyObject *resultobj = 0;
7682 wxDialog *arg1 = (wxDialog *) 0 ;
7683 int result;
7684 void *argp1 = 0 ;
7685 int res1 = 0 ;
7686 PyObject *swig_obj[1] ;
7687
7688 if (!args) SWIG_fail;
7689 swig_obj[0] = args;
7690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7691 if (!SWIG_IsOK(res1)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7693 }
7694 arg1 = reinterpret_cast< wxDialog * >(argp1);
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 resultobj = SWIG_From_int(static_cast< int >(result));
7702 return resultobj;
7703 fail:
7704 return NULL;
7705 }
7706
7707
7708 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj = 0;
7710 wxDialog *arg1 = (wxDialog *) 0 ;
7711 wxString *arg2 = 0 ;
7712 wxSizer *result = 0 ;
7713 void *argp1 = 0 ;
7714 int res1 = 0 ;
7715 bool temp2 = false ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 char * kwnames[] = {
7719 (char *) "self",(char *) "message", NULL
7720 };
7721
7722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7724 if (!SWIG_IsOK(res1)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7726 }
7727 arg1 = reinterpret_cast< wxDialog * >(argp1);
7728 {
7729 arg2 = wxString_in_helper(obj1);
7730 if (arg2 == NULL) SWIG_fail;
7731 temp2 = true;
7732 }
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 {
7740 resultobj = wxPyMake_wxObject(result, (bool)0);
7741 }
7742 {
7743 if (temp2)
7744 delete arg2;
7745 }
7746 return resultobj;
7747 fail:
7748 {
7749 if (temp2)
7750 delete arg2;
7751 }
7752 return NULL;
7753 }
7754
7755
7756 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj = 0;
7758 wxDialog *arg1 = (wxDialog *) 0 ;
7759 long arg2 ;
7760 wxSizer *result = 0 ;
7761 void *argp1 = 0 ;
7762 int res1 = 0 ;
7763 long val2 ;
7764 int ecode2 = 0 ;
7765 PyObject * obj0 = 0 ;
7766 PyObject * obj1 = 0 ;
7767 char * kwnames[] = {
7768 (char *) "self",(char *) "flags", NULL
7769 };
7770
7771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7773 if (!SWIG_IsOK(res1)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7775 }
7776 arg1 = reinterpret_cast< wxDialog * >(argp1);
7777 ecode2 = SWIG_AsVal_long(obj1, &val2);
7778 if (!SWIG_IsOK(ecode2)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7780 }
7781 arg2 = static_cast< long >(val2);
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 {
7789 resultobj = wxPyMake_wxObject(result, (bool)0);
7790 }
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj = 0;
7799 wxDialog *arg1 = (wxDialog *) 0 ;
7800 long arg2 ;
7801 wxSizer *result = 0 ;
7802 void *argp1 = 0 ;
7803 int res1 = 0 ;
7804 long val2 ;
7805 int ecode2 = 0 ;
7806 PyObject * obj0 = 0 ;
7807 PyObject * obj1 = 0 ;
7808 char * kwnames[] = {
7809 (char *) "self",(char *) "flags", NULL
7810 };
7811
7812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7814 if (!SWIG_IsOK(res1)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7816 }
7817 arg1 = reinterpret_cast< wxDialog * >(argp1);
7818 ecode2 = SWIG_AsVal_long(obj1, &val2);
7819 if (!SWIG_IsOK(ecode2)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7821 }
7822 arg2 = static_cast< long >(val2);
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 {
7830 resultobj = wxPyMake_wxObject(result, (bool)0);
7831 }
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj = 0;
7840 wxDialog *arg1 = (wxDialog *) 0 ;
7841 long arg2 ;
7842 wxStdDialogButtonSizer *result = 0 ;
7843 void *argp1 = 0 ;
7844 int res1 = 0 ;
7845 long val2 ;
7846 int ecode2 = 0 ;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 char * kwnames[] = {
7850 (char *) "self",(char *) "flags", NULL
7851 };
7852
7853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7855 if (!SWIG_IsOK(res1)) {
7856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7857 }
7858 arg1 = reinterpret_cast< wxDialog * >(argp1);
7859 ecode2 = SWIG_AsVal_long(obj1, &val2);
7860 if (!SWIG_IsOK(ecode2)) {
7861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7862 }
7863 arg2 = static_cast< long >(val2);
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7878 PyObject *resultobj = 0;
7879 wxDialog *arg1 = (wxDialog *) 0 ;
7880 bool result;
7881 void *argp1 = 0 ;
7882 int res1 = 0 ;
7883 PyObject *swig_obj[1] ;
7884
7885 if (!args) SWIG_fail;
7886 swig_obj[0] = args;
7887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7888 if (!SWIG_IsOK(res1)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7890 }
7891 arg1 = reinterpret_cast< wxDialog * >(argp1);
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (bool)((wxDialog const *)arg1)->IsModal();
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 {
7899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7900 }
7901 return resultobj;
7902 fail:
7903 return NULL;
7904 }
7905
7906
7907 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7908 PyObject *resultobj = 0;
7909 wxDialog *arg1 = (wxDialog *) 0 ;
7910 int result;
7911 void *argp1 = 0 ;
7912 int res1 = 0 ;
7913 PyObject *swig_obj[1] ;
7914
7915 if (!args) SWIG_fail;
7916 swig_obj[0] = args;
7917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7918 if (!SWIG_IsOK(res1)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7920 }
7921 arg1 = reinterpret_cast< wxDialog * >(argp1);
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (int)(arg1)->ShowModal();
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 resultobj = SWIG_From_int(static_cast< int >(result));
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj = 0;
7937 wxDialog *arg1 = (wxDialog *) 0 ;
7938 int arg2 ;
7939 void *argp1 = 0 ;
7940 int res1 = 0 ;
7941 int val2 ;
7942 int ecode2 = 0 ;
7943 PyObject * obj0 = 0 ;
7944 PyObject * obj1 = 0 ;
7945 char * kwnames[] = {
7946 (char *) "self",(char *) "retCode", NULL
7947 };
7948
7949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7951 if (!SWIG_IsOK(res1)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7953 }
7954 arg1 = reinterpret_cast< wxDialog * >(argp1);
7955 ecode2 = SWIG_AsVal_int(obj1, &val2);
7956 if (!SWIG_IsOK(ecode2)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7958 }
7959 arg2 = static_cast< int >(val2);
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 (arg1)->EndModal(arg2);
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
7966 resultobj = SWIG_Py_Void();
7967 return resultobj;
7968 fail:
7969 return NULL;
7970 }
7971
7972
7973 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj = 0;
7975 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7976 SwigValueWrapper<wxVisualAttributes > result;
7977 int val1 ;
7978 int ecode1 = 0 ;
7979 PyObject * obj0 = 0 ;
7980 char * kwnames[] = {
7981 (char *) "variant", NULL
7982 };
7983
7984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7985 if (obj0) {
7986 ecode1 = SWIG_AsVal_int(obj0, &val1);
7987 if (!SWIG_IsOK(ecode1)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7989 }
7990 arg1 = static_cast< wxWindowVariant >(val1);
7991 }
7992 {
7993 if (!wxPyCheckForApp()) SWIG_fail;
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 result = wxDialog::GetClassDefaultAttributes(arg1);
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8000 return resultobj;
8001 fail:
8002 return NULL;
8003 }
8004
8005
8006 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8007 PyObject *obj;
8008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8009 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8010 return SWIG_Py_Void();
8011 }
8012
8013 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8014 return SWIG_Python_InitShadowInstance(args);
8015 }
8016
8017 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj = 0;
8019 wxWindow *arg1 = (wxWindow *) 0 ;
8020 int arg2 = (int) (int)-1 ;
8021 wxString const &arg3_defvalue = wxPyEmptyString ;
8022 wxString *arg3 = (wxString *) &arg3_defvalue ;
8023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8025 wxSize const &arg5_defvalue = wxDefaultSize ;
8026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8027 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8028 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8029 wxString *arg7 = (wxString *) &arg7_defvalue ;
8030 wxMiniFrame *result = 0 ;
8031 void *argp1 = 0 ;
8032 int res1 = 0 ;
8033 int val2 ;
8034 int ecode2 = 0 ;
8035 bool temp3 = false ;
8036 wxPoint temp4 ;
8037 wxSize temp5 ;
8038 long val6 ;
8039 int ecode6 = 0 ;
8040 bool temp7 = false ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 PyObject * obj2 = 0 ;
8044 PyObject * obj3 = 0 ;
8045 PyObject * obj4 = 0 ;
8046 PyObject * obj5 = 0 ;
8047 PyObject * obj6 = 0 ;
8048 char * kwnames[] = {
8049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8050 };
8051
8052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8054 if (!SWIG_IsOK(res1)) {
8055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8056 }
8057 arg1 = reinterpret_cast< wxWindow * >(argp1);
8058 if (obj1) {
8059 ecode2 = SWIG_AsVal_int(obj1, &val2);
8060 if (!SWIG_IsOK(ecode2)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8062 }
8063 arg2 = static_cast< int >(val2);
8064 }
8065 if (obj2) {
8066 {
8067 arg3 = wxString_in_helper(obj2);
8068 if (arg3 == NULL) SWIG_fail;
8069 temp3 = true;
8070 }
8071 }
8072 if (obj3) {
8073 {
8074 arg4 = &temp4;
8075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8076 }
8077 }
8078 if (obj4) {
8079 {
8080 arg5 = &temp5;
8081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8082 }
8083 }
8084 if (obj5) {
8085 ecode6 = SWIG_AsVal_long(obj5, &val6);
8086 if (!SWIG_IsOK(ecode6)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8088 }
8089 arg6 = static_cast< long >(val6);
8090 }
8091 if (obj6) {
8092 {
8093 arg7 = wxString_in_helper(obj6);
8094 if (arg7 == NULL) SWIG_fail;
8095 temp7 = true;
8096 }
8097 }
8098 {
8099 if (!wxPyCheckForApp()) SWIG_fail;
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8106 {
8107 if (temp3)
8108 delete arg3;
8109 }
8110 {
8111 if (temp7)
8112 delete arg7;
8113 }
8114 return resultobj;
8115 fail:
8116 {
8117 if (temp3)
8118 delete arg3;
8119 }
8120 {
8121 if (temp7)
8122 delete arg7;
8123 }
8124 return NULL;
8125 }
8126
8127
8128 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8129 PyObject *resultobj = 0;
8130 wxMiniFrame *result = 0 ;
8131
8132 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8133 {
8134 if (!wxPyCheckForApp()) SWIG_fail;
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 result = (wxMiniFrame *)new wxMiniFrame();
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8141 return resultobj;
8142 fail:
8143 return NULL;
8144 }
8145
8146
8147 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj = 0;
8149 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8150 wxWindow *arg2 = (wxWindow *) 0 ;
8151 int arg3 = (int) (int)-1 ;
8152 wxString const &arg4_defvalue = wxPyEmptyString ;
8153 wxString *arg4 = (wxString *) &arg4_defvalue ;
8154 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8155 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8156 wxSize const &arg6_defvalue = wxDefaultSize ;
8157 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8158 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8159 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8160 wxString *arg8 = (wxString *) &arg8_defvalue ;
8161 bool result;
8162 void *argp1 = 0 ;
8163 int res1 = 0 ;
8164 void *argp2 = 0 ;
8165 int res2 = 0 ;
8166 int val3 ;
8167 int ecode3 = 0 ;
8168 bool temp4 = false ;
8169 wxPoint temp5 ;
8170 wxSize temp6 ;
8171 long val7 ;
8172 int ecode7 = 0 ;
8173 bool temp8 = false ;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 PyObject * obj2 = 0 ;
8177 PyObject * obj3 = 0 ;
8178 PyObject * obj4 = 0 ;
8179 PyObject * obj5 = 0 ;
8180 PyObject * obj6 = 0 ;
8181 PyObject * obj7 = 0 ;
8182 char * kwnames[] = {
8183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8184 };
8185
8186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8188 if (!SWIG_IsOK(res1)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8190 }
8191 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8193 if (!SWIG_IsOK(res2)) {
8194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8195 }
8196 arg2 = reinterpret_cast< wxWindow * >(argp2);
8197 if (obj2) {
8198 ecode3 = SWIG_AsVal_int(obj2, &val3);
8199 if (!SWIG_IsOK(ecode3)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8201 }
8202 arg3 = static_cast< int >(val3);
8203 }
8204 if (obj3) {
8205 {
8206 arg4 = wxString_in_helper(obj3);
8207 if (arg4 == NULL) SWIG_fail;
8208 temp4 = true;
8209 }
8210 }
8211 if (obj4) {
8212 {
8213 arg5 = &temp5;
8214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8215 }
8216 }
8217 if (obj5) {
8218 {
8219 arg6 = &temp6;
8220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8221 }
8222 }
8223 if (obj6) {
8224 ecode7 = SWIG_AsVal_long(obj6, &val7);
8225 if (!SWIG_IsOK(ecode7)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8227 }
8228 arg7 = static_cast< long >(val7);
8229 }
8230 if (obj7) {
8231 {
8232 arg8 = wxString_in_helper(obj7);
8233 if (arg8 == NULL) SWIG_fail;
8234 temp8 = true;
8235 }
8236 }
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 {
8244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8245 }
8246 {
8247 if (temp4)
8248 delete arg4;
8249 }
8250 {
8251 if (temp8)
8252 delete arg8;
8253 }
8254 return resultobj;
8255 fail:
8256 {
8257 if (temp4)
8258 delete arg4;
8259 }
8260 {
8261 if (temp8)
8262 delete arg8;
8263 }
8264 return NULL;
8265 }
8266
8267
8268 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8269 PyObject *obj;
8270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8271 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8272 return SWIG_Py_Void();
8273 }
8274
8275 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8276 return SWIG_Python_InitShadowInstance(args);
8277 }
8278
8279 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj = 0;
8281 wxBitmap *arg1 = 0 ;
8282 wxWindow *arg2 = (wxWindow *) 0 ;
8283 int arg3 ;
8284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8286 wxSize const &arg5_defvalue = wxDefaultSize ;
8287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8288 long arg6 = (long) wxNO_BORDER ;
8289 wxSplashScreenWindow *result = 0 ;
8290 void *argp1 = 0 ;
8291 int res1 = 0 ;
8292 void *argp2 = 0 ;
8293 int res2 = 0 ;
8294 int val3 ;
8295 int ecode3 = 0 ;
8296 wxPoint temp4 ;
8297 wxSize temp5 ;
8298 long val6 ;
8299 int ecode6 = 0 ;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 PyObject * obj2 = 0 ;
8303 PyObject * obj3 = 0 ;
8304 PyObject * obj4 = 0 ;
8305 PyObject * obj5 = 0 ;
8306 char * kwnames[] = {
8307 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8308 };
8309
8310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8311 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8312 if (!SWIG_IsOK(res1)) {
8313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8314 }
8315 if (!argp1) {
8316 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8317 }
8318 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8319 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8320 if (!SWIG_IsOK(res2)) {
8321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8322 }
8323 arg2 = reinterpret_cast< wxWindow * >(argp2);
8324 ecode3 = SWIG_AsVal_int(obj2, &val3);
8325 if (!SWIG_IsOK(ecode3)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8327 }
8328 arg3 = static_cast< int >(val3);
8329 if (obj3) {
8330 {
8331 arg4 = &temp4;
8332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8333 }
8334 }
8335 if (obj4) {
8336 {
8337 arg5 = &temp5;
8338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8339 }
8340 }
8341 if (obj5) {
8342 ecode6 = SWIG_AsVal_long(obj5, &val6);
8343 if (!SWIG_IsOK(ecode6)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8345 }
8346 arg6 = static_cast< long >(val6);
8347 }
8348 {
8349 if (!wxPyCheckForApp()) SWIG_fail;
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj = 0;
8364 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8365 wxBitmap *arg2 = 0 ;
8366 void *argp1 = 0 ;
8367 int res1 = 0 ;
8368 void *argp2 = 0 ;
8369 int res2 = 0 ;
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 char * kwnames[] = {
8373 (char *) "self",(char *) "bitmap", NULL
8374 };
8375
8376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8378 if (!SWIG_IsOK(res1)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8380 }
8381 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8382 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8383 if (!SWIG_IsOK(res2)) {
8384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8385 }
8386 if (!argp2) {
8387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8388 }
8389 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = SWIG_Py_Void();
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8404 PyObject *resultobj = 0;
8405 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8406 wxBitmap *result = 0 ;
8407 void *argp1 = 0 ;
8408 int res1 = 0 ;
8409 PyObject *swig_obj[1] ;
8410
8411 if (!args) SWIG_fail;
8412 swig_obj[0] = args;
8413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8414 if (!SWIG_IsOK(res1)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8416 }
8417 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 {
8421 wxBitmap &_result_ref = (arg1)->GetBitmap();
8422 result = (wxBitmap *) &_result_ref;
8423 }
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 {
8428 wxBitmap* resultptr = new wxBitmap(*result);
8429 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8430 }
8431 return resultobj;
8432 fail:
8433 return NULL;
8434 }
8435
8436
8437 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8438 PyObject *obj;
8439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8440 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8441 return SWIG_Py_Void();
8442 }
8443
8444 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8445 return SWIG_Python_InitShadowInstance(args);
8446 }
8447
8448 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj = 0;
8450 wxBitmap *arg1 = 0 ;
8451 long arg2 ;
8452 int arg3 ;
8453 wxWindow *arg4 = (wxWindow *) 0 ;
8454 int arg5 = (int) -1 ;
8455 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8456 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8457 wxSize const &arg7_defvalue = wxDefaultSize ;
8458 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8459 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8460 wxSplashScreen *result = 0 ;
8461 void *argp1 = 0 ;
8462 int res1 = 0 ;
8463 long val2 ;
8464 int ecode2 = 0 ;
8465 int val3 ;
8466 int ecode3 = 0 ;
8467 void *argp4 = 0 ;
8468 int res4 = 0 ;
8469 int val5 ;
8470 int ecode5 = 0 ;
8471 wxPoint temp6 ;
8472 wxSize temp7 ;
8473 long val8 ;
8474 int ecode8 = 0 ;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 PyObject * obj2 = 0 ;
8478 PyObject * obj3 = 0 ;
8479 PyObject * obj4 = 0 ;
8480 PyObject * obj5 = 0 ;
8481 PyObject * obj6 = 0 ;
8482 PyObject * obj7 = 0 ;
8483 char * kwnames[] = {
8484 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8485 };
8486
8487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8488 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8489 if (!SWIG_IsOK(res1)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8491 }
8492 if (!argp1) {
8493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8494 }
8495 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8496 ecode2 = SWIG_AsVal_long(obj1, &val2);
8497 if (!SWIG_IsOK(ecode2)) {
8498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8499 }
8500 arg2 = static_cast< long >(val2);
8501 ecode3 = SWIG_AsVal_int(obj2, &val3);
8502 if (!SWIG_IsOK(ecode3)) {
8503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8504 }
8505 arg3 = static_cast< int >(val3);
8506 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8507 if (!SWIG_IsOK(res4)) {
8508 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8509 }
8510 arg4 = reinterpret_cast< wxWindow * >(argp4);
8511 if (obj4) {
8512 ecode5 = SWIG_AsVal_int(obj4, &val5);
8513 if (!SWIG_IsOK(ecode5)) {
8514 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8515 }
8516 arg5 = static_cast< int >(val5);
8517 }
8518 if (obj5) {
8519 {
8520 arg6 = &temp6;
8521 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8522 }
8523 }
8524 if (obj6) {
8525 {
8526 arg7 = &temp7;
8527 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8528 }
8529 }
8530 if (obj7) {
8531 ecode8 = SWIG_AsVal_long(obj7, &val8);
8532 if (!SWIG_IsOK(ecode8)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8534 }
8535 arg8 = static_cast< long >(val8);
8536 }
8537 {
8538 if (!wxPyCheckForApp()) SWIG_fail;
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8552 PyObject *resultobj = 0;
8553 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8554 long result;
8555 void *argp1 = 0 ;
8556 int res1 = 0 ;
8557 PyObject *swig_obj[1] ;
8558
8559 if (!args) SWIG_fail;
8560 swig_obj[0] = args;
8561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8562 if (!SWIG_IsOK(res1)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8564 }
8565 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 resultobj = SWIG_From_long(static_cast< long >(result));
8573 return resultobj;
8574 fail:
8575 return NULL;
8576 }
8577
8578
8579 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8580 PyObject *resultobj = 0;
8581 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8582 wxSplashScreenWindow *result = 0 ;
8583 void *argp1 = 0 ;
8584 int res1 = 0 ;
8585 PyObject *swig_obj[1] ;
8586
8587 if (!args) SWIG_fail;
8588 swig_obj[0] = args;
8589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8590 if (!SWIG_IsOK(res1)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8592 }
8593 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8608 PyObject *resultobj = 0;
8609 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8610 int result;
8611 void *argp1 = 0 ;
8612 int res1 = 0 ;
8613 PyObject *swig_obj[1] ;
8614
8615 if (!args) SWIG_fail;
8616 swig_obj[0] = args;
8617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8618 if (!SWIG_IsOK(res1)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8620 }
8621 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_From_int(static_cast< int >(result));
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636 PyObject *obj;
8637 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8638 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8639 return SWIG_Py_Void();
8640 }
8641
8642 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8643 return SWIG_Python_InitShadowInstance(args);
8644 }
8645
8646 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj = 0;
8648 wxWindow *arg1 = (wxWindow *) 0 ;
8649 int arg2 = (int) -1 ;
8650 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8651 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8652 wxString *arg4 = (wxString *) &arg4_defvalue ;
8653 wxStatusBar *result = 0 ;
8654 void *argp1 = 0 ;
8655 int res1 = 0 ;
8656 int val2 ;
8657 int ecode2 = 0 ;
8658 long val3 ;
8659 int ecode3 = 0 ;
8660 bool temp4 = false ;
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
8663 PyObject * obj2 = 0 ;
8664 PyObject * obj3 = 0 ;
8665 char * kwnames[] = {
8666 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8667 };
8668
8669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8671 if (!SWIG_IsOK(res1)) {
8672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8673 }
8674 arg1 = reinterpret_cast< wxWindow * >(argp1);
8675 if (obj1) {
8676 ecode2 = SWIG_AsVal_int(obj1, &val2);
8677 if (!SWIG_IsOK(ecode2)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8679 }
8680 arg2 = static_cast< int >(val2);
8681 }
8682 if (obj2) {
8683 ecode3 = SWIG_AsVal_long(obj2, &val3);
8684 if (!SWIG_IsOK(ecode3)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8686 }
8687 arg3 = static_cast< long >(val3);
8688 }
8689 if (obj3) {
8690 {
8691 arg4 = wxString_in_helper(obj3);
8692 if (arg4 == NULL) SWIG_fail;
8693 temp4 = true;
8694 }
8695 }
8696 {
8697 if (!wxPyCheckForApp()) SWIG_fail;
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8704 {
8705 if (temp4)
8706 delete arg4;
8707 }
8708 return resultobj;
8709 fail:
8710 {
8711 if (temp4)
8712 delete arg4;
8713 }
8714 return NULL;
8715 }
8716
8717
8718 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8719 PyObject *resultobj = 0;
8720 wxStatusBar *result = 0 ;
8721
8722 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8723 {
8724 if (!wxPyCheckForApp()) SWIG_fail;
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 result = (wxStatusBar *)new wxStatusBar();
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj = 0;
8739 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8740 wxWindow *arg2 = (wxWindow *) 0 ;
8741 int arg3 = (int) -1 ;
8742 long arg4 = (long) wxST_SIZEGRIP ;
8743 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8744 wxString *arg5 = (wxString *) &arg5_defvalue ;
8745 bool result;
8746 void *argp1 = 0 ;
8747 int res1 = 0 ;
8748 void *argp2 = 0 ;
8749 int res2 = 0 ;
8750 int val3 ;
8751 int ecode3 = 0 ;
8752 long val4 ;
8753 int ecode4 = 0 ;
8754 bool temp5 = false ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 PyObject * obj2 = 0 ;
8758 PyObject * obj3 = 0 ;
8759 PyObject * obj4 = 0 ;
8760 char * kwnames[] = {
8761 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8762 };
8763
8764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8766 if (!SWIG_IsOK(res1)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8768 }
8769 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8770 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8771 if (!SWIG_IsOK(res2)) {
8772 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8773 }
8774 arg2 = reinterpret_cast< wxWindow * >(argp2);
8775 if (obj2) {
8776 ecode3 = SWIG_AsVal_int(obj2, &val3);
8777 if (!SWIG_IsOK(ecode3)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8779 }
8780 arg3 = static_cast< int >(val3);
8781 }
8782 if (obj3) {
8783 ecode4 = SWIG_AsVal_long(obj3, &val4);
8784 if (!SWIG_IsOK(ecode4)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8786 }
8787 arg4 = static_cast< long >(val4);
8788 }
8789 if (obj4) {
8790 {
8791 arg5 = wxString_in_helper(obj4);
8792 if (arg5 == NULL) SWIG_fail;
8793 temp5 = true;
8794 }
8795 }
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 {
8803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8804 }
8805 {
8806 if (temp5)
8807 delete arg5;
8808 }
8809 return resultobj;
8810 fail:
8811 {
8812 if (temp5)
8813 delete arg5;
8814 }
8815 return NULL;
8816 }
8817
8818
8819 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj = 0;
8821 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8822 int arg2 = (int) 1 ;
8823 void *argp1 = 0 ;
8824 int res1 = 0 ;
8825 int val2 ;
8826 int ecode2 = 0 ;
8827 PyObject * obj0 = 0 ;
8828 PyObject * obj1 = 0 ;
8829 char * kwnames[] = {
8830 (char *) "self",(char *) "number", NULL
8831 };
8832
8833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8835 if (!SWIG_IsOK(res1)) {
8836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8837 }
8838 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8839 if (obj1) {
8840 ecode2 = SWIG_AsVal_int(obj1, &val2);
8841 if (!SWIG_IsOK(ecode2)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8843 }
8844 arg2 = static_cast< int >(val2);
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->SetFieldsCount(arg2);
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 resultobj = SWIG_Py_Void();
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8860 PyObject *resultobj = 0;
8861 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8862 int result;
8863 void *argp1 = 0 ;
8864 int res1 = 0 ;
8865 PyObject *swig_obj[1] ;
8866
8867 if (!args) SWIG_fail;
8868 swig_obj[0] = args;
8869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8870 if (!SWIG_IsOK(res1)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8872 }
8873 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 resultobj = SWIG_From_int(static_cast< int >(result));
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj = 0;
8889 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8890 wxString *arg2 = 0 ;
8891 int arg3 = (int) 0 ;
8892 void *argp1 = 0 ;
8893 int res1 = 0 ;
8894 bool temp2 = false ;
8895 int val3 ;
8896 int ecode3 = 0 ;
8897 PyObject * obj0 = 0 ;
8898 PyObject * obj1 = 0 ;
8899 PyObject * obj2 = 0 ;
8900 char * kwnames[] = {
8901 (char *) "self",(char *) "text",(char *) "number", NULL
8902 };
8903
8904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8906 if (!SWIG_IsOK(res1)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8908 }
8909 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8910 {
8911 arg2 = wxString_in_helper(obj1);
8912 if (arg2 == NULL) SWIG_fail;
8913 temp2 = true;
8914 }
8915 if (obj2) {
8916 ecode3 = SWIG_AsVal_int(obj2, &val3);
8917 if (!SWIG_IsOK(ecode3)) {
8918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8919 }
8920 arg3 = static_cast< int >(val3);
8921 }
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 resultobj = SWIG_Py_Void();
8929 {
8930 if (temp2)
8931 delete arg2;
8932 }
8933 return resultobj;
8934 fail:
8935 {
8936 if (temp2)
8937 delete arg2;
8938 }
8939 return NULL;
8940 }
8941
8942
8943 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj = 0;
8945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8946 int arg2 = (int) 0 ;
8947 wxString result;
8948 void *argp1 = 0 ;
8949 int res1 = 0 ;
8950 int val2 ;
8951 int ecode2 = 0 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 char * kwnames[] = {
8955 (char *) "self",(char *) "number", NULL
8956 };
8957
8958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8960 if (!SWIG_IsOK(res1)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8962 }
8963 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8964 if (obj1) {
8965 ecode2 = SWIG_AsVal_int(obj1, &val2);
8966 if (!SWIG_IsOK(ecode2)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8968 }
8969 arg2 = static_cast< int >(val2);
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 {
8978 #if wxUSE_UNICODE
8979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8980 #else
8981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8982 #endif
8983 }
8984 return resultobj;
8985 fail:
8986 return NULL;
8987 }
8988
8989
8990 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj = 0;
8992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8993 wxString *arg2 = 0 ;
8994 int arg3 = (int) 0 ;
8995 void *argp1 = 0 ;
8996 int res1 = 0 ;
8997 bool temp2 = false ;
8998 int val3 ;
8999 int ecode3 = 0 ;
9000 PyObject * obj0 = 0 ;
9001 PyObject * obj1 = 0 ;
9002 PyObject * obj2 = 0 ;
9003 char * kwnames[] = {
9004 (char *) "self",(char *) "text",(char *) "number", NULL
9005 };
9006
9007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9009 if (!SWIG_IsOK(res1)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9011 }
9012 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9013 {
9014 arg2 = wxString_in_helper(obj1);
9015 if (arg2 == NULL) SWIG_fail;
9016 temp2 = true;
9017 }
9018 if (obj2) {
9019 ecode3 = SWIG_AsVal_int(obj2, &val3);
9020 if (!SWIG_IsOK(ecode3)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9022 }
9023 arg3 = static_cast< int >(val3);
9024 }
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 resultobj = SWIG_Py_Void();
9032 {
9033 if (temp2)
9034 delete arg2;
9035 }
9036 return resultobj;
9037 fail:
9038 {
9039 if (temp2)
9040 delete arg2;
9041 }
9042 return NULL;
9043 }
9044
9045
9046 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj = 0;
9048 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9049 int arg2 = (int) 0 ;
9050 void *argp1 = 0 ;
9051 int res1 = 0 ;
9052 int val2 ;
9053 int ecode2 = 0 ;
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056 char * kwnames[] = {
9057 (char *) "self",(char *) "number", NULL
9058 };
9059
9060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9062 if (!SWIG_IsOK(res1)) {
9063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9064 }
9065 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9066 if (obj1) {
9067 ecode2 = SWIG_AsVal_int(obj1, &val2);
9068 if (!SWIG_IsOK(ecode2)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9070 }
9071 arg2 = static_cast< int >(val2);
9072 }
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 (arg1)->PopStatusText(arg2);
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 resultobj = SWIG_Py_Void();
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj = 0;
9088 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9089 int arg2 ;
9090 int *arg3 = (int *) 0 ;
9091 void *argp1 = 0 ;
9092 int res1 = 0 ;
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095 char * kwnames[] = {
9096 (char *) "self",(char *) "widths", NULL
9097 };
9098
9099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9101 if (!SWIG_IsOK(res1)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9103 }
9104 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9105 {
9106 arg2 = PyList_Size(obj1);
9107 arg3 = int_LIST_helper(obj1);
9108 if (arg3 == NULL) SWIG_fail;
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 resultobj = SWIG_Py_Void();
9117 {
9118 if (arg3) delete [] arg3;
9119 }
9120 return resultobj;
9121 fail:
9122 {
9123 if (arg3) delete [] arg3;
9124 }
9125 return NULL;
9126 }
9127
9128
9129 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj = 0;
9131 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9132 int arg2 ;
9133 int *arg3 = (int *) 0 ;
9134 void *argp1 = 0 ;
9135 int res1 = 0 ;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj1 = 0 ;
9138 char * kwnames[] = {
9139 (char *) "self",(char *) "styles", NULL
9140 };
9141
9142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9144 if (!SWIG_IsOK(res1)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9146 }
9147 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9148 {
9149 arg2 = PyList_Size(obj1);
9150 arg3 = int_LIST_helper(obj1);
9151 if (arg3 == NULL) SWIG_fail;
9152 }
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 resultobj = SWIG_Py_Void();
9160 {
9161 if (arg3) delete [] arg3;
9162 }
9163 return resultobj;
9164 fail:
9165 {
9166 if (arg3) delete [] arg3;
9167 }
9168 return NULL;
9169 }
9170
9171
9172 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj = 0;
9174 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9175 int arg2 ;
9176 wxRect result;
9177 void *argp1 = 0 ;
9178 int res1 = 0 ;
9179 int val2 ;
9180 int ecode2 = 0 ;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 char * kwnames[] = {
9184 (char *) "self",(char *) "i", NULL
9185 };
9186
9187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9189 if (!SWIG_IsOK(res1)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9191 }
9192 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9193 ecode2 = SWIG_AsVal_int(obj1, &val2);
9194 if (!SWIG_IsOK(ecode2)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9196 }
9197 arg2 = static_cast< int >(val2);
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = wxStatusBar_GetFieldRect(arg1,arg2);
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj = 0;
9213 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9214 int arg2 ;
9215 void *argp1 = 0 ;
9216 int res1 = 0 ;
9217 int val2 ;
9218 int ecode2 = 0 ;
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 char * kwnames[] = {
9222 (char *) "self",(char *) "height", NULL
9223 };
9224
9225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9227 if (!SWIG_IsOK(res1)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9229 }
9230 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9231 ecode2 = SWIG_AsVal_int(obj1, &val2);
9232 if (!SWIG_IsOK(ecode2)) {
9233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9234 }
9235 arg2 = static_cast< int >(val2);
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->SetMinHeight(arg2);
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_Py_Void();
9243 return resultobj;
9244 fail:
9245 return NULL;
9246 }
9247
9248
9249 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9250 PyObject *resultobj = 0;
9251 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9252 int result;
9253 void *argp1 = 0 ;
9254 int res1 = 0 ;
9255 PyObject *swig_obj[1] ;
9256
9257 if (!args) SWIG_fail;
9258 swig_obj[0] = args;
9259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9260 if (!SWIG_IsOK(res1)) {
9261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9262 }
9263 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_From_int(static_cast< int >(result));
9271 return resultobj;
9272 fail:
9273 return NULL;
9274 }
9275
9276
9277 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9278 PyObject *resultobj = 0;
9279 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9280 int result;
9281 void *argp1 = 0 ;
9282 int res1 = 0 ;
9283 PyObject *swig_obj[1] ;
9284
9285 if (!args) SWIG_fail;
9286 swig_obj[0] = args;
9287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9288 if (!SWIG_IsOK(res1)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9290 }
9291 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 resultobj = SWIG_From_int(static_cast< int >(result));
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj = 0;
9307 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9308 SwigValueWrapper<wxVisualAttributes > result;
9309 int val1 ;
9310 int ecode1 = 0 ;
9311 PyObject * obj0 = 0 ;
9312 char * kwnames[] = {
9313 (char *) "variant", NULL
9314 };
9315
9316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9317 if (obj0) {
9318 ecode1 = SWIG_AsVal_int(obj0, &val1);
9319 if (!SWIG_IsOK(ecode1)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9321 }
9322 arg1 = static_cast< wxWindowVariant >(val1);
9323 }
9324 {
9325 if (!wxPyCheckForApp()) SWIG_fail;
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9339 PyObject *obj;
9340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9341 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9342 return SWIG_Py_Void();
9343 }
9344
9345 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9346 return SWIG_Python_InitShadowInstance(args);
9347 }
9348
9349 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9350 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9351 return 1;
9352 }
9353
9354
9355 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9356 PyObject *pyobj = 0;
9357
9358 {
9359 #if wxUSE_UNICODE
9360 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9361 #else
9362 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9363 #endif
9364 }
9365 return pyobj;
9366 }
9367
9368
9369 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj = 0;
9371 wxWindow *arg1 = (wxWindow *) 0 ;
9372 int arg2 = (int) -1 ;
9373 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9374 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9375 wxSize const &arg4_defvalue = wxDefaultSize ;
9376 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9377 long arg5 = (long) wxSP_3D ;
9378 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9379 wxString *arg6 = (wxString *) &arg6_defvalue ;
9380 wxSplitterWindow *result = 0 ;
9381 void *argp1 = 0 ;
9382 int res1 = 0 ;
9383 int val2 ;
9384 int ecode2 = 0 ;
9385 wxPoint temp3 ;
9386 wxSize temp4 ;
9387 long val5 ;
9388 int ecode5 = 0 ;
9389 bool temp6 = false ;
9390 PyObject * obj0 = 0 ;
9391 PyObject * obj1 = 0 ;
9392 PyObject * obj2 = 0 ;
9393 PyObject * obj3 = 0 ;
9394 PyObject * obj4 = 0 ;
9395 PyObject * obj5 = 0 ;
9396 char * kwnames[] = {
9397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9398 };
9399
9400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9402 if (!SWIG_IsOK(res1)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9404 }
9405 arg1 = reinterpret_cast< wxWindow * >(argp1);
9406 if (obj1) {
9407 ecode2 = SWIG_AsVal_int(obj1, &val2);
9408 if (!SWIG_IsOK(ecode2)) {
9409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9410 }
9411 arg2 = static_cast< int >(val2);
9412 }
9413 if (obj2) {
9414 {
9415 arg3 = &temp3;
9416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9417 }
9418 }
9419 if (obj3) {
9420 {
9421 arg4 = &temp4;
9422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9423 }
9424 }
9425 if (obj4) {
9426 ecode5 = SWIG_AsVal_long(obj4, &val5);
9427 if (!SWIG_IsOK(ecode5)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9429 }
9430 arg5 = static_cast< long >(val5);
9431 }
9432 if (obj5) {
9433 {
9434 arg6 = wxString_in_helper(obj5);
9435 if (arg6 == NULL) SWIG_fail;
9436 temp6 = true;
9437 }
9438 }
9439 {
9440 if (!wxPyCheckForApp()) SWIG_fail;
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9447 {
9448 if (temp6)
9449 delete arg6;
9450 }
9451 return resultobj;
9452 fail:
9453 {
9454 if (temp6)
9455 delete arg6;
9456 }
9457 return NULL;
9458 }
9459
9460
9461 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9462 PyObject *resultobj = 0;
9463 wxSplitterWindow *result = 0 ;
9464
9465 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9466 {
9467 if (!wxPyCheckForApp()) SWIG_fail;
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (wxSplitterWindow *)new wxSplitterWindow();
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj = 0;
9482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9483 wxWindow *arg2 = (wxWindow *) 0 ;
9484 int arg3 = (int) -1 ;
9485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9487 wxSize const &arg5_defvalue = wxDefaultSize ;
9488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9489 long arg6 = (long) wxSP_3D ;
9490 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9491 wxString *arg7 = (wxString *) &arg7_defvalue ;
9492 bool result;
9493 void *argp1 = 0 ;
9494 int res1 = 0 ;
9495 void *argp2 = 0 ;
9496 int res2 = 0 ;
9497 int val3 ;
9498 int ecode3 = 0 ;
9499 wxPoint temp4 ;
9500 wxSize temp5 ;
9501 long val6 ;
9502 int ecode6 = 0 ;
9503 bool temp7 = false ;
9504 PyObject * obj0 = 0 ;
9505 PyObject * obj1 = 0 ;
9506 PyObject * obj2 = 0 ;
9507 PyObject * obj3 = 0 ;
9508 PyObject * obj4 = 0 ;
9509 PyObject * obj5 = 0 ;
9510 PyObject * obj6 = 0 ;
9511 char * kwnames[] = {
9512 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9513 };
9514
9515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9517 if (!SWIG_IsOK(res1)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9519 }
9520 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9521 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9522 if (!SWIG_IsOK(res2)) {
9523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9524 }
9525 arg2 = reinterpret_cast< wxWindow * >(argp2);
9526 if (obj2) {
9527 ecode3 = SWIG_AsVal_int(obj2, &val3);
9528 if (!SWIG_IsOK(ecode3)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9530 }
9531 arg3 = static_cast< int >(val3);
9532 }
9533 if (obj3) {
9534 {
9535 arg4 = &temp4;
9536 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9537 }
9538 }
9539 if (obj4) {
9540 {
9541 arg5 = &temp5;
9542 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9543 }
9544 }
9545 if (obj5) {
9546 ecode6 = SWIG_AsVal_long(obj5, &val6);
9547 if (!SWIG_IsOK(ecode6)) {
9548 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9549 }
9550 arg6 = static_cast< long >(val6);
9551 }
9552 if (obj6) {
9553 {
9554 arg7 = wxString_in_helper(obj6);
9555 if (arg7 == NULL) SWIG_fail;
9556 temp7 = true;
9557 }
9558 }
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 {
9566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9567 }
9568 {
9569 if (temp7)
9570 delete arg7;
9571 }
9572 return resultobj;
9573 fail:
9574 {
9575 if (temp7)
9576 delete arg7;
9577 }
9578 return NULL;
9579 }
9580
9581
9582 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9583 PyObject *resultobj = 0;
9584 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9585 wxWindow *result = 0 ;
9586 void *argp1 = 0 ;
9587 int res1 = 0 ;
9588 PyObject *swig_obj[1] ;
9589
9590 if (!args) SWIG_fail;
9591 swig_obj[0] = args;
9592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9593 if (!SWIG_IsOK(res1)) {
9594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9595 }
9596 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 {
9604 resultobj = wxPyMake_wxObject(result, 0);
9605 }
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9613 PyObject *resultobj = 0;
9614 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9615 wxWindow *result = 0 ;
9616 void *argp1 = 0 ;
9617 int res1 = 0 ;
9618 PyObject *swig_obj[1] ;
9619
9620 if (!args) SWIG_fail;
9621 swig_obj[0] = args;
9622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9623 if (!SWIG_IsOK(res1)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9625 }
9626 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 {
9634 resultobj = wxPyMake_wxObject(result, 0);
9635 }
9636 return resultobj;
9637 fail:
9638 return NULL;
9639 }
9640
9641
9642 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9643 PyObject *resultobj = 0;
9644 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9645 int arg2 ;
9646 void *argp1 = 0 ;
9647 int res1 = 0 ;
9648 int val2 ;
9649 int ecode2 = 0 ;
9650 PyObject * obj0 = 0 ;
9651 PyObject * obj1 = 0 ;
9652 char * kwnames[] = {
9653 (char *) "self",(char *) "mode", NULL
9654 };
9655
9656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9658 if (!SWIG_IsOK(res1)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9660 }
9661 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9662 ecode2 = SWIG_AsVal_int(obj1, &val2);
9663 if (!SWIG_IsOK(ecode2)) {
9664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9665 }
9666 arg2 = static_cast< int >(val2);
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 (arg1)->SetSplitMode(arg2);
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_Py_Void();
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9681 PyObject *resultobj = 0;
9682 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9683 wxSplitMode result;
9684 void *argp1 = 0 ;
9685 int res1 = 0 ;
9686 PyObject *swig_obj[1] ;
9687
9688 if (!args) SWIG_fail;
9689 swig_obj[0] = args;
9690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9691 if (!SWIG_IsOK(res1)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9693 }
9694 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_From_int(static_cast< int >(result));
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj = 0;
9710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9711 wxWindow *arg2 = (wxWindow *) 0 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 void *argp2 = 0 ;
9715 int res2 = 0 ;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 char * kwnames[] = {
9719 (char *) "self",(char *) "window", NULL
9720 };
9721
9722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res1)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 }
9727 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9728 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9729 if (!SWIG_IsOK(res2)) {
9730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9731 }
9732 arg2 = reinterpret_cast< wxWindow * >(argp2);
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 (arg1)->Initialize(arg2);
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 resultobj = SWIG_Py_Void();
9740 return resultobj;
9741 fail:
9742 return NULL;
9743 }
9744
9745
9746 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj = 0;
9748 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9749 wxWindow *arg2 = (wxWindow *) 0 ;
9750 wxWindow *arg3 = (wxWindow *) 0 ;
9751 int arg4 = (int) 0 ;
9752 bool result;
9753 void *argp1 = 0 ;
9754 int res1 = 0 ;
9755 void *argp2 = 0 ;
9756 int res2 = 0 ;
9757 void *argp3 = 0 ;
9758 int res3 = 0 ;
9759 int val4 ;
9760 int ecode4 = 0 ;
9761 PyObject * obj0 = 0 ;
9762 PyObject * obj1 = 0 ;
9763 PyObject * obj2 = 0 ;
9764 PyObject * obj3 = 0 ;
9765 char * kwnames[] = {
9766 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9767 };
9768
9769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9771 if (!SWIG_IsOK(res1)) {
9772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9773 }
9774 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9775 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9776 if (!SWIG_IsOK(res2)) {
9777 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9778 }
9779 arg2 = reinterpret_cast< wxWindow * >(argp2);
9780 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9781 if (!SWIG_IsOK(res3)) {
9782 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9783 }
9784 arg3 = reinterpret_cast< wxWindow * >(argp3);
9785 if (obj3) {
9786 ecode4 = SWIG_AsVal_int(obj3, &val4);
9787 if (!SWIG_IsOK(ecode4)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9789 }
9790 arg4 = static_cast< int >(val4);
9791 }
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 {
9799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9800 }
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj = 0;
9809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9810 wxWindow *arg2 = (wxWindow *) 0 ;
9811 wxWindow *arg3 = (wxWindow *) 0 ;
9812 int arg4 = (int) 0 ;
9813 bool result;
9814 void *argp1 = 0 ;
9815 int res1 = 0 ;
9816 void *argp2 = 0 ;
9817 int res2 = 0 ;
9818 void *argp3 = 0 ;
9819 int res3 = 0 ;
9820 int val4 ;
9821 int ecode4 = 0 ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 PyObject * obj2 = 0 ;
9825 PyObject * obj3 = 0 ;
9826 char * kwnames[] = {
9827 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9828 };
9829
9830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9832 if (!SWIG_IsOK(res1)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9834 }
9835 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9836 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res2)) {
9838 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9839 }
9840 arg2 = reinterpret_cast< wxWindow * >(argp2);
9841 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9842 if (!SWIG_IsOK(res3)) {
9843 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9844 }
9845 arg3 = reinterpret_cast< wxWindow * >(argp3);
9846 if (obj3) {
9847 ecode4 = SWIG_AsVal_int(obj3, &val4);
9848 if (!SWIG_IsOK(ecode4)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9850 }
9851 arg4 = static_cast< int >(val4);
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 {
9860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9861 }
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj = 0;
9870 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9871 wxWindow *arg2 = (wxWindow *) NULL ;
9872 bool result;
9873 void *argp1 = 0 ;
9874 int res1 = 0 ;
9875 void *argp2 = 0 ;
9876 int res2 = 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 char * kwnames[] = {
9880 (char *) "self",(char *) "toRemove", NULL
9881 };
9882
9883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9885 if (!SWIG_IsOK(res1)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9887 }
9888 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9889 if (obj1) {
9890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9891 if (!SWIG_IsOK(res2)) {
9892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9893 }
9894 arg2 = reinterpret_cast< wxWindow * >(argp2);
9895 }
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (bool)(arg1)->Unsplit(arg2);
9899 wxPyEndAllowThreads(__tstate);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 {
9903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9904 }
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj = 0;
9913 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9914 wxWindow *arg2 = (wxWindow *) 0 ;
9915 wxWindow *arg3 = (wxWindow *) 0 ;
9916 bool result;
9917 void *argp1 = 0 ;
9918 int res1 = 0 ;
9919 void *argp2 = 0 ;
9920 int res2 = 0 ;
9921 void *argp3 = 0 ;
9922 int res3 = 0 ;
9923 PyObject * obj0 = 0 ;
9924 PyObject * obj1 = 0 ;
9925 PyObject * obj2 = 0 ;
9926 char * kwnames[] = {
9927 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9928 };
9929
9930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9932 if (!SWIG_IsOK(res1)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9934 }
9935 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9937 if (!SWIG_IsOK(res2)) {
9938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9939 }
9940 arg2 = reinterpret_cast< wxWindow * >(argp2);
9941 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9942 if (!SWIG_IsOK(res3)) {
9943 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9944 }
9945 arg3 = reinterpret_cast< wxWindow * >(argp3);
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 {
9953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9954 }
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9962 PyObject *resultobj = 0;
9963 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9964 void *argp1 = 0 ;
9965 int res1 = 0 ;
9966 PyObject *swig_obj[1] ;
9967
9968 if (!args) SWIG_fail;
9969 swig_obj[0] = args;
9970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9971 if (!SWIG_IsOK(res1)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9973 }
9974 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->UpdateSize();
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_Py_Void();
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9989 PyObject *resultobj = 0;
9990 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9991 bool result;
9992 void *argp1 = 0 ;
9993 int res1 = 0 ;
9994 PyObject *swig_obj[1] ;
9995
9996 if (!args) SWIG_fail;
9997 swig_obj[0] = args;
9998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9999 if (!SWIG_IsOK(res1)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10001 }
10002 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 {
10010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10011 }
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj = 0;
10020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10021 int arg2 ;
10022 void *argp1 = 0 ;
10023 int res1 = 0 ;
10024 int val2 ;
10025 int ecode2 = 0 ;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 char * kwnames[] = {
10029 (char *) "self",(char *) "width", NULL
10030 };
10031
10032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10034 if (!SWIG_IsOK(res1)) {
10035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10036 }
10037 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10038 ecode2 = SWIG_AsVal_int(obj1, &val2);
10039 if (!SWIG_IsOK(ecode2)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10041 }
10042 arg2 = static_cast< int >(val2);
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 (arg1)->SetSashSize(arg2);
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 resultobj = SWIG_Py_Void();
10050 return resultobj;
10051 fail:
10052 return NULL;
10053 }
10054
10055
10056 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10057 PyObject *resultobj = 0;
10058 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10059 int arg2 ;
10060 void *argp1 = 0 ;
10061 int res1 = 0 ;
10062 int val2 ;
10063 int ecode2 = 0 ;
10064 PyObject * obj0 = 0 ;
10065 PyObject * obj1 = 0 ;
10066 char * kwnames[] = {
10067 (char *) "self",(char *) "width", NULL
10068 };
10069
10070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10072 if (!SWIG_IsOK(res1)) {
10073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10074 }
10075 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10076 ecode2 = SWIG_AsVal_int(obj1, &val2);
10077 if (!SWIG_IsOK(ecode2)) {
10078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10079 }
10080 arg2 = static_cast< int >(val2);
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 (arg1)->SetBorderSize(arg2);
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 resultobj = SWIG_Py_Void();
10088 return resultobj;
10089 fail:
10090 return NULL;
10091 }
10092
10093
10094 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10095 PyObject *resultobj = 0;
10096 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10097 int result;
10098 void *argp1 = 0 ;
10099 int res1 = 0 ;
10100 PyObject *swig_obj[1] ;
10101
10102 if (!args) SWIG_fail;
10103 swig_obj[0] = args;
10104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10105 if (!SWIG_IsOK(res1)) {
10106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10107 }
10108 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_From_int(static_cast< int >(result));
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10123 PyObject *resultobj = 0;
10124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10125 int result;
10126 void *argp1 = 0 ;
10127 int res1 = 0 ;
10128 PyObject *swig_obj[1] ;
10129
10130 if (!args) SWIG_fail;
10131 swig_obj[0] = args;
10132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10133 if (!SWIG_IsOK(res1)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10135 }
10136 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_From_int(static_cast< int >(result));
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj = 0;
10152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10153 int arg2 ;
10154 bool arg3 = (bool) true ;
10155 void *argp1 = 0 ;
10156 int res1 = 0 ;
10157 int val2 ;
10158 int ecode2 = 0 ;
10159 bool val3 ;
10160 int ecode3 = 0 ;
10161 PyObject * obj0 = 0 ;
10162 PyObject * obj1 = 0 ;
10163 PyObject * obj2 = 0 ;
10164 char * kwnames[] = {
10165 (char *) "self",(char *) "position",(char *) "redraw", NULL
10166 };
10167
10168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10170 if (!SWIG_IsOK(res1)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10172 }
10173 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10174 ecode2 = SWIG_AsVal_int(obj1, &val2);
10175 if (!SWIG_IsOK(ecode2)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10177 }
10178 arg2 = static_cast< int >(val2);
10179 if (obj2) {
10180 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10181 if (!SWIG_IsOK(ecode3)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10183 }
10184 arg3 = static_cast< bool >(val3);
10185 }
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 (arg1)->SetSashPosition(arg2,arg3);
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 resultobj = SWIG_Py_Void();
10193 return resultobj;
10194 fail:
10195 return NULL;
10196 }
10197
10198
10199 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10200 PyObject *resultobj = 0;
10201 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10202 int result;
10203 void *argp1 = 0 ;
10204 int res1 = 0 ;
10205 PyObject *swig_obj[1] ;
10206
10207 if (!args) SWIG_fail;
10208 swig_obj[0] = args;
10209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10210 if (!SWIG_IsOK(res1)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10212 }
10213 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_From_int(static_cast< int >(result));
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj = 0;
10229 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10230 double arg2 ;
10231 void *argp1 = 0 ;
10232 int res1 = 0 ;
10233 double val2 ;
10234 int ecode2 = 0 ;
10235 PyObject * obj0 = 0 ;
10236 PyObject * obj1 = 0 ;
10237 char * kwnames[] = {
10238 (char *) "self",(char *) "gravity", NULL
10239 };
10240
10241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10243 if (!SWIG_IsOK(res1)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10245 }
10246 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10247 ecode2 = SWIG_AsVal_double(obj1, &val2);
10248 if (!SWIG_IsOK(ecode2)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10250 }
10251 arg2 = static_cast< double >(val2);
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->SetSashGravity(arg2);
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = SWIG_Py_Void();
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10266 PyObject *resultobj = 0;
10267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10268 double result;
10269 void *argp1 = 0 ;
10270 int res1 = 0 ;
10271 PyObject *swig_obj[1] ;
10272
10273 if (!args) SWIG_fail;
10274 swig_obj[0] = args;
10275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10276 if (!SWIG_IsOK(res1)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 }
10279 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_From_double(static_cast< double >(result));
10287 return resultobj;
10288 fail:
10289 return NULL;
10290 }
10291
10292
10293 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj = 0;
10295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10296 int arg2 ;
10297 void *argp1 = 0 ;
10298 int res1 = 0 ;
10299 int val2 ;
10300 int ecode2 = 0 ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 char * kwnames[] = {
10304 (char *) "self",(char *) "min", NULL
10305 };
10306
10307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10309 if (!SWIG_IsOK(res1)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10311 }
10312 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10313 ecode2 = SWIG_AsVal_int(obj1, &val2);
10314 if (!SWIG_IsOK(ecode2)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10316 }
10317 arg2 = static_cast< int >(val2);
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetMinimumPaneSize(arg2);
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_Py_Void();
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 PyObject *resultobj = 0;
10333 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10334 int result;
10335 void *argp1 = 0 ;
10336 int res1 = 0 ;
10337 PyObject *swig_obj[1] ;
10338
10339 if (!args) SWIG_fail;
10340 swig_obj[0] = args;
10341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10342 if (!SWIG_IsOK(res1)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10344 }
10345 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = SWIG_From_int(static_cast< int >(result));
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj = 0;
10361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10362 int arg2 ;
10363 int arg3 ;
10364 int arg4 = (int) 5 ;
10365 bool result;
10366 void *argp1 = 0 ;
10367 int res1 = 0 ;
10368 int val2 ;
10369 int ecode2 = 0 ;
10370 int val3 ;
10371 int ecode3 = 0 ;
10372 int val4 ;
10373 int ecode4 = 0 ;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 PyObject * obj2 = 0 ;
10377 PyObject * obj3 = 0 ;
10378 char * kwnames[] = {
10379 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10380 };
10381
10382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10384 if (!SWIG_IsOK(res1)) {
10385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10386 }
10387 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10388 ecode2 = SWIG_AsVal_int(obj1, &val2);
10389 if (!SWIG_IsOK(ecode2)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10391 }
10392 arg2 = static_cast< int >(val2);
10393 ecode3 = SWIG_AsVal_int(obj2, &val3);
10394 if (!SWIG_IsOK(ecode3)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10396 }
10397 arg3 = static_cast< int >(val3);
10398 if (obj3) {
10399 ecode4 = SWIG_AsVal_int(obj3, &val4);
10400 if (!SWIG_IsOK(ecode4)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10402 }
10403 arg4 = static_cast< int >(val4);
10404 }
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 {
10412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10413 }
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10421 PyObject *resultobj = 0;
10422 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 PyObject *swig_obj[1] ;
10426
10427 if (!args) SWIG_fail;
10428 swig_obj[0] = args;
10429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10430 if (!SWIG_IsOK(res1)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10432 }
10433 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 (arg1)->SizeWindows();
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 resultobj = SWIG_Py_Void();
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj = 0;
10449 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10450 bool arg2 ;
10451 void *argp1 = 0 ;
10452 int res1 = 0 ;
10453 bool val2 ;
10454 int ecode2 = 0 ;
10455 PyObject * obj0 = 0 ;
10456 PyObject * obj1 = 0 ;
10457 char * kwnames[] = {
10458 (char *) "self",(char *) "needUpdating", NULL
10459 };
10460
10461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10463 if (!SWIG_IsOK(res1)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10465 }
10466 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10468 if (!SWIG_IsOK(ecode2)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10470 }
10471 arg2 = static_cast< bool >(val2);
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 (arg1)->SetNeedUpdating(arg2);
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 resultobj = SWIG_Py_Void();
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10486 PyObject *resultobj = 0;
10487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10488 bool result;
10489 void *argp1 = 0 ;
10490 int res1 = 0 ;
10491 PyObject *swig_obj[1] ;
10492
10493 if (!args) SWIG_fail;
10494 swig_obj[0] = args;
10495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10496 if (!SWIG_IsOK(res1)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10498 }
10499 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 {
10507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10508 }
10509 return resultobj;
10510 fail:
10511 return NULL;
10512 }
10513
10514
10515 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj = 0;
10517 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10518 SwigValueWrapper<wxVisualAttributes > result;
10519 int val1 ;
10520 int ecode1 = 0 ;
10521 PyObject * obj0 = 0 ;
10522 char * kwnames[] = {
10523 (char *) "variant", NULL
10524 };
10525
10526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10527 if (obj0) {
10528 ecode1 = SWIG_AsVal_int(obj0, &val1);
10529 if (!SWIG_IsOK(ecode1)) {
10530 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10531 }
10532 arg1 = static_cast< wxWindowVariant >(val1);
10533 }
10534 {
10535 if (!wxPyCheckForApp()) SWIG_fail;
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10549 PyObject *obj;
10550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10551 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10552 return SWIG_Py_Void();
10553 }
10554
10555 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10556 return SWIG_Python_InitShadowInstance(args);
10557 }
10558
10559 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10560 PyObject *resultobj = 0;
10561 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10562 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10563 wxSplitterEvent *result = 0 ;
10564 int val1 ;
10565 int ecode1 = 0 ;
10566 void *argp2 = 0 ;
10567 int res2 = 0 ;
10568 PyObject * obj0 = 0 ;
10569 PyObject * obj1 = 0 ;
10570 char * kwnames[] = {
10571 (char *) "type",(char *) "splitter", NULL
10572 };
10573
10574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10575 if (obj0) {
10576 ecode1 = SWIG_AsVal_int(obj0, &val1);
10577 if (!SWIG_IsOK(ecode1)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10579 }
10580 arg1 = static_cast< wxEventType >(val1);
10581 }
10582 if (obj1) {
10583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10584 if (!SWIG_IsOK(res2)) {
10585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10586 }
10587 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10588 }
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj = 0;
10604 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10605 int arg2 ;
10606 void *argp1 = 0 ;
10607 int res1 = 0 ;
10608 int val2 ;
10609 int ecode2 = 0 ;
10610 PyObject * obj0 = 0 ;
10611 PyObject * obj1 = 0 ;
10612 char * kwnames[] = {
10613 (char *) "self",(char *) "pos", NULL
10614 };
10615
10616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10618 if (!SWIG_IsOK(res1)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10620 }
10621 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10622 ecode2 = SWIG_AsVal_int(obj1, &val2);
10623 if (!SWIG_IsOK(ecode2)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10625 }
10626 arg2 = static_cast< int >(val2);
10627 {
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 (arg1)->SetSashPosition(arg2);
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 resultobj = SWIG_Py_Void();
10634 return resultobj;
10635 fail:
10636 return NULL;
10637 }
10638
10639
10640 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10641 PyObject *resultobj = 0;
10642 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10643 int result;
10644 void *argp1 = 0 ;
10645 int res1 = 0 ;
10646 PyObject *swig_obj[1] ;
10647
10648 if (!args) SWIG_fail;
10649 swig_obj[0] = args;
10650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10651 if (!SWIG_IsOK(res1)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10653 }
10654 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 resultobj = SWIG_From_int(static_cast< int >(result));
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10669 PyObject *resultobj = 0;
10670 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10671 wxWindow *result = 0 ;
10672 void *argp1 = 0 ;
10673 int res1 = 0 ;
10674 PyObject *swig_obj[1] ;
10675
10676 if (!args) SWIG_fail;
10677 swig_obj[0] = args;
10678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10679 if (!SWIG_IsOK(res1)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10681 }
10682 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 {
10690 resultobj = wxPyMake_wxObject(result, 0);
10691 }
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10699 PyObject *resultobj = 0;
10700 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10701 int result;
10702 void *argp1 = 0 ;
10703 int res1 = 0 ;
10704 PyObject *swig_obj[1] ;
10705
10706 if (!args) SWIG_fail;
10707 swig_obj[0] = args;
10708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10709 if (!SWIG_IsOK(res1)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10711 }
10712 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_From_int(static_cast< int >(result));
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10727 PyObject *resultobj = 0;
10728 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10729 int result;
10730 void *argp1 = 0 ;
10731 int res1 = 0 ;
10732 PyObject *swig_obj[1] ;
10733
10734 if (!args) SWIG_fail;
10735 swig_obj[0] = args;
10736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10739 }
10740 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 resultobj = SWIG_From_int(static_cast< int >(result));
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 PyObject *obj;
10756 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10757 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10758 return SWIG_Py_Void();
10759 }
10760
10761 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10762 return SWIG_Python_InitShadowInstance(args);
10763 }
10764
10765 SWIGINTERN int SashNameStr_set(PyObject *) {
10766 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10767 return 1;
10768 }
10769
10770
10771 SWIGINTERN PyObject *SashNameStr_get(void) {
10772 PyObject *pyobj = 0;
10773
10774 {
10775 #if wxUSE_UNICODE
10776 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10777 #else
10778 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10779 #endif
10780 }
10781 return pyobj;
10782 }
10783
10784
10785 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10786 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10787 return 1;
10788 }
10789
10790
10791 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10792 PyObject *pyobj = 0;
10793
10794 {
10795 #if wxUSE_UNICODE
10796 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10797 #else
10798 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10799 #endif
10800 }
10801 return pyobj;
10802 }
10803
10804
10805 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj = 0;
10807 wxWindow *arg1 = (wxWindow *) 0 ;
10808 int arg2 = (int) -1 ;
10809 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10810 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10811 wxSize const &arg4_defvalue = wxDefaultSize ;
10812 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10813 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10814 wxString const &arg6_defvalue = wxPySashNameStr ;
10815 wxString *arg6 = (wxString *) &arg6_defvalue ;
10816 wxSashWindow *result = 0 ;
10817 void *argp1 = 0 ;
10818 int res1 = 0 ;
10819 int val2 ;
10820 int ecode2 = 0 ;
10821 wxPoint temp3 ;
10822 wxSize temp4 ;
10823 long val5 ;
10824 int ecode5 = 0 ;
10825 bool temp6 = false ;
10826 PyObject * obj0 = 0 ;
10827 PyObject * obj1 = 0 ;
10828 PyObject * obj2 = 0 ;
10829 PyObject * obj3 = 0 ;
10830 PyObject * obj4 = 0 ;
10831 PyObject * obj5 = 0 ;
10832 char * kwnames[] = {
10833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10834 };
10835
10836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10838 if (!SWIG_IsOK(res1)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10840 }
10841 arg1 = reinterpret_cast< wxWindow * >(argp1);
10842 if (obj1) {
10843 ecode2 = SWIG_AsVal_int(obj1, &val2);
10844 if (!SWIG_IsOK(ecode2)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10846 }
10847 arg2 = static_cast< int >(val2);
10848 }
10849 if (obj2) {
10850 {
10851 arg3 = &temp3;
10852 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10853 }
10854 }
10855 if (obj3) {
10856 {
10857 arg4 = &temp4;
10858 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10859 }
10860 }
10861 if (obj4) {
10862 ecode5 = SWIG_AsVal_long(obj4, &val5);
10863 if (!SWIG_IsOK(ecode5)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10865 }
10866 arg5 = static_cast< long >(val5);
10867 }
10868 if (obj5) {
10869 {
10870 arg6 = wxString_in_helper(obj5);
10871 if (arg6 == NULL) SWIG_fail;
10872 temp6 = true;
10873 }
10874 }
10875 {
10876 if (!wxPyCheckForApp()) SWIG_fail;
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10883 {
10884 if (temp6)
10885 delete arg6;
10886 }
10887 return resultobj;
10888 fail:
10889 {
10890 if (temp6)
10891 delete arg6;
10892 }
10893 return NULL;
10894 }
10895
10896
10897 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10898 PyObject *resultobj = 0;
10899 wxSashWindow *result = 0 ;
10900
10901 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10902 {
10903 if (!wxPyCheckForApp()) SWIG_fail;
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (wxSashWindow *)new wxSashWindow();
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10910 return resultobj;
10911 fail:
10912 return NULL;
10913 }
10914
10915
10916 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10917 PyObject *resultobj = 0;
10918 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10919 wxWindow *arg2 = (wxWindow *) 0 ;
10920 int arg3 = (int) -1 ;
10921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10923 wxSize const &arg5_defvalue = wxDefaultSize ;
10924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10925 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10926 wxString const &arg7_defvalue = wxPySashNameStr ;
10927 wxString *arg7 = (wxString *) &arg7_defvalue ;
10928 bool result;
10929 void *argp1 = 0 ;
10930 int res1 = 0 ;
10931 void *argp2 = 0 ;
10932 int res2 = 0 ;
10933 int val3 ;
10934 int ecode3 = 0 ;
10935 wxPoint temp4 ;
10936 wxSize temp5 ;
10937 long val6 ;
10938 int ecode6 = 0 ;
10939 bool temp7 = false ;
10940 PyObject * obj0 = 0 ;
10941 PyObject * obj1 = 0 ;
10942 PyObject * obj2 = 0 ;
10943 PyObject * obj3 = 0 ;
10944 PyObject * obj4 = 0 ;
10945 PyObject * obj5 = 0 ;
10946 PyObject * obj6 = 0 ;
10947 char * kwnames[] = {
10948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10949 };
10950
10951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10953 if (!SWIG_IsOK(res1)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10955 }
10956 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10957 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10958 if (!SWIG_IsOK(res2)) {
10959 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10960 }
10961 arg2 = reinterpret_cast< wxWindow * >(argp2);
10962 if (obj2) {
10963 ecode3 = SWIG_AsVal_int(obj2, &val3);
10964 if (!SWIG_IsOK(ecode3)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10966 }
10967 arg3 = static_cast< int >(val3);
10968 }
10969 if (obj3) {
10970 {
10971 arg4 = &temp4;
10972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10973 }
10974 }
10975 if (obj4) {
10976 {
10977 arg5 = &temp5;
10978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10979 }
10980 }
10981 if (obj5) {
10982 ecode6 = SWIG_AsVal_long(obj5, &val6);
10983 if (!SWIG_IsOK(ecode6)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10985 }
10986 arg6 = static_cast< long >(val6);
10987 }
10988 if (obj6) {
10989 {
10990 arg7 = wxString_in_helper(obj6);
10991 if (arg7 == NULL) SWIG_fail;
10992 temp7 = true;
10993 }
10994 }
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 {
11002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11003 }
11004 {
11005 if (temp7)
11006 delete arg7;
11007 }
11008 return resultobj;
11009 fail:
11010 {
11011 if (temp7)
11012 delete arg7;
11013 }
11014 return NULL;
11015 }
11016
11017
11018 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj = 0;
11020 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11021 wxSashEdgePosition arg2 ;
11022 bool arg3 ;
11023 void *argp1 = 0 ;
11024 int res1 = 0 ;
11025 int val2 ;
11026 int ecode2 = 0 ;
11027 bool val3 ;
11028 int ecode3 = 0 ;
11029 PyObject * obj0 = 0 ;
11030 PyObject * obj1 = 0 ;
11031 PyObject * obj2 = 0 ;
11032 char * kwnames[] = {
11033 (char *) "self",(char *) "edge",(char *) "sash", NULL
11034 };
11035
11036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11038 if (!SWIG_IsOK(res1)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11040 }
11041 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11042 ecode2 = SWIG_AsVal_int(obj1, &val2);
11043 if (!SWIG_IsOK(ecode2)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11045 }
11046 arg2 = static_cast< wxSashEdgePosition >(val2);
11047 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11048 if (!SWIG_IsOK(ecode3)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11050 }
11051 arg3 = static_cast< bool >(val3);
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 (arg1)->SetSashVisible(arg2,arg3);
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 resultobj = SWIG_Py_Void();
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj = 0;
11067 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11068 wxSashEdgePosition arg2 ;
11069 bool result;
11070 void *argp1 = 0 ;
11071 int res1 = 0 ;
11072 int val2 ;
11073 int ecode2 = 0 ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 char * kwnames[] = {
11077 (char *) "self",(char *) "edge", NULL
11078 };
11079
11080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11082 if (!SWIG_IsOK(res1)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11084 }
11085 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11086 ecode2 = SWIG_AsVal_int(obj1, &val2);
11087 if (!SWIG_IsOK(ecode2)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11089 }
11090 arg2 = static_cast< wxSashEdgePosition >(val2);
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj = 0;
11108 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11109 wxSashEdgePosition arg2 ;
11110 bool arg3 ;
11111 void *argp1 = 0 ;
11112 int res1 = 0 ;
11113 int val2 ;
11114 int ecode2 = 0 ;
11115 bool val3 ;
11116 int ecode3 = 0 ;
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 PyObject * obj2 = 0 ;
11120 char * kwnames[] = {
11121 (char *) "self",(char *) "edge",(char *) "border", NULL
11122 };
11123
11124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11126 if (!SWIG_IsOK(res1)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11128 }
11129 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11130 ecode2 = SWIG_AsVal_int(obj1, &val2);
11131 if (!SWIG_IsOK(ecode2)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11133 }
11134 arg2 = static_cast< wxSashEdgePosition >(val2);
11135 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11136 if (!SWIG_IsOK(ecode3)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11138 }
11139 arg3 = static_cast< bool >(val3);
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 (arg1)->SetSashBorder(arg2,arg3);
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 resultobj = SWIG_Py_Void();
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj = 0;
11155 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11156 wxSashEdgePosition arg2 ;
11157 bool result;
11158 void *argp1 = 0 ;
11159 int res1 = 0 ;
11160 int val2 ;
11161 int ecode2 = 0 ;
11162 PyObject * obj0 = 0 ;
11163 PyObject * obj1 = 0 ;
11164 char * kwnames[] = {
11165 (char *) "self",(char *) "edge", NULL
11166 };
11167
11168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11172 }
11173 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11174 ecode2 = SWIG_AsVal_int(obj1, &val2);
11175 if (!SWIG_IsOK(ecode2)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11177 }
11178 arg2 = static_cast< wxSashEdgePosition >(val2);
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 {
11186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11187 }
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = 0;
11196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11197 wxSashEdgePosition arg2 ;
11198 int result;
11199 void *argp1 = 0 ;
11200 int res1 = 0 ;
11201 int val2 ;
11202 int ecode2 = 0 ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 char * kwnames[] = {
11206 (char *) "self",(char *) "edge", NULL
11207 };
11208
11209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11211 if (!SWIG_IsOK(res1)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11213 }
11214 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11215 ecode2 = SWIG_AsVal_int(obj1, &val2);
11216 if (!SWIG_IsOK(ecode2)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11218 }
11219 arg2 = static_cast< wxSashEdgePosition >(val2);
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 resultobj = SWIG_From_int(static_cast< int >(result));
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj = 0;
11235 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11236 int arg2 ;
11237 void *argp1 = 0 ;
11238 int res1 = 0 ;
11239 int val2 ;
11240 int ecode2 = 0 ;
11241 PyObject * obj0 = 0 ;
11242 PyObject * obj1 = 0 ;
11243 char * kwnames[] = {
11244 (char *) "self",(char *) "width", NULL
11245 };
11246
11247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11249 if (!SWIG_IsOK(res1)) {
11250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11251 }
11252 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11253 ecode2 = SWIG_AsVal_int(obj1, &val2);
11254 if (!SWIG_IsOK(ecode2)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11256 }
11257 arg2 = static_cast< int >(val2);
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 (arg1)->SetDefaultBorderSize(arg2);
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 resultobj = SWIG_Py_Void();
11265 return resultobj;
11266 fail:
11267 return NULL;
11268 }
11269
11270
11271 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11272 PyObject *resultobj = 0;
11273 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11274 int result;
11275 void *argp1 = 0 ;
11276 int res1 = 0 ;
11277 PyObject *swig_obj[1] ;
11278
11279 if (!args) SWIG_fail;
11280 swig_obj[0] = args;
11281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11282 if (!SWIG_IsOK(res1)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11284 }
11285 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = SWIG_From_int(static_cast< int >(result));
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj = 0;
11301 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11302 int arg2 ;
11303 void *argp1 = 0 ;
11304 int res1 = 0 ;
11305 int val2 ;
11306 int ecode2 = 0 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 char * kwnames[] = {
11310 (char *) "self",(char *) "width", NULL
11311 };
11312
11313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11315 if (!SWIG_IsOK(res1)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11317 }
11318 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11319 ecode2 = SWIG_AsVal_int(obj1, &val2);
11320 if (!SWIG_IsOK(ecode2)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11322 }
11323 arg2 = static_cast< int >(val2);
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetExtraBorderSize(arg2);
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 resultobj = SWIG_Py_Void();
11331 return resultobj;
11332 fail:
11333 return NULL;
11334 }
11335
11336
11337 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11338 PyObject *resultobj = 0;
11339 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11340 int result;
11341 void *argp1 = 0 ;
11342 int res1 = 0 ;
11343 PyObject *swig_obj[1] ;
11344
11345 if (!args) SWIG_fail;
11346 swig_obj[0] = args;
11347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11348 if (!SWIG_IsOK(res1)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11350 }
11351 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_From_int(static_cast< int >(result));
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj = 0;
11367 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11368 int arg2 ;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 int val2 ;
11372 int ecode2 = 0 ;
11373 PyObject * obj0 = 0 ;
11374 PyObject * obj1 = 0 ;
11375 char * kwnames[] = {
11376 (char *) "self",(char *) "min", NULL
11377 };
11378
11379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11381 if (!SWIG_IsOK(res1)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11383 }
11384 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11385 ecode2 = SWIG_AsVal_int(obj1, &val2);
11386 if (!SWIG_IsOK(ecode2)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11388 }
11389 arg2 = static_cast< int >(val2);
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 (arg1)->SetMinimumSizeX(arg2);
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 resultobj = SWIG_Py_Void();
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11404 PyObject *resultobj = 0;
11405 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11406 int arg2 ;
11407 void *argp1 = 0 ;
11408 int res1 = 0 ;
11409 int val2 ;
11410 int ecode2 = 0 ;
11411 PyObject * obj0 = 0 ;
11412 PyObject * obj1 = 0 ;
11413 char * kwnames[] = {
11414 (char *) "self",(char *) "min", NULL
11415 };
11416
11417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11419 if (!SWIG_IsOK(res1)) {
11420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11421 }
11422 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11423 ecode2 = SWIG_AsVal_int(obj1, &val2);
11424 if (!SWIG_IsOK(ecode2)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11426 }
11427 arg2 = static_cast< int >(val2);
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 (arg1)->SetMinimumSizeY(arg2);
11431 wxPyEndAllowThreads(__tstate);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 resultobj = SWIG_Py_Void();
11435 return resultobj;
11436 fail:
11437 return NULL;
11438 }
11439
11440
11441 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11442 PyObject *resultobj = 0;
11443 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11444 int result;
11445 void *argp1 = 0 ;
11446 int res1 = 0 ;
11447 PyObject *swig_obj[1] ;
11448
11449 if (!args) SWIG_fail;
11450 swig_obj[0] = args;
11451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11452 if (!SWIG_IsOK(res1)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11454 }
11455 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = SWIG_From_int(static_cast< int >(result));
11463 return resultobj;
11464 fail:
11465 return NULL;
11466 }
11467
11468
11469 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11470 PyObject *resultobj = 0;
11471 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11472 int result;
11473 void *argp1 = 0 ;
11474 int res1 = 0 ;
11475 PyObject *swig_obj[1] ;
11476
11477 if (!args) SWIG_fail;
11478 swig_obj[0] = args;
11479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11480 if (!SWIG_IsOK(res1)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11482 }
11483 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_From_int(static_cast< int >(result));
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj = 0;
11499 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11500 int arg2 ;
11501 void *argp1 = 0 ;
11502 int res1 = 0 ;
11503 int val2 ;
11504 int ecode2 = 0 ;
11505 PyObject * obj0 = 0 ;
11506 PyObject * obj1 = 0 ;
11507 char * kwnames[] = {
11508 (char *) "self",(char *) "max", NULL
11509 };
11510
11511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11513 if (!SWIG_IsOK(res1)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11515 }
11516 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11517 ecode2 = SWIG_AsVal_int(obj1, &val2);
11518 if (!SWIG_IsOK(ecode2)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11520 }
11521 arg2 = static_cast< int >(val2);
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 (arg1)->SetMaximumSizeX(arg2);
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_Py_Void();
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj = 0;
11537 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11538 int arg2 ;
11539 void *argp1 = 0 ;
11540 int res1 = 0 ;
11541 int val2 ;
11542 int ecode2 = 0 ;
11543 PyObject * obj0 = 0 ;
11544 PyObject * obj1 = 0 ;
11545 char * kwnames[] = {
11546 (char *) "self",(char *) "max", NULL
11547 };
11548
11549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11551 if (!SWIG_IsOK(res1)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11553 }
11554 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11555 ecode2 = SWIG_AsVal_int(obj1, &val2);
11556 if (!SWIG_IsOK(ecode2)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11558 }
11559 arg2 = static_cast< int >(val2);
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 (arg1)->SetMaximumSizeY(arg2);
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 resultobj = SWIG_Py_Void();
11567 return resultobj;
11568 fail:
11569 return NULL;
11570 }
11571
11572
11573 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11574 PyObject *resultobj = 0;
11575 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11576 int result;
11577 void *argp1 = 0 ;
11578 int res1 = 0 ;
11579 PyObject *swig_obj[1] ;
11580
11581 if (!args) SWIG_fail;
11582 swig_obj[0] = args;
11583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11584 if (!SWIG_IsOK(res1)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11586 }
11587 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 resultobj = SWIG_From_int(static_cast< int >(result));
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11602 PyObject *resultobj = 0;
11603 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11604 int result;
11605 void *argp1 = 0 ;
11606 int res1 = 0 ;
11607 PyObject *swig_obj[1] ;
11608
11609 if (!args) SWIG_fail;
11610 swig_obj[0] = args;
11611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11612 if (!SWIG_IsOK(res1)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11614 }
11615 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 resultobj = SWIG_From_int(static_cast< int >(result));
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj = 0;
11631 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11632 int arg2 ;
11633 int arg3 ;
11634 int arg4 = (int) 2 ;
11635 wxSashEdgePosition result;
11636 void *argp1 = 0 ;
11637 int res1 = 0 ;
11638 int val2 ;
11639 int ecode2 = 0 ;
11640 int val3 ;
11641 int ecode3 = 0 ;
11642 int val4 ;
11643 int ecode4 = 0 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 PyObject * obj2 = 0 ;
11647 PyObject * obj3 = 0 ;
11648 char * kwnames[] = {
11649 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11650 };
11651
11652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11654 if (!SWIG_IsOK(res1)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11656 }
11657 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11658 ecode2 = SWIG_AsVal_int(obj1, &val2);
11659 if (!SWIG_IsOK(ecode2)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11661 }
11662 arg2 = static_cast< int >(val2);
11663 ecode3 = SWIG_AsVal_int(obj2, &val3);
11664 if (!SWIG_IsOK(ecode3)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11666 }
11667 arg3 = static_cast< int >(val3);
11668 if (obj3) {
11669 ecode4 = SWIG_AsVal_int(obj3, &val4);
11670 if (!SWIG_IsOK(ecode4)) {
11671 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11672 }
11673 arg4 = static_cast< int >(val4);
11674 }
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 resultobj = SWIG_From_int(static_cast< int >(result));
11682 return resultobj;
11683 fail:
11684 return NULL;
11685 }
11686
11687
11688 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11689 PyObject *resultobj = 0;
11690 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11691 void *argp1 = 0 ;
11692 int res1 = 0 ;
11693 PyObject *swig_obj[1] ;
11694
11695 if (!args) SWIG_fail;
11696 swig_obj[0] = args;
11697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11700 }
11701 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->SizeWindows();
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = SWIG_Py_Void();
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11716 PyObject *obj;
11717 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11718 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11719 return SWIG_Py_Void();
11720 }
11721
11722 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11723 return SWIG_Python_InitShadowInstance(args);
11724 }
11725
11726 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj = 0;
11728 int arg1 = (int) 0 ;
11729 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11730 wxSashEvent *result = 0 ;
11731 int val1 ;
11732 int ecode1 = 0 ;
11733 int val2 ;
11734 int ecode2 = 0 ;
11735 PyObject * obj0 = 0 ;
11736 PyObject * obj1 = 0 ;
11737 char * kwnames[] = {
11738 (char *) "id",(char *) "edge", NULL
11739 };
11740
11741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11742 if (obj0) {
11743 ecode1 = SWIG_AsVal_int(obj0, &val1);
11744 if (!SWIG_IsOK(ecode1)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11746 }
11747 arg1 = static_cast< int >(val1);
11748 }
11749 if (obj1) {
11750 ecode2 = SWIG_AsVal_int(obj1, &val2);
11751 if (!SWIG_IsOK(ecode2)) {
11752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11753 }
11754 arg2 = static_cast< wxSashEdgePosition >(val2);
11755 }
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11763 return resultobj;
11764 fail:
11765 return NULL;
11766 }
11767
11768
11769 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11770 PyObject *resultobj = 0;
11771 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11772 wxSashEdgePosition arg2 ;
11773 void *argp1 = 0 ;
11774 int res1 = 0 ;
11775 int val2 ;
11776 int ecode2 = 0 ;
11777 PyObject * obj0 = 0 ;
11778 PyObject * obj1 = 0 ;
11779 char * kwnames[] = {
11780 (char *) "self",(char *) "edge", NULL
11781 };
11782
11783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11785 if (!SWIG_IsOK(res1)) {
11786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11787 }
11788 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11789 ecode2 = SWIG_AsVal_int(obj1, &val2);
11790 if (!SWIG_IsOK(ecode2)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11792 }
11793 arg2 = static_cast< wxSashEdgePosition >(val2);
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 (arg1)->SetEdge(arg2);
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
11800 resultobj = SWIG_Py_Void();
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11808 PyObject *resultobj = 0;
11809 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11810 wxSashEdgePosition result;
11811 void *argp1 = 0 ;
11812 int res1 = 0 ;
11813 PyObject *swig_obj[1] ;
11814
11815 if (!args) SWIG_fail;
11816 swig_obj[0] = args;
11817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11818 if (!SWIG_IsOK(res1)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11820 }
11821 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 resultobj = SWIG_From_int(static_cast< int >(result));
11829 return resultobj;
11830 fail:
11831 return NULL;
11832 }
11833
11834
11835 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj = 0;
11837 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11838 wxRect *arg2 = 0 ;
11839 void *argp1 = 0 ;
11840 int res1 = 0 ;
11841 wxRect temp2 ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char * kwnames[] = {
11845 (char *) "self",(char *) "rect", NULL
11846 };
11847
11848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11850 if (!SWIG_IsOK(res1)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11852 }
11853 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11854 {
11855 arg2 = &temp2;
11856 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11857 }
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 (arg1)->SetDragRect((wxRect const &)*arg2);
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_Py_Void();
11865 return resultobj;
11866 fail:
11867 return NULL;
11868 }
11869
11870
11871 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11872 PyObject *resultobj = 0;
11873 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11874 wxRect result;
11875 void *argp1 = 0 ;
11876 int res1 = 0 ;
11877 PyObject *swig_obj[1] ;
11878
11879 if (!args) SWIG_fail;
11880 swig_obj[0] = args;
11881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11884 }
11885 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = ((wxSashEvent const *)arg1)->GetDragRect();
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj = 0;
11901 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11902 wxSashDragStatus arg2 ;
11903 void *argp1 = 0 ;
11904 int res1 = 0 ;
11905 int val2 ;
11906 int ecode2 = 0 ;
11907 PyObject * obj0 = 0 ;
11908 PyObject * obj1 = 0 ;
11909 char * kwnames[] = {
11910 (char *) "self",(char *) "status", NULL
11911 };
11912
11913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11915 if (!SWIG_IsOK(res1)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11917 }
11918 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11919 ecode2 = SWIG_AsVal_int(obj1, &val2);
11920 if (!SWIG_IsOK(ecode2)) {
11921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11922 }
11923 arg2 = static_cast< wxSashDragStatus >(val2);
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->SetDragStatus(arg2);
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 resultobj = SWIG_Py_Void();
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11938 PyObject *resultobj = 0;
11939 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11940 wxSashDragStatus result;
11941 void *argp1 = 0 ;
11942 int res1 = 0 ;
11943 PyObject *swig_obj[1] ;
11944
11945 if (!args) SWIG_fail;
11946 swig_obj[0] = args;
11947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11948 if (!SWIG_IsOK(res1)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11950 }
11951 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 resultobj = SWIG_From_int(static_cast< int >(result));
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11966 PyObject *obj;
11967 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11969 return SWIG_Py_Void();
11970 }
11971
11972 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11973 return SWIG_Python_InitShadowInstance(args);
11974 }
11975
11976 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11977 PyObject *resultobj = 0;
11978 int arg1 = (int) 0 ;
11979 wxQueryLayoutInfoEvent *result = 0 ;
11980 int val1 ;
11981 int ecode1 = 0 ;
11982 PyObject * obj0 = 0 ;
11983 char * kwnames[] = {
11984 (char *) "id", NULL
11985 };
11986
11987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11988 if (obj0) {
11989 ecode1 = SWIG_AsVal_int(obj0, &val1);
11990 if (!SWIG_IsOK(ecode1)) {
11991 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11992 }
11993 arg1 = static_cast< int >(val1);
11994 }
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12002 return resultobj;
12003 fail:
12004 return NULL;
12005 }
12006
12007
12008 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12009 PyObject *resultobj = 0;
12010 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12011 int arg2 ;
12012 void *argp1 = 0 ;
12013 int res1 = 0 ;
12014 int val2 ;
12015 int ecode2 = 0 ;
12016 PyObject * obj0 = 0 ;
12017 PyObject * obj1 = 0 ;
12018 char * kwnames[] = {
12019 (char *) "self",(char *) "length", NULL
12020 };
12021
12022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12024 if (!SWIG_IsOK(res1)) {
12025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12026 }
12027 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12028 ecode2 = SWIG_AsVal_int(obj1, &val2);
12029 if (!SWIG_IsOK(ecode2)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12031 }
12032 arg2 = static_cast< int >(val2);
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 (arg1)->SetRequestedLength(arg2);
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 resultobj = SWIG_Py_Void();
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12047 PyObject *resultobj = 0;
12048 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12049 int result;
12050 void *argp1 = 0 ;
12051 int res1 = 0 ;
12052 PyObject *swig_obj[1] ;
12053
12054 if (!args) SWIG_fail;
12055 swig_obj[0] = args;
12056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12057 if (!SWIG_IsOK(res1)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12059 }
12060 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = SWIG_From_int(static_cast< int >(result));
12068 return resultobj;
12069 fail:
12070 return NULL;
12071 }
12072
12073
12074 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj = 0;
12076 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12077 int arg2 ;
12078 void *argp1 = 0 ;
12079 int res1 = 0 ;
12080 int val2 ;
12081 int ecode2 = 0 ;
12082 PyObject * obj0 = 0 ;
12083 PyObject * obj1 = 0 ;
12084 char * kwnames[] = {
12085 (char *) "self",(char *) "flags", NULL
12086 };
12087
12088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12090 if (!SWIG_IsOK(res1)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12092 }
12093 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12094 ecode2 = SWIG_AsVal_int(obj1, &val2);
12095 if (!SWIG_IsOK(ecode2)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12097 }
12098 arg2 = static_cast< int >(val2);
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 (arg1)->SetFlags(arg2);
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 resultobj = SWIG_Py_Void();
12106 return resultobj;
12107 fail:
12108 return NULL;
12109 }
12110
12111
12112 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12113 PyObject *resultobj = 0;
12114 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12115 int result;
12116 void *argp1 = 0 ;
12117 int res1 = 0 ;
12118 PyObject *swig_obj[1] ;
12119
12120 if (!args) SWIG_fail;
12121 swig_obj[0] = args;
12122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12123 if (!SWIG_IsOK(res1)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12125 }
12126 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = SWIG_From_int(static_cast< int >(result));
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj = 0;
12142 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12143 wxSize *arg2 = 0 ;
12144 void *argp1 = 0 ;
12145 int res1 = 0 ;
12146 wxSize temp2 ;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char * kwnames[] = {
12150 (char *) "self",(char *) "size", NULL
12151 };
12152
12153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12155 if (!SWIG_IsOK(res1)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12157 }
12158 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12159 {
12160 arg2 = &temp2;
12161 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12162 }
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 (arg1)->SetSize((wxSize const &)*arg2);
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 resultobj = SWIG_Py_Void();
12170 return resultobj;
12171 fail:
12172 return NULL;
12173 }
12174
12175
12176 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12177 PyObject *resultobj = 0;
12178 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12179 wxSize result;
12180 void *argp1 = 0 ;
12181 int res1 = 0 ;
12182 PyObject *swig_obj[1] ;
12183
12184 if (!args) SWIG_fail;
12185 swig_obj[0] = args;
12186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12187 if (!SWIG_IsOK(res1)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12189 }
12190 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj = 0;
12206 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12207 wxLayoutOrientation arg2 ;
12208 void *argp1 = 0 ;
12209 int res1 = 0 ;
12210 int val2 ;
12211 int ecode2 = 0 ;
12212 PyObject * obj0 = 0 ;
12213 PyObject * obj1 = 0 ;
12214 char * kwnames[] = {
12215 (char *) "self",(char *) "orient", NULL
12216 };
12217
12218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12222 }
12223 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12224 ecode2 = SWIG_AsVal_int(obj1, &val2);
12225 if (!SWIG_IsOK(ecode2)) {
12226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12227 }
12228 arg2 = static_cast< wxLayoutOrientation >(val2);
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 (arg1)->SetOrientation(arg2);
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 resultobj = SWIG_Py_Void();
12236 return resultobj;
12237 fail:
12238 return NULL;
12239 }
12240
12241
12242 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12243 PyObject *resultobj = 0;
12244 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12245 wxLayoutOrientation result;
12246 void *argp1 = 0 ;
12247 int res1 = 0 ;
12248 PyObject *swig_obj[1] ;
12249
12250 if (!args) SWIG_fail;
12251 swig_obj[0] = args;
12252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12255 }
12256 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 resultobj = SWIG_From_int(static_cast< int >(result));
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj = 0;
12272 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12273 wxLayoutAlignment arg2 ;
12274 void *argp1 = 0 ;
12275 int res1 = 0 ;
12276 int val2 ;
12277 int ecode2 = 0 ;
12278 PyObject * obj0 = 0 ;
12279 PyObject * obj1 = 0 ;
12280 char * kwnames[] = {
12281 (char *) "self",(char *) "align", NULL
12282 };
12283
12284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12286 if (!SWIG_IsOK(res1)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12288 }
12289 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12290 ecode2 = SWIG_AsVal_int(obj1, &val2);
12291 if (!SWIG_IsOK(ecode2)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12293 }
12294 arg2 = static_cast< wxLayoutAlignment >(val2);
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 (arg1)->SetAlignment(arg2);
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 resultobj = SWIG_Py_Void();
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12309 PyObject *resultobj = 0;
12310 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12311 wxLayoutAlignment result;
12312 void *argp1 = 0 ;
12313 int res1 = 0 ;
12314 PyObject *swig_obj[1] ;
12315
12316 if (!args) SWIG_fail;
12317 swig_obj[0] = args;
12318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12319 if (!SWIG_IsOK(res1)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12321 }
12322 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 resultobj = SWIG_From_int(static_cast< int >(result));
12330 return resultobj;
12331 fail:
12332 return NULL;
12333 }
12334
12335
12336 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12337 PyObject *obj;
12338 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12339 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12340 return SWIG_Py_Void();
12341 }
12342
12343 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12344 return SWIG_Python_InitShadowInstance(args);
12345 }
12346
12347 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj = 0;
12349 int arg1 = (int) 0 ;
12350 wxCalculateLayoutEvent *result = 0 ;
12351 int val1 ;
12352 int ecode1 = 0 ;
12353 PyObject * obj0 = 0 ;
12354 char * kwnames[] = {
12355 (char *) "id", NULL
12356 };
12357
12358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12359 if (obj0) {
12360 ecode1 = SWIG_AsVal_int(obj0, &val1);
12361 if (!SWIG_IsOK(ecode1)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12363 }
12364 arg1 = static_cast< int >(val1);
12365 }
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj = 0;
12381 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12382 int arg2 ;
12383 void *argp1 = 0 ;
12384 int res1 = 0 ;
12385 int val2 ;
12386 int ecode2 = 0 ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 char * kwnames[] = {
12390 (char *) "self",(char *) "flags", NULL
12391 };
12392
12393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12395 if (!SWIG_IsOK(res1)) {
12396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12397 }
12398 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12399 ecode2 = SWIG_AsVal_int(obj1, &val2);
12400 if (!SWIG_IsOK(ecode2)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12402 }
12403 arg2 = static_cast< int >(val2);
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 (arg1)->SetFlags(arg2);
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 resultobj = SWIG_Py_Void();
12411 return resultobj;
12412 fail:
12413 return NULL;
12414 }
12415
12416
12417 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12418 PyObject *resultobj = 0;
12419 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12420 int result;
12421 void *argp1 = 0 ;
12422 int res1 = 0 ;
12423 PyObject *swig_obj[1] ;
12424
12425 if (!args) SWIG_fail;
12426 swig_obj[0] = args;
12427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12428 if (!SWIG_IsOK(res1)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12430 }
12431 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 resultobj = SWIG_From_int(static_cast< int >(result));
12439 return resultobj;
12440 fail:
12441 return NULL;
12442 }
12443
12444
12445 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj = 0;
12447 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12448 wxRect *arg2 = 0 ;
12449 void *argp1 = 0 ;
12450 int res1 = 0 ;
12451 wxRect temp2 ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 char * kwnames[] = {
12455 (char *) "self",(char *) "rect", NULL
12456 };
12457
12458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12460 if (!SWIG_IsOK(res1)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12462 }
12463 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12464 {
12465 arg2 = &temp2;
12466 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->SetRect((wxRect const &)*arg2);
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = SWIG_Py_Void();
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12482 PyObject *resultobj = 0;
12483 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12484 wxRect result;
12485 void *argp1 = 0 ;
12486 int res1 = 0 ;
12487 PyObject *swig_obj[1] ;
12488
12489 if (!args) SWIG_fail;
12490 swig_obj[0] = args;
12491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12492 if (!SWIG_IsOK(res1)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12494 }
12495 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12503 return resultobj;
12504 fail:
12505 return NULL;
12506 }
12507
12508
12509 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12510 PyObject *obj;
12511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12512 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12513 return SWIG_Py_Void();
12514 }
12515
12516 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12517 return SWIG_Python_InitShadowInstance(args);
12518 }
12519
12520 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj = 0;
12522 wxWindow *arg1 = (wxWindow *) 0 ;
12523 int arg2 = (int) -1 ;
12524 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12525 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12526 wxSize const &arg4_defvalue = wxDefaultSize ;
12527 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12528 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12529 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12530 wxString *arg6 = (wxString *) &arg6_defvalue ;
12531 wxSashLayoutWindow *result = 0 ;
12532 void *argp1 = 0 ;
12533 int res1 = 0 ;
12534 int val2 ;
12535 int ecode2 = 0 ;
12536 wxPoint temp3 ;
12537 wxSize temp4 ;
12538 long val5 ;
12539 int ecode5 = 0 ;
12540 bool temp6 = false ;
12541 PyObject * obj0 = 0 ;
12542 PyObject * obj1 = 0 ;
12543 PyObject * obj2 = 0 ;
12544 PyObject * obj3 = 0 ;
12545 PyObject * obj4 = 0 ;
12546 PyObject * obj5 = 0 ;
12547 char * kwnames[] = {
12548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12549 };
12550
12551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12553 if (!SWIG_IsOK(res1)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12555 }
12556 arg1 = reinterpret_cast< wxWindow * >(argp1);
12557 if (obj1) {
12558 ecode2 = SWIG_AsVal_int(obj1, &val2);
12559 if (!SWIG_IsOK(ecode2)) {
12560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12561 }
12562 arg2 = static_cast< int >(val2);
12563 }
12564 if (obj2) {
12565 {
12566 arg3 = &temp3;
12567 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12568 }
12569 }
12570 if (obj3) {
12571 {
12572 arg4 = &temp4;
12573 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12574 }
12575 }
12576 if (obj4) {
12577 ecode5 = SWIG_AsVal_long(obj4, &val5);
12578 if (!SWIG_IsOK(ecode5)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12580 }
12581 arg5 = static_cast< long >(val5);
12582 }
12583 if (obj5) {
12584 {
12585 arg6 = wxString_in_helper(obj5);
12586 if (arg6 == NULL) SWIG_fail;
12587 temp6 = true;
12588 }
12589 }
12590 {
12591 if (!wxPyCheckForApp()) SWIG_fail;
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12598 {
12599 if (temp6)
12600 delete arg6;
12601 }
12602 return resultobj;
12603 fail:
12604 {
12605 if (temp6)
12606 delete arg6;
12607 }
12608 return NULL;
12609 }
12610
12611
12612 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12613 PyObject *resultobj = 0;
12614 wxSashLayoutWindow *result = 0 ;
12615
12616 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12617 {
12618 if (!wxPyCheckForApp()) SWIG_fail;
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12625 return resultobj;
12626 fail:
12627 return NULL;
12628 }
12629
12630
12631 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12632 PyObject *resultobj = 0;
12633 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12634 wxWindow *arg2 = (wxWindow *) 0 ;
12635 int arg3 = (int) -1 ;
12636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12638 wxSize const &arg5_defvalue = wxDefaultSize ;
12639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12640 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12641 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12642 wxString *arg7 = (wxString *) &arg7_defvalue ;
12643 bool result;
12644 void *argp1 = 0 ;
12645 int res1 = 0 ;
12646 void *argp2 = 0 ;
12647 int res2 = 0 ;
12648 int val3 ;
12649 int ecode3 = 0 ;
12650 wxPoint temp4 ;
12651 wxSize temp5 ;
12652 long val6 ;
12653 int ecode6 = 0 ;
12654 bool temp7 = false ;
12655 PyObject * obj0 = 0 ;
12656 PyObject * obj1 = 0 ;
12657 PyObject * obj2 = 0 ;
12658 PyObject * obj3 = 0 ;
12659 PyObject * obj4 = 0 ;
12660 PyObject * obj5 = 0 ;
12661 PyObject * obj6 = 0 ;
12662 char * kwnames[] = {
12663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12664 };
12665
12666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12668 if (!SWIG_IsOK(res1)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12670 }
12671 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12673 if (!SWIG_IsOK(res2)) {
12674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12675 }
12676 arg2 = reinterpret_cast< wxWindow * >(argp2);
12677 if (obj2) {
12678 ecode3 = SWIG_AsVal_int(obj2, &val3);
12679 if (!SWIG_IsOK(ecode3)) {
12680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12681 }
12682 arg3 = static_cast< int >(val3);
12683 }
12684 if (obj3) {
12685 {
12686 arg4 = &temp4;
12687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12688 }
12689 }
12690 if (obj4) {
12691 {
12692 arg5 = &temp5;
12693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12694 }
12695 }
12696 if (obj5) {
12697 ecode6 = SWIG_AsVal_long(obj5, &val6);
12698 if (!SWIG_IsOK(ecode6)) {
12699 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12700 }
12701 arg6 = static_cast< long >(val6);
12702 }
12703 if (obj6) {
12704 {
12705 arg7 = wxString_in_helper(obj6);
12706 if (arg7 == NULL) SWIG_fail;
12707 temp7 = true;
12708 }
12709 }
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12713 wxPyEndAllowThreads(__tstate);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 {
12717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12718 }
12719 {
12720 if (temp7)
12721 delete arg7;
12722 }
12723 return resultobj;
12724 fail:
12725 {
12726 if (temp7)
12727 delete arg7;
12728 }
12729 return NULL;
12730 }
12731
12732
12733 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12734 PyObject *resultobj = 0;
12735 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12736 wxLayoutAlignment result;
12737 void *argp1 = 0 ;
12738 int res1 = 0 ;
12739 PyObject *swig_obj[1] ;
12740
12741 if (!args) SWIG_fail;
12742 swig_obj[0] = args;
12743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12744 if (!SWIG_IsOK(res1)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12746 }
12747 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 resultobj = SWIG_From_int(static_cast< int >(result));
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12762 PyObject *resultobj = 0;
12763 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12764 wxLayoutOrientation result;
12765 void *argp1 = 0 ;
12766 int res1 = 0 ;
12767 PyObject *swig_obj[1] ;
12768
12769 if (!args) SWIG_fail;
12770 swig_obj[0] = args;
12771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12772 if (!SWIG_IsOK(res1)) {
12773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12774 }
12775 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 resultobj = SWIG_From_int(static_cast< int >(result));
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj = 0;
12791 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12792 wxLayoutAlignment arg2 ;
12793 void *argp1 = 0 ;
12794 int res1 = 0 ;
12795 int val2 ;
12796 int ecode2 = 0 ;
12797 PyObject * obj0 = 0 ;
12798 PyObject * obj1 = 0 ;
12799 char * kwnames[] = {
12800 (char *) "self",(char *) "alignment", NULL
12801 };
12802
12803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12805 if (!SWIG_IsOK(res1)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12807 }
12808 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12809 ecode2 = SWIG_AsVal_int(obj1, &val2);
12810 if (!SWIG_IsOK(ecode2)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12812 }
12813 arg2 = static_cast< wxLayoutAlignment >(val2);
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 (arg1)->SetAlignment(arg2);
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = SWIG_Py_Void();
12821 return resultobj;
12822 fail:
12823 return NULL;
12824 }
12825
12826
12827 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12828 PyObject *resultobj = 0;
12829 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12830 wxSize *arg2 = 0 ;
12831 void *argp1 = 0 ;
12832 int res1 = 0 ;
12833 wxSize temp2 ;
12834 PyObject * obj0 = 0 ;
12835 PyObject * obj1 = 0 ;
12836 char * kwnames[] = {
12837 (char *) "self",(char *) "size", NULL
12838 };
12839
12840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12842 if (!SWIG_IsOK(res1)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12844 }
12845 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12846 {
12847 arg2 = &temp2;
12848 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12849 }
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 resultobj = SWIG_Py_Void();
12857 return resultobj;
12858 fail:
12859 return NULL;
12860 }
12861
12862
12863 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj = 0;
12865 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12866 wxLayoutOrientation arg2 ;
12867 void *argp1 = 0 ;
12868 int res1 = 0 ;
12869 int val2 ;
12870 int ecode2 = 0 ;
12871 PyObject * obj0 = 0 ;
12872 PyObject * obj1 = 0 ;
12873 char * kwnames[] = {
12874 (char *) "self",(char *) "orientation", NULL
12875 };
12876
12877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12879 if (!SWIG_IsOK(res1)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12881 }
12882 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12883 ecode2 = SWIG_AsVal_int(obj1, &val2);
12884 if (!SWIG_IsOK(ecode2)) {
12885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12886 }
12887 arg2 = static_cast< wxLayoutOrientation >(val2);
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 (arg1)->SetOrientation(arg2);
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 resultobj = SWIG_Py_Void();
12895 return resultobj;
12896 fail:
12897 return NULL;
12898 }
12899
12900
12901 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12902 PyObject *obj;
12903 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12904 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12905 return SWIG_Py_Void();
12906 }
12907
12908 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12909 return SWIG_Python_InitShadowInstance(args);
12910 }
12911
12912 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12913 PyObject *resultobj = 0;
12914 wxLayoutAlgorithm *result = 0 ;
12915
12916 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12931 PyObject *resultobj = 0;
12932 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12933 void *argp1 = 0 ;
12934 int res1 = 0 ;
12935 PyObject *swig_obj[1] ;
12936
12937 if (!args) SWIG_fail;
12938 swig_obj[0] = args;
12939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12940 if (!SWIG_IsOK(res1)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12942 }
12943 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 delete arg1;
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_Py_Void();
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj = 0;
12960 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12961 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12962 wxRect *arg3 = (wxRect *) NULL ;
12963 bool result;
12964 void *argp1 = 0 ;
12965 int res1 = 0 ;
12966 void *argp2 = 0 ;
12967 int res2 = 0 ;
12968 void *argp3 = 0 ;
12969 int res3 = 0 ;
12970 PyObject * obj0 = 0 ;
12971 PyObject * obj1 = 0 ;
12972 PyObject * obj2 = 0 ;
12973 char * kwnames[] = {
12974 (char *) "self",(char *) "frame",(char *) "rect", NULL
12975 };
12976
12977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12979 if (!SWIG_IsOK(res1)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12981 }
12982 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12983 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12984 if (!SWIG_IsOK(res2)) {
12985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12986 }
12987 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12988 if (obj2) {
12989 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12990 if (!SWIG_IsOK(res3)) {
12991 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12992 }
12993 arg3 = reinterpret_cast< wxRect * >(argp3);
12994 }
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 {
13002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13003 }
13004 return resultobj;
13005 fail:
13006 return NULL;
13007 }
13008
13009
13010 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13011 PyObject *resultobj = 0;
13012 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13013 wxFrame *arg2 = (wxFrame *) 0 ;
13014 wxWindow *arg3 = (wxWindow *) NULL ;
13015 bool result;
13016 void *argp1 = 0 ;
13017 int res1 = 0 ;
13018 void *argp2 = 0 ;
13019 int res2 = 0 ;
13020 void *argp3 = 0 ;
13021 int res3 = 0 ;
13022 PyObject * obj0 = 0 ;
13023 PyObject * obj1 = 0 ;
13024 PyObject * obj2 = 0 ;
13025 char * kwnames[] = {
13026 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13027 };
13028
13029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13031 if (!SWIG_IsOK(res1)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13033 }
13034 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13036 if (!SWIG_IsOK(res2)) {
13037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13038 }
13039 arg2 = reinterpret_cast< wxFrame * >(argp2);
13040 if (obj2) {
13041 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13042 if (!SWIG_IsOK(res3)) {
13043 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13044 }
13045 arg3 = reinterpret_cast< wxWindow * >(argp3);
13046 }
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 {
13054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13055 }
13056 return resultobj;
13057 fail:
13058 return NULL;
13059 }
13060
13061
13062 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj = 0;
13064 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13065 wxWindow *arg2 = (wxWindow *) 0 ;
13066 wxWindow *arg3 = (wxWindow *) NULL ;
13067 bool result;
13068 void *argp1 = 0 ;
13069 int res1 = 0 ;
13070 void *argp2 = 0 ;
13071 int res2 = 0 ;
13072 void *argp3 = 0 ;
13073 int res3 = 0 ;
13074 PyObject * obj0 = 0 ;
13075 PyObject * obj1 = 0 ;
13076 PyObject * obj2 = 0 ;
13077 char * kwnames[] = {
13078 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13079 };
13080
13081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13083 if (!SWIG_IsOK(res1)) {
13084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13085 }
13086 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13087 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13088 if (!SWIG_IsOK(res2)) {
13089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13090 }
13091 arg2 = reinterpret_cast< wxWindow * >(argp2);
13092 if (obj2) {
13093 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13094 if (!SWIG_IsOK(res3)) {
13095 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13096 }
13097 arg3 = reinterpret_cast< wxWindow * >(argp3);
13098 }
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 {
13106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13115 PyObject *obj;
13116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13117 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13118 return SWIG_Py_Void();
13119 }
13120
13121 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13122 return SWIG_Python_InitShadowInstance(args);
13123 }
13124
13125 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj = 0;
13127 wxWindow *arg1 = (wxWindow *) 0 ;
13128 int arg2 = (int) wxBORDER_NONE ;
13129 wxPopupWindow *result = 0 ;
13130 void *argp1 = 0 ;
13131 int res1 = 0 ;
13132 int val2 ;
13133 int ecode2 = 0 ;
13134 PyObject * obj0 = 0 ;
13135 PyObject * obj1 = 0 ;
13136 char * kwnames[] = {
13137 (char *) "parent",(char *) "flags", NULL
13138 };
13139
13140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13142 if (!SWIG_IsOK(res1)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13144 }
13145 arg1 = reinterpret_cast< wxWindow * >(argp1);
13146 if (obj1) {
13147 ecode2 = SWIG_AsVal_int(obj1, &val2);
13148 if (!SWIG_IsOK(ecode2)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13150 }
13151 arg2 = static_cast< int >(val2);
13152 }
13153 {
13154 if (!wxPyCheckForApp()) SWIG_fail;
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13168 PyObject *resultobj = 0;
13169 wxPopupWindow *result = 0 ;
13170
13171 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13172 {
13173 if (!wxPyCheckForApp()) SWIG_fail;
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (wxPopupWindow *)new wxPopupWindow();
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13180 return resultobj;
13181 fail:
13182 return NULL;
13183 }
13184
13185
13186 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj = 0;
13188 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13189 wxWindow *arg2 = (wxWindow *) 0 ;
13190 int arg3 = (int) wxBORDER_NONE ;
13191 bool result;
13192 void *argp1 = 0 ;
13193 int res1 = 0 ;
13194 void *argp2 = 0 ;
13195 int res2 = 0 ;
13196 int val3 ;
13197 int ecode3 = 0 ;
13198 PyObject * obj0 = 0 ;
13199 PyObject * obj1 = 0 ;
13200 PyObject * obj2 = 0 ;
13201 char * kwnames[] = {
13202 (char *) "self",(char *) "parent",(char *) "flags", NULL
13203 };
13204
13205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13207 if (!SWIG_IsOK(res1)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13209 }
13210 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13211 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13212 if (!SWIG_IsOK(res2)) {
13213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13214 }
13215 arg2 = reinterpret_cast< wxWindow * >(argp2);
13216 if (obj2) {
13217 ecode3 = SWIG_AsVal_int(obj2, &val3);
13218 if (!SWIG_IsOK(ecode3)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13220 }
13221 arg3 = static_cast< int >(val3);
13222 }
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 result = (bool)(arg1)->Create(arg2,arg3);
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 {
13230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13231 }
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj = 0;
13240 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13241 wxPoint *arg2 = 0 ;
13242 wxSize *arg3 = 0 ;
13243 void *argp1 = 0 ;
13244 int res1 = 0 ;
13245 wxPoint temp2 ;
13246 wxSize temp3 ;
13247 PyObject * obj0 = 0 ;
13248 PyObject * obj1 = 0 ;
13249 PyObject * obj2 = 0 ;
13250 char * kwnames[] = {
13251 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13252 };
13253
13254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13256 if (!SWIG_IsOK(res1)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13258 }
13259 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13260 {
13261 arg2 = &temp2;
13262 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13263 }
13264 {
13265 arg3 = &temp3;
13266 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13267 }
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = SWIG_Py_Void();
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13282 PyObject *obj;
13283 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13285 return SWIG_Py_Void();
13286 }
13287
13288 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13289 return SWIG_Python_InitShadowInstance(args);
13290 }
13291
13292 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj = 0;
13294 wxWindow *arg1 = (wxWindow *) 0 ;
13295 int arg2 = (int) wxBORDER_NONE ;
13296 wxPyPopupTransientWindow *result = 0 ;
13297 void *argp1 = 0 ;
13298 int res1 = 0 ;
13299 int val2 ;
13300 int ecode2 = 0 ;
13301 PyObject * obj0 = 0 ;
13302 PyObject * obj1 = 0 ;
13303 char * kwnames[] = {
13304 (char *) "parent",(char *) "style", NULL
13305 };
13306
13307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13309 if (!SWIG_IsOK(res1)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13311 }
13312 arg1 = reinterpret_cast< wxWindow * >(argp1);
13313 if (obj1) {
13314 ecode2 = SWIG_AsVal_int(obj1, &val2);
13315 if (!SWIG_IsOK(ecode2)) {
13316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13317 }
13318 arg2 = static_cast< int >(val2);
13319 }
13320 {
13321 if (!wxPyCheckForApp()) SWIG_fail;
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13328 return resultobj;
13329 fail:
13330 return NULL;
13331 }
13332
13333
13334 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13335 PyObject *resultobj = 0;
13336 wxPyPopupTransientWindow *result = 0 ;
13337
13338 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13339 {
13340 if (!wxPyCheckForApp()) SWIG_fail;
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj = 0;
13355 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13356 PyObject *arg2 = (PyObject *) 0 ;
13357 PyObject *arg3 = (PyObject *) 0 ;
13358 void *argp1 = 0 ;
13359 int res1 = 0 ;
13360 PyObject * obj0 = 0 ;
13361 PyObject * obj1 = 0 ;
13362 PyObject * obj2 = 0 ;
13363 char * kwnames[] = {
13364 (char *) "self",(char *) "self",(char *) "_class", NULL
13365 };
13366
13367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13369 if (!SWIG_IsOK(res1)) {
13370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13371 }
13372 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13373 arg2 = obj1;
13374 arg3 = obj2;
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 (arg1)->_setCallbackInfo(arg2,arg3);
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 resultobj = SWIG_Py_Void();
13382 return resultobj;
13383 fail:
13384 return NULL;
13385 }
13386
13387
13388 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13389 PyObject *resultobj = 0;
13390 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13391 wxWindow *arg2 = (wxWindow *) NULL ;
13392 void *argp1 = 0 ;
13393 int res1 = 0 ;
13394 void *argp2 = 0 ;
13395 int res2 = 0 ;
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
13398 char * kwnames[] = {
13399 (char *) "self",(char *) "focus", NULL
13400 };
13401
13402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13404 if (!SWIG_IsOK(res1)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13406 }
13407 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13408 if (obj1) {
13409 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13410 if (!SWIG_IsOK(res2)) {
13411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13412 }
13413 arg2 = reinterpret_cast< wxWindow * >(argp2);
13414 }
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 (arg1)->Popup(arg2);
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 resultobj = SWIG_Py_Void();
13422 return resultobj;
13423 fail:
13424 return NULL;
13425 }
13426
13427
13428 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13429 PyObject *resultobj = 0;
13430 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13431 void *argp1 = 0 ;
13432 int res1 = 0 ;
13433 PyObject *swig_obj[1] ;
13434
13435 if (!args) SWIG_fail;
13436 swig_obj[0] = args;
13437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13438 if (!SWIG_IsOK(res1)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13440 }
13441 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 (arg1)->Dismiss();
13445 wxPyEndAllowThreads(__tstate);
13446 if (PyErr_Occurred()) SWIG_fail;
13447 }
13448 resultobj = SWIG_Py_Void();
13449 return resultobj;
13450 fail:
13451 return NULL;
13452 }
13453
13454
13455 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13456 PyObject *obj;
13457 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13458 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13459 return SWIG_Py_Void();
13460 }
13461
13462 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13463 return SWIG_Python_InitShadowInstance(args);
13464 }
13465
13466 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj = 0;
13468 wxWindow *arg1 = (wxWindow *) 0 ;
13469 wxString *arg2 = 0 ;
13470 int arg3 = (int) 100 ;
13471 wxRect *arg4 = (wxRect *) NULL ;
13472 wxTipWindow *result = 0 ;
13473 void *argp1 = 0 ;
13474 int res1 = 0 ;
13475 bool temp2 = false ;
13476 int val3 ;
13477 int ecode3 = 0 ;
13478 void *argp4 = 0 ;
13479 int res4 = 0 ;
13480 PyObject * obj0 = 0 ;
13481 PyObject * obj1 = 0 ;
13482 PyObject * obj2 = 0 ;
13483 PyObject * obj3 = 0 ;
13484 char * kwnames[] = {
13485 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13486 };
13487
13488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13490 if (!SWIG_IsOK(res1)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13492 }
13493 arg1 = reinterpret_cast< wxWindow * >(argp1);
13494 {
13495 arg2 = wxString_in_helper(obj1);
13496 if (arg2 == NULL) SWIG_fail;
13497 temp2 = true;
13498 }
13499 if (obj2) {
13500 ecode3 = SWIG_AsVal_int(obj2, &val3);
13501 if (!SWIG_IsOK(ecode3)) {
13502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13503 }
13504 arg3 = static_cast< int >(val3);
13505 }
13506 if (obj3) {
13507 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13508 if (!SWIG_IsOK(res4)) {
13509 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13510 }
13511 arg4 = reinterpret_cast< wxRect * >(argp4);
13512 }
13513 {
13514 if (!wxPyCheckForApp()) SWIG_fail;
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13521 {
13522 if (temp2)
13523 delete arg2;
13524 }
13525 return resultobj;
13526 fail:
13527 {
13528 if (temp2)
13529 delete arg2;
13530 }
13531 return NULL;
13532 }
13533
13534
13535 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj = 0;
13537 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13538 wxRect *arg2 = 0 ;
13539 void *argp1 = 0 ;
13540 int res1 = 0 ;
13541 wxRect temp2 ;
13542 PyObject * obj0 = 0 ;
13543 PyObject * obj1 = 0 ;
13544 char * kwnames[] = {
13545 (char *) "self",(char *) "rectBound", NULL
13546 };
13547
13548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13550 if (!SWIG_IsOK(res1)) {
13551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13552 }
13553 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13554 {
13555 arg2 = &temp2;
13556 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13557 }
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 resultobj = SWIG_Py_Void();
13565 return resultobj;
13566 fail:
13567 return NULL;
13568 }
13569
13570
13571 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13572 PyObject *resultobj = 0;
13573 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13574 void *argp1 = 0 ;
13575 int res1 = 0 ;
13576 PyObject *swig_obj[1] ;
13577
13578 if (!args) SWIG_fail;
13579 swig_obj[0] = args;
13580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13581 if (!SWIG_IsOK(res1)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13583 }
13584 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 (arg1)->Close();
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = SWIG_Py_Void();
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13599 PyObject *obj;
13600 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13601 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13602 return SWIG_Py_Void();
13603 }
13604
13605 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13606 return SWIG_Python_InitShadowInstance(args);
13607 }
13608
13609 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj = 0;
13611 wxWindow *arg1 = (wxWindow *) 0 ;
13612 int arg2 = (int) wxID_ANY ;
13613 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13614 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13615 wxSize const &arg4_defvalue = wxDefaultSize ;
13616 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13617 long arg5 = (long) 0 ;
13618 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13619 wxString *arg6 = (wxString *) &arg6_defvalue ;
13620 wxPyVScrolledWindow *result = 0 ;
13621 void *argp1 = 0 ;
13622 int res1 = 0 ;
13623 int val2 ;
13624 int ecode2 = 0 ;
13625 wxPoint temp3 ;
13626 wxSize temp4 ;
13627 long val5 ;
13628 int ecode5 = 0 ;
13629 bool temp6 = false ;
13630 PyObject * obj0 = 0 ;
13631 PyObject * obj1 = 0 ;
13632 PyObject * obj2 = 0 ;
13633 PyObject * obj3 = 0 ;
13634 PyObject * obj4 = 0 ;
13635 PyObject * obj5 = 0 ;
13636 char * kwnames[] = {
13637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13638 };
13639
13640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13642 if (!SWIG_IsOK(res1)) {
13643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13644 }
13645 arg1 = reinterpret_cast< wxWindow * >(argp1);
13646 if (obj1) {
13647 ecode2 = SWIG_AsVal_int(obj1, &val2);
13648 if (!SWIG_IsOK(ecode2)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13650 }
13651 arg2 = static_cast< int >(val2);
13652 }
13653 if (obj2) {
13654 {
13655 arg3 = &temp3;
13656 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13657 }
13658 }
13659 if (obj3) {
13660 {
13661 arg4 = &temp4;
13662 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13663 }
13664 }
13665 if (obj4) {
13666 ecode5 = SWIG_AsVal_long(obj4, &val5);
13667 if (!SWIG_IsOK(ecode5)) {
13668 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13669 }
13670 arg5 = static_cast< long >(val5);
13671 }
13672 if (obj5) {
13673 {
13674 arg6 = wxString_in_helper(obj5);
13675 if (arg6 == NULL) SWIG_fail;
13676 temp6 = true;
13677 }
13678 }
13679 {
13680 if (!wxPyCheckForApp()) SWIG_fail;
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13687 {
13688 if (temp6)
13689 delete arg6;
13690 }
13691 return resultobj;
13692 fail:
13693 {
13694 if (temp6)
13695 delete arg6;
13696 }
13697 return NULL;
13698 }
13699
13700
13701 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13702 PyObject *resultobj = 0;
13703 wxPyVScrolledWindow *result = 0 ;
13704
13705 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13706 {
13707 if (!wxPyCheckForApp()) SWIG_fail;
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13714 return resultobj;
13715 fail:
13716 return NULL;
13717 }
13718
13719
13720 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj = 0;
13722 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13723 PyObject *arg2 = (PyObject *) 0 ;
13724 PyObject *arg3 = (PyObject *) 0 ;
13725 void *argp1 = 0 ;
13726 int res1 = 0 ;
13727 PyObject * obj0 = 0 ;
13728 PyObject * obj1 = 0 ;
13729 PyObject * obj2 = 0 ;
13730 char * kwnames[] = {
13731 (char *) "self",(char *) "self",(char *) "_class", NULL
13732 };
13733
13734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13736 if (!SWIG_IsOK(res1)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13738 }
13739 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13740 arg2 = obj1;
13741 arg3 = obj2;
13742 {
13743 PyThreadState* __tstate = wxPyBeginAllowThreads();
13744 (arg1)->_setCallbackInfo(arg2,arg3);
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 resultobj = SWIG_Py_Void();
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj = 0;
13757 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13758 wxWindow *arg2 = (wxWindow *) 0 ;
13759 int arg3 = (int) wxID_ANY ;
13760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13762 wxSize const &arg5_defvalue = wxDefaultSize ;
13763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13764 long arg6 = (long) 0 ;
13765 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13766 wxString *arg7 = (wxString *) &arg7_defvalue ;
13767 bool result;
13768 void *argp1 = 0 ;
13769 int res1 = 0 ;
13770 void *argp2 = 0 ;
13771 int res2 = 0 ;
13772 int val3 ;
13773 int ecode3 = 0 ;
13774 wxPoint temp4 ;
13775 wxSize temp5 ;
13776 long val6 ;
13777 int ecode6 = 0 ;
13778 bool temp7 = false ;
13779 PyObject * obj0 = 0 ;
13780 PyObject * obj1 = 0 ;
13781 PyObject * obj2 = 0 ;
13782 PyObject * obj3 = 0 ;
13783 PyObject * obj4 = 0 ;
13784 PyObject * obj5 = 0 ;
13785 PyObject * obj6 = 0 ;
13786 char * kwnames[] = {
13787 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13788 };
13789
13790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13794 }
13795 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13797 if (!SWIG_IsOK(res2)) {
13798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13799 }
13800 arg2 = reinterpret_cast< wxWindow * >(argp2);
13801 if (obj2) {
13802 ecode3 = SWIG_AsVal_int(obj2, &val3);
13803 if (!SWIG_IsOK(ecode3)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13805 }
13806 arg3 = static_cast< int >(val3);
13807 }
13808 if (obj3) {
13809 {
13810 arg4 = &temp4;
13811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13812 }
13813 }
13814 if (obj4) {
13815 {
13816 arg5 = &temp5;
13817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13818 }
13819 }
13820 if (obj5) {
13821 ecode6 = SWIG_AsVal_long(obj5, &val6);
13822 if (!SWIG_IsOK(ecode6)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13824 }
13825 arg6 = static_cast< long >(val6);
13826 }
13827 if (obj6) {
13828 {
13829 arg7 = wxString_in_helper(obj6);
13830 if (arg7 == NULL) SWIG_fail;
13831 temp7 = true;
13832 }
13833 }
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 {
13841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13842 }
13843 {
13844 if (temp7)
13845 delete arg7;
13846 }
13847 return resultobj;
13848 fail:
13849 {
13850 if (temp7)
13851 delete arg7;
13852 }
13853 return NULL;
13854 }
13855
13856
13857 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj = 0;
13859 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13860 size_t arg2 ;
13861 void *argp1 = 0 ;
13862 int res1 = 0 ;
13863 size_t val2 ;
13864 int ecode2 = 0 ;
13865 PyObject * obj0 = 0 ;
13866 PyObject * obj1 = 0 ;
13867 char * kwnames[] = {
13868 (char *) "self",(char *) "count", NULL
13869 };
13870
13871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13873 if (!SWIG_IsOK(res1)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13875 }
13876 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13877 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13878 if (!SWIG_IsOK(ecode2)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13880 }
13881 arg2 = static_cast< size_t >(val2);
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 (arg1)->SetLineCount(arg2);
13885 wxPyEndAllowThreads(__tstate);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 resultobj = SWIG_Py_Void();
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj = 0;
13897 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13898 size_t arg2 ;
13899 bool result;
13900 void *argp1 = 0 ;
13901 int res1 = 0 ;
13902 size_t val2 ;
13903 int ecode2 = 0 ;
13904 PyObject * obj0 = 0 ;
13905 PyObject * obj1 = 0 ;
13906 char * kwnames[] = {
13907 (char *) "self",(char *) "line", NULL
13908 };
13909
13910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13912 if (!SWIG_IsOK(res1)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13914 }
13915 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13916 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13917 if (!SWIG_IsOK(ecode2)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13919 }
13920 arg2 = static_cast< size_t >(val2);
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 result = (bool)(arg1)->ScrollToLine(arg2);
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 {
13928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13929 }
13930 return resultobj;
13931 fail:
13932 return NULL;
13933 }
13934
13935
13936 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13937 PyObject *resultobj = 0;
13938 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13939 size_t arg2 ;
13940 void *argp1 = 0 ;
13941 int res1 = 0 ;
13942 size_t val2 ;
13943 int ecode2 = 0 ;
13944 PyObject * obj0 = 0 ;
13945 PyObject * obj1 = 0 ;
13946 char * kwnames[] = {
13947 (char *) "self",(char *) "line", NULL
13948 };
13949
13950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13952 if (!SWIG_IsOK(res1)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13954 }
13955 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13956 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13957 if (!SWIG_IsOK(ecode2)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13959 }
13960 arg2 = static_cast< size_t >(val2);
13961 {
13962 PyThreadState* __tstate = wxPyBeginAllowThreads();
13963 (arg1)->RefreshLine(arg2);
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 resultobj = SWIG_Py_Void();
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj = 0;
13976 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13977 size_t arg2 ;
13978 size_t arg3 ;
13979 void *argp1 = 0 ;
13980 int res1 = 0 ;
13981 size_t val2 ;
13982 int ecode2 = 0 ;
13983 size_t val3 ;
13984 int ecode3 = 0 ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 PyObject * obj2 = 0 ;
13988 char * kwnames[] = {
13989 (char *) "self",(char *) "from",(char *) "to", NULL
13990 };
13991
13992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13994 if (!SWIG_IsOK(res1)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13996 }
13997 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13998 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13999 if (!SWIG_IsOK(ecode2)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14001 }
14002 arg2 = static_cast< size_t >(val2);
14003 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14004 if (!SWIG_IsOK(ecode3)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14006 }
14007 arg3 = static_cast< size_t >(val3);
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 (arg1)->RefreshLines(arg2,arg3);
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 resultobj = SWIG_Py_Void();
14015 return resultobj;
14016 fail:
14017 return NULL;
14018 }
14019
14020
14021 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj = 0;
14023 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14024 int arg2 ;
14025 int arg3 ;
14026 int result;
14027 void *argp1 = 0 ;
14028 int res1 = 0 ;
14029 int val2 ;
14030 int ecode2 = 0 ;
14031 int val3 ;
14032 int ecode3 = 0 ;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 PyObject * obj2 = 0 ;
14036 char * kwnames[] = {
14037 (char *) "self",(char *) "x",(char *) "y", NULL
14038 };
14039
14040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14042 if (!SWIG_IsOK(res1)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14044 }
14045 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14046 ecode2 = SWIG_AsVal_int(obj1, &val2);
14047 if (!SWIG_IsOK(ecode2)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14049 }
14050 arg2 = static_cast< int >(val2);
14051 ecode3 = SWIG_AsVal_int(obj2, &val3);
14052 if (!SWIG_IsOK(ecode3)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14054 }
14055 arg3 = static_cast< int >(val3);
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 resultobj = SWIG_From_int(static_cast< int >(result));
14063 return resultobj;
14064 fail:
14065 return NULL;
14066 }
14067
14068
14069 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj = 0;
14071 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14072 wxPoint *arg2 = 0 ;
14073 int result;
14074 void *argp1 = 0 ;
14075 int res1 = 0 ;
14076 wxPoint temp2 ;
14077 PyObject * obj0 = 0 ;
14078 PyObject * obj1 = 0 ;
14079 char * kwnames[] = {
14080 (char *) "self",(char *) "pt", NULL
14081 };
14082
14083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14085 if (!SWIG_IsOK(res1)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14087 }
14088 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14089 {
14090 arg2 = &temp2;
14091 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14092 }
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 resultobj = SWIG_From_int(static_cast< int >(result));
14100 return resultobj;
14101 fail:
14102 return NULL;
14103 }
14104
14105
14106 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14107 PyObject *resultobj = 0;
14108 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14109 void *argp1 = 0 ;
14110 int res1 = 0 ;
14111 PyObject *swig_obj[1] ;
14112
14113 if (!args) SWIG_fail;
14114 swig_obj[0] = args;
14115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14116 if (!SWIG_IsOK(res1)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14118 }
14119 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 (arg1)->RefreshAll();
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_Py_Void();
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14134 PyObject *resultobj = 0;
14135 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14136 size_t result;
14137 void *argp1 = 0 ;
14138 int res1 = 0 ;
14139 PyObject *swig_obj[1] ;
14140
14141 if (!args) SWIG_fail;
14142 swig_obj[0] = args;
14143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14144 if (!SWIG_IsOK(res1)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14146 }
14147 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14162 PyObject *resultobj = 0;
14163 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14164 size_t result;
14165 void *argp1 = 0 ;
14166 int res1 = 0 ;
14167 PyObject *swig_obj[1] ;
14168
14169 if (!args) SWIG_fail;
14170 swig_obj[0] = args;
14171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14172 if (!SWIG_IsOK(res1)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14174 }
14175 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14190 PyObject *resultobj = 0;
14191 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14192 size_t result;
14193 void *argp1 = 0 ;
14194 int res1 = 0 ;
14195 PyObject *swig_obj[1] ;
14196
14197 if (!args) SWIG_fail;
14198 swig_obj[0] = args;
14199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14200 if (!SWIG_IsOK(res1)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14202 }
14203 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj = 0;
14219 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14220 size_t arg2 ;
14221 bool result;
14222 void *argp1 = 0 ;
14223 int res1 = 0 ;
14224 size_t val2 ;
14225 int ecode2 = 0 ;
14226 PyObject * obj0 = 0 ;
14227 PyObject * obj1 = 0 ;
14228 char * kwnames[] = {
14229 (char *) "self",(char *) "line", NULL
14230 };
14231
14232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14234 if (!SWIG_IsOK(res1)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14236 }
14237 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14238 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14239 if (!SWIG_IsOK(ecode2)) {
14240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14241 }
14242 arg2 = static_cast< size_t >(val2);
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 {
14250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14251 }
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14259 PyObject *resultobj = 0;
14260 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14261 size_t result;
14262 void *argp1 = 0 ;
14263 int res1 = 0 ;
14264 PyObject *swig_obj[1] ;
14265
14266 if (!args) SWIG_fail;
14267 swig_obj[0] = args;
14268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14269 if (!SWIG_IsOK(res1)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14271 }
14272 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14287 PyObject *resultobj = 0;
14288 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14289 size_t result;
14290 void *argp1 = 0 ;
14291 int res1 = 0 ;
14292 PyObject *swig_obj[1] ;
14293
14294 if (!args) SWIG_fail;
14295 swig_obj[0] = args;
14296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14297 if (!SWIG_IsOK(res1)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14299 }
14300 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj = 0;
14316 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14317 size_t arg2 ;
14318 bool arg3 = (bool) false ;
14319 size_t result;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 size_t val2 ;
14323 int ecode2 = 0 ;
14324 bool val3 ;
14325 int ecode3 = 0 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 PyObject * obj2 = 0 ;
14329 char * kwnames[] = {
14330 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14331 };
14332
14333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14335 if (!SWIG_IsOK(res1)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14337 }
14338 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14339 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14340 if (!SWIG_IsOK(ecode2)) {
14341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14342 }
14343 arg2 = static_cast< size_t >(val2);
14344 if (obj2) {
14345 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14346 if (!SWIG_IsOK(ecode3)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14348 }
14349 arg3 = static_cast< bool >(val3);
14350 }
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14354 wxPyEndAllowThreads(__tstate);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14358 return resultobj;
14359 fail:
14360 return NULL;
14361 }
14362
14363
14364 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj = 0;
14366 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14367 size_t arg2 ;
14368 size_t arg3 ;
14369 int result;
14370 void *argp1 = 0 ;
14371 int res1 = 0 ;
14372 size_t val2 ;
14373 int ecode2 = 0 ;
14374 size_t val3 ;
14375 int ecode3 = 0 ;
14376 PyObject * obj0 = 0 ;
14377 PyObject * obj1 = 0 ;
14378 PyObject * obj2 = 0 ;
14379 char * kwnames[] = {
14380 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14381 };
14382
14383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14385 if (!SWIG_IsOK(res1)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14387 }
14388 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14389 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14390 if (!SWIG_IsOK(ecode2)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14392 }
14393 arg2 = static_cast< size_t >(val2);
14394 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14395 if (!SWIG_IsOK(ecode3)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14397 }
14398 arg3 = static_cast< size_t >(val3);
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 resultobj = SWIG_From_int(static_cast< int >(result));
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14413 PyObject *obj;
14414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14416 return SWIG_Py_Void();
14417 }
14418
14419 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14420 return SWIG_Python_InitShadowInstance(args);
14421 }
14422
14423 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14424 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14425 return 1;
14426 }
14427
14428
14429 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14430 PyObject *pyobj = 0;
14431
14432 {
14433 #if wxUSE_UNICODE
14434 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14435 #else
14436 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14437 #endif
14438 }
14439 return pyobj;
14440 }
14441
14442
14443 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj = 0;
14445 wxWindow *arg1 = (wxWindow *) 0 ;
14446 int arg2 = (int) wxID_ANY ;
14447 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14448 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14449 wxSize const &arg4_defvalue = wxDefaultSize ;
14450 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14451 long arg5 = (long) 0 ;
14452 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14453 wxString *arg6 = (wxString *) &arg6_defvalue ;
14454 wxPyVListBox *result = 0 ;
14455 void *argp1 = 0 ;
14456 int res1 = 0 ;
14457 int val2 ;
14458 int ecode2 = 0 ;
14459 wxPoint temp3 ;
14460 wxSize temp4 ;
14461 long val5 ;
14462 int ecode5 = 0 ;
14463 bool temp6 = false ;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 PyObject * obj2 = 0 ;
14467 PyObject * obj3 = 0 ;
14468 PyObject * obj4 = 0 ;
14469 PyObject * obj5 = 0 ;
14470 char * kwnames[] = {
14471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14472 };
14473
14474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14476 if (!SWIG_IsOK(res1)) {
14477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14478 }
14479 arg1 = reinterpret_cast< wxWindow * >(argp1);
14480 if (obj1) {
14481 ecode2 = SWIG_AsVal_int(obj1, &val2);
14482 if (!SWIG_IsOK(ecode2)) {
14483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14484 }
14485 arg2 = static_cast< int >(val2);
14486 }
14487 if (obj2) {
14488 {
14489 arg3 = &temp3;
14490 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14491 }
14492 }
14493 if (obj3) {
14494 {
14495 arg4 = &temp4;
14496 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14497 }
14498 }
14499 if (obj4) {
14500 ecode5 = SWIG_AsVal_long(obj4, &val5);
14501 if (!SWIG_IsOK(ecode5)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14503 }
14504 arg5 = static_cast< long >(val5);
14505 }
14506 if (obj5) {
14507 {
14508 arg6 = wxString_in_helper(obj5);
14509 if (arg6 == NULL) SWIG_fail;
14510 temp6 = true;
14511 }
14512 }
14513 {
14514 if (!wxPyCheckForApp()) SWIG_fail;
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14521 {
14522 if (temp6)
14523 delete arg6;
14524 }
14525 return resultobj;
14526 fail:
14527 {
14528 if (temp6)
14529 delete arg6;
14530 }
14531 return NULL;
14532 }
14533
14534
14535 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14536 PyObject *resultobj = 0;
14537 wxPyVListBox *result = 0 ;
14538
14539 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14540 {
14541 if (!wxPyCheckForApp()) SWIG_fail;
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (wxPyVListBox *)new wxPyVListBox();
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14548 return resultobj;
14549 fail:
14550 return NULL;
14551 }
14552
14553
14554 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14555 PyObject *resultobj = 0;
14556 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14557 PyObject *arg2 = (PyObject *) 0 ;
14558 PyObject *arg3 = (PyObject *) 0 ;
14559 void *argp1 = 0 ;
14560 int res1 = 0 ;
14561 PyObject * obj0 = 0 ;
14562 PyObject * obj1 = 0 ;
14563 PyObject * obj2 = 0 ;
14564 char * kwnames[] = {
14565 (char *) "self",(char *) "self",(char *) "_class", NULL
14566 };
14567
14568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14570 if (!SWIG_IsOK(res1)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14572 }
14573 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14574 arg2 = obj1;
14575 arg3 = obj2;
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 (arg1)->_setCallbackInfo(arg2,arg3);
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = SWIG_Py_Void();
14583 return resultobj;
14584 fail:
14585 return NULL;
14586 }
14587
14588
14589 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj = 0;
14591 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14592 wxWindow *arg2 = (wxWindow *) 0 ;
14593 int arg3 = (int) wxID_ANY ;
14594 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14595 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14596 wxSize const &arg5_defvalue = wxDefaultSize ;
14597 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14598 long arg6 = (long) 0 ;
14599 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14600 wxString *arg7 = (wxString *) &arg7_defvalue ;
14601 bool result;
14602 void *argp1 = 0 ;
14603 int res1 = 0 ;
14604 void *argp2 = 0 ;
14605 int res2 = 0 ;
14606 int val3 ;
14607 int ecode3 = 0 ;
14608 wxPoint temp4 ;
14609 wxSize temp5 ;
14610 long val6 ;
14611 int ecode6 = 0 ;
14612 bool temp7 = false ;
14613 PyObject * obj0 = 0 ;
14614 PyObject * obj1 = 0 ;
14615 PyObject * obj2 = 0 ;
14616 PyObject * obj3 = 0 ;
14617 PyObject * obj4 = 0 ;
14618 PyObject * obj5 = 0 ;
14619 PyObject * obj6 = 0 ;
14620 char * kwnames[] = {
14621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14622 };
14623
14624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14626 if (!SWIG_IsOK(res1)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14628 }
14629 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14631 if (!SWIG_IsOK(res2)) {
14632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14633 }
14634 arg2 = reinterpret_cast< wxWindow * >(argp2);
14635 if (obj2) {
14636 ecode3 = SWIG_AsVal_int(obj2, &val3);
14637 if (!SWIG_IsOK(ecode3)) {
14638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14639 }
14640 arg3 = static_cast< int >(val3);
14641 }
14642 if (obj3) {
14643 {
14644 arg4 = &temp4;
14645 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14646 }
14647 }
14648 if (obj4) {
14649 {
14650 arg5 = &temp5;
14651 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14652 }
14653 }
14654 if (obj5) {
14655 ecode6 = SWIG_AsVal_long(obj5, &val6);
14656 if (!SWIG_IsOK(ecode6)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14658 }
14659 arg6 = static_cast< long >(val6);
14660 }
14661 if (obj6) {
14662 {
14663 arg7 = wxString_in_helper(obj6);
14664 if (arg7 == NULL) SWIG_fail;
14665 temp7 = true;
14666 }
14667 }
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 {
14675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14676 }
14677 {
14678 if (temp7)
14679 delete arg7;
14680 }
14681 return resultobj;
14682 fail:
14683 {
14684 if (temp7)
14685 delete arg7;
14686 }
14687 return NULL;
14688 }
14689
14690
14691 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14692 PyObject *resultobj = 0;
14693 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14694 size_t result;
14695 void *argp1 = 0 ;
14696 int res1 = 0 ;
14697 PyObject *swig_obj[1] ;
14698
14699 if (!args) SWIG_fail;
14700 swig_obj[0] = args;
14701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14702 if (!SWIG_IsOK(res1)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14704 }
14705 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14709 wxPyEndAllowThreads(__tstate);
14710 if (PyErr_Occurred()) SWIG_fail;
14711 }
14712 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14713 return resultobj;
14714 fail:
14715 return NULL;
14716 }
14717
14718
14719 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14720 PyObject *resultobj = 0;
14721 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14722 bool result;
14723 void *argp1 = 0 ;
14724 int res1 = 0 ;
14725 PyObject *swig_obj[1] ;
14726
14727 if (!args) SWIG_fail;
14728 swig_obj[0] = args;
14729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14730 if (!SWIG_IsOK(res1)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14732 }
14733 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 {
14741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14742 }
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14750 PyObject *resultobj = 0;
14751 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14752 int result;
14753 void *argp1 = 0 ;
14754 int res1 = 0 ;
14755 PyObject *swig_obj[1] ;
14756
14757 if (!args) SWIG_fail;
14758 swig_obj[0] = args;
14759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14760 if (!SWIG_IsOK(res1)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14762 }
14763 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 resultobj = SWIG_From_int(static_cast< int >(result));
14771 return resultobj;
14772 fail:
14773 return NULL;
14774 }
14775
14776
14777 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj = 0;
14779 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14780 size_t arg2 ;
14781 bool result;
14782 void *argp1 = 0 ;
14783 int res1 = 0 ;
14784 size_t val2 ;
14785 int ecode2 = 0 ;
14786 PyObject * obj0 = 0 ;
14787 PyObject * obj1 = 0 ;
14788 char * kwnames[] = {
14789 (char *) "self",(char *) "item", NULL
14790 };
14791
14792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14794 if (!SWIG_IsOK(res1)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14796 }
14797 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14798 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14799 if (!SWIG_IsOK(ecode2)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14801 }
14802 arg2 = static_cast< size_t >(val2);
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 {
14810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14811 }
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj = 0;
14820 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14821 size_t arg2 ;
14822 bool result;
14823 void *argp1 = 0 ;
14824 int res1 = 0 ;
14825 size_t val2 ;
14826 int ecode2 = 0 ;
14827 PyObject * obj0 = 0 ;
14828 PyObject * obj1 = 0 ;
14829 char * kwnames[] = {
14830 (char *) "self",(char *) "item", NULL
14831 };
14832
14833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14835 if (!SWIG_IsOK(res1)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14837 }
14838 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14839 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14840 if (!SWIG_IsOK(ecode2)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14842 }
14843 arg2 = static_cast< size_t >(val2);
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14847 wxPyEndAllowThreads(__tstate);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 {
14851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14852 }
14853 return resultobj;
14854 fail:
14855 return NULL;
14856 }
14857
14858
14859 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14860 PyObject *resultobj = 0;
14861 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14862 size_t result;
14863 void *argp1 = 0 ;
14864 int res1 = 0 ;
14865 PyObject *swig_obj[1] ;
14866
14867 if (!args) SWIG_fail;
14868 swig_obj[0] = args;
14869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14870 if (!SWIG_IsOK(res1)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14872 }
14873 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14888 PyObject *resultobj = 0;
14889 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14890 PyObject *result = 0 ;
14891 void *argp1 = 0 ;
14892 int res1 = 0 ;
14893 PyObject *swig_obj[1] ;
14894
14895 if (!args) SWIG_fail;
14896 swig_obj[0] = args;
14897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14898 if (!SWIG_IsOK(res1)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14900 }
14901 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 resultobj = result;
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj = 0;
14917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14918 unsigned long arg2 ;
14919 PyObject *result = 0 ;
14920 void *argp1 = 0 ;
14921 int res1 = 0 ;
14922 unsigned long val2 ;
14923 int ecode2 = 0 ;
14924 PyObject * obj0 = 0 ;
14925 PyObject * obj1 = 0 ;
14926 char * kwnames[] = {
14927 (char *) "self",(char *) "cookie", NULL
14928 };
14929
14930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14932 if (!SWIG_IsOK(res1)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14934 }
14935 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14936 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14937 if (!SWIG_IsOK(ecode2)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14939 }
14940 arg2 = static_cast< unsigned long >(val2);
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 resultobj = result;
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14955 PyObject *resultobj = 0;
14956 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14957 wxPoint result;
14958 void *argp1 = 0 ;
14959 int res1 = 0 ;
14960 PyObject *swig_obj[1] ;
14961
14962 if (!args) SWIG_fail;
14963 swig_obj[0] = args;
14964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14965 if (!SWIG_IsOK(res1)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14967 }
14968 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = ((wxPyVListBox const *)arg1)->GetMargins();
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14983 PyObject *resultobj = 0;
14984 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14985 wxColour *result = 0 ;
14986 void *argp1 = 0 ;
14987 int res1 = 0 ;
14988 PyObject *swig_obj[1] ;
14989
14990 if (!args) SWIG_fail;
14991 swig_obj[0] = args;
14992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14993 if (!SWIG_IsOK(res1)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14995 }
14996 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 {
15000 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15001 result = (wxColour *) &_result_ref;
15002 }
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj = 0;
15015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15016 size_t arg2 ;
15017 void *argp1 = 0 ;
15018 int res1 = 0 ;
15019 size_t val2 ;
15020 int ecode2 = 0 ;
15021 PyObject * obj0 = 0 ;
15022 PyObject * obj1 = 0 ;
15023 char * kwnames[] = {
15024 (char *) "self",(char *) "count", NULL
15025 };
15026
15027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15029 if (!SWIG_IsOK(res1)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15031 }
15032 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15033 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15034 if (!SWIG_IsOK(ecode2)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15036 }
15037 arg2 = static_cast< size_t >(val2);
15038 {
15039 PyThreadState* __tstate = wxPyBeginAllowThreads();
15040 (arg1)->SetItemCount(arg2);
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 resultobj = SWIG_Py_Void();
15045 return resultobj;
15046 fail:
15047 return NULL;
15048 }
15049
15050
15051 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15052 PyObject *resultobj = 0;
15053 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15054 void *argp1 = 0 ;
15055 int res1 = 0 ;
15056 PyObject *swig_obj[1] ;
15057
15058 if (!args) SWIG_fail;
15059 swig_obj[0] = args;
15060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15061 if (!SWIG_IsOK(res1)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15063 }
15064 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 (arg1)->Clear();
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 resultobj = SWIG_Py_Void();
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj = 0;
15080 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15081 int arg2 ;
15082 void *argp1 = 0 ;
15083 int res1 = 0 ;
15084 int val2 ;
15085 int ecode2 = 0 ;
15086 PyObject * obj0 = 0 ;
15087 PyObject * obj1 = 0 ;
15088 char * kwnames[] = {
15089 (char *) "self",(char *) "selection", NULL
15090 };
15091
15092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15094 if (!SWIG_IsOK(res1)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15096 }
15097 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15098 ecode2 = SWIG_AsVal_int(obj1, &val2);
15099 if (!SWIG_IsOK(ecode2)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15101 }
15102 arg2 = static_cast< int >(val2);
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 (arg1)->SetSelection(arg2);
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_Py_Void();
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj = 0;
15118 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15119 size_t arg2 ;
15120 bool arg3 = (bool) true ;
15121 bool result;
15122 void *argp1 = 0 ;
15123 int res1 = 0 ;
15124 size_t val2 ;
15125 int ecode2 = 0 ;
15126 bool val3 ;
15127 int ecode3 = 0 ;
15128 PyObject * obj0 = 0 ;
15129 PyObject * obj1 = 0 ;
15130 PyObject * obj2 = 0 ;
15131 char * kwnames[] = {
15132 (char *) "self",(char *) "item",(char *) "select", NULL
15133 };
15134
15135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15137 if (!SWIG_IsOK(res1)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15139 }
15140 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15141 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15142 if (!SWIG_IsOK(ecode2)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15144 }
15145 arg2 = static_cast< size_t >(val2);
15146 if (obj2) {
15147 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15148 if (!SWIG_IsOK(ecode3)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15150 }
15151 arg3 = static_cast< bool >(val3);
15152 }
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (bool)(arg1)->Select(arg2,arg3);
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 {
15160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15161 }
15162 return resultobj;
15163 fail:
15164 return NULL;
15165 }
15166
15167
15168 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj = 0;
15170 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15171 size_t arg2 ;
15172 size_t arg3 ;
15173 bool result;
15174 void *argp1 = 0 ;
15175 int res1 = 0 ;
15176 size_t val2 ;
15177 int ecode2 = 0 ;
15178 size_t val3 ;
15179 int ecode3 = 0 ;
15180 PyObject * obj0 = 0 ;
15181 PyObject * obj1 = 0 ;
15182 PyObject * obj2 = 0 ;
15183 char * kwnames[] = {
15184 (char *) "self",(char *) "from",(char *) "to", NULL
15185 };
15186
15187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15189 if (!SWIG_IsOK(res1)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15191 }
15192 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15193 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15194 if (!SWIG_IsOK(ecode2)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15196 }
15197 arg2 = static_cast< size_t >(val2);
15198 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15199 if (!SWIG_IsOK(ecode3)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15201 }
15202 arg3 = static_cast< size_t >(val3);
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (bool)(arg1)->SelectRange(arg2,arg3);
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 {
15210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15211 }
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj = 0;
15220 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15221 size_t arg2 ;
15222 void *argp1 = 0 ;
15223 int res1 = 0 ;
15224 size_t val2 ;
15225 int ecode2 = 0 ;
15226 PyObject * obj0 = 0 ;
15227 PyObject * obj1 = 0 ;
15228 char * kwnames[] = {
15229 (char *) "self",(char *) "item", NULL
15230 };
15231
15232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15234 if (!SWIG_IsOK(res1)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15236 }
15237 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15238 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15239 if (!SWIG_IsOK(ecode2)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15241 }
15242 arg2 = static_cast< size_t >(val2);
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 (arg1)->Toggle(arg2);
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
15249 resultobj = SWIG_Py_Void();
15250 return resultobj;
15251 fail:
15252 return NULL;
15253 }
15254
15255
15256 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15257 PyObject *resultobj = 0;
15258 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15259 bool result;
15260 void *argp1 = 0 ;
15261 int res1 = 0 ;
15262 PyObject *swig_obj[1] ;
15263
15264 if (!args) SWIG_fail;
15265 swig_obj[0] = args;
15266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15267 if (!SWIG_IsOK(res1)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15269 }
15270 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = (bool)(arg1)->SelectAll();
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 {
15278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15279 }
15280 return resultobj;
15281 fail:
15282 return NULL;
15283 }
15284
15285
15286 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15287 PyObject *resultobj = 0;
15288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15289 bool result;
15290 void *argp1 = 0 ;
15291 int res1 = 0 ;
15292 PyObject *swig_obj[1] ;
15293
15294 if (!args) SWIG_fail;
15295 swig_obj[0] = args;
15296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15297 if (!SWIG_IsOK(res1)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15299 }
15300 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (bool)(arg1)->DeselectAll();
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 {
15308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15309 }
15310 return resultobj;
15311 fail:
15312 return NULL;
15313 }
15314
15315
15316 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15317 PyObject *resultobj = 0;
15318 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15319 wxPoint *arg2 = 0 ;
15320 void *argp1 = 0 ;
15321 int res1 = 0 ;
15322 wxPoint temp2 ;
15323 PyObject * obj0 = 0 ;
15324 PyObject * obj1 = 0 ;
15325 char * kwnames[] = {
15326 (char *) "self",(char *) "pt", NULL
15327 };
15328
15329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15331 if (!SWIG_IsOK(res1)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15333 }
15334 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15335 {
15336 arg2 = &temp2;
15337 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15338 }
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 (arg1)->SetMargins((wxPoint const &)*arg2);
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 resultobj = SWIG_Py_Void();
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj = 0;
15354 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15355 int arg2 ;
15356 int arg3 ;
15357 void *argp1 = 0 ;
15358 int res1 = 0 ;
15359 int val2 ;
15360 int ecode2 = 0 ;
15361 int val3 ;
15362 int ecode3 = 0 ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 PyObject * obj2 = 0 ;
15366 char * kwnames[] = {
15367 (char *) "self",(char *) "x",(char *) "y", NULL
15368 };
15369
15370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15372 if (!SWIG_IsOK(res1)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15374 }
15375 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15376 ecode2 = SWIG_AsVal_int(obj1, &val2);
15377 if (!SWIG_IsOK(ecode2)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15379 }
15380 arg2 = static_cast< int >(val2);
15381 ecode3 = SWIG_AsVal_int(obj2, &val3);
15382 if (!SWIG_IsOK(ecode3)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15384 }
15385 arg3 = static_cast< int >(val3);
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->SetMargins(arg2,arg3);
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
15392 resultobj = SWIG_Py_Void();
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj = 0;
15401 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15402 wxColour *arg2 = 0 ;
15403 void *argp1 = 0 ;
15404 int res1 = 0 ;
15405 wxColour temp2 ;
15406 PyObject * obj0 = 0 ;
15407 PyObject * obj1 = 0 ;
15408 char * kwnames[] = {
15409 (char *) "self",(char *) "col", NULL
15410 };
15411
15412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15414 if (!SWIG_IsOK(res1)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15416 }
15417 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15418 {
15419 arg2 = &temp2;
15420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15421 }
15422 {
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 resultobj = SWIG_Py_Void();
15429 return resultobj;
15430 fail:
15431 return NULL;
15432 }
15433
15434
15435 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15436 PyObject *resultobj = 0;
15437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15438 wxDC *arg2 = 0 ;
15439 wxRect *arg3 = 0 ;
15440 size_t arg4 ;
15441 void *argp1 = 0 ;
15442 int res1 = 0 ;
15443 void *argp2 = 0 ;
15444 int res2 = 0 ;
15445 wxRect temp3 ;
15446 size_t val4 ;
15447 int ecode4 = 0 ;
15448 PyObject * obj0 = 0 ;
15449 PyObject * obj1 = 0 ;
15450 PyObject * obj2 = 0 ;
15451 PyObject * obj3 = 0 ;
15452 char * kwnames[] = {
15453 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15454 };
15455
15456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15458 if (!SWIG_IsOK(res1)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15460 }
15461 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15462 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15463 if (!SWIG_IsOK(res2)) {
15464 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15465 }
15466 if (!argp2) {
15467 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15468 }
15469 arg2 = reinterpret_cast< wxDC * >(argp2);
15470 {
15471 arg3 = &temp3;
15472 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15473 }
15474 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15475 if (!SWIG_IsOK(ecode4)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15477 }
15478 arg4 = static_cast< size_t >(val4);
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 resultobj = SWIG_Py_Void();
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj = 0;
15494 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15495 wxDC *arg2 = 0 ;
15496 wxRect *arg3 = 0 ;
15497 size_t arg4 ;
15498 void *argp1 = 0 ;
15499 int res1 = 0 ;
15500 void *argp2 = 0 ;
15501 int res2 = 0 ;
15502 wxRect temp3 ;
15503 size_t val4 ;
15504 int ecode4 = 0 ;
15505 PyObject * obj0 = 0 ;
15506 PyObject * obj1 = 0 ;
15507 PyObject * obj2 = 0 ;
15508 PyObject * obj3 = 0 ;
15509 char * kwnames[] = {
15510 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15511 };
15512
15513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15515 if (!SWIG_IsOK(res1)) {
15516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15517 }
15518 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15519 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15520 if (!SWIG_IsOK(res2)) {
15521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15522 }
15523 if (!argp2) {
15524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15525 }
15526 arg2 = reinterpret_cast< wxDC * >(argp2);
15527 {
15528 arg3 = &temp3;
15529 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15530 }
15531 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15532 if (!SWIG_IsOK(ecode4)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15534 }
15535 arg4 = static_cast< size_t >(val4);
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 resultobj = SWIG_Py_Void();
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15550 PyObject *obj;
15551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15552 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15553 return SWIG_Py_Void();
15554 }
15555
15556 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15557 return SWIG_Python_InitShadowInstance(args);
15558 }
15559
15560 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj = 0;
15562 wxWindow *arg1 = (wxWindow *) 0 ;
15563 int arg2 = (int) wxID_ANY ;
15564 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15565 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15566 wxSize const &arg4_defvalue = wxDefaultSize ;
15567 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15568 long arg5 = (long) 0 ;
15569 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15570 wxString *arg6 = (wxString *) &arg6_defvalue ;
15571 wxPyHtmlListBox *result = 0 ;
15572 void *argp1 = 0 ;
15573 int res1 = 0 ;
15574 int val2 ;
15575 int ecode2 = 0 ;
15576 wxPoint temp3 ;
15577 wxSize temp4 ;
15578 long val5 ;
15579 int ecode5 = 0 ;
15580 bool temp6 = false ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 PyObject * obj2 = 0 ;
15584 PyObject * obj3 = 0 ;
15585 PyObject * obj4 = 0 ;
15586 PyObject * obj5 = 0 ;
15587 char * kwnames[] = {
15588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15589 };
15590
15591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15593 if (!SWIG_IsOK(res1)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15595 }
15596 arg1 = reinterpret_cast< wxWindow * >(argp1);
15597 if (obj1) {
15598 ecode2 = SWIG_AsVal_int(obj1, &val2);
15599 if (!SWIG_IsOK(ecode2)) {
15600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15601 }
15602 arg2 = static_cast< int >(val2);
15603 }
15604 if (obj2) {
15605 {
15606 arg3 = &temp3;
15607 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15608 }
15609 }
15610 if (obj3) {
15611 {
15612 arg4 = &temp4;
15613 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15614 }
15615 }
15616 if (obj4) {
15617 ecode5 = SWIG_AsVal_long(obj4, &val5);
15618 if (!SWIG_IsOK(ecode5)) {
15619 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15620 }
15621 arg5 = static_cast< long >(val5);
15622 }
15623 if (obj5) {
15624 {
15625 arg6 = wxString_in_helper(obj5);
15626 if (arg6 == NULL) SWIG_fail;
15627 temp6 = true;
15628 }
15629 }
15630 {
15631 if (!wxPyCheckForApp()) SWIG_fail;
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15638 {
15639 if (temp6)
15640 delete arg6;
15641 }
15642 return resultobj;
15643 fail:
15644 {
15645 if (temp6)
15646 delete arg6;
15647 }
15648 return NULL;
15649 }
15650
15651
15652 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15653 PyObject *resultobj = 0;
15654 wxPyHtmlListBox *result = 0 ;
15655
15656 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15657 {
15658 if (!wxPyCheckForApp()) SWIG_fail;
15659 PyThreadState* __tstate = wxPyBeginAllowThreads();
15660 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15661 wxPyEndAllowThreads(__tstate);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15665 return resultobj;
15666 fail:
15667 return NULL;
15668 }
15669
15670
15671 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj = 0;
15673 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15674 PyObject *arg2 = (PyObject *) 0 ;
15675 PyObject *arg3 = (PyObject *) 0 ;
15676 void *argp1 = 0 ;
15677 int res1 = 0 ;
15678 PyObject * obj0 = 0 ;
15679 PyObject * obj1 = 0 ;
15680 PyObject * obj2 = 0 ;
15681 char * kwnames[] = {
15682 (char *) "self",(char *) "self",(char *) "_class", NULL
15683 };
15684
15685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15687 if (!SWIG_IsOK(res1)) {
15688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15689 }
15690 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15691 arg2 = obj1;
15692 arg3 = obj2;
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 (arg1)->_setCallbackInfo(arg2,arg3);
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 resultobj = SWIG_Py_Void();
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj = 0;
15708 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15709 wxWindow *arg2 = (wxWindow *) 0 ;
15710 int arg3 = (int) wxID_ANY ;
15711 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15712 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15713 wxSize const &arg5_defvalue = wxDefaultSize ;
15714 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15715 long arg6 = (long) 0 ;
15716 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15717 wxString *arg7 = (wxString *) &arg7_defvalue ;
15718 bool result;
15719 void *argp1 = 0 ;
15720 int res1 = 0 ;
15721 void *argp2 = 0 ;
15722 int res2 = 0 ;
15723 int val3 ;
15724 int ecode3 = 0 ;
15725 wxPoint temp4 ;
15726 wxSize temp5 ;
15727 long val6 ;
15728 int ecode6 = 0 ;
15729 bool temp7 = false ;
15730 PyObject * obj0 = 0 ;
15731 PyObject * obj1 = 0 ;
15732 PyObject * obj2 = 0 ;
15733 PyObject * obj3 = 0 ;
15734 PyObject * obj4 = 0 ;
15735 PyObject * obj5 = 0 ;
15736 PyObject * obj6 = 0 ;
15737 char * kwnames[] = {
15738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15739 };
15740
15741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15743 if (!SWIG_IsOK(res1)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15745 }
15746 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15747 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15748 if (!SWIG_IsOK(res2)) {
15749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15750 }
15751 arg2 = reinterpret_cast< wxWindow * >(argp2);
15752 if (obj2) {
15753 ecode3 = SWIG_AsVal_int(obj2, &val3);
15754 if (!SWIG_IsOK(ecode3)) {
15755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15756 }
15757 arg3 = static_cast< int >(val3);
15758 }
15759 if (obj3) {
15760 {
15761 arg4 = &temp4;
15762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15763 }
15764 }
15765 if (obj4) {
15766 {
15767 arg5 = &temp5;
15768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15769 }
15770 }
15771 if (obj5) {
15772 ecode6 = SWIG_AsVal_long(obj5, &val6);
15773 if (!SWIG_IsOK(ecode6)) {
15774 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15775 }
15776 arg6 = static_cast< long >(val6);
15777 }
15778 if (obj6) {
15779 {
15780 arg7 = wxString_in_helper(obj6);
15781 if (arg7 == NULL) SWIG_fail;
15782 temp7 = true;
15783 }
15784 }
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 {
15792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15793 }
15794 {
15795 if (temp7)
15796 delete arg7;
15797 }
15798 return resultobj;
15799 fail:
15800 {
15801 if (temp7)
15802 delete arg7;
15803 }
15804 return NULL;
15805 }
15806
15807
15808 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15809 PyObject *resultobj = 0;
15810 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15811 size_t arg2 ;
15812 void *argp1 = 0 ;
15813 int res1 = 0 ;
15814 size_t val2 ;
15815 int ecode2 = 0 ;
15816 PyObject * obj0 = 0 ;
15817 PyObject * obj1 = 0 ;
15818 char * kwnames[] = {
15819 (char *) "self",(char *) "count", NULL
15820 };
15821
15822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15824 if (!SWIG_IsOK(res1)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15826 }
15827 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15828 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15829 if (!SWIG_IsOK(ecode2)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15831 }
15832 arg2 = static_cast< size_t >(val2);
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->SetItemCount(arg2);
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 resultobj = SWIG_Py_Void();
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15847 PyObject *resultobj = 0;
15848 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15849 wxFileSystem *result = 0 ;
15850 void *argp1 = 0 ;
15851 int res1 = 0 ;
15852 PyObject *swig_obj[1] ;
15853
15854 if (!args) SWIG_fail;
15855 swig_obj[0] = args;
15856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15857 if (!SWIG_IsOK(res1)) {
15858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15859 }
15860 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 {
15864 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15865 result = (wxFileSystem *) &_result_ref;
15866 }
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15871 return resultobj;
15872 fail:
15873 return NULL;
15874 }
15875
15876
15877 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj = 0;
15879 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15880 size_t arg2 ;
15881 wxHtmlLinkInfo *arg3 = 0 ;
15882 void *argp1 = 0 ;
15883 int res1 = 0 ;
15884 size_t val2 ;
15885 int ecode2 = 0 ;
15886 void *argp3 = 0 ;
15887 int res3 = 0 ;
15888 PyObject * obj0 = 0 ;
15889 PyObject * obj1 = 0 ;
15890 PyObject * obj2 = 0 ;
15891 char * kwnames[] = {
15892 (char *) "self",(char *) "n",(char *) "link", NULL
15893 };
15894
15895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15897 if (!SWIG_IsOK(res1)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15899 }
15900 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15901 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15902 if (!SWIG_IsOK(ecode2)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15904 }
15905 arg2 = static_cast< size_t >(val2);
15906 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15907 if (!SWIG_IsOK(res3)) {
15908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15909 }
15910 if (!argp3) {
15911 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15912 }
15913 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 resultobj = SWIG_Py_Void();
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15928 PyObject *obj;
15929 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15931 return SWIG_Py_Void();
15932 }
15933
15934 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15935 return SWIG_Python_InitShadowInstance(args);
15936 }
15937
15938 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15939 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15940 return 1;
15941 }
15942
15943
15944 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15945 PyObject *pyobj = 0;
15946
15947 {
15948 #if wxUSE_UNICODE
15949 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15950 #else
15951 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15952 #endif
15953 }
15954 return pyobj;
15955 }
15956
15957
15958 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj = 0;
15960 wxWindow *arg1 = (wxWindow *) 0 ;
15961 int arg2 = (int) -1 ;
15962 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15963 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15964 wxSize const &arg4_defvalue = wxDefaultSize ;
15965 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15966 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15967 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15968 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15969 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15970 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15971 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15972 wxString *arg8 = (wxString *) &arg8_defvalue ;
15973 wxSimpleHtmlListBox *result = 0 ;
15974 void *argp1 = 0 ;
15975 int res1 = 0 ;
15976 int val2 ;
15977 int ecode2 = 0 ;
15978 wxPoint temp3 ;
15979 wxSize temp4 ;
15980 bool temp5 = false ;
15981 long val6 ;
15982 int ecode6 = 0 ;
15983 void *argp7 = 0 ;
15984 int res7 = 0 ;
15985 bool temp8 = false ;
15986 PyObject * obj0 = 0 ;
15987 PyObject * obj1 = 0 ;
15988 PyObject * obj2 = 0 ;
15989 PyObject * obj3 = 0 ;
15990 PyObject * obj4 = 0 ;
15991 PyObject * obj5 = 0 ;
15992 PyObject * obj6 = 0 ;
15993 PyObject * obj7 = 0 ;
15994 char * kwnames[] = {
15995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15996 };
15997
15998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
15999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16000 if (!SWIG_IsOK(res1)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16002 }
16003 arg1 = reinterpret_cast< wxWindow * >(argp1);
16004 if (obj1) {
16005 ecode2 = SWIG_AsVal_int(obj1, &val2);
16006 if (!SWIG_IsOK(ecode2)) {
16007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16008 }
16009 arg2 = static_cast< int >(val2);
16010 }
16011 if (obj2) {
16012 {
16013 arg3 = &temp3;
16014 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16015 }
16016 }
16017 if (obj3) {
16018 {
16019 arg4 = &temp4;
16020 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16021 }
16022 }
16023 if (obj4) {
16024 {
16025 if (! PySequence_Check(obj4)) {
16026 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16027 SWIG_fail;
16028 }
16029 arg5 = new wxArrayString;
16030 temp5 = true;
16031 int i, len=PySequence_Length(obj4);
16032 for (i=0; i<len; i++) {
16033 PyObject* item = PySequence_GetItem(obj4, i);
16034 wxString* s = wxString_in_helper(item);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 arg5->Add(*s);
16037 delete s;
16038 Py_DECREF(item);
16039 }
16040 }
16041 }
16042 if (obj5) {
16043 ecode6 = SWIG_AsVal_long(obj5, &val6);
16044 if (!SWIG_IsOK(ecode6)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16046 }
16047 arg6 = static_cast< long >(val6);
16048 }
16049 if (obj6) {
16050 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
16051 if (!SWIG_IsOK(res7)) {
16052 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16053 }
16054 if (!argp7) {
16055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16056 }
16057 arg7 = reinterpret_cast< wxValidator * >(argp7);
16058 }
16059 if (obj7) {
16060 {
16061 arg8 = wxString_in_helper(obj7);
16062 if (arg8 == NULL) SWIG_fail;
16063 temp8 = true;
16064 }
16065 }
16066 {
16067 if (!wxPyCheckForApp()) SWIG_fail;
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16074 {
16075 if (temp5) delete arg5;
16076 }
16077 {
16078 if (temp8)
16079 delete arg8;
16080 }
16081 return resultobj;
16082 fail:
16083 {
16084 if (temp5) delete arg5;
16085 }
16086 {
16087 if (temp8)
16088 delete arg8;
16089 }
16090 return NULL;
16091 }
16092
16093
16094 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16095 PyObject *resultobj = 0;
16096 wxSimpleHtmlListBox *result = 0 ;
16097
16098 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16099 {
16100 if (!wxPyCheckForApp()) SWIG_fail;
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16107 return resultobj;
16108 fail:
16109 return NULL;
16110 }
16111
16112
16113 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj = 0;
16115 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16116 wxWindow *arg2 = (wxWindow *) 0 ;
16117 int arg3 = (int) -1 ;
16118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16120 wxSize const &arg5_defvalue = wxDefaultSize ;
16121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16122 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16123 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16124 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16125 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16126 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16127 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16128 wxString *arg9 = (wxString *) &arg9_defvalue ;
16129 bool result;
16130 void *argp1 = 0 ;
16131 int res1 = 0 ;
16132 void *argp2 = 0 ;
16133 int res2 = 0 ;
16134 int val3 ;
16135 int ecode3 = 0 ;
16136 wxPoint temp4 ;
16137 wxSize temp5 ;
16138 bool temp6 = false ;
16139 long val7 ;
16140 int ecode7 = 0 ;
16141 void *argp8 = 0 ;
16142 int res8 = 0 ;
16143 bool temp9 = false ;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 PyObject * obj2 = 0 ;
16147 PyObject * obj3 = 0 ;
16148 PyObject * obj4 = 0 ;
16149 PyObject * obj5 = 0 ;
16150 PyObject * obj6 = 0 ;
16151 PyObject * obj7 = 0 ;
16152 PyObject * obj8 = 0 ;
16153 char * kwnames[] = {
16154 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16155 };
16156
16157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16159 if (!SWIG_IsOK(res1)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16161 }
16162 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16164 if (!SWIG_IsOK(res2)) {
16165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16166 }
16167 arg2 = reinterpret_cast< wxWindow * >(argp2);
16168 if (obj2) {
16169 ecode3 = SWIG_AsVal_int(obj2, &val3);
16170 if (!SWIG_IsOK(ecode3)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16172 }
16173 arg3 = static_cast< int >(val3);
16174 }
16175 if (obj3) {
16176 {
16177 arg4 = &temp4;
16178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16179 }
16180 }
16181 if (obj4) {
16182 {
16183 arg5 = &temp5;
16184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16185 }
16186 }
16187 if (obj5) {
16188 {
16189 if (! PySequence_Check(obj5)) {
16190 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16191 SWIG_fail;
16192 }
16193 arg6 = new wxArrayString;
16194 temp6 = true;
16195 int i, len=PySequence_Length(obj5);
16196 for (i=0; i<len; i++) {
16197 PyObject* item = PySequence_GetItem(obj5, i);
16198 wxString* s = wxString_in_helper(item);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 arg6->Add(*s);
16201 delete s;
16202 Py_DECREF(item);
16203 }
16204 }
16205 }
16206 if (obj6) {
16207 ecode7 = SWIG_AsVal_long(obj6, &val7);
16208 if (!SWIG_IsOK(ecode7)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16210 }
16211 arg7 = static_cast< long >(val7);
16212 }
16213 if (obj7) {
16214 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16215 if (!SWIG_IsOK(res8)) {
16216 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16217 }
16218 if (!argp8) {
16219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16220 }
16221 arg8 = reinterpret_cast< wxValidator * >(argp8);
16222 }
16223 if (obj8) {
16224 {
16225 arg9 = wxString_in_helper(obj8);
16226 if (arg9 == NULL) SWIG_fail;
16227 temp9 = true;
16228 }
16229 }
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16233 wxPyEndAllowThreads(__tstate);
16234 if (PyErr_Occurred()) SWIG_fail;
16235 }
16236 {
16237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16238 }
16239 {
16240 if (temp6) delete arg6;
16241 }
16242 {
16243 if (temp9)
16244 delete arg9;
16245 }
16246 return resultobj;
16247 fail:
16248 {
16249 if (temp6) delete arg6;
16250 }
16251 {
16252 if (temp9)
16253 delete arg9;
16254 }
16255 return NULL;
16256 }
16257
16258
16259 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16260 PyObject *obj;
16261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16262 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16263 return SWIG_Py_Void();
16264 }
16265
16266 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16267 return SWIG_Python_InitShadowInstance(args);
16268 }
16269
16270 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16271 PyObject *resultobj = 0;
16272 wxPyTaskBarIcon *result = 0 ;
16273
16274 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16275 {
16276 if (!wxPyCheckForApp()) SWIG_fail;
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16290 PyObject *resultobj = 0;
16291 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16292 void *argp1 = 0 ;
16293 int res1 = 0 ;
16294 PyObject *swig_obj[1] ;
16295
16296 if (!args) SWIG_fail;
16297 swig_obj[0] = args;
16298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16299 if (!SWIG_IsOK(res1)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16301 }
16302 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16303 {
16304 PyThreadState* __tstate = wxPyBeginAllowThreads();
16305 delete arg1;
16306
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = SWIG_Py_Void();
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj = 0;
16319 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16320 PyObject *arg2 = (PyObject *) 0 ;
16321 PyObject *arg3 = (PyObject *) 0 ;
16322 int arg4 ;
16323 void *argp1 = 0 ;
16324 int res1 = 0 ;
16325 int val4 ;
16326 int ecode4 = 0 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 PyObject * obj2 = 0 ;
16330 PyObject * obj3 = 0 ;
16331 char * kwnames[] = {
16332 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16333 };
16334
16335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16337 if (!SWIG_IsOK(res1)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16339 }
16340 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16341 arg2 = obj1;
16342 arg3 = obj2;
16343 ecode4 = SWIG_AsVal_int(obj3, &val4);
16344 if (!SWIG_IsOK(ecode4)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16346 }
16347 arg4 = static_cast< int >(val4);
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_Py_Void();
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16362 PyObject *resultobj = 0;
16363 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16364 void *argp1 = 0 ;
16365 int res1 = 0 ;
16366 PyObject *swig_obj[1] ;
16367
16368 if (!args) SWIG_fail;
16369 swig_obj[0] = args;
16370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16371 if (!SWIG_IsOK(res1)) {
16372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16373 }
16374 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16375 {
16376 PyThreadState* __tstate = wxPyBeginAllowThreads();
16377 wxPyTaskBarIcon_Destroy(arg1);
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 resultobj = SWIG_Py_Void();
16382 return resultobj;
16383 fail:
16384 return NULL;
16385 }
16386
16387
16388 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16389 PyObject *resultobj = 0;
16390 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16391 bool result;
16392 void *argp1 = 0 ;
16393 int res1 = 0 ;
16394 PyObject *swig_obj[1] ;
16395
16396 if (!args) SWIG_fail;
16397 swig_obj[0] = args;
16398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16399 if (!SWIG_IsOK(res1)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16401 }
16402 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16406 wxPyEndAllowThreads(__tstate);
16407 if (PyErr_Occurred()) SWIG_fail;
16408 }
16409 {
16410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16411 }
16412 return resultobj;
16413 fail:
16414 return NULL;
16415 }
16416
16417
16418 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16419 PyObject *resultobj = 0;
16420 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16421 bool result;
16422 void *argp1 = 0 ;
16423 int res1 = 0 ;
16424 PyObject *swig_obj[1] ;
16425
16426 if (!args) SWIG_fail;
16427 swig_obj[0] = args;
16428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16429 if (!SWIG_IsOK(res1)) {
16430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16431 }
16432 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 {
16440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj = 0;
16450 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16451 wxIcon *arg2 = 0 ;
16452 wxString const &arg3_defvalue = wxPyEmptyString ;
16453 wxString *arg3 = (wxString *) &arg3_defvalue ;
16454 bool result;
16455 void *argp1 = 0 ;
16456 int res1 = 0 ;
16457 void *argp2 = 0 ;
16458 int res2 = 0 ;
16459 bool temp3 = false ;
16460 PyObject * obj0 = 0 ;
16461 PyObject * obj1 = 0 ;
16462 PyObject * obj2 = 0 ;
16463 char * kwnames[] = {
16464 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16465 };
16466
16467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16469 if (!SWIG_IsOK(res1)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16471 }
16472 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16473 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16474 if (!SWIG_IsOK(res2)) {
16475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16476 }
16477 if (!argp2) {
16478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16479 }
16480 arg2 = reinterpret_cast< wxIcon * >(argp2);
16481 if (obj2) {
16482 {
16483 arg3 = wxString_in_helper(obj2);
16484 if (arg3 == NULL) SWIG_fail;
16485 temp3 = true;
16486 }
16487 }
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 {
16495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16496 }
16497 {
16498 if (temp3)
16499 delete arg3;
16500 }
16501 return resultobj;
16502 fail:
16503 {
16504 if (temp3)
16505 delete arg3;
16506 }
16507 return NULL;
16508 }
16509
16510
16511 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16512 PyObject *resultobj = 0;
16513 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16514 bool result;
16515 void *argp1 = 0 ;
16516 int res1 = 0 ;
16517 PyObject *swig_obj[1] ;
16518
16519 if (!args) SWIG_fail;
16520 swig_obj[0] = args;
16521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16522 if (!SWIG_IsOK(res1)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16524 }
16525 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (bool)(arg1)->RemoveIcon();
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
16533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16534 }
16535 return resultobj;
16536 fail:
16537 return NULL;
16538 }
16539
16540
16541 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16542 PyObject *resultobj = 0;
16543 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16544 wxMenu *arg2 = (wxMenu *) 0 ;
16545 bool result;
16546 void *argp1 = 0 ;
16547 int res1 = 0 ;
16548 void *argp2 = 0 ;
16549 int res2 = 0 ;
16550 PyObject * obj0 = 0 ;
16551 PyObject * obj1 = 0 ;
16552 char * kwnames[] = {
16553 (char *) "self",(char *) "menu", NULL
16554 };
16555
16556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16558 if (!SWIG_IsOK(res1)) {
16559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16560 }
16561 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16562 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16563 if (!SWIG_IsOK(res2)) {
16564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16565 }
16566 arg2 = reinterpret_cast< wxMenu * >(argp2);
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (bool)(arg1)->PopupMenu(arg2);
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 {
16574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16575 }
16576 return resultobj;
16577 fail:
16578 return NULL;
16579 }
16580
16581
16582 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16583 PyObject *obj;
16584 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16586 return SWIG_Py_Void();
16587 }
16588
16589 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16590 return SWIG_Python_InitShadowInstance(args);
16591 }
16592
16593 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj = 0;
16595 wxEventType arg1 ;
16596 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16597 wxTaskBarIconEvent *result = 0 ;
16598 int val1 ;
16599 int ecode1 = 0 ;
16600 void *argp2 = 0 ;
16601 int res2 = 0 ;
16602 PyObject * obj0 = 0 ;
16603 PyObject * obj1 = 0 ;
16604 char * kwnames[] = {
16605 (char *) "evtType",(char *) "tbIcon", NULL
16606 };
16607
16608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16609 ecode1 = SWIG_AsVal_int(obj0, &val1);
16610 if (!SWIG_IsOK(ecode1)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16612 }
16613 arg1 = static_cast< wxEventType >(val1);
16614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16615 if (!SWIG_IsOK(res2)) {
16616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16617 }
16618 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16626 return resultobj;
16627 fail:
16628 return NULL;
16629 }
16630
16631
16632 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16633 PyObject *obj;
16634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16635 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16636 return SWIG_Py_Void();
16637 }
16638
16639 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16640 return SWIG_Python_InitShadowInstance(args);
16641 }
16642
16643 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16644 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16645 return 1;
16646 }
16647
16648
16649 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16650 PyObject *pyobj = 0;
16651
16652 {
16653 #if wxUSE_UNICODE
16654 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16655 #else
16656 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16657 #endif
16658 }
16659 return pyobj;
16660 }
16661
16662
16663 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16664 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16665 return 1;
16666 }
16667
16668
16669 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16670 PyObject *pyobj = 0;
16671
16672 {
16673 #if wxUSE_UNICODE
16674 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16675 #else
16676 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16677 #endif
16678 }
16679 return pyobj;
16680 }
16681
16682
16683 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16684 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16685 return 1;
16686 }
16687
16688
16689 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16690 PyObject *pyobj = 0;
16691
16692 {
16693 #if wxUSE_UNICODE
16694 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16695 #else
16696 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16697 #endif
16698 }
16699 return pyobj;
16700 }
16701
16702
16703 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16704 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16705 return 1;
16706 }
16707
16708
16709 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16710 PyObject *pyobj = 0;
16711
16712 {
16713 #if wxUSE_UNICODE
16714 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16715 #else
16716 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16717 #endif
16718 }
16719 return pyobj;
16720 }
16721
16722
16723 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16724 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16725 return 1;
16726 }
16727
16728
16729 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16730 PyObject *pyobj = 0;
16731
16732 {
16733 #if wxUSE_UNICODE
16734 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16735 #else
16736 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16737 #endif
16738 }
16739 return pyobj;
16740 }
16741
16742
16743 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16744 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16745 return 1;
16746 }
16747
16748
16749 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16750 PyObject *pyobj = 0;
16751
16752 {
16753 #if wxUSE_UNICODE
16754 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16755 #else
16756 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16757 #endif
16758 }
16759 return pyobj;
16760 }
16761
16762
16763 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16764 PyObject *resultobj = 0;
16765 wxColourData *result = 0 ;
16766
16767 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (wxColourData *)new wxColourData();
16771 wxPyEndAllowThreads(__tstate);
16772 if (PyErr_Occurred()) SWIG_fail;
16773 }
16774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16775 return resultobj;
16776 fail:
16777 return NULL;
16778 }
16779
16780
16781 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16782 PyObject *resultobj = 0;
16783 wxColourData *arg1 = (wxColourData *) 0 ;
16784 void *argp1 = 0 ;
16785 int res1 = 0 ;
16786 PyObject *swig_obj[1] ;
16787
16788 if (!args) SWIG_fail;
16789 swig_obj[0] = args;
16790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16791 if (!SWIG_IsOK(res1)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16793 }
16794 arg1 = reinterpret_cast< wxColourData * >(argp1);
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 delete arg1;
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = SWIG_Py_Void();
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16810 PyObject *resultobj = 0;
16811 wxColourData *arg1 = (wxColourData *) 0 ;
16812 bool result;
16813 void *argp1 = 0 ;
16814 int res1 = 0 ;
16815 PyObject *swig_obj[1] ;
16816
16817 if (!args) SWIG_fail;
16818 swig_obj[0] = args;
16819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16820 if (!SWIG_IsOK(res1)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16822 }
16823 arg1 = reinterpret_cast< wxColourData * >(argp1);
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (bool)(arg1)->GetChooseFull();
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 {
16831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16832 }
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16840 PyObject *resultobj = 0;
16841 wxColourData *arg1 = (wxColourData *) 0 ;
16842 wxColour result;
16843 void *argp1 = 0 ;
16844 int res1 = 0 ;
16845 PyObject *swig_obj[1] ;
16846
16847 if (!args) SWIG_fail;
16848 swig_obj[0] = args;
16849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16850 if (!SWIG_IsOK(res1)) {
16851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16852 }
16853 arg1 = reinterpret_cast< wxColourData * >(argp1);
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (arg1)->GetColour();
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj = 0;
16869 wxColourData *arg1 = (wxColourData *) 0 ;
16870 int arg2 ;
16871 wxColour result;
16872 void *argp1 = 0 ;
16873 int res1 = 0 ;
16874 int val2 ;
16875 int ecode2 = 0 ;
16876 PyObject * obj0 = 0 ;
16877 PyObject * obj1 = 0 ;
16878 char * kwnames[] = {
16879 (char *) "self",(char *) "i", NULL
16880 };
16881
16882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16884 if (!SWIG_IsOK(res1)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16886 }
16887 arg1 = reinterpret_cast< wxColourData * >(argp1);
16888 ecode2 = SWIG_AsVal_int(obj1, &val2);
16889 if (!SWIG_IsOK(ecode2)) {
16890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16891 }
16892 arg2 = static_cast< int >(val2);
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 result = (arg1)->GetCustomColour(arg2);
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj = 0;
16908 wxColourData *arg1 = (wxColourData *) 0 ;
16909 int arg2 ;
16910 void *argp1 = 0 ;
16911 int res1 = 0 ;
16912 int val2 ;
16913 int ecode2 = 0 ;
16914 PyObject * obj0 = 0 ;
16915 PyObject * obj1 = 0 ;
16916 char * kwnames[] = {
16917 (char *) "self",(char *) "flag", NULL
16918 };
16919
16920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16922 if (!SWIG_IsOK(res1)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16924 }
16925 arg1 = reinterpret_cast< wxColourData * >(argp1);
16926 ecode2 = SWIG_AsVal_int(obj1, &val2);
16927 if (!SWIG_IsOK(ecode2)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16929 }
16930 arg2 = static_cast< int >(val2);
16931 {
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
16933 (arg1)->SetChooseFull(arg2);
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 resultobj = SWIG_Py_Void();
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj = 0;
16946 wxColourData *arg1 = (wxColourData *) 0 ;
16947 wxColour *arg2 = 0 ;
16948 void *argp1 = 0 ;
16949 int res1 = 0 ;
16950 wxColour temp2 ;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 char * kwnames[] = {
16954 (char *) "self",(char *) "colour", NULL
16955 };
16956
16957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16959 if (!SWIG_IsOK(res1)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16961 }
16962 arg1 = reinterpret_cast< wxColourData * >(argp1);
16963 {
16964 arg2 = &temp2;
16965 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16966 }
16967 {
16968 PyThreadState* __tstate = wxPyBeginAllowThreads();
16969 (arg1)->SetColour((wxColour const &)*arg2);
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 resultobj = SWIG_Py_Void();
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj = 0;
16982 wxColourData *arg1 = (wxColourData *) 0 ;
16983 int arg2 ;
16984 wxColour *arg3 = 0 ;
16985 void *argp1 = 0 ;
16986 int res1 = 0 ;
16987 int val2 ;
16988 int ecode2 = 0 ;
16989 wxColour temp3 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 PyObject * obj2 = 0 ;
16993 char * kwnames[] = {
16994 (char *) "self",(char *) "i",(char *) "colour", NULL
16995 };
16996
16997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16999 if (!SWIG_IsOK(res1)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17001 }
17002 arg1 = reinterpret_cast< wxColourData * >(argp1);
17003 ecode2 = SWIG_AsVal_int(obj1, &val2);
17004 if (!SWIG_IsOK(ecode2)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17006 }
17007 arg2 = static_cast< int >(val2);
17008 {
17009 arg3 = &temp3;
17010 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
17011 }
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 resultobj = SWIG_Py_Void();
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17026 PyObject *obj;
17027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17028 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
17029 return SWIG_Py_Void();
17030 }
17031
17032 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17033 return SWIG_Python_InitShadowInstance(args);
17034 }
17035
17036 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj = 0;
17038 wxWindow *arg1 = (wxWindow *) 0 ;
17039 wxColourData *arg2 = (wxColourData *) NULL ;
17040 wxColourDialog *result = 0 ;
17041 void *argp1 = 0 ;
17042 int res1 = 0 ;
17043 void *argp2 = 0 ;
17044 int res2 = 0 ;
17045 PyObject * obj0 = 0 ;
17046 PyObject * obj1 = 0 ;
17047 char * kwnames[] = {
17048 (char *) "parent",(char *) "data", NULL
17049 };
17050
17051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
17052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17053 if (!SWIG_IsOK(res1)) {
17054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17055 }
17056 arg1 = reinterpret_cast< wxWindow * >(argp1);
17057 if (obj1) {
17058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17059 if (!SWIG_IsOK(res2)) {
17060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17061 }
17062 arg2 = reinterpret_cast< wxColourData * >(argp2);
17063 }
17064 {
17065 if (!wxPyCheckForApp()) SWIG_fail;
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17072 return resultobj;
17073 fail:
17074 return NULL;
17075 }
17076
17077
17078 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17079 PyObject *resultobj = 0;
17080 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17081 wxColourData *result = 0 ;
17082 void *argp1 = 0 ;
17083 int res1 = 0 ;
17084 PyObject *swig_obj[1] ;
17085
17086 if (!args) SWIG_fail;
17087 swig_obj[0] = args;
17088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17089 if (!SWIG_IsOK(res1)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17091 }
17092 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 {
17096 wxColourData &_result_ref = (arg1)->GetColourData();
17097 result = (wxColourData *) &_result_ref;
17098 }
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17110 PyObject *obj;
17111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17112 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17113 return SWIG_Py_Void();
17114 }
17115
17116 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17117 return SWIG_Python_InitShadowInstance(args);
17118 }
17119
17120 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj = 0;
17122 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17123 wxColour const &arg2_defvalue = wxNullColour ;
17124 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17125 wxString const &arg3_defvalue = wxPyEmptyString ;
17126 wxString *arg3 = (wxString *) &arg3_defvalue ;
17127 wxColour result;
17128 void *argp1 = 0 ;
17129 int res1 = 0 ;
17130 wxColour temp2 ;
17131 bool temp3 = false ;
17132 PyObject * obj0 = 0 ;
17133 PyObject * obj1 = 0 ;
17134 PyObject * obj2 = 0 ;
17135 char * kwnames[] = {
17136 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17137 };
17138
17139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17140 if (obj0) {
17141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17142 if (!SWIG_IsOK(res1)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17144 }
17145 arg1 = reinterpret_cast< wxWindow * >(argp1);
17146 }
17147 if (obj1) {
17148 {
17149 arg2 = &temp2;
17150 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17151 }
17152 }
17153 if (obj2) {
17154 {
17155 arg3 = wxString_in_helper(obj2);
17156 if (arg3 == NULL) SWIG_fail;
17157 temp3 = true;
17158 }
17159 }
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17167 {
17168 if (temp3)
17169 delete arg3;
17170 }
17171 return resultobj;
17172 fail:
17173 {
17174 if (temp3)
17175 delete arg3;
17176 }
17177 return NULL;
17178 }
17179
17180
17181 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj = 0;
17183 wxWindow *arg1 = (wxWindow *) 0 ;
17184 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17185 wxString *arg2 = (wxString *) &arg2_defvalue ;
17186 wxString const &arg3_defvalue = wxPyEmptyString ;
17187 wxString *arg3 = (wxString *) &arg3_defvalue ;
17188 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17189 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17190 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17191 wxSize const &arg6_defvalue = wxDefaultSize ;
17192 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17193 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17194 wxString *arg7 = (wxString *) &arg7_defvalue ;
17195 wxDirDialog *result = 0 ;
17196 void *argp1 = 0 ;
17197 int res1 = 0 ;
17198 bool temp2 = false ;
17199 bool temp3 = false ;
17200 long val4 ;
17201 int ecode4 = 0 ;
17202 wxPoint temp5 ;
17203 wxSize temp6 ;
17204 bool temp7 = false ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 PyObject * obj2 = 0 ;
17208 PyObject * obj3 = 0 ;
17209 PyObject * obj4 = 0 ;
17210 PyObject * obj5 = 0 ;
17211 PyObject * obj6 = 0 ;
17212 char * kwnames[] = {
17213 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17214 };
17215
17216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17218 if (!SWIG_IsOK(res1)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17220 }
17221 arg1 = reinterpret_cast< wxWindow * >(argp1);
17222 if (obj1) {
17223 {
17224 arg2 = wxString_in_helper(obj1);
17225 if (arg2 == NULL) SWIG_fail;
17226 temp2 = true;
17227 }
17228 }
17229 if (obj2) {
17230 {
17231 arg3 = wxString_in_helper(obj2);
17232 if (arg3 == NULL) SWIG_fail;
17233 temp3 = true;
17234 }
17235 }
17236 if (obj3) {
17237 ecode4 = SWIG_AsVal_long(obj3, &val4);
17238 if (!SWIG_IsOK(ecode4)) {
17239 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17240 }
17241 arg4 = static_cast< long >(val4);
17242 }
17243 if (obj4) {
17244 {
17245 arg5 = &temp5;
17246 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17247 }
17248 }
17249 if (obj5) {
17250 {
17251 arg6 = &temp6;
17252 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17253 }
17254 }
17255 if (obj6) {
17256 {
17257 arg7 = wxString_in_helper(obj6);
17258 if (arg7 == NULL) SWIG_fail;
17259 temp7 = true;
17260 }
17261 }
17262 {
17263 if (!wxPyCheckForApp()) SWIG_fail;
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17270 {
17271 if (temp2)
17272 delete arg2;
17273 }
17274 {
17275 if (temp3)
17276 delete arg3;
17277 }
17278 {
17279 if (temp7)
17280 delete arg7;
17281 }
17282 return resultobj;
17283 fail:
17284 {
17285 if (temp2)
17286 delete arg2;
17287 }
17288 {
17289 if (temp3)
17290 delete arg3;
17291 }
17292 {
17293 if (temp7)
17294 delete arg7;
17295 }
17296 return NULL;
17297 }
17298
17299
17300 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17301 PyObject *resultobj = 0;
17302 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17303 wxString result;
17304 void *argp1 = 0 ;
17305 int res1 = 0 ;
17306 PyObject *swig_obj[1] ;
17307
17308 if (!args) SWIG_fail;
17309 swig_obj[0] = args;
17310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17311 if (!SWIG_IsOK(res1)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17313 }
17314 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 result = (arg1)->GetPath();
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 {
17322 #if wxUSE_UNICODE
17323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17324 #else
17325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17326 #endif
17327 }
17328 return resultobj;
17329 fail:
17330 return NULL;
17331 }
17332
17333
17334 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17335 PyObject *resultobj = 0;
17336 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17337 wxString result;
17338 void *argp1 = 0 ;
17339 int res1 = 0 ;
17340 PyObject *swig_obj[1] ;
17341
17342 if (!args) SWIG_fail;
17343 swig_obj[0] = args;
17344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17345 if (!SWIG_IsOK(res1)) {
17346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17347 }
17348 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
17351 result = (arg1)->GetMessage();
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 {
17356 #if wxUSE_UNICODE
17357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17358 #else
17359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17360 #endif
17361 }
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj = 0;
17370 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17371 wxString *arg2 = 0 ;
17372 void *argp1 = 0 ;
17373 int res1 = 0 ;
17374 bool temp2 = false ;
17375 PyObject * obj0 = 0 ;
17376 PyObject * obj1 = 0 ;
17377 char * kwnames[] = {
17378 (char *) "self",(char *) "message", NULL
17379 };
17380
17381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17383 if (!SWIG_IsOK(res1)) {
17384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17385 }
17386 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17387 {
17388 arg2 = wxString_in_helper(obj1);
17389 if (arg2 == NULL) SWIG_fail;
17390 temp2 = true;
17391 }
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 (arg1)->SetMessage((wxString const &)*arg2);
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 resultobj = SWIG_Py_Void();
17399 {
17400 if (temp2)
17401 delete arg2;
17402 }
17403 return resultobj;
17404 fail:
17405 {
17406 if (temp2)
17407 delete arg2;
17408 }
17409 return NULL;
17410 }
17411
17412
17413 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17414 PyObject *resultobj = 0;
17415 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17416 wxString *arg2 = 0 ;
17417 void *argp1 = 0 ;
17418 int res1 = 0 ;
17419 bool temp2 = false ;
17420 PyObject * obj0 = 0 ;
17421 PyObject * obj1 = 0 ;
17422 char * kwnames[] = {
17423 (char *) "self",(char *) "path", NULL
17424 };
17425
17426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17428 if (!SWIG_IsOK(res1)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17430 }
17431 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17432 {
17433 arg2 = wxString_in_helper(obj1);
17434 if (arg2 == NULL) SWIG_fail;
17435 temp2 = true;
17436 }
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 (arg1)->SetPath((wxString const &)*arg2);
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 resultobj = SWIG_Py_Void();
17444 {
17445 if (temp2)
17446 delete arg2;
17447 }
17448 return resultobj;
17449 fail:
17450 {
17451 if (temp2)
17452 delete arg2;
17453 }
17454 return NULL;
17455 }
17456
17457
17458 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17459 PyObject *obj;
17460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17461 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17462 return SWIG_Py_Void();
17463 }
17464
17465 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17466 return SWIG_Python_InitShadowInstance(args);
17467 }
17468
17469 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17470 PyObject *resultobj = 0;
17471 wxWindow *arg1 = (wxWindow *) 0 ;
17472 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17473 wxString *arg2 = (wxString *) &arg2_defvalue ;
17474 wxString const &arg3_defvalue = wxPyEmptyString ;
17475 wxString *arg3 = (wxString *) &arg3_defvalue ;
17476 wxString const &arg4_defvalue = wxPyEmptyString ;
17477 wxString *arg4 = (wxString *) &arg4_defvalue ;
17478 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17479 wxString *arg5 = (wxString *) &arg5_defvalue ;
17480 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17481 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17482 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17483 wxFileDialog *result = 0 ;
17484 void *argp1 = 0 ;
17485 int res1 = 0 ;
17486 bool temp2 = false ;
17487 bool temp3 = false ;
17488 bool temp4 = false ;
17489 bool temp5 = false ;
17490 long val6 ;
17491 int ecode6 = 0 ;
17492 wxPoint temp7 ;
17493 PyObject * obj0 = 0 ;
17494 PyObject * obj1 = 0 ;
17495 PyObject * obj2 = 0 ;
17496 PyObject * obj3 = 0 ;
17497 PyObject * obj4 = 0 ;
17498 PyObject * obj5 = 0 ;
17499 PyObject * obj6 = 0 ;
17500 char * kwnames[] = {
17501 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17502 };
17503
17504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17506 if (!SWIG_IsOK(res1)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17508 }
17509 arg1 = reinterpret_cast< wxWindow * >(argp1);
17510 if (obj1) {
17511 {
17512 arg2 = wxString_in_helper(obj1);
17513 if (arg2 == NULL) SWIG_fail;
17514 temp2 = true;
17515 }
17516 }
17517 if (obj2) {
17518 {
17519 arg3 = wxString_in_helper(obj2);
17520 if (arg3 == NULL) SWIG_fail;
17521 temp3 = true;
17522 }
17523 }
17524 if (obj3) {
17525 {
17526 arg4 = wxString_in_helper(obj3);
17527 if (arg4 == NULL) SWIG_fail;
17528 temp4 = true;
17529 }
17530 }
17531 if (obj4) {
17532 {
17533 arg5 = wxString_in_helper(obj4);
17534 if (arg5 == NULL) SWIG_fail;
17535 temp5 = true;
17536 }
17537 }
17538 if (obj5) {
17539 ecode6 = SWIG_AsVal_long(obj5, &val6);
17540 if (!SWIG_IsOK(ecode6)) {
17541 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17542 }
17543 arg6 = static_cast< long >(val6);
17544 }
17545 if (obj6) {
17546 {
17547 arg7 = &temp7;
17548 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17549 }
17550 }
17551 {
17552 if (!wxPyCheckForApp()) SWIG_fail;
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17555 wxPyEndAllowThreads(__tstate);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17559 {
17560 if (temp2)
17561 delete arg2;
17562 }
17563 {
17564 if (temp3)
17565 delete arg3;
17566 }
17567 {
17568 if (temp4)
17569 delete arg4;
17570 }
17571 {
17572 if (temp5)
17573 delete arg5;
17574 }
17575 return resultobj;
17576 fail:
17577 {
17578 if (temp2)
17579 delete arg2;
17580 }
17581 {
17582 if (temp3)
17583 delete arg3;
17584 }
17585 {
17586 if (temp4)
17587 delete arg4;
17588 }
17589 {
17590 if (temp5)
17591 delete arg5;
17592 }
17593 return NULL;
17594 }
17595
17596
17597 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj = 0;
17599 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17600 wxString *arg2 = 0 ;
17601 void *argp1 = 0 ;
17602 int res1 = 0 ;
17603 bool temp2 = false ;
17604 PyObject * obj0 = 0 ;
17605 PyObject * obj1 = 0 ;
17606 char * kwnames[] = {
17607 (char *) "self",(char *) "message", NULL
17608 };
17609
17610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17612 if (!SWIG_IsOK(res1)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17614 }
17615 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17616 {
17617 arg2 = wxString_in_helper(obj1);
17618 if (arg2 == NULL) SWIG_fail;
17619 temp2 = true;
17620 }
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 (arg1)->SetMessage((wxString const &)*arg2);
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 resultobj = SWIG_Py_Void();
17628 {
17629 if (temp2)
17630 delete arg2;
17631 }
17632 return resultobj;
17633 fail:
17634 {
17635 if (temp2)
17636 delete arg2;
17637 }
17638 return NULL;
17639 }
17640
17641
17642 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj = 0;
17644 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17645 wxString *arg2 = 0 ;
17646 void *argp1 = 0 ;
17647 int res1 = 0 ;
17648 bool temp2 = false ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 char * kwnames[] = {
17652 (char *) "self",(char *) "path", NULL
17653 };
17654
17655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17657 if (!SWIG_IsOK(res1)) {
17658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17659 }
17660 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17661 {
17662 arg2 = wxString_in_helper(obj1);
17663 if (arg2 == NULL) SWIG_fail;
17664 temp2 = true;
17665 }
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->SetPath((wxString const &)*arg2);
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 resultobj = SWIG_Py_Void();
17673 {
17674 if (temp2)
17675 delete arg2;
17676 }
17677 return resultobj;
17678 fail:
17679 {
17680 if (temp2)
17681 delete arg2;
17682 }
17683 return NULL;
17684 }
17685
17686
17687 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj = 0;
17689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17690 wxString *arg2 = 0 ;
17691 void *argp1 = 0 ;
17692 int res1 = 0 ;
17693 bool temp2 = false ;
17694 PyObject * obj0 = 0 ;
17695 PyObject * obj1 = 0 ;
17696 char * kwnames[] = {
17697 (char *) "self",(char *) "dir", NULL
17698 };
17699
17700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17702 if (!SWIG_IsOK(res1)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17704 }
17705 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17706 {
17707 arg2 = wxString_in_helper(obj1);
17708 if (arg2 == NULL) SWIG_fail;
17709 temp2 = true;
17710 }
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 (arg1)->SetDirectory((wxString const &)*arg2);
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = SWIG_Py_Void();
17718 {
17719 if (temp2)
17720 delete arg2;
17721 }
17722 return resultobj;
17723 fail:
17724 {
17725 if (temp2)
17726 delete arg2;
17727 }
17728 return NULL;
17729 }
17730
17731
17732 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj = 0;
17734 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17735 wxString *arg2 = 0 ;
17736 void *argp1 = 0 ;
17737 int res1 = 0 ;
17738 bool temp2 = false ;
17739 PyObject * obj0 = 0 ;
17740 PyObject * obj1 = 0 ;
17741 char * kwnames[] = {
17742 (char *) "self",(char *) "name", NULL
17743 };
17744
17745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17747 if (!SWIG_IsOK(res1)) {
17748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17749 }
17750 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17751 {
17752 arg2 = wxString_in_helper(obj1);
17753 if (arg2 == NULL) SWIG_fail;
17754 temp2 = true;
17755 }
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 (arg1)->SetFilename((wxString const &)*arg2);
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 resultobj = SWIG_Py_Void();
17763 {
17764 if (temp2)
17765 delete arg2;
17766 }
17767 return resultobj;
17768 fail:
17769 {
17770 if (temp2)
17771 delete arg2;
17772 }
17773 return NULL;
17774 }
17775
17776
17777 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17778 PyObject *resultobj = 0;
17779 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17780 wxString *arg2 = 0 ;
17781 void *argp1 = 0 ;
17782 int res1 = 0 ;
17783 bool temp2 = false ;
17784 PyObject * obj0 = 0 ;
17785 PyObject * obj1 = 0 ;
17786 char * kwnames[] = {
17787 (char *) "self",(char *) "wildCard", NULL
17788 };
17789
17790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17792 if (!SWIG_IsOK(res1)) {
17793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17794 }
17795 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17796 {
17797 arg2 = wxString_in_helper(obj1);
17798 if (arg2 == NULL) SWIG_fail;
17799 temp2 = true;
17800 }
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 (arg1)->SetWildcard((wxString const &)*arg2);
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 resultobj = SWIG_Py_Void();
17808 {
17809 if (temp2)
17810 delete arg2;
17811 }
17812 return resultobj;
17813 fail:
17814 {
17815 if (temp2)
17816 delete arg2;
17817 }
17818 return NULL;
17819 }
17820
17821
17822 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj = 0;
17824 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17825 int arg2 ;
17826 void *argp1 = 0 ;
17827 int res1 = 0 ;
17828 int val2 ;
17829 int ecode2 = 0 ;
17830 PyObject * obj0 = 0 ;
17831 PyObject * obj1 = 0 ;
17832 char * kwnames[] = {
17833 (char *) "self",(char *) "filterIndex", NULL
17834 };
17835
17836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17838 if (!SWIG_IsOK(res1)) {
17839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17840 }
17841 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17842 ecode2 = SWIG_AsVal_int(obj1, &val2);
17843 if (!SWIG_IsOK(ecode2)) {
17844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17845 }
17846 arg2 = static_cast< int >(val2);
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 (arg1)->SetFilterIndex(arg2);
17850 wxPyEndAllowThreads(__tstate);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
17853 resultobj = SWIG_Py_Void();
17854 return resultobj;
17855 fail:
17856 return NULL;
17857 }
17858
17859
17860 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17861 PyObject *resultobj = 0;
17862 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17863 wxString result;
17864 void *argp1 = 0 ;
17865 int res1 = 0 ;
17866 PyObject *swig_obj[1] ;
17867
17868 if (!args) SWIG_fail;
17869 swig_obj[0] = args;
17870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17871 if (!SWIG_IsOK(res1)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17873 }
17874 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 result = ((wxFileDialog const *)arg1)->GetMessage();
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 {
17882 #if wxUSE_UNICODE
17883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17884 #else
17885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17886 #endif
17887 }
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17895 PyObject *resultobj = 0;
17896 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17897 wxString result;
17898 void *argp1 = 0 ;
17899 int res1 = 0 ;
17900 PyObject *swig_obj[1] ;
17901
17902 if (!args) SWIG_fail;
17903 swig_obj[0] = args;
17904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17905 if (!SWIG_IsOK(res1)) {
17906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17907 }
17908 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 result = ((wxFileDialog const *)arg1)->GetPath();
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 {
17916 #if wxUSE_UNICODE
17917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17918 #else
17919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17920 #endif
17921 }
17922 return resultobj;
17923 fail:
17924 return NULL;
17925 }
17926
17927
17928 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17929 PyObject *resultobj = 0;
17930 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17931 wxString result;
17932 void *argp1 = 0 ;
17933 int res1 = 0 ;
17934 PyObject *swig_obj[1] ;
17935
17936 if (!args) SWIG_fail;
17937 swig_obj[0] = args;
17938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17939 if (!SWIG_IsOK(res1)) {
17940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17941 }
17942 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 result = ((wxFileDialog const *)arg1)->GetDirectory();
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 {
17950 #if wxUSE_UNICODE
17951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17952 #else
17953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17954 #endif
17955 }
17956 return resultobj;
17957 fail:
17958 return NULL;
17959 }
17960
17961
17962 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17963 PyObject *resultobj = 0;
17964 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17965 wxString result;
17966 void *argp1 = 0 ;
17967 int res1 = 0 ;
17968 PyObject *swig_obj[1] ;
17969
17970 if (!args) SWIG_fail;
17971 swig_obj[0] = args;
17972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17973 if (!SWIG_IsOK(res1)) {
17974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17975 }
17976 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = ((wxFileDialog const *)arg1)->GetFilename();
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 {
17984 #if wxUSE_UNICODE
17985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17986 #else
17987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17988 #endif
17989 }
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17997 PyObject *resultobj = 0;
17998 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17999 wxString result;
18000 void *argp1 = 0 ;
18001 int res1 = 0 ;
18002 PyObject *swig_obj[1] ;
18003
18004 if (!args) SWIG_fail;
18005 swig_obj[0] = args;
18006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18007 if (!SWIG_IsOK(res1)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18009 }
18010 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 result = ((wxFileDialog const *)arg1)->GetWildcard();
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 {
18018 #if wxUSE_UNICODE
18019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18020 #else
18021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18022 #endif
18023 }
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18031 PyObject *resultobj = 0;
18032 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18033 int result;
18034 void *argp1 = 0 ;
18035 int res1 = 0 ;
18036 PyObject *swig_obj[1] ;
18037
18038 if (!args) SWIG_fail;
18039 swig_obj[0] = args;
18040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18041 if (!SWIG_IsOK(res1)) {
18042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18043 }
18044 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
18048 wxPyEndAllowThreads(__tstate);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 resultobj = SWIG_From_int(static_cast< int >(result));
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18059 PyObject *resultobj = 0;
18060 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18061 PyObject *result = 0 ;
18062 void *argp1 = 0 ;
18063 int res1 = 0 ;
18064 PyObject *swig_obj[1] ;
18065
18066 if (!args) SWIG_fail;
18067 swig_obj[0] = args;
18068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18069 if (!SWIG_IsOK(res1)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18071 }
18072 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 resultobj = result;
18080 return resultobj;
18081 fail:
18082 return NULL;
18083 }
18084
18085
18086 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18087 PyObject *resultobj = 0;
18088 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18089 PyObject *result = 0 ;
18090 void *argp1 = 0 ;
18091 int res1 = 0 ;
18092 PyObject *swig_obj[1] ;
18093
18094 if (!args) SWIG_fail;
18095 swig_obj[0] = args;
18096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18097 if (!SWIG_IsOK(res1)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18099 }
18100 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = result;
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18115 PyObject *obj;
18116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18118 return SWIG_Py_Void();
18119 }
18120
18121 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18122 return SWIG_Python_InitShadowInstance(args);
18123 }
18124
18125 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18126 PyObject *resultobj = 0;
18127 wxWindow *arg1 = (wxWindow *) 0 ;
18128 wxString *arg2 = 0 ;
18129 wxString *arg3 = 0 ;
18130 int arg4 = (int) 0 ;
18131 wxString *arg5 = (wxString *) NULL ;
18132 long arg6 = (long) wxCHOICEDLG_STYLE ;
18133 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18134 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18135 wxMultiChoiceDialog *result = 0 ;
18136 void *argp1 = 0 ;
18137 int res1 = 0 ;
18138 bool temp2 = false ;
18139 bool temp3 = false ;
18140 long val6 ;
18141 int ecode6 = 0 ;
18142 wxPoint temp7 ;
18143 PyObject * obj0 = 0 ;
18144 PyObject * obj1 = 0 ;
18145 PyObject * obj2 = 0 ;
18146 PyObject * obj3 = 0 ;
18147 PyObject * obj4 = 0 ;
18148 PyObject * obj5 = 0 ;
18149 char * kwnames[] = {
18150 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18151 };
18152
18153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18155 if (!SWIG_IsOK(res1)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18157 }
18158 arg1 = reinterpret_cast< wxWindow * >(argp1);
18159 {
18160 arg2 = wxString_in_helper(obj1);
18161 if (arg2 == NULL) SWIG_fail;
18162 temp2 = true;
18163 }
18164 {
18165 arg3 = wxString_in_helper(obj2);
18166 if (arg3 == NULL) SWIG_fail;
18167 temp3 = true;
18168 }
18169 if (obj3) {
18170 {
18171 arg4 = PyList_Size(obj3);
18172 arg5 = wxString_LIST_helper(obj3);
18173 if (arg5 == NULL) SWIG_fail;
18174 }
18175 }
18176 if (obj4) {
18177 ecode6 = SWIG_AsVal_long(obj4, &val6);
18178 if (!SWIG_IsOK(ecode6)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18180 }
18181 arg6 = static_cast< long >(val6);
18182 }
18183 if (obj5) {
18184 {
18185 arg7 = &temp7;
18186 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18187 }
18188 }
18189 {
18190 if (!wxPyCheckForApp()) SWIG_fail;
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18197 {
18198 if (temp2)
18199 delete arg2;
18200 }
18201 {
18202 if (temp3)
18203 delete arg3;
18204 }
18205 {
18206 if (arg5) delete [] arg5;
18207 }
18208 return resultobj;
18209 fail:
18210 {
18211 if (temp2)
18212 delete arg2;
18213 }
18214 {
18215 if (temp3)
18216 delete arg3;
18217 }
18218 {
18219 if (arg5) delete [] arg5;
18220 }
18221 return NULL;
18222 }
18223
18224
18225 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj = 0;
18227 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18228 wxArrayInt *arg2 = 0 ;
18229 void *argp1 = 0 ;
18230 int res1 = 0 ;
18231 bool temp2 = false ;
18232 PyObject * obj0 = 0 ;
18233 PyObject * obj1 = 0 ;
18234 char * kwnames[] = {
18235 (char *) "self",(char *) "selections", NULL
18236 };
18237
18238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18240 if (!SWIG_IsOK(res1)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18242 }
18243 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18244 {
18245 if (! PySequence_Check(obj1)) {
18246 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18247 SWIG_fail;
18248 }
18249 arg2 = new wxArrayInt;
18250 temp2 = true;
18251 int i, len=PySequence_Length(obj1);
18252 for (i=0; i<len; i++) {
18253 PyObject* item = PySequence_GetItem(obj1, i);
18254 PyObject* number = PyNumber_Int(item);
18255 if (!number) {
18256 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18257 SWIG_fail;
18258 }
18259 arg2->Add(PyInt_AS_LONG(number));
18260 Py_DECREF(item);
18261 Py_DECREF(number);
18262 }
18263 }
18264 {
18265 PyThreadState* __tstate = wxPyBeginAllowThreads();
18266 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18267 wxPyEndAllowThreads(__tstate);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
18270 resultobj = SWIG_Py_Void();
18271 {
18272 if (temp2) delete arg2;
18273 }
18274 return resultobj;
18275 fail:
18276 {
18277 if (temp2) delete arg2;
18278 }
18279 return NULL;
18280 }
18281
18282
18283 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18284 PyObject *resultobj = 0;
18285 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18286 PyObject *result = 0 ;
18287 void *argp1 = 0 ;
18288 int res1 = 0 ;
18289 PyObject *swig_obj[1] ;
18290
18291 if (!args) SWIG_fail;
18292 swig_obj[0] = args;
18293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18294 if (!SWIG_IsOK(res1)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18296 }
18297 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 resultobj = result;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18312 PyObject *obj;
18313 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18314 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18315 return SWIG_Py_Void();
18316 }
18317
18318 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18319 return SWIG_Python_InitShadowInstance(args);
18320 }
18321
18322 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj = 0;
18324 wxWindow *arg1 = (wxWindow *) 0 ;
18325 wxString *arg2 = 0 ;
18326 wxString *arg3 = 0 ;
18327 int arg4 ;
18328 wxString *arg5 = (wxString *) 0 ;
18329 long arg6 = (long) wxCHOICEDLG_STYLE ;
18330 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18331 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18332 wxSingleChoiceDialog *result = 0 ;
18333 void *argp1 = 0 ;
18334 int res1 = 0 ;
18335 bool temp2 = false ;
18336 bool temp3 = false ;
18337 long val6 ;
18338 int ecode6 = 0 ;
18339 wxPoint temp7 ;
18340 PyObject * obj0 = 0 ;
18341 PyObject * obj1 = 0 ;
18342 PyObject * obj2 = 0 ;
18343 PyObject * obj3 = 0 ;
18344 PyObject * obj4 = 0 ;
18345 PyObject * obj5 = 0 ;
18346 char * kwnames[] = {
18347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18348 };
18349
18350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18352 if (!SWIG_IsOK(res1)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18354 }
18355 arg1 = reinterpret_cast< wxWindow * >(argp1);
18356 {
18357 arg2 = wxString_in_helper(obj1);
18358 if (arg2 == NULL) SWIG_fail;
18359 temp2 = true;
18360 }
18361 {
18362 arg3 = wxString_in_helper(obj2);
18363 if (arg3 == NULL) SWIG_fail;
18364 temp3 = true;
18365 }
18366 {
18367 arg4 = PyList_Size(obj3);
18368 arg5 = wxString_LIST_helper(obj3);
18369 if (arg5 == NULL) SWIG_fail;
18370 }
18371 if (obj4) {
18372 ecode6 = SWIG_AsVal_long(obj4, &val6);
18373 if (!SWIG_IsOK(ecode6)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18375 }
18376 arg6 = static_cast< long >(val6);
18377 }
18378 if (obj5) {
18379 {
18380 arg7 = &temp7;
18381 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18382 }
18383 }
18384 {
18385 if (!wxPyCheckForApp()) SWIG_fail;
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18392 {
18393 if (temp2)
18394 delete arg2;
18395 }
18396 {
18397 if (temp3)
18398 delete arg3;
18399 }
18400 {
18401 if (arg5) delete [] arg5;
18402 }
18403 return resultobj;
18404 fail:
18405 {
18406 if (temp2)
18407 delete arg2;
18408 }
18409 {
18410 if (temp3)
18411 delete arg3;
18412 }
18413 {
18414 if (arg5) delete [] arg5;
18415 }
18416 return NULL;
18417 }
18418
18419
18420 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18421 PyObject *resultobj = 0;
18422 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18423 int result;
18424 void *argp1 = 0 ;
18425 int res1 = 0 ;
18426 PyObject *swig_obj[1] ;
18427
18428 if (!args) SWIG_fail;
18429 swig_obj[0] = args;
18430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18431 if (!SWIG_IsOK(res1)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18433 }
18434 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 result = (int)(arg1)->GetSelection();
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
18441 resultobj = SWIG_From_int(static_cast< int >(result));
18442 return resultobj;
18443 fail:
18444 return NULL;
18445 }
18446
18447
18448 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18449 PyObject *resultobj = 0;
18450 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18451 wxString result;
18452 void *argp1 = 0 ;
18453 int res1 = 0 ;
18454 PyObject *swig_obj[1] ;
18455
18456 if (!args) SWIG_fail;
18457 swig_obj[0] = args;
18458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18459 if (!SWIG_IsOK(res1)) {
18460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18461 }
18462 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18463 {
18464 PyThreadState* __tstate = wxPyBeginAllowThreads();
18465 result = (arg1)->GetStringSelection();
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 {
18470 #if wxUSE_UNICODE
18471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18472 #else
18473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18474 #endif
18475 }
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj = 0;
18484 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18485 int arg2 ;
18486 void *argp1 = 0 ;
18487 int res1 = 0 ;
18488 int val2 ;
18489 int ecode2 = 0 ;
18490 PyObject * obj0 = 0 ;
18491 PyObject * obj1 = 0 ;
18492 char * kwnames[] = {
18493 (char *) "self",(char *) "sel", NULL
18494 };
18495
18496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18498 if (!SWIG_IsOK(res1)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18500 }
18501 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18502 ecode2 = SWIG_AsVal_int(obj1, &val2);
18503 if (!SWIG_IsOK(ecode2)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18505 }
18506 arg2 = static_cast< int >(val2);
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->SetSelection(arg2);
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 resultobj = SWIG_Py_Void();
18514 return resultobj;
18515 fail:
18516 return NULL;
18517 }
18518
18519
18520 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18521 PyObject *obj;
18522 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18523 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18524 return SWIG_Py_Void();
18525 }
18526
18527 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18528 return SWIG_Python_InitShadowInstance(args);
18529 }
18530
18531 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj = 0;
18533 wxWindow *arg1 = (wxWindow *) 0 ;
18534 wxString *arg2 = 0 ;
18535 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18536 wxString *arg3 = (wxString *) &arg3_defvalue ;
18537 wxString const &arg4_defvalue = wxPyEmptyString ;
18538 wxString *arg4 = (wxString *) &arg4_defvalue ;
18539 long arg5 = (long) wxTextEntryDialogStyle ;
18540 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18541 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18542 wxTextEntryDialog *result = 0 ;
18543 void *argp1 = 0 ;
18544 int res1 = 0 ;
18545 bool temp2 = false ;
18546 bool temp3 = false ;
18547 bool temp4 = false ;
18548 long val5 ;
18549 int ecode5 = 0 ;
18550 wxPoint temp6 ;
18551 PyObject * obj0 = 0 ;
18552 PyObject * obj1 = 0 ;
18553 PyObject * obj2 = 0 ;
18554 PyObject * obj3 = 0 ;
18555 PyObject * obj4 = 0 ;
18556 PyObject * obj5 = 0 ;
18557 char * kwnames[] = {
18558 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18559 };
18560
18561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18563 if (!SWIG_IsOK(res1)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18565 }
18566 arg1 = reinterpret_cast< wxWindow * >(argp1);
18567 {
18568 arg2 = wxString_in_helper(obj1);
18569 if (arg2 == NULL) SWIG_fail;
18570 temp2 = true;
18571 }
18572 if (obj2) {
18573 {
18574 arg3 = wxString_in_helper(obj2);
18575 if (arg3 == NULL) SWIG_fail;
18576 temp3 = true;
18577 }
18578 }
18579 if (obj3) {
18580 {
18581 arg4 = wxString_in_helper(obj3);
18582 if (arg4 == NULL) SWIG_fail;
18583 temp4 = true;
18584 }
18585 }
18586 if (obj4) {
18587 ecode5 = SWIG_AsVal_long(obj4, &val5);
18588 if (!SWIG_IsOK(ecode5)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18590 }
18591 arg5 = static_cast< long >(val5);
18592 }
18593 if (obj5) {
18594 {
18595 arg6 = &temp6;
18596 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18597 }
18598 }
18599 {
18600 if (!wxPyCheckForApp()) SWIG_fail;
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18607 {
18608 if (temp2)
18609 delete arg2;
18610 }
18611 {
18612 if (temp3)
18613 delete arg3;
18614 }
18615 {
18616 if (temp4)
18617 delete arg4;
18618 }
18619 return resultobj;
18620 fail:
18621 {
18622 if (temp2)
18623 delete arg2;
18624 }
18625 {
18626 if (temp3)
18627 delete arg3;
18628 }
18629 {
18630 if (temp4)
18631 delete arg4;
18632 }
18633 return NULL;
18634 }
18635
18636
18637 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18638 PyObject *resultobj = 0;
18639 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18640 wxString result;
18641 void *argp1 = 0 ;
18642 int res1 = 0 ;
18643 PyObject *swig_obj[1] ;
18644
18645 if (!args) SWIG_fail;
18646 swig_obj[0] = args;
18647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18648 if (!SWIG_IsOK(res1)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18650 }
18651 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (arg1)->GetValue();
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 {
18659 #if wxUSE_UNICODE
18660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18661 #else
18662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18663 #endif
18664 }
18665 return resultobj;
18666 fail:
18667 return NULL;
18668 }
18669
18670
18671 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj = 0;
18673 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18674 wxString *arg2 = 0 ;
18675 void *argp1 = 0 ;
18676 int res1 = 0 ;
18677 bool temp2 = false ;
18678 PyObject * obj0 = 0 ;
18679 PyObject * obj1 = 0 ;
18680 char * kwnames[] = {
18681 (char *) "self",(char *) "value", NULL
18682 };
18683
18684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18686 if (!SWIG_IsOK(res1)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18688 }
18689 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18690 {
18691 arg2 = wxString_in_helper(obj1);
18692 if (arg2 == NULL) SWIG_fail;
18693 temp2 = true;
18694 }
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->SetValue((wxString const &)*arg2);
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = SWIG_Py_Void();
18702 {
18703 if (temp2)
18704 delete arg2;
18705 }
18706 return resultobj;
18707 fail:
18708 {
18709 if (temp2)
18710 delete arg2;
18711 }
18712 return NULL;
18713 }
18714
18715
18716 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18717 PyObject *obj;
18718 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18719 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18720 return SWIG_Py_Void();
18721 }
18722
18723 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18724 return SWIG_Python_InitShadowInstance(args);
18725 }
18726
18727 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18728 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18729 return 1;
18730 }
18731
18732
18733 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18734 PyObject *pyobj = 0;
18735
18736 {
18737 #if wxUSE_UNICODE
18738 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18739 #else
18740 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18741 #endif
18742 }
18743 return pyobj;
18744 }
18745
18746
18747 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj = 0;
18749 wxWindow *arg1 = (wxWindow *) 0 ;
18750 wxString *arg2 = 0 ;
18751 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18752 wxString *arg3 = (wxString *) &arg3_defvalue ;
18753 wxString const &arg4_defvalue = wxPyEmptyString ;
18754 wxString *arg4 = (wxString *) &arg4_defvalue ;
18755 long arg5 = (long) wxTextEntryDialogStyle ;
18756 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18757 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18758 wxPasswordEntryDialog *result = 0 ;
18759 void *argp1 = 0 ;
18760 int res1 = 0 ;
18761 bool temp2 = false ;
18762 bool temp3 = false ;
18763 bool temp4 = false ;
18764 long val5 ;
18765 int ecode5 = 0 ;
18766 wxPoint temp6 ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 PyObject * obj2 = 0 ;
18770 PyObject * obj3 = 0 ;
18771 PyObject * obj4 = 0 ;
18772 PyObject * obj5 = 0 ;
18773 char * kwnames[] = {
18774 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18775 };
18776
18777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18779 if (!SWIG_IsOK(res1)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18781 }
18782 arg1 = reinterpret_cast< wxWindow * >(argp1);
18783 {
18784 arg2 = wxString_in_helper(obj1);
18785 if (arg2 == NULL) SWIG_fail;
18786 temp2 = true;
18787 }
18788 if (obj2) {
18789 {
18790 arg3 = wxString_in_helper(obj2);
18791 if (arg3 == NULL) SWIG_fail;
18792 temp3 = true;
18793 }
18794 }
18795 if (obj3) {
18796 {
18797 arg4 = wxString_in_helper(obj3);
18798 if (arg4 == NULL) SWIG_fail;
18799 temp4 = true;
18800 }
18801 }
18802 if (obj4) {
18803 ecode5 = SWIG_AsVal_long(obj4, &val5);
18804 if (!SWIG_IsOK(ecode5)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18806 }
18807 arg5 = static_cast< long >(val5);
18808 }
18809 if (obj5) {
18810 {
18811 arg6 = &temp6;
18812 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18813 }
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18822 {
18823 if (temp2)
18824 delete arg2;
18825 }
18826 {
18827 if (temp3)
18828 delete arg3;
18829 }
18830 {
18831 if (temp4)
18832 delete arg4;
18833 }
18834 return resultobj;
18835 fail:
18836 {
18837 if (temp2)
18838 delete arg2;
18839 }
18840 {
18841 if (temp3)
18842 delete arg3;
18843 }
18844 {
18845 if (temp4)
18846 delete arg4;
18847 }
18848 return NULL;
18849 }
18850
18851
18852 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18853 PyObject *obj;
18854 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18855 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18856 return SWIG_Py_Void();
18857 }
18858
18859 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18860 return SWIG_Python_InitShadowInstance(args);
18861 }
18862
18863 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj = 0;
18865 wxWindow *arg1 = (wxWindow *) 0 ;
18866 wxString *arg2 = 0 ;
18867 wxString *arg3 = 0 ;
18868 wxString *arg4 = 0 ;
18869 long arg5 ;
18870 long arg6 ;
18871 long arg7 ;
18872 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18873 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18874 wxNumberEntryDialog *result = 0 ;
18875 void *argp1 = 0 ;
18876 int res1 = 0 ;
18877 bool temp2 = false ;
18878 bool temp3 = false ;
18879 bool temp4 = false ;
18880 long val5 ;
18881 int ecode5 = 0 ;
18882 long val6 ;
18883 int ecode6 = 0 ;
18884 long val7 ;
18885 int ecode7 = 0 ;
18886 wxPoint temp8 ;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 PyObject * obj2 = 0 ;
18890 PyObject * obj3 = 0 ;
18891 PyObject * obj4 = 0 ;
18892 PyObject * obj5 = 0 ;
18893 PyObject * obj6 = 0 ;
18894 PyObject * obj7 = 0 ;
18895 char * kwnames[] = {
18896 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18897 };
18898
18899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18901 if (!SWIG_IsOK(res1)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18903 }
18904 arg1 = reinterpret_cast< wxWindow * >(argp1);
18905 {
18906 arg2 = wxString_in_helper(obj1);
18907 if (arg2 == NULL) SWIG_fail;
18908 temp2 = true;
18909 }
18910 {
18911 arg3 = wxString_in_helper(obj2);
18912 if (arg3 == NULL) SWIG_fail;
18913 temp3 = true;
18914 }
18915 {
18916 arg4 = wxString_in_helper(obj3);
18917 if (arg4 == NULL) SWIG_fail;
18918 temp4 = true;
18919 }
18920 ecode5 = SWIG_AsVal_long(obj4, &val5);
18921 if (!SWIG_IsOK(ecode5)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18923 }
18924 arg5 = static_cast< long >(val5);
18925 ecode6 = SWIG_AsVal_long(obj5, &val6);
18926 if (!SWIG_IsOK(ecode6)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18928 }
18929 arg6 = static_cast< long >(val6);
18930 ecode7 = SWIG_AsVal_long(obj6, &val7);
18931 if (!SWIG_IsOK(ecode7)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18933 }
18934 arg7 = static_cast< long >(val7);
18935 if (obj7) {
18936 {
18937 arg8 = &temp8;
18938 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18939 }
18940 }
18941 {
18942 if (!wxPyCheckForApp()) SWIG_fail;
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18949 {
18950 if (temp2)
18951 delete arg2;
18952 }
18953 {
18954 if (temp3)
18955 delete arg3;
18956 }
18957 {
18958 if (temp4)
18959 delete arg4;
18960 }
18961 return resultobj;
18962 fail:
18963 {
18964 if (temp2)
18965 delete arg2;
18966 }
18967 {
18968 if (temp3)
18969 delete arg3;
18970 }
18971 {
18972 if (temp4)
18973 delete arg4;
18974 }
18975 return NULL;
18976 }
18977
18978
18979 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18980 PyObject *resultobj = 0;
18981 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18982 long result;
18983 void *argp1 = 0 ;
18984 int res1 = 0 ;
18985 PyObject *swig_obj[1] ;
18986
18987 if (!args) SWIG_fail;
18988 swig_obj[0] = args;
18989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18990 if (!SWIG_IsOK(res1)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18992 }
18993 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 result = (long)(arg1)->GetValue();
18997 wxPyEndAllowThreads(__tstate);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 }
19000 resultobj = SWIG_From_long(static_cast< long >(result));
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19008 PyObject *obj;
19009 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19010 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
19011 return SWIG_Py_Void();
19012 }
19013
19014 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19015 return SWIG_Python_InitShadowInstance(args);
19016 }
19017
19018 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19019 PyObject *resultobj = 0;
19020 wxFontData *result = 0 ;
19021
19022 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (wxFontData *)new wxFontData();
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19037 PyObject *resultobj = 0;
19038 wxFontData *arg1 = (wxFontData *) 0 ;
19039 void *argp1 = 0 ;
19040 int res1 = 0 ;
19041 PyObject *swig_obj[1] ;
19042
19043 if (!args) SWIG_fail;
19044 swig_obj[0] = args;
19045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
19046 if (!SWIG_IsOK(res1)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19048 }
19049 arg1 = reinterpret_cast< wxFontData * >(argp1);
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 delete arg1;
19053
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 resultobj = SWIG_Py_Void();
19058 return resultobj;
19059 fail:
19060 return NULL;
19061 }
19062
19063
19064 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj = 0;
19066 wxFontData *arg1 = (wxFontData *) 0 ;
19067 bool arg2 ;
19068 void *argp1 = 0 ;
19069 int res1 = 0 ;
19070 bool val2 ;
19071 int ecode2 = 0 ;
19072 PyObject * obj0 = 0 ;
19073 PyObject * obj1 = 0 ;
19074 char * kwnames[] = {
19075 (char *) "self",(char *) "enable", NULL
19076 };
19077
19078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19080 if (!SWIG_IsOK(res1)) {
19081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19082 }
19083 arg1 = reinterpret_cast< wxFontData * >(argp1);
19084 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19085 if (!SWIG_IsOK(ecode2)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19087 }
19088 arg2 = static_cast< bool >(val2);
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 (arg1)->EnableEffects(arg2);
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 resultobj = SWIG_Py_Void();
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19103 PyObject *resultobj = 0;
19104 wxFontData *arg1 = (wxFontData *) 0 ;
19105 bool result;
19106 void *argp1 = 0 ;
19107 int res1 = 0 ;
19108 PyObject *swig_obj[1] ;
19109
19110 if (!args) SWIG_fail;
19111 swig_obj[0] = args;
19112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19113 if (!SWIG_IsOK(res1)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19115 }
19116 arg1 = reinterpret_cast< wxFontData * >(argp1);
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = (bool)(arg1)->GetAllowSymbols();
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 {
19124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19125 }
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19133 PyObject *resultobj = 0;
19134 wxFontData *arg1 = (wxFontData *) 0 ;
19135 wxColour result;
19136 void *argp1 = 0 ;
19137 int res1 = 0 ;
19138 PyObject *swig_obj[1] ;
19139
19140 if (!args) SWIG_fail;
19141 swig_obj[0] = args;
19142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19143 if (!SWIG_IsOK(res1)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19145 }
19146 arg1 = reinterpret_cast< wxFontData * >(argp1);
19147 {
19148 PyThreadState* __tstate = wxPyBeginAllowThreads();
19149 result = (arg1)->GetColour();
19150 wxPyEndAllowThreads(__tstate);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19161 PyObject *resultobj = 0;
19162 wxFontData *arg1 = (wxFontData *) 0 ;
19163 wxFont result;
19164 void *argp1 = 0 ;
19165 int res1 = 0 ;
19166 PyObject *swig_obj[1] ;
19167
19168 if (!args) SWIG_fail;
19169 swig_obj[0] = args;
19170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19171 if (!SWIG_IsOK(res1)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19173 }
19174 arg1 = reinterpret_cast< wxFontData * >(argp1);
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 result = (arg1)->GetChosenFont();
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19189 PyObject *resultobj = 0;
19190 wxFontData *arg1 = (wxFontData *) 0 ;
19191 bool result;
19192 void *argp1 = 0 ;
19193 int res1 = 0 ;
19194 PyObject *swig_obj[1] ;
19195
19196 if (!args) SWIG_fail;
19197 swig_obj[0] = args;
19198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19199 if (!SWIG_IsOK(res1)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19201 }
19202 arg1 = reinterpret_cast< wxFontData * >(argp1);
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 result = (bool)(arg1)->GetEnableEffects();
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 {
19210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19211 }
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19219 PyObject *resultobj = 0;
19220 wxFontData *arg1 = (wxFontData *) 0 ;
19221 wxFont result;
19222 void *argp1 = 0 ;
19223 int res1 = 0 ;
19224 PyObject *swig_obj[1] ;
19225
19226 if (!args) SWIG_fail;
19227 swig_obj[0] = args;
19228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19229 if (!SWIG_IsOK(res1)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19231 }
19232 arg1 = reinterpret_cast< wxFontData * >(argp1);
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 result = (arg1)->GetInitialFont();
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19247 PyObject *resultobj = 0;
19248 wxFontData *arg1 = (wxFontData *) 0 ;
19249 bool result;
19250 void *argp1 = 0 ;
19251 int res1 = 0 ;
19252 PyObject *swig_obj[1] ;
19253
19254 if (!args) SWIG_fail;
19255 swig_obj[0] = args;
19256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19257 if (!SWIG_IsOK(res1)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19259 }
19260 arg1 = reinterpret_cast< wxFontData * >(argp1);
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (bool)(arg1)->GetShowHelp();
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19269 }
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj = 0;
19278 wxFontData *arg1 = (wxFontData *) 0 ;
19279 bool arg2 ;
19280 void *argp1 = 0 ;
19281 int res1 = 0 ;
19282 bool val2 ;
19283 int ecode2 = 0 ;
19284 PyObject * obj0 = 0 ;
19285 PyObject * obj1 = 0 ;
19286 char * kwnames[] = {
19287 (char *) "self",(char *) "allowSymbols", NULL
19288 };
19289
19290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19292 if (!SWIG_IsOK(res1)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19294 }
19295 arg1 = reinterpret_cast< wxFontData * >(argp1);
19296 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19297 if (!SWIG_IsOK(ecode2)) {
19298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19299 }
19300 arg2 = static_cast< bool >(val2);
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->SetAllowSymbols(arg2);
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 resultobj = SWIG_Py_Void();
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj = 0;
19316 wxFontData *arg1 = (wxFontData *) 0 ;
19317 wxFont *arg2 = 0 ;
19318 void *argp1 = 0 ;
19319 int res1 = 0 ;
19320 void *argp2 = 0 ;
19321 int res2 = 0 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char * kwnames[] = {
19325 (char *) "self",(char *) "font", NULL
19326 };
19327
19328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19330 if (!SWIG_IsOK(res1)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19332 }
19333 arg1 = reinterpret_cast< wxFontData * >(argp1);
19334 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19335 if (!SWIG_IsOK(res2)) {
19336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19337 }
19338 if (!argp2) {
19339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19340 }
19341 arg2 = reinterpret_cast< wxFont * >(argp2);
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 (arg1)->SetChosenFont((wxFont const &)*arg2);
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 resultobj = SWIG_Py_Void();
19349 return resultobj;
19350 fail:
19351 return NULL;
19352 }
19353
19354
19355 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj = 0;
19357 wxFontData *arg1 = (wxFontData *) 0 ;
19358 wxColour *arg2 = 0 ;
19359 void *argp1 = 0 ;
19360 int res1 = 0 ;
19361 wxColour temp2 ;
19362 PyObject * obj0 = 0 ;
19363 PyObject * obj1 = 0 ;
19364 char * kwnames[] = {
19365 (char *) "self",(char *) "colour", NULL
19366 };
19367
19368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19370 if (!SWIG_IsOK(res1)) {
19371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19372 }
19373 arg1 = reinterpret_cast< wxFontData * >(argp1);
19374 {
19375 arg2 = &temp2;
19376 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19377 }
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 (arg1)->SetColour((wxColour const &)*arg2);
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 resultobj = SWIG_Py_Void();
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj = 0;
19393 wxFontData *arg1 = (wxFontData *) 0 ;
19394 wxFont *arg2 = 0 ;
19395 void *argp1 = 0 ;
19396 int res1 = 0 ;
19397 void *argp2 = 0 ;
19398 int res2 = 0 ;
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 char * kwnames[] = {
19402 (char *) "self",(char *) "font", NULL
19403 };
19404
19405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19407 if (!SWIG_IsOK(res1)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19409 }
19410 arg1 = reinterpret_cast< wxFontData * >(argp1);
19411 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19412 if (!SWIG_IsOK(res2)) {
19413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19414 }
19415 if (!argp2) {
19416 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19417 }
19418 arg2 = reinterpret_cast< wxFont * >(argp2);
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->SetInitialFont((wxFont const &)*arg2);
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 resultobj = SWIG_Py_Void();
19426 return resultobj;
19427 fail:
19428 return NULL;
19429 }
19430
19431
19432 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj = 0;
19434 wxFontData *arg1 = (wxFontData *) 0 ;
19435 int arg2 ;
19436 int arg3 ;
19437 void *argp1 = 0 ;
19438 int res1 = 0 ;
19439 int val2 ;
19440 int ecode2 = 0 ;
19441 int val3 ;
19442 int ecode3 = 0 ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 PyObject * obj2 = 0 ;
19446 char * kwnames[] = {
19447 (char *) "self",(char *) "min",(char *) "max", NULL
19448 };
19449
19450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19452 if (!SWIG_IsOK(res1)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19454 }
19455 arg1 = reinterpret_cast< wxFontData * >(argp1);
19456 ecode2 = SWIG_AsVal_int(obj1, &val2);
19457 if (!SWIG_IsOK(ecode2)) {
19458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19459 }
19460 arg2 = static_cast< int >(val2);
19461 ecode3 = SWIG_AsVal_int(obj2, &val3);
19462 if (!SWIG_IsOK(ecode3)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19464 }
19465 arg3 = static_cast< int >(val3);
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 (arg1)->SetRange(arg2,arg3);
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 resultobj = SWIG_Py_Void();
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj = 0;
19481 wxFontData *arg1 = (wxFontData *) 0 ;
19482 bool arg2 ;
19483 void *argp1 = 0 ;
19484 int res1 = 0 ;
19485 bool val2 ;
19486 int ecode2 = 0 ;
19487 PyObject * obj0 = 0 ;
19488 PyObject * obj1 = 0 ;
19489 char * kwnames[] = {
19490 (char *) "self",(char *) "showHelp", NULL
19491 };
19492
19493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19495 if (!SWIG_IsOK(res1)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19497 }
19498 arg1 = reinterpret_cast< wxFontData * >(argp1);
19499 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19500 if (!SWIG_IsOK(ecode2)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19502 }
19503 arg2 = static_cast< bool >(val2);
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 (arg1)->SetShowHelp(arg2);
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 resultobj = SWIG_Py_Void();
19511 return resultobj;
19512 fail:
19513 return NULL;
19514 }
19515
19516
19517 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19518 PyObject *obj;
19519 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19520 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19521 return SWIG_Py_Void();
19522 }
19523
19524 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19525 return SWIG_Python_InitShadowInstance(args);
19526 }
19527
19528 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19529 PyObject *resultobj = 0;
19530 wxWindow *arg1 = (wxWindow *) 0 ;
19531 wxFontData *arg2 = 0 ;
19532 wxFontDialog *result = 0 ;
19533 void *argp1 = 0 ;
19534 int res1 = 0 ;
19535 void *argp2 = 0 ;
19536 int res2 = 0 ;
19537 PyObject * obj0 = 0 ;
19538 PyObject * obj1 = 0 ;
19539 char * kwnames[] = {
19540 (char *) "parent",(char *) "data", NULL
19541 };
19542
19543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19545 if (!SWIG_IsOK(res1)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19547 }
19548 arg1 = reinterpret_cast< wxWindow * >(argp1);
19549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19550 if (!SWIG_IsOK(res2)) {
19551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19552 }
19553 if (!argp2) {
19554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19555 }
19556 arg2 = reinterpret_cast< wxFontData * >(argp2);
19557 {
19558 if (!wxPyCheckForApp()) SWIG_fail;
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19572 PyObject *resultobj = 0;
19573 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19574 wxFontData *result = 0 ;
19575 void *argp1 = 0 ;
19576 int res1 = 0 ;
19577 PyObject *swig_obj[1] ;
19578
19579 if (!args) SWIG_fail;
19580 swig_obj[0] = args;
19581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19582 if (!SWIG_IsOK(res1)) {
19583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19584 }
19585 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 {
19589 wxFontData &_result_ref = (arg1)->GetFontData();
19590 result = (wxFontData *) &_result_ref;
19591 }
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19603 PyObject *obj;
19604 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19605 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19606 return SWIG_Py_Void();
19607 }
19608
19609 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19610 return SWIG_Python_InitShadowInstance(args);
19611 }
19612
19613 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj = 0;
19615 wxWindow *arg1 = (wxWindow *) NULL ;
19616 wxFont const &arg2_defvalue = wxNullFont ;
19617 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19618 wxString const &arg3_defvalue = wxPyEmptyString ;
19619 wxString *arg3 = (wxString *) &arg3_defvalue ;
19620 wxFont result;
19621 void *argp1 = 0 ;
19622 int res1 = 0 ;
19623 void *argp2 = 0 ;
19624 int res2 = 0 ;
19625 bool temp3 = false ;
19626 PyObject * obj0 = 0 ;
19627 PyObject * obj1 = 0 ;
19628 PyObject * obj2 = 0 ;
19629 char * kwnames[] = {
19630 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19631 };
19632
19633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19634 if (obj0) {
19635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19636 if (!SWIG_IsOK(res1)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19638 }
19639 arg1 = reinterpret_cast< wxWindow * >(argp1);
19640 }
19641 if (obj1) {
19642 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19643 if (!SWIG_IsOK(res2)) {
19644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19645 }
19646 if (!argp2) {
19647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19648 }
19649 arg2 = reinterpret_cast< wxFont * >(argp2);
19650 }
19651 if (obj2) {
19652 {
19653 arg3 = wxString_in_helper(obj2);
19654 if (arg3 == NULL) SWIG_fail;
19655 temp3 = true;
19656 }
19657 }
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19665 {
19666 if (temp3)
19667 delete arg3;
19668 }
19669 return resultobj;
19670 fail:
19671 {
19672 if (temp3)
19673 delete arg3;
19674 }
19675 return NULL;
19676 }
19677
19678
19679 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj = 0;
19681 wxWindow *arg1 = (wxWindow *) 0 ;
19682 wxString *arg2 = 0 ;
19683 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19684 wxString *arg3 = (wxString *) &arg3_defvalue ;
19685 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19688 wxMessageDialog *result = 0 ;
19689 void *argp1 = 0 ;
19690 int res1 = 0 ;
19691 bool temp2 = false ;
19692 bool temp3 = false ;
19693 long val4 ;
19694 int ecode4 = 0 ;
19695 wxPoint temp5 ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 PyObject * obj2 = 0 ;
19699 PyObject * obj3 = 0 ;
19700 PyObject * obj4 = 0 ;
19701 char * kwnames[] = {
19702 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19703 };
19704
19705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19707 if (!SWIG_IsOK(res1)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19709 }
19710 arg1 = reinterpret_cast< wxWindow * >(argp1);
19711 {
19712 arg2 = wxString_in_helper(obj1);
19713 if (arg2 == NULL) SWIG_fail;
19714 temp2 = true;
19715 }
19716 if (obj2) {
19717 {
19718 arg3 = wxString_in_helper(obj2);
19719 if (arg3 == NULL) SWIG_fail;
19720 temp3 = true;
19721 }
19722 }
19723 if (obj3) {
19724 ecode4 = SWIG_AsVal_long(obj3, &val4);
19725 if (!SWIG_IsOK(ecode4)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19727 }
19728 arg4 = static_cast< long >(val4);
19729 }
19730 if (obj4) {
19731 {
19732 arg5 = &temp5;
19733 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19734 }
19735 }
19736 {
19737 if (!wxPyCheckForApp()) SWIG_fail;
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19744 {
19745 if (temp2)
19746 delete arg2;
19747 }
19748 {
19749 if (temp3)
19750 delete arg3;
19751 }
19752 return resultobj;
19753 fail:
19754 {
19755 if (temp2)
19756 delete arg2;
19757 }
19758 {
19759 if (temp3)
19760 delete arg3;
19761 }
19762 return NULL;
19763 }
19764
19765
19766 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19767 PyObject *obj;
19768 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19770 return SWIG_Py_Void();
19771 }
19772
19773 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19774 return SWIG_Python_InitShadowInstance(args);
19775 }
19776
19777 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj = 0;
19779 wxString *arg1 = 0 ;
19780 wxString *arg2 = 0 ;
19781 int arg3 = (int) 100 ;
19782 wxWindow *arg4 = (wxWindow *) NULL ;
19783 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19784 wxProgressDialog *result = 0 ;
19785 bool temp1 = false ;
19786 bool temp2 = false ;
19787 int val3 ;
19788 int ecode3 = 0 ;
19789 void *argp4 = 0 ;
19790 int res4 = 0 ;
19791 int val5 ;
19792 int ecode5 = 0 ;
19793 PyObject * obj0 = 0 ;
19794 PyObject * obj1 = 0 ;
19795 PyObject * obj2 = 0 ;
19796 PyObject * obj3 = 0 ;
19797 PyObject * obj4 = 0 ;
19798 char * kwnames[] = {
19799 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19800 };
19801
19802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19803 {
19804 arg1 = wxString_in_helper(obj0);
19805 if (arg1 == NULL) SWIG_fail;
19806 temp1 = true;
19807 }
19808 {
19809 arg2 = wxString_in_helper(obj1);
19810 if (arg2 == NULL) SWIG_fail;
19811 temp2 = true;
19812 }
19813 if (obj2) {
19814 ecode3 = SWIG_AsVal_int(obj2, &val3);
19815 if (!SWIG_IsOK(ecode3)) {
19816 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19817 }
19818 arg3 = static_cast< int >(val3);
19819 }
19820 if (obj3) {
19821 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19822 if (!SWIG_IsOK(res4)) {
19823 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19824 }
19825 arg4 = reinterpret_cast< wxWindow * >(argp4);
19826 }
19827 if (obj4) {
19828 ecode5 = SWIG_AsVal_int(obj4, &val5);
19829 if (!SWIG_IsOK(ecode5)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19831 }
19832 arg5 = static_cast< int >(val5);
19833 }
19834 {
19835 if (!wxPyCheckForApp()) SWIG_fail;
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19842 {
19843 if (temp1)
19844 delete arg1;
19845 }
19846 {
19847 if (temp2)
19848 delete arg2;
19849 }
19850 return resultobj;
19851 fail:
19852 {
19853 if (temp1)
19854 delete arg1;
19855 }
19856 {
19857 if (temp2)
19858 delete arg2;
19859 }
19860 return NULL;
19861 }
19862
19863
19864 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj = 0;
19866 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19867 int arg2 ;
19868 wxString const &arg3_defvalue = wxPyEmptyString ;
19869 wxString *arg3 = (wxString *) &arg3_defvalue ;
19870 bool *arg4 = (bool *) 0 ;
19871 bool result;
19872 void *argp1 = 0 ;
19873 int res1 = 0 ;
19874 int val2 ;
19875 int ecode2 = 0 ;
19876 bool temp3 = false ;
19877 bool temp4 ;
19878 int res4 = SWIG_TMPOBJ ;
19879 PyObject * obj0 = 0 ;
19880 PyObject * obj1 = 0 ;
19881 PyObject * obj2 = 0 ;
19882 char * kwnames[] = {
19883 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19884 };
19885
19886 arg4 = &temp4;
19887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19889 if (!SWIG_IsOK(res1)) {
19890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19891 }
19892 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19893 ecode2 = SWIG_AsVal_int(obj1, &val2);
19894 if (!SWIG_IsOK(ecode2)) {
19895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19896 }
19897 arg2 = static_cast< int >(val2);
19898 if (obj2) {
19899 {
19900 arg3 = wxString_in_helper(obj2);
19901 if (arg3 == NULL) SWIG_fail;
19902 temp3 = true;
19903 }
19904 }
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 {
19912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19913 }
19914 if (SWIG_IsTmpObj(res4)) {
19915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19916 } else {
19917 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19919 }
19920 {
19921 if (temp3)
19922 delete arg3;
19923 }
19924 return resultobj;
19925 fail:
19926 {
19927 if (temp3)
19928 delete arg3;
19929 }
19930 return NULL;
19931 }
19932
19933
19934 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj = 0;
19936 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19937 wxString const &arg2_defvalue = wxPyEmptyString ;
19938 wxString *arg2 = (wxString *) &arg2_defvalue ;
19939 bool *arg3 = (bool *) 0 ;
19940 bool result;
19941 void *argp1 = 0 ;
19942 int res1 = 0 ;
19943 bool temp2 = false ;
19944 bool temp3 ;
19945 int res3 = SWIG_TMPOBJ ;
19946 PyObject * obj0 = 0 ;
19947 PyObject * obj1 = 0 ;
19948 char * kwnames[] = {
19949 (char *) "self",(char *) "newmsg", NULL
19950 };
19951
19952 arg3 = &temp3;
19953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19955 if (!SWIG_IsOK(res1)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19957 }
19958 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19959 if (obj1) {
19960 {
19961 arg2 = wxString_in_helper(obj1);
19962 if (arg2 == NULL) SWIG_fail;
19963 temp2 = true;
19964 }
19965 }
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 {
19973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19974 }
19975 if (SWIG_IsTmpObj(res3)) {
19976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19977 } else {
19978 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19980 }
19981 {
19982 if (temp2)
19983 delete arg2;
19984 }
19985 return resultobj;
19986 fail:
19987 {
19988 if (temp2)
19989 delete arg2;
19990 }
19991 return NULL;
19992 }
19993
19994
19995 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19996 PyObject *resultobj = 0;
19997 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19998 void *argp1 = 0 ;
19999 int res1 = 0 ;
20000 PyObject *swig_obj[1] ;
20001
20002 if (!args) SWIG_fail;
20003 swig_obj[0] = args;
20004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
20005 if (!SWIG_IsOK(res1)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20007 }
20008 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 (arg1)->Resume();
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = SWIG_Py_Void();
20016 return resultobj;
20017 fail:
20018 return NULL;
20019 }
20020
20021
20022 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20023 PyObject *obj;
20024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20025 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
20026 return SWIG_Py_Void();
20027 }
20028
20029 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20030 return SWIG_Python_InitShadowInstance(args);
20031 }
20032
20033 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj = 0;
20035 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20036 int arg2 = (int) 0 ;
20037 wxFindDialogEvent *result = 0 ;
20038 int val1 ;
20039 int ecode1 = 0 ;
20040 int val2 ;
20041 int ecode2 = 0 ;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 char * kwnames[] = {
20045 (char *) "commandType",(char *) "id", NULL
20046 };
20047
20048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
20049 if (obj0) {
20050 ecode1 = SWIG_AsVal_int(obj0, &val1);
20051 if (!SWIG_IsOK(ecode1)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20053 }
20054 arg1 = static_cast< wxEventType >(val1);
20055 }
20056 if (obj1) {
20057 ecode2 = SWIG_AsVal_int(obj1, &val2);
20058 if (!SWIG_IsOK(ecode2)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20060 }
20061 arg2 = static_cast< int >(val2);
20062 }
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20077 PyObject *resultobj = 0;
20078 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20079 int result;
20080 void *argp1 = 0 ;
20081 int res1 = 0 ;
20082 PyObject *swig_obj[1] ;
20083
20084 if (!args) SWIG_fail;
20085 swig_obj[0] = args;
20086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20087 if (!SWIG_IsOK(res1)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20089 }
20090 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 result = (int)(arg1)->GetFlags();
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 resultobj = SWIG_From_int(static_cast< int >(result));
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20105 PyObject *resultobj = 0;
20106 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20107 wxString *result = 0 ;
20108 void *argp1 = 0 ;
20109 int res1 = 0 ;
20110 PyObject *swig_obj[1] ;
20111
20112 if (!args) SWIG_fail;
20113 swig_obj[0] = args;
20114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20115 if (!SWIG_IsOK(res1)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20117 }
20118 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 {
20122 wxString const &_result_ref = (arg1)->GetFindString();
20123 result = (wxString *) &_result_ref;
20124 }
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 {
20129 #if wxUSE_UNICODE
20130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20131 #else
20132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20133 #endif
20134 }
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20142 PyObject *resultobj = 0;
20143 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20144 wxString *result = 0 ;
20145 void *argp1 = 0 ;
20146 int res1 = 0 ;
20147 PyObject *swig_obj[1] ;
20148
20149 if (!args) SWIG_fail;
20150 swig_obj[0] = args;
20151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20152 if (!SWIG_IsOK(res1)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20154 }
20155 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 {
20159 wxString const &_result_ref = (arg1)->GetReplaceString();
20160 result = (wxString *) &_result_ref;
20161 }
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 #if wxUSE_UNICODE
20167 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20168 #else
20169 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20170 #endif
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20179 PyObject *resultobj = 0;
20180 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20181 wxFindReplaceDialog *result = 0 ;
20182 void *argp1 = 0 ;
20183 int res1 = 0 ;
20184 PyObject *swig_obj[1] ;
20185
20186 if (!args) SWIG_fail;
20187 swig_obj[0] = args;
20188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20189 if (!SWIG_IsOK(res1)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20191 }
20192 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj = 0;
20208 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20209 int arg2 ;
20210 void *argp1 = 0 ;
20211 int res1 = 0 ;
20212 int val2 ;
20213 int ecode2 = 0 ;
20214 PyObject * obj0 = 0 ;
20215 PyObject * obj1 = 0 ;
20216 char * kwnames[] = {
20217 (char *) "self",(char *) "flags", NULL
20218 };
20219
20220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20222 if (!SWIG_IsOK(res1)) {
20223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20224 }
20225 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20226 ecode2 = SWIG_AsVal_int(obj1, &val2);
20227 if (!SWIG_IsOK(ecode2)) {
20228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20229 }
20230 arg2 = static_cast< int >(val2);
20231 {
20232 PyThreadState* __tstate = wxPyBeginAllowThreads();
20233 (arg1)->SetFlags(arg2);
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 resultobj = SWIG_Py_Void();
20238 return resultobj;
20239 fail:
20240 return NULL;
20241 }
20242
20243
20244 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20245 PyObject *resultobj = 0;
20246 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20247 wxString *arg2 = 0 ;
20248 void *argp1 = 0 ;
20249 int res1 = 0 ;
20250 bool temp2 = false ;
20251 PyObject * obj0 = 0 ;
20252 PyObject * obj1 = 0 ;
20253 char * kwnames[] = {
20254 (char *) "self",(char *) "str", NULL
20255 };
20256
20257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20259 if (!SWIG_IsOK(res1)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20261 }
20262 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20263 {
20264 arg2 = wxString_in_helper(obj1);
20265 if (arg2 == NULL) SWIG_fail;
20266 temp2 = true;
20267 }
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 (arg1)->SetFindString((wxString const &)*arg2);
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 resultobj = SWIG_Py_Void();
20275 {
20276 if (temp2)
20277 delete arg2;
20278 }
20279 return resultobj;
20280 fail:
20281 {
20282 if (temp2)
20283 delete arg2;
20284 }
20285 return NULL;
20286 }
20287
20288
20289 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj = 0;
20291 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20292 wxString *arg2 = 0 ;
20293 void *argp1 = 0 ;
20294 int res1 = 0 ;
20295 bool temp2 = false ;
20296 PyObject * obj0 = 0 ;
20297 PyObject * obj1 = 0 ;
20298 char * kwnames[] = {
20299 (char *) "self",(char *) "str", NULL
20300 };
20301
20302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20304 if (!SWIG_IsOK(res1)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20306 }
20307 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20308 {
20309 arg2 = wxString_in_helper(obj1);
20310 if (arg2 == NULL) SWIG_fail;
20311 temp2 = true;
20312 }
20313 {
20314 PyThreadState* __tstate = wxPyBeginAllowThreads();
20315 (arg1)->SetReplaceString((wxString const &)*arg2);
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 resultobj = SWIG_Py_Void();
20320 {
20321 if (temp2)
20322 delete arg2;
20323 }
20324 return resultobj;
20325 fail:
20326 {
20327 if (temp2)
20328 delete arg2;
20329 }
20330 return NULL;
20331 }
20332
20333
20334 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20335 PyObject *obj;
20336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20337 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20338 return SWIG_Py_Void();
20339 }
20340
20341 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20342 return SWIG_Python_InitShadowInstance(args);
20343 }
20344
20345 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj = 0;
20347 int arg1 = (int) 0 ;
20348 wxFindReplaceData *result = 0 ;
20349 int val1 ;
20350 int ecode1 = 0 ;
20351 PyObject * obj0 = 0 ;
20352 char * kwnames[] = {
20353 (char *) "flags", NULL
20354 };
20355
20356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20357 if (obj0) {
20358 ecode1 = SWIG_AsVal_int(obj0, &val1);
20359 if (!SWIG_IsOK(ecode1)) {
20360 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20361 }
20362 arg1 = static_cast< int >(val1);
20363 }
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20371 return resultobj;
20372 fail:
20373 return NULL;
20374 }
20375
20376
20377 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20378 PyObject *resultobj = 0;
20379 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20380 void *argp1 = 0 ;
20381 int res1 = 0 ;
20382 PyObject *swig_obj[1] ;
20383
20384 if (!args) SWIG_fail;
20385 swig_obj[0] = args;
20386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20387 if (!SWIG_IsOK(res1)) {
20388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20389 }
20390 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 delete arg1;
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 resultobj = SWIG_Py_Void();
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20406 PyObject *resultobj = 0;
20407 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20408 wxString *result = 0 ;
20409 void *argp1 = 0 ;
20410 int res1 = 0 ;
20411 PyObject *swig_obj[1] ;
20412
20413 if (!args) SWIG_fail;
20414 swig_obj[0] = args;
20415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20416 if (!SWIG_IsOK(res1)) {
20417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20418 }
20419 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 {
20423 wxString const &_result_ref = (arg1)->GetFindString();
20424 result = (wxString *) &_result_ref;
20425 }
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 {
20430 #if wxUSE_UNICODE
20431 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20432 #else
20433 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20434 #endif
20435 }
20436 return resultobj;
20437 fail:
20438 return NULL;
20439 }
20440
20441
20442 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20443 PyObject *resultobj = 0;
20444 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20445 wxString *result = 0 ;
20446 void *argp1 = 0 ;
20447 int res1 = 0 ;
20448 PyObject *swig_obj[1] ;
20449
20450 if (!args) SWIG_fail;
20451 swig_obj[0] = args;
20452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20453 if (!SWIG_IsOK(res1)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20455 }
20456 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 {
20460 wxString const &_result_ref = (arg1)->GetReplaceString();
20461 result = (wxString *) &_result_ref;
20462 }
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 {
20467 #if wxUSE_UNICODE
20468 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20469 #else
20470 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20471 #endif
20472 }
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20480 PyObject *resultobj = 0;
20481 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20482 int result;
20483 void *argp1 = 0 ;
20484 int res1 = 0 ;
20485 PyObject *swig_obj[1] ;
20486
20487 if (!args) SWIG_fail;
20488 swig_obj[0] = args;
20489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20490 if (!SWIG_IsOK(res1)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20492 }
20493 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
20496 result = (int)(arg1)->GetFlags();
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 resultobj = SWIG_From_int(static_cast< int >(result));
20501 return resultobj;
20502 fail:
20503 return NULL;
20504 }
20505
20506
20507 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj = 0;
20509 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20510 int arg2 ;
20511 void *argp1 = 0 ;
20512 int res1 = 0 ;
20513 int val2 ;
20514 int ecode2 = 0 ;
20515 PyObject * obj0 = 0 ;
20516 PyObject * obj1 = 0 ;
20517 char * kwnames[] = {
20518 (char *) "self",(char *) "flags", NULL
20519 };
20520
20521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20523 if (!SWIG_IsOK(res1)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20525 }
20526 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20527 ecode2 = SWIG_AsVal_int(obj1, &val2);
20528 if (!SWIG_IsOK(ecode2)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20530 }
20531 arg2 = static_cast< int >(val2);
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 (arg1)->SetFlags(arg2);
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 resultobj = SWIG_Py_Void();
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj = 0;
20547 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20548 wxString *arg2 = 0 ;
20549 void *argp1 = 0 ;
20550 int res1 = 0 ;
20551 bool temp2 = false ;
20552 PyObject * obj0 = 0 ;
20553 PyObject * obj1 = 0 ;
20554 char * kwnames[] = {
20555 (char *) "self",(char *) "str", NULL
20556 };
20557
20558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20560 if (!SWIG_IsOK(res1)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20562 }
20563 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20564 {
20565 arg2 = wxString_in_helper(obj1);
20566 if (arg2 == NULL) SWIG_fail;
20567 temp2 = true;
20568 }
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 (arg1)->SetFindString((wxString const &)*arg2);
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 resultobj = SWIG_Py_Void();
20576 {
20577 if (temp2)
20578 delete arg2;
20579 }
20580 return resultobj;
20581 fail:
20582 {
20583 if (temp2)
20584 delete arg2;
20585 }
20586 return NULL;
20587 }
20588
20589
20590 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj = 0;
20592 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20593 wxString *arg2 = 0 ;
20594 void *argp1 = 0 ;
20595 int res1 = 0 ;
20596 bool temp2 = false ;
20597 PyObject * obj0 = 0 ;
20598 PyObject * obj1 = 0 ;
20599 char * kwnames[] = {
20600 (char *) "self",(char *) "str", NULL
20601 };
20602
20603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20605 if (!SWIG_IsOK(res1)) {
20606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20607 }
20608 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20609 {
20610 arg2 = wxString_in_helper(obj1);
20611 if (arg2 == NULL) SWIG_fail;
20612 temp2 = true;
20613 }
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 (arg1)->SetReplaceString((wxString const &)*arg2);
20617 wxPyEndAllowThreads(__tstate);
20618 if (PyErr_Occurred()) SWIG_fail;
20619 }
20620 resultobj = SWIG_Py_Void();
20621 {
20622 if (temp2)
20623 delete arg2;
20624 }
20625 return resultobj;
20626 fail:
20627 {
20628 if (temp2)
20629 delete arg2;
20630 }
20631 return NULL;
20632 }
20633
20634
20635 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 PyObject *obj;
20637 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20638 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20639 return SWIG_Py_Void();
20640 }
20641
20642 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20643 return SWIG_Python_InitShadowInstance(args);
20644 }
20645
20646 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20647 PyObject *resultobj = 0;
20648 wxWindow *arg1 = (wxWindow *) 0 ;
20649 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20650 wxString *arg3 = 0 ;
20651 int arg4 = (int) 0 ;
20652 wxFindReplaceDialog *result = 0 ;
20653 void *argp1 = 0 ;
20654 int res1 = 0 ;
20655 void *argp2 = 0 ;
20656 int res2 = 0 ;
20657 bool temp3 = false ;
20658 int val4 ;
20659 int ecode4 = 0 ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 PyObject * obj2 = 0 ;
20663 PyObject * obj3 = 0 ;
20664 char * kwnames[] = {
20665 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20666 };
20667
20668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20670 if (!SWIG_IsOK(res1)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20672 }
20673 arg1 = reinterpret_cast< wxWindow * >(argp1);
20674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20675 if (!SWIG_IsOK(res2)) {
20676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20677 }
20678 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20679 {
20680 arg3 = wxString_in_helper(obj2);
20681 if (arg3 == NULL) SWIG_fail;
20682 temp3 = true;
20683 }
20684 if (obj3) {
20685 ecode4 = SWIG_AsVal_int(obj3, &val4);
20686 if (!SWIG_IsOK(ecode4)) {
20687 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20688 }
20689 arg4 = static_cast< int >(val4);
20690 }
20691 {
20692 if (!wxPyCheckForApp()) SWIG_fail;
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20695 wxPyEndAllowThreads(__tstate);
20696 if (PyErr_Occurred()) SWIG_fail;
20697 }
20698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20699 {
20700 if (temp3)
20701 delete arg3;
20702 }
20703 return resultobj;
20704 fail:
20705 {
20706 if (temp3)
20707 delete arg3;
20708 }
20709 return NULL;
20710 }
20711
20712
20713 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20714 PyObject *resultobj = 0;
20715 wxFindReplaceDialog *result = 0 ;
20716
20717 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20718 {
20719 if (!wxPyCheckForApp()) SWIG_fail;
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20726 return resultobj;
20727 fail:
20728 return NULL;
20729 }
20730
20731
20732 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj = 0;
20734 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20735 wxWindow *arg2 = (wxWindow *) 0 ;
20736 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20737 wxString *arg4 = 0 ;
20738 int arg5 = (int) 0 ;
20739 bool result;
20740 void *argp1 = 0 ;
20741 int res1 = 0 ;
20742 void *argp2 = 0 ;
20743 int res2 = 0 ;
20744 void *argp3 = 0 ;
20745 int res3 = 0 ;
20746 bool temp4 = false ;
20747 int val5 ;
20748 int ecode5 = 0 ;
20749 PyObject * obj0 = 0 ;
20750 PyObject * obj1 = 0 ;
20751 PyObject * obj2 = 0 ;
20752 PyObject * obj3 = 0 ;
20753 PyObject * obj4 = 0 ;
20754 char * kwnames[] = {
20755 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20756 };
20757
20758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20760 if (!SWIG_IsOK(res1)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20762 }
20763 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20764 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20765 if (!SWIG_IsOK(res2)) {
20766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20767 }
20768 arg2 = reinterpret_cast< wxWindow * >(argp2);
20769 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20770 if (!SWIG_IsOK(res3)) {
20771 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20772 }
20773 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20774 {
20775 arg4 = wxString_in_helper(obj3);
20776 if (arg4 == NULL) SWIG_fail;
20777 temp4 = true;
20778 }
20779 if (obj4) {
20780 ecode5 = SWIG_AsVal_int(obj4, &val5);
20781 if (!SWIG_IsOK(ecode5)) {
20782 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20783 }
20784 arg5 = static_cast< int >(val5);
20785 }
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 {
20793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20794 }
20795 {
20796 if (temp4)
20797 delete arg4;
20798 }
20799 return resultobj;
20800 fail:
20801 {
20802 if (temp4)
20803 delete arg4;
20804 }
20805 return NULL;
20806 }
20807
20808
20809 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20810 PyObject *resultobj = 0;
20811 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20812 wxFindReplaceData *result = 0 ;
20813 void *argp1 = 0 ;
20814 int res1 = 0 ;
20815 PyObject *swig_obj[1] ;
20816
20817 if (!args) SWIG_fail;
20818 swig_obj[0] = args;
20819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20820 if (!SWIG_IsOK(res1)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20822 }
20823 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (wxFindReplaceData *)(arg1)->GetData();
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20831 return resultobj;
20832 fail:
20833 return NULL;
20834 }
20835
20836
20837 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj = 0;
20839 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20840 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20841 void *argp1 = 0 ;
20842 int res1 = 0 ;
20843 void *argp2 = 0 ;
20844 int res2 = 0 ;
20845 PyObject * obj0 = 0 ;
20846 PyObject * obj1 = 0 ;
20847 char * kwnames[] = {
20848 (char *) "self",(char *) "data", NULL
20849 };
20850
20851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20853 if (!SWIG_IsOK(res1)) {
20854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20855 }
20856 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20857 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20858 if (!SWIG_IsOK(res2)) {
20859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20860 }
20861 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 (arg1)->SetData(arg2);
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_Py_Void();
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20876 PyObject *obj;
20877 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20878 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20879 return SWIG_Py_Void();
20880 }
20881
20882 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20883 return SWIG_Python_InitShadowInstance(args);
20884 }
20885
20886 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj = 0;
20888 wxWindow *arg1 = (wxWindow *) 0 ;
20889 int arg2 = (int) (int)-1 ;
20890 wxString const &arg3_defvalue = wxPyEmptyString ;
20891 wxString *arg3 = (wxString *) &arg3_defvalue ;
20892 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20893 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20894 wxSize const &arg5_defvalue = wxDefaultSize ;
20895 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20896 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20897 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20898 wxString *arg7 = (wxString *) &arg7_defvalue ;
20899 wxMDIParentFrame *result = 0 ;
20900 void *argp1 = 0 ;
20901 int res1 = 0 ;
20902 int val2 ;
20903 int ecode2 = 0 ;
20904 bool temp3 = false ;
20905 wxPoint temp4 ;
20906 wxSize temp5 ;
20907 long val6 ;
20908 int ecode6 = 0 ;
20909 bool temp7 = false ;
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 PyObject * obj2 = 0 ;
20913 PyObject * obj3 = 0 ;
20914 PyObject * obj4 = 0 ;
20915 PyObject * obj5 = 0 ;
20916 PyObject * obj6 = 0 ;
20917 char * kwnames[] = {
20918 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20919 };
20920
20921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20923 if (!SWIG_IsOK(res1)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20925 }
20926 arg1 = reinterpret_cast< wxWindow * >(argp1);
20927 if (obj1) {
20928 ecode2 = SWIG_AsVal_int(obj1, &val2);
20929 if (!SWIG_IsOK(ecode2)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20931 }
20932 arg2 = static_cast< int >(val2);
20933 }
20934 if (obj2) {
20935 {
20936 arg3 = wxString_in_helper(obj2);
20937 if (arg3 == NULL) SWIG_fail;
20938 temp3 = true;
20939 }
20940 }
20941 if (obj3) {
20942 {
20943 arg4 = &temp4;
20944 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20945 }
20946 }
20947 if (obj4) {
20948 {
20949 arg5 = &temp5;
20950 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20951 }
20952 }
20953 if (obj5) {
20954 ecode6 = SWIG_AsVal_long(obj5, &val6);
20955 if (!SWIG_IsOK(ecode6)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20957 }
20958 arg6 = static_cast< long >(val6);
20959 }
20960 if (obj6) {
20961 {
20962 arg7 = wxString_in_helper(obj6);
20963 if (arg7 == NULL) SWIG_fail;
20964 temp7 = true;
20965 }
20966 }
20967 {
20968 if (!wxPyCheckForApp()) SWIG_fail;
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20975 {
20976 if (temp3)
20977 delete arg3;
20978 }
20979 {
20980 if (temp7)
20981 delete arg7;
20982 }
20983 return resultobj;
20984 fail:
20985 {
20986 if (temp3)
20987 delete arg3;
20988 }
20989 {
20990 if (temp7)
20991 delete arg7;
20992 }
20993 return NULL;
20994 }
20995
20996
20997 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20998 PyObject *resultobj = 0;
20999 wxMDIParentFrame *result = 0 ;
21000
21001 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
21002 {
21003 if (!wxPyCheckForApp()) SWIG_fail;
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 result = (wxMDIParentFrame *)new wxMDIParentFrame();
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj = 0;
21018 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21019 wxWindow *arg2 = (wxWindow *) 0 ;
21020 int arg3 = (int) (int)-1 ;
21021 wxString const &arg4_defvalue = wxPyEmptyString ;
21022 wxString *arg4 = (wxString *) &arg4_defvalue ;
21023 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21024 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21025 wxSize const &arg6_defvalue = wxDefaultSize ;
21026 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21027 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
21028 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21029 wxString *arg8 = (wxString *) &arg8_defvalue ;
21030 bool result;
21031 void *argp1 = 0 ;
21032 int res1 = 0 ;
21033 void *argp2 = 0 ;
21034 int res2 = 0 ;
21035 int val3 ;
21036 int ecode3 = 0 ;
21037 bool temp4 = false ;
21038 wxPoint temp5 ;
21039 wxSize temp6 ;
21040 long val7 ;
21041 int ecode7 = 0 ;
21042 bool temp8 = false ;
21043 PyObject * obj0 = 0 ;
21044 PyObject * obj1 = 0 ;
21045 PyObject * obj2 = 0 ;
21046 PyObject * obj3 = 0 ;
21047 PyObject * obj4 = 0 ;
21048 PyObject * obj5 = 0 ;
21049 PyObject * obj6 = 0 ;
21050 PyObject * obj7 = 0 ;
21051 char * kwnames[] = {
21052 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21053 };
21054
21055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21057 if (!SWIG_IsOK(res1)) {
21058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21059 }
21060 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21062 if (!SWIG_IsOK(res2)) {
21063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21064 }
21065 arg2 = reinterpret_cast< wxWindow * >(argp2);
21066 if (obj2) {
21067 ecode3 = SWIG_AsVal_int(obj2, &val3);
21068 if (!SWIG_IsOK(ecode3)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21070 }
21071 arg3 = static_cast< int >(val3);
21072 }
21073 if (obj3) {
21074 {
21075 arg4 = wxString_in_helper(obj3);
21076 if (arg4 == NULL) SWIG_fail;
21077 temp4 = true;
21078 }
21079 }
21080 if (obj4) {
21081 {
21082 arg5 = &temp5;
21083 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21084 }
21085 }
21086 if (obj5) {
21087 {
21088 arg6 = &temp6;
21089 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21090 }
21091 }
21092 if (obj6) {
21093 ecode7 = SWIG_AsVal_long(obj6, &val7);
21094 if (!SWIG_IsOK(ecode7)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21096 }
21097 arg7 = static_cast< long >(val7);
21098 }
21099 if (obj7) {
21100 {
21101 arg8 = wxString_in_helper(obj7);
21102 if (arg8 == NULL) SWIG_fail;
21103 temp8 = true;
21104 }
21105 }
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 {
21113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21114 }
21115 {
21116 if (temp4)
21117 delete arg4;
21118 }
21119 {
21120 if (temp8)
21121 delete arg8;
21122 }
21123 return resultobj;
21124 fail:
21125 {
21126 if (temp4)
21127 delete arg4;
21128 }
21129 {
21130 if (temp8)
21131 delete arg8;
21132 }
21133 return NULL;
21134 }
21135
21136
21137 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21138 PyObject *resultobj = 0;
21139 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21140 void *argp1 = 0 ;
21141 int res1 = 0 ;
21142 PyObject *swig_obj[1] ;
21143
21144 if (!args) SWIG_fail;
21145 swig_obj[0] = args;
21146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21147 if (!SWIG_IsOK(res1)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21149 }
21150 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 (arg1)->ActivateNext();
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 resultobj = SWIG_Py_Void();
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21165 PyObject *resultobj = 0;
21166 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21167 void *argp1 = 0 ;
21168 int res1 = 0 ;
21169 PyObject *swig_obj[1] ;
21170
21171 if (!args) SWIG_fail;
21172 swig_obj[0] = args;
21173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21174 if (!SWIG_IsOK(res1)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21176 }
21177 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 (arg1)->ActivatePrevious();
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 resultobj = SWIG_Py_Void();
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21192 PyObject *resultobj = 0;
21193 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21194 void *argp1 = 0 ;
21195 int res1 = 0 ;
21196 PyObject *swig_obj[1] ;
21197
21198 if (!args) SWIG_fail;
21199 swig_obj[0] = args;
21200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21201 if (!SWIG_IsOK(res1)) {
21202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21203 }
21204 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 (arg1)->ArrangeIcons();
21208 wxPyEndAllowThreads(__tstate);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 resultobj = SWIG_Py_Void();
21212 return resultobj;
21213 fail:
21214 return NULL;
21215 }
21216
21217
21218 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21219 PyObject *resultobj = 0;
21220 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21221 void *argp1 = 0 ;
21222 int res1 = 0 ;
21223 PyObject *swig_obj[1] ;
21224
21225 if (!args) SWIG_fail;
21226 swig_obj[0] = args;
21227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21228 if (!SWIG_IsOK(res1)) {
21229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21230 }
21231 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 (arg1)->Cascade();
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 resultobj = SWIG_Py_Void();
21239 return resultobj;
21240 fail:
21241 return NULL;
21242 }
21243
21244
21245 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21246 PyObject *resultobj = 0;
21247 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21248 wxMDIChildFrame *result = 0 ;
21249 void *argp1 = 0 ;
21250 int res1 = 0 ;
21251 PyObject *swig_obj[1] ;
21252
21253 if (!args) SWIG_fail;
21254 swig_obj[0] = args;
21255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21256 if (!SWIG_IsOK(res1)) {
21257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21258 }
21259 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21260 {
21261 PyThreadState* __tstate = wxPyBeginAllowThreads();
21262 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 {
21267 resultobj = wxPyMake_wxObject(result, (bool)0);
21268 }
21269 return resultobj;
21270 fail:
21271 return NULL;
21272 }
21273
21274
21275 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21276 PyObject *resultobj = 0;
21277 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21278 wxMDIClientWindow *result = 0 ;
21279 void *argp1 = 0 ;
21280 int res1 = 0 ;
21281 PyObject *swig_obj[1] ;
21282
21283 if (!args) SWIG_fail;
21284 swig_obj[0] = args;
21285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21286 if (!SWIG_IsOK(res1)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21288 }
21289 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21290 {
21291 PyThreadState* __tstate = wxPyBeginAllowThreads();
21292 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 {
21297 resultobj = wxPyMake_wxObject(result, (bool)0);
21298 }
21299 return resultobj;
21300 fail:
21301 return NULL;
21302 }
21303
21304
21305 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21306 PyObject *resultobj = 0;
21307 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21308 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21309 void *argp1 = 0 ;
21310 int res1 = 0 ;
21311 int val2 ;
21312 int ecode2 = 0 ;
21313 PyObject * obj0 = 0 ;
21314 PyObject * obj1 = 0 ;
21315 char * kwnames[] = {
21316 (char *) "self",(char *) "orient", NULL
21317 };
21318
21319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21321 if (!SWIG_IsOK(res1)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21323 }
21324 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21325 if (obj1) {
21326 ecode2 = SWIG_AsVal_int(obj1, &val2);
21327 if (!SWIG_IsOK(ecode2)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21329 }
21330 arg2 = static_cast< wxOrientation >(val2);
21331 }
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 (arg1)->Tile(arg2);
21335 wxPyEndAllowThreads(__tstate);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 }
21338 resultobj = SWIG_Py_Void();
21339 return resultobj;
21340 fail:
21341 return NULL;
21342 }
21343
21344
21345 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21346 PyObject *obj;
21347 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21348 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21349 return SWIG_Py_Void();
21350 }
21351
21352 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21353 return SWIG_Python_InitShadowInstance(args);
21354 }
21355
21356 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21357 PyObject *resultobj = 0;
21358 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21359 int arg2 = (int) (int)-1 ;
21360 wxString const &arg3_defvalue = wxPyEmptyString ;
21361 wxString *arg3 = (wxString *) &arg3_defvalue ;
21362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21364 wxSize const &arg5_defvalue = wxDefaultSize ;
21365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21366 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21367 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21368 wxString *arg7 = (wxString *) &arg7_defvalue ;
21369 wxMDIChildFrame *result = 0 ;
21370 void *argp1 = 0 ;
21371 int res1 = 0 ;
21372 int val2 ;
21373 int ecode2 = 0 ;
21374 bool temp3 = false ;
21375 wxPoint temp4 ;
21376 wxSize temp5 ;
21377 long val6 ;
21378 int ecode6 = 0 ;
21379 bool temp7 = false ;
21380 PyObject * obj0 = 0 ;
21381 PyObject * obj1 = 0 ;
21382 PyObject * obj2 = 0 ;
21383 PyObject * obj3 = 0 ;
21384 PyObject * obj4 = 0 ;
21385 PyObject * obj5 = 0 ;
21386 PyObject * obj6 = 0 ;
21387 char * kwnames[] = {
21388 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21389 };
21390
21391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21393 if (!SWIG_IsOK(res1)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21395 }
21396 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21397 if (obj1) {
21398 ecode2 = SWIG_AsVal_int(obj1, &val2);
21399 if (!SWIG_IsOK(ecode2)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21401 }
21402 arg2 = static_cast< int >(val2);
21403 }
21404 if (obj2) {
21405 {
21406 arg3 = wxString_in_helper(obj2);
21407 if (arg3 == NULL) SWIG_fail;
21408 temp3 = true;
21409 }
21410 }
21411 if (obj3) {
21412 {
21413 arg4 = &temp4;
21414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21415 }
21416 }
21417 if (obj4) {
21418 {
21419 arg5 = &temp5;
21420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21421 }
21422 }
21423 if (obj5) {
21424 ecode6 = SWIG_AsVal_long(obj5, &val6);
21425 if (!SWIG_IsOK(ecode6)) {
21426 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21427 }
21428 arg6 = static_cast< long >(val6);
21429 }
21430 if (obj6) {
21431 {
21432 arg7 = wxString_in_helper(obj6);
21433 if (arg7 == NULL) SWIG_fail;
21434 temp7 = true;
21435 }
21436 }
21437 {
21438 if (!wxPyCheckForApp()) SWIG_fail;
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21445 {
21446 if (temp3)
21447 delete arg3;
21448 }
21449 {
21450 if (temp7)
21451 delete arg7;
21452 }
21453 return resultobj;
21454 fail:
21455 {
21456 if (temp3)
21457 delete arg3;
21458 }
21459 {
21460 if (temp7)
21461 delete arg7;
21462 }
21463 return NULL;
21464 }
21465
21466
21467 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21468 PyObject *resultobj = 0;
21469 wxMDIChildFrame *result = 0 ;
21470
21471 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21472 {
21473 if (!wxPyCheckForApp()) SWIG_fail;
21474 PyThreadState* __tstate = wxPyBeginAllowThreads();
21475 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj = 0;
21488 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21489 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21490 int arg3 = (int) (int)-1 ;
21491 wxString const &arg4_defvalue = wxPyEmptyString ;
21492 wxString *arg4 = (wxString *) &arg4_defvalue ;
21493 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21494 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21495 wxSize const &arg6_defvalue = wxDefaultSize ;
21496 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21497 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21498 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21499 wxString *arg8 = (wxString *) &arg8_defvalue ;
21500 bool result;
21501 void *argp1 = 0 ;
21502 int res1 = 0 ;
21503 void *argp2 = 0 ;
21504 int res2 = 0 ;
21505 int val3 ;
21506 int ecode3 = 0 ;
21507 bool temp4 = false ;
21508 wxPoint temp5 ;
21509 wxSize temp6 ;
21510 long val7 ;
21511 int ecode7 = 0 ;
21512 bool temp8 = false ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 PyObject * obj2 = 0 ;
21516 PyObject * obj3 = 0 ;
21517 PyObject * obj4 = 0 ;
21518 PyObject * obj5 = 0 ;
21519 PyObject * obj6 = 0 ;
21520 PyObject * obj7 = 0 ;
21521 char * kwnames[] = {
21522 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21523 };
21524
21525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21527 if (!SWIG_IsOK(res1)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21529 }
21530 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21532 if (!SWIG_IsOK(res2)) {
21533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21534 }
21535 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21536 if (obj2) {
21537 ecode3 = SWIG_AsVal_int(obj2, &val3);
21538 if (!SWIG_IsOK(ecode3)) {
21539 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21540 }
21541 arg3 = static_cast< int >(val3);
21542 }
21543 if (obj3) {
21544 {
21545 arg4 = wxString_in_helper(obj3);
21546 if (arg4 == NULL) SWIG_fail;
21547 temp4 = true;
21548 }
21549 }
21550 if (obj4) {
21551 {
21552 arg5 = &temp5;
21553 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21554 }
21555 }
21556 if (obj5) {
21557 {
21558 arg6 = &temp6;
21559 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21560 }
21561 }
21562 if (obj6) {
21563 ecode7 = SWIG_AsVal_long(obj6, &val7);
21564 if (!SWIG_IsOK(ecode7)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21566 }
21567 arg7 = static_cast< long >(val7);
21568 }
21569 if (obj7) {
21570 {
21571 arg8 = wxString_in_helper(obj7);
21572 if (arg8 == NULL) SWIG_fail;
21573 temp8 = true;
21574 }
21575 }
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 {
21583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21584 }
21585 {
21586 if (temp4)
21587 delete arg4;
21588 }
21589 {
21590 if (temp8)
21591 delete arg8;
21592 }
21593 return resultobj;
21594 fail:
21595 {
21596 if (temp4)
21597 delete arg4;
21598 }
21599 {
21600 if (temp8)
21601 delete arg8;
21602 }
21603 return NULL;
21604 }
21605
21606
21607 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21608 PyObject *resultobj = 0;
21609 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21610 void *argp1 = 0 ;
21611 int res1 = 0 ;
21612 PyObject *swig_obj[1] ;
21613
21614 if (!args) SWIG_fail;
21615 swig_obj[0] = args;
21616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21617 if (!SWIG_IsOK(res1)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21619 }
21620 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 (arg1)->Activate();
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
21627 resultobj = SWIG_Py_Void();
21628 return resultobj;
21629 fail:
21630 return NULL;
21631 }
21632
21633
21634 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21635 PyObject *obj;
21636 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21637 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21638 return SWIG_Py_Void();
21639 }
21640
21641 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21642 return SWIG_Python_InitShadowInstance(args);
21643 }
21644
21645 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21646 PyObject *resultobj = 0;
21647 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21648 long arg2 = (long) 0 ;
21649 wxMDIClientWindow *result = 0 ;
21650 void *argp1 = 0 ;
21651 int res1 = 0 ;
21652 long val2 ;
21653 int ecode2 = 0 ;
21654 PyObject * obj0 = 0 ;
21655 PyObject * obj1 = 0 ;
21656 char * kwnames[] = {
21657 (char *) "parent",(char *) "style", NULL
21658 };
21659
21660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21662 if (!SWIG_IsOK(res1)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21664 }
21665 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21666 if (obj1) {
21667 ecode2 = SWIG_AsVal_long(obj1, &val2);
21668 if (!SWIG_IsOK(ecode2)) {
21669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21670 }
21671 arg2 = static_cast< long >(val2);
21672 }
21673 {
21674 if (!wxPyCheckForApp()) SWIG_fail;
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21688 PyObject *resultobj = 0;
21689 wxMDIClientWindow *result = 0 ;
21690
21691 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21692 {
21693 if (!wxPyCheckForApp()) SWIG_fail;
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj = 0;
21708 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21709 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21710 long arg3 = (long) 0 ;
21711 bool result;
21712 void *argp1 = 0 ;
21713 int res1 = 0 ;
21714 void *argp2 = 0 ;
21715 int res2 = 0 ;
21716 long val3 ;
21717 int ecode3 = 0 ;
21718 PyObject * obj0 = 0 ;
21719 PyObject * obj1 = 0 ;
21720 PyObject * obj2 = 0 ;
21721 char * kwnames[] = {
21722 (char *) "self",(char *) "parent",(char *) "style", NULL
21723 };
21724
21725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21727 if (!SWIG_IsOK(res1)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21729 }
21730 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21731 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21732 if (!SWIG_IsOK(res2)) {
21733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21734 }
21735 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21736 if (obj2) {
21737 ecode3 = SWIG_AsVal_long(obj2, &val3);
21738 if (!SWIG_IsOK(ecode3)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21740 }
21741 arg3 = static_cast< long >(val3);
21742 }
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 result = (bool)(arg1)->Create(arg2,arg3);
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 {
21750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21751 }
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21759 PyObject *obj;
21760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21761 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21762 return SWIG_Py_Void();
21763 }
21764
21765 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21766 return SWIG_Python_InitShadowInstance(args);
21767 }
21768
21769 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj = 0;
21771 wxWindow *arg1 = (wxWindow *) 0 ;
21772 int arg2 = (int) (int)-1 ;
21773 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21774 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21775 wxSize const &arg4_defvalue = wxDefaultSize ;
21776 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21777 long arg5 = (long) 0 ;
21778 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21779 wxString *arg6 = (wxString *) &arg6_defvalue ;
21780 wxPyWindow *result = 0 ;
21781 void *argp1 = 0 ;
21782 int res1 = 0 ;
21783 int val2 ;
21784 int ecode2 = 0 ;
21785 wxPoint temp3 ;
21786 wxSize temp4 ;
21787 long val5 ;
21788 int ecode5 = 0 ;
21789 bool temp6 = false ;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 PyObject * obj2 = 0 ;
21793 PyObject * obj3 = 0 ;
21794 PyObject * obj4 = 0 ;
21795 PyObject * obj5 = 0 ;
21796 char * kwnames[] = {
21797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21798 };
21799
21800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21802 if (!SWIG_IsOK(res1)) {
21803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21804 }
21805 arg1 = reinterpret_cast< wxWindow * >(argp1);
21806 if (obj1) {
21807 ecode2 = SWIG_AsVal_int(obj1, &val2);
21808 if (!SWIG_IsOK(ecode2)) {
21809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21810 }
21811 arg2 = static_cast< int >(val2);
21812 }
21813 if (obj2) {
21814 {
21815 arg3 = &temp3;
21816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21817 }
21818 }
21819 if (obj3) {
21820 {
21821 arg4 = &temp4;
21822 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21823 }
21824 }
21825 if (obj4) {
21826 ecode5 = SWIG_AsVal_long(obj4, &val5);
21827 if (!SWIG_IsOK(ecode5)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21829 }
21830 arg5 = static_cast< long >(val5);
21831 }
21832 if (obj5) {
21833 {
21834 arg6 = wxString_in_helper(obj5);
21835 if (arg6 == NULL) SWIG_fail;
21836 temp6 = true;
21837 }
21838 }
21839 {
21840 if (!wxPyCheckForApp()) SWIG_fail;
21841 PyThreadState* __tstate = wxPyBeginAllowThreads();
21842 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21847 {
21848 if (temp6)
21849 delete arg6;
21850 }
21851 return resultobj;
21852 fail:
21853 {
21854 if (temp6)
21855 delete arg6;
21856 }
21857 return NULL;
21858 }
21859
21860
21861 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21862 PyObject *resultobj = 0;
21863 wxPyWindow *result = 0 ;
21864
21865 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21866 {
21867 if (!wxPyCheckForApp()) SWIG_fail;
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (wxPyWindow *)new wxPyWindow();
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21874 return resultobj;
21875 fail:
21876 return NULL;
21877 }
21878
21879
21880 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj = 0;
21882 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21883 PyObject *arg2 = (PyObject *) 0 ;
21884 PyObject *arg3 = (PyObject *) 0 ;
21885 void *argp1 = 0 ;
21886 int res1 = 0 ;
21887 PyObject * obj0 = 0 ;
21888 PyObject * obj1 = 0 ;
21889 PyObject * obj2 = 0 ;
21890 char * kwnames[] = {
21891 (char *) "self",(char *) "self",(char *) "_class", NULL
21892 };
21893
21894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21896 if (!SWIG_IsOK(res1)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21898 }
21899 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21900 arg2 = obj1;
21901 arg3 = obj2;
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 (arg1)->_setCallbackInfo(arg2,arg3);
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 resultobj = SWIG_Py_Void();
21909 return resultobj;
21910 fail:
21911 return NULL;
21912 }
21913
21914
21915 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21916 PyObject *resultobj = 0;
21917 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21918 wxDC *arg2 = (wxDC *) 0 ;
21919 bool result;
21920 void *argp1 = 0 ;
21921 int res1 = 0 ;
21922 void *argp2 = 0 ;
21923 int res2 = 0 ;
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 char * kwnames[] = {
21927 (char *) "self",(char *) "dc", NULL
21928 };
21929
21930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21932 if (!SWIG_IsOK(res1)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21934 }
21935 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21937 if (!SWIG_IsOK(res2)) {
21938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21939 }
21940 arg2 = reinterpret_cast< wxDC * >(argp2);
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = (bool)(arg1)->DoEraseBackground(arg2);
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 {
21948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21949 }
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj = 0;
21958 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21959 int arg2 ;
21960 int arg3 ;
21961 int arg4 ;
21962 int arg5 ;
21963 void *argp1 = 0 ;
21964 int res1 = 0 ;
21965 int val2 ;
21966 int ecode2 = 0 ;
21967 int val3 ;
21968 int ecode3 = 0 ;
21969 int val4 ;
21970 int ecode4 = 0 ;
21971 int val5 ;
21972 int ecode5 = 0 ;
21973 PyObject * obj0 = 0 ;
21974 PyObject * obj1 = 0 ;
21975 PyObject * obj2 = 0 ;
21976 PyObject * obj3 = 0 ;
21977 PyObject * obj4 = 0 ;
21978 char * kwnames[] = {
21979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21980 };
21981
21982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21984 if (!SWIG_IsOK(res1)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21986 }
21987 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21988 ecode2 = SWIG_AsVal_int(obj1, &val2);
21989 if (!SWIG_IsOK(ecode2)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21991 }
21992 arg2 = static_cast< int >(val2);
21993 ecode3 = SWIG_AsVal_int(obj2, &val3);
21994 if (!SWIG_IsOK(ecode3)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21996 }
21997 arg3 = static_cast< int >(val3);
21998 ecode4 = SWIG_AsVal_int(obj3, &val4);
21999 if (!SWIG_IsOK(ecode4)) {
22000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22001 }
22002 arg4 = static_cast< int >(val4);
22003 ecode5 = SWIG_AsVal_int(obj4, &val5);
22004 if (!SWIG_IsOK(ecode5)) {
22005 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22006 }
22007 arg5 = static_cast< int >(val5);
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 resultobj = SWIG_Py_Void();
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj = 0;
22023 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22024 int arg2 ;
22025 int arg3 ;
22026 int arg4 ;
22027 int arg5 ;
22028 int arg6 = (int) wxSIZE_AUTO ;
22029 void *argp1 = 0 ;
22030 int res1 = 0 ;
22031 int val2 ;
22032 int ecode2 = 0 ;
22033 int val3 ;
22034 int ecode3 = 0 ;
22035 int val4 ;
22036 int ecode4 = 0 ;
22037 int val5 ;
22038 int ecode5 = 0 ;
22039 int val6 ;
22040 int ecode6 = 0 ;
22041 PyObject * obj0 = 0 ;
22042 PyObject * obj1 = 0 ;
22043 PyObject * obj2 = 0 ;
22044 PyObject * obj3 = 0 ;
22045 PyObject * obj4 = 0 ;
22046 PyObject * obj5 = 0 ;
22047 char * kwnames[] = {
22048 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22049 };
22050
22051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22053 if (!SWIG_IsOK(res1)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22055 }
22056 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22057 ecode2 = SWIG_AsVal_int(obj1, &val2);
22058 if (!SWIG_IsOK(ecode2)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22060 }
22061 arg2 = static_cast< int >(val2);
22062 ecode3 = SWIG_AsVal_int(obj2, &val3);
22063 if (!SWIG_IsOK(ecode3)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22065 }
22066 arg3 = static_cast< int >(val3);
22067 ecode4 = SWIG_AsVal_int(obj3, &val4);
22068 if (!SWIG_IsOK(ecode4)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22070 }
22071 arg4 = static_cast< int >(val4);
22072 ecode5 = SWIG_AsVal_int(obj4, &val5);
22073 if (!SWIG_IsOK(ecode5)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22075 }
22076 arg5 = static_cast< int >(val5);
22077 if (obj5) {
22078 ecode6 = SWIG_AsVal_int(obj5, &val6);
22079 if (!SWIG_IsOK(ecode6)) {
22080 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22081 }
22082 arg6 = static_cast< int >(val6);
22083 }
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_Py_Void();
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj = 0;
22099 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22100 int arg2 ;
22101 int arg3 ;
22102 void *argp1 = 0 ;
22103 int res1 = 0 ;
22104 int val2 ;
22105 int ecode2 = 0 ;
22106 int val3 ;
22107 int ecode3 = 0 ;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 PyObject * obj2 = 0 ;
22111 char * kwnames[] = {
22112 (char *) "self",(char *) "width",(char *) "height", NULL
22113 };
22114
22115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22117 if (!SWIG_IsOK(res1)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22119 }
22120 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22121 ecode2 = SWIG_AsVal_int(obj1, &val2);
22122 if (!SWIG_IsOK(ecode2)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22124 }
22125 arg2 = static_cast< int >(val2);
22126 ecode3 = SWIG_AsVal_int(obj2, &val3);
22127 if (!SWIG_IsOK(ecode3)) {
22128 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22129 }
22130 arg3 = static_cast< int >(val3);
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 (arg1)->DoSetClientSize(arg2,arg3);
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 resultobj = SWIG_Py_Void();
22138 return resultobj;
22139 fail:
22140 return NULL;
22141 }
22142
22143
22144 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj = 0;
22146 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22147 int arg2 ;
22148 int arg3 ;
22149 void *argp1 = 0 ;
22150 int res1 = 0 ;
22151 int val2 ;
22152 int ecode2 = 0 ;
22153 int val3 ;
22154 int ecode3 = 0 ;
22155 PyObject * obj0 = 0 ;
22156 PyObject * obj1 = 0 ;
22157 PyObject * obj2 = 0 ;
22158 char * kwnames[] = {
22159 (char *) "self",(char *) "x",(char *) "y", NULL
22160 };
22161
22162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22164 if (!SWIG_IsOK(res1)) {
22165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22166 }
22167 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22168 ecode2 = SWIG_AsVal_int(obj1, &val2);
22169 if (!SWIG_IsOK(ecode2)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22171 }
22172 arg2 = static_cast< int >(val2);
22173 ecode3 = SWIG_AsVal_int(obj2, &val3);
22174 if (!SWIG_IsOK(ecode3)) {
22175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22176 }
22177 arg3 = static_cast< int >(val3);
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 (arg1)->DoSetVirtualSize(arg2,arg3);
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 resultobj = SWIG_Py_Void();
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22192 PyObject *resultobj = 0;
22193 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22194 int *arg2 = (int *) 0 ;
22195 int *arg3 = (int *) 0 ;
22196 void *argp1 = 0 ;
22197 int res1 = 0 ;
22198 int temp2 ;
22199 int res2 = SWIG_TMPOBJ ;
22200 int temp3 ;
22201 int res3 = SWIG_TMPOBJ ;
22202 PyObject *swig_obj[1] ;
22203
22204 arg2 = &temp2;
22205 arg3 = &temp3;
22206 if (!args) SWIG_fail;
22207 swig_obj[0] = args;
22208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22209 if (!SWIG_IsOK(res1)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22211 }
22212 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 resultobj = SWIG_Py_Void();
22220 if (SWIG_IsTmpObj(res2)) {
22221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22222 } else {
22223 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22225 }
22226 if (SWIG_IsTmpObj(res3)) {
22227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22228 } else {
22229 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22231 }
22232 return resultobj;
22233 fail:
22234 return NULL;
22235 }
22236
22237
22238 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22239 PyObject *resultobj = 0;
22240 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22241 int *arg2 = (int *) 0 ;
22242 int *arg3 = (int *) 0 ;
22243 void *argp1 = 0 ;
22244 int res1 = 0 ;
22245 int temp2 ;
22246 int res2 = SWIG_TMPOBJ ;
22247 int temp3 ;
22248 int res3 = SWIG_TMPOBJ ;
22249 PyObject *swig_obj[1] ;
22250
22251 arg2 = &temp2;
22252 arg3 = &temp3;
22253 if (!args) SWIG_fail;
22254 swig_obj[0] = args;
22255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22256 if (!SWIG_IsOK(res1)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22258 }
22259 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 resultobj = SWIG_Py_Void();
22267 if (SWIG_IsTmpObj(res2)) {
22268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22269 } else {
22270 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22271 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22272 }
22273 if (SWIG_IsTmpObj(res3)) {
22274 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22275 } else {
22276 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22277 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22278 }
22279 return resultobj;
22280 fail:
22281 return NULL;
22282 }
22283
22284
22285 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22286 PyObject *resultobj = 0;
22287 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22288 int *arg2 = (int *) 0 ;
22289 int *arg3 = (int *) 0 ;
22290 void *argp1 = 0 ;
22291 int res1 = 0 ;
22292 int temp2 ;
22293 int res2 = SWIG_TMPOBJ ;
22294 int temp3 ;
22295 int res3 = SWIG_TMPOBJ ;
22296 PyObject *swig_obj[1] ;
22297
22298 arg2 = &temp2;
22299 arg3 = &temp3;
22300 if (!args) SWIG_fail;
22301 swig_obj[0] = args;
22302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22303 if (!SWIG_IsOK(res1)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22305 }
22306 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 resultobj = SWIG_Py_Void();
22314 if (SWIG_IsTmpObj(res2)) {
22315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22316 } else {
22317 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22318 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22319 }
22320 if (SWIG_IsTmpObj(res3)) {
22321 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22322 } else {
22323 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22324 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22325 }
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22333 PyObject *resultobj = 0;
22334 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22335 wxSize result;
22336 void *argp1 = 0 ;
22337 int res1 = 0 ;
22338 PyObject *swig_obj[1] ;
22339
22340 if (!args) SWIG_fail;
22341 swig_obj[0] = args;
22342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22343 if (!SWIG_IsOK(res1)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22345 }
22346 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22354 return resultobj;
22355 fail:
22356 return NULL;
22357 }
22358
22359
22360 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22361 PyObject *resultobj = 0;
22362 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22363 wxSize result;
22364 void *argp1 = 0 ;
22365 int res1 = 0 ;
22366 PyObject *swig_obj[1] ;
22367
22368 if (!args) SWIG_fail;
22369 swig_obj[0] = args;
22370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22371 if (!SWIG_IsOK(res1)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22373 }
22374 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22382 return resultobj;
22383 fail:
22384 return NULL;
22385 }
22386
22387
22388 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22389 PyObject *resultobj = 0;
22390 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22391 SwigValueWrapper<wxVisualAttributes > result;
22392 void *argp1 = 0 ;
22393 int res1 = 0 ;
22394 PyObject *swig_obj[1] ;
22395
22396 if (!args) SWIG_fail;
22397 swig_obj[0] = args;
22398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22399 if (!SWIG_IsOK(res1)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22401 }
22402 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (arg1)->GetDefaultAttributes();
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22417 PyObject *resultobj = 0;
22418 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22419 void *argp1 = 0 ;
22420 int res1 = 0 ;
22421 PyObject *swig_obj[1] ;
22422
22423 if (!args) SWIG_fail;
22424 swig_obj[0] = args;
22425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22426 if (!SWIG_IsOK(res1)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22428 }
22429 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 (arg1)->OnInternalIdle();
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 resultobj = SWIG_Py_Void();
22437 return resultobj;
22438 fail:
22439 return NULL;
22440 }
22441
22442
22443 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22444 PyObject *obj;
22445 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22447 return SWIG_Py_Void();
22448 }
22449
22450 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22451 return SWIG_Python_InitShadowInstance(args);
22452 }
22453
22454 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj = 0;
22456 wxWindow *arg1 = (wxWindow *) 0 ;
22457 int arg2 = (int) (int)-1 ;
22458 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22459 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22460 wxSize const &arg4_defvalue = wxDefaultSize ;
22461 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22462 long arg5 = (long) 0 ;
22463 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22464 wxString *arg6 = (wxString *) &arg6_defvalue ;
22465 wxPyPanel *result = 0 ;
22466 void *argp1 = 0 ;
22467 int res1 = 0 ;
22468 int val2 ;
22469 int ecode2 = 0 ;
22470 wxPoint temp3 ;
22471 wxSize temp4 ;
22472 long val5 ;
22473 int ecode5 = 0 ;
22474 bool temp6 = false ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 PyObject * obj2 = 0 ;
22478 PyObject * obj3 = 0 ;
22479 PyObject * obj4 = 0 ;
22480 PyObject * obj5 = 0 ;
22481 char * kwnames[] = {
22482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22483 };
22484
22485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22487 if (!SWIG_IsOK(res1)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22489 }
22490 arg1 = reinterpret_cast< wxWindow * >(argp1);
22491 if (obj1) {
22492 ecode2 = SWIG_AsVal_int(obj1, &val2);
22493 if (!SWIG_IsOK(ecode2)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22495 }
22496 arg2 = static_cast< int >(val2);
22497 }
22498 if (obj2) {
22499 {
22500 arg3 = &temp3;
22501 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22502 }
22503 }
22504 if (obj3) {
22505 {
22506 arg4 = &temp4;
22507 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22508 }
22509 }
22510 if (obj4) {
22511 ecode5 = SWIG_AsVal_long(obj4, &val5);
22512 if (!SWIG_IsOK(ecode5)) {
22513 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22514 }
22515 arg5 = static_cast< long >(val5);
22516 }
22517 if (obj5) {
22518 {
22519 arg6 = wxString_in_helper(obj5);
22520 if (arg6 == NULL) SWIG_fail;
22521 temp6 = true;
22522 }
22523 }
22524 {
22525 if (!wxPyCheckForApp()) SWIG_fail;
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22532 {
22533 if (temp6)
22534 delete arg6;
22535 }
22536 return resultobj;
22537 fail:
22538 {
22539 if (temp6)
22540 delete arg6;
22541 }
22542 return NULL;
22543 }
22544
22545
22546 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22547 PyObject *resultobj = 0;
22548 wxPyPanel *result = 0 ;
22549
22550 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22551 {
22552 if (!wxPyCheckForApp()) SWIG_fail;
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = (wxPyPanel *)new wxPyPanel();
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj = 0;
22567 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22568 PyObject *arg2 = (PyObject *) 0 ;
22569 PyObject *arg3 = (PyObject *) 0 ;
22570 void *argp1 = 0 ;
22571 int res1 = 0 ;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 PyObject * obj2 = 0 ;
22575 char * kwnames[] = {
22576 (char *) "self",(char *) "self",(char *) "_class", NULL
22577 };
22578
22579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22581 if (!SWIG_IsOK(res1)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22583 }
22584 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22585 arg2 = obj1;
22586 arg3 = obj2;
22587 {
22588 PyThreadState* __tstate = wxPyBeginAllowThreads();
22589 (arg1)->_setCallbackInfo(arg2,arg3);
22590 wxPyEndAllowThreads(__tstate);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 resultobj = SWIG_Py_Void();
22594 return resultobj;
22595 fail:
22596 return NULL;
22597 }
22598
22599
22600 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj = 0;
22602 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22603 wxDC *arg2 = (wxDC *) 0 ;
22604 bool result;
22605 void *argp1 = 0 ;
22606 int res1 = 0 ;
22607 void *argp2 = 0 ;
22608 int res2 = 0 ;
22609 PyObject * obj0 = 0 ;
22610 PyObject * obj1 = 0 ;
22611 char * kwnames[] = {
22612 (char *) "self",(char *) "dc", NULL
22613 };
22614
22615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22617 if (!SWIG_IsOK(res1)) {
22618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22619 }
22620 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22622 if (!SWIG_IsOK(res2)) {
22623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22624 }
22625 arg2 = reinterpret_cast< wxDC * >(argp2);
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 result = (bool)(arg1)->DoEraseBackground(arg2);
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 {
22633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22634 }
22635 return resultobj;
22636 fail:
22637 return NULL;
22638 }
22639
22640
22641 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj = 0;
22643 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22644 int arg2 ;
22645 int arg3 ;
22646 int arg4 ;
22647 int arg5 ;
22648 void *argp1 = 0 ;
22649 int res1 = 0 ;
22650 int val2 ;
22651 int ecode2 = 0 ;
22652 int val3 ;
22653 int ecode3 = 0 ;
22654 int val4 ;
22655 int ecode4 = 0 ;
22656 int val5 ;
22657 int ecode5 = 0 ;
22658 PyObject * obj0 = 0 ;
22659 PyObject * obj1 = 0 ;
22660 PyObject * obj2 = 0 ;
22661 PyObject * obj3 = 0 ;
22662 PyObject * obj4 = 0 ;
22663 char * kwnames[] = {
22664 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22665 };
22666
22667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22669 if (!SWIG_IsOK(res1)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22671 }
22672 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22673 ecode2 = SWIG_AsVal_int(obj1, &val2);
22674 if (!SWIG_IsOK(ecode2)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22676 }
22677 arg2 = static_cast< int >(val2);
22678 ecode3 = SWIG_AsVal_int(obj2, &val3);
22679 if (!SWIG_IsOK(ecode3)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22681 }
22682 arg3 = static_cast< int >(val3);
22683 ecode4 = SWIG_AsVal_int(obj3, &val4);
22684 if (!SWIG_IsOK(ecode4)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22686 }
22687 arg4 = static_cast< int >(val4);
22688 ecode5 = SWIG_AsVal_int(obj4, &val5);
22689 if (!SWIG_IsOK(ecode5)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22691 }
22692 arg5 = static_cast< int >(val5);
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22696 wxPyEndAllowThreads(__tstate);
22697 if (PyErr_Occurred()) SWIG_fail;
22698 }
22699 resultobj = SWIG_Py_Void();
22700 return resultobj;
22701 fail:
22702 return NULL;
22703 }
22704
22705
22706 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22707 PyObject *resultobj = 0;
22708 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22709 int arg2 ;
22710 int arg3 ;
22711 int arg4 ;
22712 int arg5 ;
22713 int arg6 = (int) wxSIZE_AUTO ;
22714 void *argp1 = 0 ;
22715 int res1 = 0 ;
22716 int val2 ;
22717 int ecode2 = 0 ;
22718 int val3 ;
22719 int ecode3 = 0 ;
22720 int val4 ;
22721 int ecode4 = 0 ;
22722 int val5 ;
22723 int ecode5 = 0 ;
22724 int val6 ;
22725 int ecode6 = 0 ;
22726 PyObject * obj0 = 0 ;
22727 PyObject * obj1 = 0 ;
22728 PyObject * obj2 = 0 ;
22729 PyObject * obj3 = 0 ;
22730 PyObject * obj4 = 0 ;
22731 PyObject * obj5 = 0 ;
22732 char * kwnames[] = {
22733 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22734 };
22735
22736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22738 if (!SWIG_IsOK(res1)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22740 }
22741 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22742 ecode2 = SWIG_AsVal_int(obj1, &val2);
22743 if (!SWIG_IsOK(ecode2)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22745 }
22746 arg2 = static_cast< int >(val2);
22747 ecode3 = SWIG_AsVal_int(obj2, &val3);
22748 if (!SWIG_IsOK(ecode3)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22750 }
22751 arg3 = static_cast< int >(val3);
22752 ecode4 = SWIG_AsVal_int(obj3, &val4);
22753 if (!SWIG_IsOK(ecode4)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22755 }
22756 arg4 = static_cast< int >(val4);
22757 ecode5 = SWIG_AsVal_int(obj4, &val5);
22758 if (!SWIG_IsOK(ecode5)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22760 }
22761 arg5 = static_cast< int >(val5);
22762 if (obj5) {
22763 ecode6 = SWIG_AsVal_int(obj5, &val6);
22764 if (!SWIG_IsOK(ecode6)) {
22765 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22766 }
22767 arg6 = static_cast< int >(val6);
22768 }
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 resultobj = SWIG_Py_Void();
22776 return resultobj;
22777 fail:
22778 return NULL;
22779 }
22780
22781
22782 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj = 0;
22784 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22785 int arg2 ;
22786 int arg3 ;
22787 void *argp1 = 0 ;
22788 int res1 = 0 ;
22789 int val2 ;
22790 int ecode2 = 0 ;
22791 int val3 ;
22792 int ecode3 = 0 ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 PyObject * obj2 = 0 ;
22796 char * kwnames[] = {
22797 (char *) "self",(char *) "width",(char *) "height", NULL
22798 };
22799
22800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22802 if (!SWIG_IsOK(res1)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22804 }
22805 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22806 ecode2 = SWIG_AsVal_int(obj1, &val2);
22807 if (!SWIG_IsOK(ecode2)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22809 }
22810 arg2 = static_cast< int >(val2);
22811 ecode3 = SWIG_AsVal_int(obj2, &val3);
22812 if (!SWIG_IsOK(ecode3)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22814 }
22815 arg3 = static_cast< int >(val3);
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 (arg1)->DoSetClientSize(arg2,arg3);
22819 wxPyEndAllowThreads(__tstate);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 }
22822 resultobj = SWIG_Py_Void();
22823 return resultobj;
22824 fail:
22825 return NULL;
22826 }
22827
22828
22829 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22830 PyObject *resultobj = 0;
22831 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22832 int arg2 ;
22833 int arg3 ;
22834 void *argp1 = 0 ;
22835 int res1 = 0 ;
22836 int val2 ;
22837 int ecode2 = 0 ;
22838 int val3 ;
22839 int ecode3 = 0 ;
22840 PyObject * obj0 = 0 ;
22841 PyObject * obj1 = 0 ;
22842 PyObject * obj2 = 0 ;
22843 char * kwnames[] = {
22844 (char *) "self",(char *) "x",(char *) "y", NULL
22845 };
22846
22847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22849 if (!SWIG_IsOK(res1)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22851 }
22852 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22853 ecode2 = SWIG_AsVal_int(obj1, &val2);
22854 if (!SWIG_IsOK(ecode2)) {
22855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22856 }
22857 arg2 = static_cast< int >(val2);
22858 ecode3 = SWIG_AsVal_int(obj2, &val3);
22859 if (!SWIG_IsOK(ecode3)) {
22860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22861 }
22862 arg3 = static_cast< int >(val3);
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 (arg1)->DoSetVirtualSize(arg2,arg3);
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 resultobj = SWIG_Py_Void();
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22877 PyObject *resultobj = 0;
22878 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22879 int *arg2 = (int *) 0 ;
22880 int *arg3 = (int *) 0 ;
22881 void *argp1 = 0 ;
22882 int res1 = 0 ;
22883 int temp2 ;
22884 int res2 = SWIG_TMPOBJ ;
22885 int temp3 ;
22886 int res3 = SWIG_TMPOBJ ;
22887 PyObject *swig_obj[1] ;
22888
22889 arg2 = &temp2;
22890 arg3 = &temp3;
22891 if (!args) SWIG_fail;
22892 swig_obj[0] = args;
22893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22894 if (!SWIG_IsOK(res1)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22896 }
22897 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = SWIG_Py_Void();
22905 if (SWIG_IsTmpObj(res2)) {
22906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22907 } else {
22908 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22910 }
22911 if (SWIG_IsTmpObj(res3)) {
22912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22913 } else {
22914 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22916 }
22917 return resultobj;
22918 fail:
22919 return NULL;
22920 }
22921
22922
22923 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22924 PyObject *resultobj = 0;
22925 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22926 int *arg2 = (int *) 0 ;
22927 int *arg3 = (int *) 0 ;
22928 void *argp1 = 0 ;
22929 int res1 = 0 ;
22930 int temp2 ;
22931 int res2 = SWIG_TMPOBJ ;
22932 int temp3 ;
22933 int res3 = SWIG_TMPOBJ ;
22934 PyObject *swig_obj[1] ;
22935
22936 arg2 = &temp2;
22937 arg3 = &temp3;
22938 if (!args) SWIG_fail;
22939 swig_obj[0] = args;
22940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22941 if (!SWIG_IsOK(res1)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22943 }
22944 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 resultobj = SWIG_Py_Void();
22952 if (SWIG_IsTmpObj(res2)) {
22953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22954 } else {
22955 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22957 }
22958 if (SWIG_IsTmpObj(res3)) {
22959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22960 } else {
22961 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22963 }
22964 return resultobj;
22965 fail:
22966 return NULL;
22967 }
22968
22969
22970 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22971 PyObject *resultobj = 0;
22972 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22973 int *arg2 = (int *) 0 ;
22974 int *arg3 = (int *) 0 ;
22975 void *argp1 = 0 ;
22976 int res1 = 0 ;
22977 int temp2 ;
22978 int res2 = SWIG_TMPOBJ ;
22979 int temp3 ;
22980 int res3 = SWIG_TMPOBJ ;
22981 PyObject *swig_obj[1] ;
22982
22983 arg2 = &temp2;
22984 arg3 = &temp3;
22985 if (!args) SWIG_fail;
22986 swig_obj[0] = args;
22987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22988 if (!SWIG_IsOK(res1)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22990 }
22991 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 resultobj = SWIG_Py_Void();
22999 if (SWIG_IsTmpObj(res2)) {
23000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23001 } else {
23002 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23004 }
23005 if (SWIG_IsTmpObj(res3)) {
23006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23007 } else {
23008 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23010 }
23011 return resultobj;
23012 fail:
23013 return NULL;
23014 }
23015
23016
23017 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23018 PyObject *resultobj = 0;
23019 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23020 wxSize result;
23021 void *argp1 = 0 ;
23022 int res1 = 0 ;
23023 PyObject *swig_obj[1] ;
23024
23025 if (!args) SWIG_fail;
23026 swig_obj[0] = args;
23027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23028 if (!SWIG_IsOK(res1)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23030 }
23031 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
23038 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23046 PyObject *resultobj = 0;
23047 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23048 wxSize result;
23049 void *argp1 = 0 ;
23050 int res1 = 0 ;
23051 PyObject *swig_obj[1] ;
23052
23053 if (!args) SWIG_fail;
23054 swig_obj[0] = args;
23055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23056 if (!SWIG_IsOK(res1)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23058 }
23059 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23063 wxPyEndAllowThreads(__tstate);
23064 if (PyErr_Occurred()) SWIG_fail;
23065 }
23066 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23067 return resultobj;
23068 fail:
23069 return NULL;
23070 }
23071
23072
23073 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23074 PyObject *resultobj = 0;
23075 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23076 SwigValueWrapper<wxVisualAttributes > result;
23077 void *argp1 = 0 ;
23078 int res1 = 0 ;
23079 PyObject *swig_obj[1] ;
23080
23081 if (!args) SWIG_fail;
23082 swig_obj[0] = args;
23083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23084 if (!SWIG_IsOK(res1)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23086 }
23087 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 result = (arg1)->GetDefaultAttributes();
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23095 return resultobj;
23096 fail:
23097 return NULL;
23098 }
23099
23100
23101 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23102 PyObject *resultobj = 0;
23103 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23104 void *argp1 = 0 ;
23105 int res1 = 0 ;
23106 PyObject *swig_obj[1] ;
23107
23108 if (!args) SWIG_fail;
23109 swig_obj[0] = args;
23110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23111 if (!SWIG_IsOK(res1)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23113 }
23114 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->OnInternalIdle();
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 resultobj = SWIG_Py_Void();
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23129 PyObject *obj;
23130 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23132 return SWIG_Py_Void();
23133 }
23134
23135 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23136 return SWIG_Python_InitShadowInstance(args);
23137 }
23138
23139 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj = 0;
23141 wxWindow *arg1 = (wxWindow *) 0 ;
23142 int arg2 = (int) (int)-1 ;
23143 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23144 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23145 wxSize const &arg4_defvalue = wxDefaultSize ;
23146 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23147 long arg5 = (long) 0 ;
23148 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23149 wxString *arg6 = (wxString *) &arg6_defvalue ;
23150 wxPyScrolledWindow *result = 0 ;
23151 void *argp1 = 0 ;
23152 int res1 = 0 ;
23153 int val2 ;
23154 int ecode2 = 0 ;
23155 wxPoint temp3 ;
23156 wxSize temp4 ;
23157 long val5 ;
23158 int ecode5 = 0 ;
23159 bool temp6 = false ;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 PyObject * obj2 = 0 ;
23163 PyObject * obj3 = 0 ;
23164 PyObject * obj4 = 0 ;
23165 PyObject * obj5 = 0 ;
23166 char * kwnames[] = {
23167 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23168 };
23169
23170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23172 if (!SWIG_IsOK(res1)) {
23173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23174 }
23175 arg1 = reinterpret_cast< wxWindow * >(argp1);
23176 if (obj1) {
23177 ecode2 = SWIG_AsVal_int(obj1, &val2);
23178 if (!SWIG_IsOK(ecode2)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23180 }
23181 arg2 = static_cast< int >(val2);
23182 }
23183 if (obj2) {
23184 {
23185 arg3 = &temp3;
23186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23187 }
23188 }
23189 if (obj3) {
23190 {
23191 arg4 = &temp4;
23192 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23193 }
23194 }
23195 if (obj4) {
23196 ecode5 = SWIG_AsVal_long(obj4, &val5);
23197 if (!SWIG_IsOK(ecode5)) {
23198 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23199 }
23200 arg5 = static_cast< long >(val5);
23201 }
23202 if (obj5) {
23203 {
23204 arg6 = wxString_in_helper(obj5);
23205 if (arg6 == NULL) SWIG_fail;
23206 temp6 = true;
23207 }
23208 }
23209 {
23210 if (!wxPyCheckForApp()) SWIG_fail;
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23217 {
23218 if (temp6)
23219 delete arg6;
23220 }
23221 return resultobj;
23222 fail:
23223 {
23224 if (temp6)
23225 delete arg6;
23226 }
23227 return NULL;
23228 }
23229
23230
23231 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23232 PyObject *resultobj = 0;
23233 wxPyScrolledWindow *result = 0 ;
23234
23235 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23236 {
23237 if (!wxPyCheckForApp()) SWIG_fail;
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj = 0;
23252 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23253 PyObject *arg2 = (PyObject *) 0 ;
23254 PyObject *arg3 = (PyObject *) 0 ;
23255 void *argp1 = 0 ;
23256 int res1 = 0 ;
23257 PyObject * obj0 = 0 ;
23258 PyObject * obj1 = 0 ;
23259 PyObject * obj2 = 0 ;
23260 char * kwnames[] = {
23261 (char *) "self",(char *) "self",(char *) "_class", NULL
23262 };
23263
23264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23266 if (!SWIG_IsOK(res1)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23268 }
23269 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23270 arg2 = obj1;
23271 arg3 = obj2;
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 (arg1)->_setCallbackInfo(arg2,arg3);
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 resultobj = SWIG_Py_Void();
23279 return resultobj;
23280 fail:
23281 return NULL;
23282 }
23283
23284
23285 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj = 0;
23287 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23288 wxDC *arg2 = (wxDC *) 0 ;
23289 bool result;
23290 void *argp1 = 0 ;
23291 int res1 = 0 ;
23292 void *argp2 = 0 ;
23293 int res2 = 0 ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 char * kwnames[] = {
23297 (char *) "self",(char *) "dc", NULL
23298 };
23299
23300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23302 if (!SWIG_IsOK(res1)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23304 }
23305 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23306 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23307 if (!SWIG_IsOK(res2)) {
23308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23309 }
23310 arg2 = reinterpret_cast< wxDC * >(argp2);
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = (bool)(arg1)->DoEraseBackground(arg2);
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23319 }
23320 return resultobj;
23321 fail:
23322 return NULL;
23323 }
23324
23325
23326 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj = 0;
23328 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23329 int arg2 ;
23330 int arg3 ;
23331 int arg4 ;
23332 int arg5 ;
23333 void *argp1 = 0 ;
23334 int res1 = 0 ;
23335 int val2 ;
23336 int ecode2 = 0 ;
23337 int val3 ;
23338 int ecode3 = 0 ;
23339 int val4 ;
23340 int ecode4 = 0 ;
23341 int val5 ;
23342 int ecode5 = 0 ;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
23345 PyObject * obj2 = 0 ;
23346 PyObject * obj3 = 0 ;
23347 PyObject * obj4 = 0 ;
23348 char * kwnames[] = {
23349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23350 };
23351
23352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23354 if (!SWIG_IsOK(res1)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23356 }
23357 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23358 ecode2 = SWIG_AsVal_int(obj1, &val2);
23359 if (!SWIG_IsOK(ecode2)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23361 }
23362 arg2 = static_cast< int >(val2);
23363 ecode3 = SWIG_AsVal_int(obj2, &val3);
23364 if (!SWIG_IsOK(ecode3)) {
23365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23366 }
23367 arg3 = static_cast< int >(val3);
23368 ecode4 = SWIG_AsVal_int(obj3, &val4);
23369 if (!SWIG_IsOK(ecode4)) {
23370 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23371 }
23372 arg4 = static_cast< int >(val4);
23373 ecode5 = SWIG_AsVal_int(obj4, &val5);
23374 if (!SWIG_IsOK(ecode5)) {
23375 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23376 }
23377 arg5 = static_cast< int >(val5);
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 resultobj = SWIG_Py_Void();
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj = 0;
23393 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23394 int arg2 ;
23395 int arg3 ;
23396 int arg4 ;
23397 int arg5 ;
23398 int arg6 = (int) wxSIZE_AUTO ;
23399 void *argp1 = 0 ;
23400 int res1 = 0 ;
23401 int val2 ;
23402 int ecode2 = 0 ;
23403 int val3 ;
23404 int ecode3 = 0 ;
23405 int val4 ;
23406 int ecode4 = 0 ;
23407 int val5 ;
23408 int ecode5 = 0 ;
23409 int val6 ;
23410 int ecode6 = 0 ;
23411 PyObject * obj0 = 0 ;
23412 PyObject * obj1 = 0 ;
23413 PyObject * obj2 = 0 ;
23414 PyObject * obj3 = 0 ;
23415 PyObject * obj4 = 0 ;
23416 PyObject * obj5 = 0 ;
23417 char * kwnames[] = {
23418 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23419 };
23420
23421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23423 if (!SWIG_IsOK(res1)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23425 }
23426 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23427 ecode2 = SWIG_AsVal_int(obj1, &val2);
23428 if (!SWIG_IsOK(ecode2)) {
23429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23430 }
23431 arg2 = static_cast< int >(val2);
23432 ecode3 = SWIG_AsVal_int(obj2, &val3);
23433 if (!SWIG_IsOK(ecode3)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23435 }
23436 arg3 = static_cast< int >(val3);
23437 ecode4 = SWIG_AsVal_int(obj3, &val4);
23438 if (!SWIG_IsOK(ecode4)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23440 }
23441 arg4 = static_cast< int >(val4);
23442 ecode5 = SWIG_AsVal_int(obj4, &val5);
23443 if (!SWIG_IsOK(ecode5)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23445 }
23446 arg5 = static_cast< int >(val5);
23447 if (obj5) {
23448 ecode6 = SWIG_AsVal_int(obj5, &val6);
23449 if (!SWIG_IsOK(ecode6)) {
23450 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23451 }
23452 arg6 = static_cast< int >(val6);
23453 }
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 resultobj = SWIG_Py_Void();
23461 return resultobj;
23462 fail:
23463 return NULL;
23464 }
23465
23466
23467 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj = 0;
23469 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23470 int arg2 ;
23471 int arg3 ;
23472 void *argp1 = 0 ;
23473 int res1 = 0 ;
23474 int val2 ;
23475 int ecode2 = 0 ;
23476 int val3 ;
23477 int ecode3 = 0 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 PyObject * obj2 = 0 ;
23481 char * kwnames[] = {
23482 (char *) "self",(char *) "width",(char *) "height", NULL
23483 };
23484
23485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23487 if (!SWIG_IsOK(res1)) {
23488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23489 }
23490 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23491 ecode2 = SWIG_AsVal_int(obj1, &val2);
23492 if (!SWIG_IsOK(ecode2)) {
23493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23494 }
23495 arg2 = static_cast< int >(val2);
23496 ecode3 = SWIG_AsVal_int(obj2, &val3);
23497 if (!SWIG_IsOK(ecode3)) {
23498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23499 }
23500 arg3 = static_cast< int >(val3);
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->DoSetClientSize(arg2,arg3);
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 resultobj = SWIG_Py_Void();
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj = 0;
23516 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23517 int arg2 ;
23518 int arg3 ;
23519 void *argp1 = 0 ;
23520 int res1 = 0 ;
23521 int val2 ;
23522 int ecode2 = 0 ;
23523 int val3 ;
23524 int ecode3 = 0 ;
23525 PyObject * obj0 = 0 ;
23526 PyObject * obj1 = 0 ;
23527 PyObject * obj2 = 0 ;
23528 char * kwnames[] = {
23529 (char *) "self",(char *) "x",(char *) "y", NULL
23530 };
23531
23532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23534 if (!SWIG_IsOK(res1)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23536 }
23537 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23538 ecode2 = SWIG_AsVal_int(obj1, &val2);
23539 if (!SWIG_IsOK(ecode2)) {
23540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23541 }
23542 arg2 = static_cast< int >(val2);
23543 ecode3 = SWIG_AsVal_int(obj2, &val3);
23544 if (!SWIG_IsOK(ecode3)) {
23545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23546 }
23547 arg3 = static_cast< int >(val3);
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 (arg1)->DoSetVirtualSize(arg2,arg3);
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 resultobj = SWIG_Py_Void();
23555 return resultobj;
23556 fail:
23557 return NULL;
23558 }
23559
23560
23561 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23562 PyObject *resultobj = 0;
23563 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23564 int *arg2 = (int *) 0 ;
23565 int *arg3 = (int *) 0 ;
23566 void *argp1 = 0 ;
23567 int res1 = 0 ;
23568 int temp2 ;
23569 int res2 = SWIG_TMPOBJ ;
23570 int temp3 ;
23571 int res3 = SWIG_TMPOBJ ;
23572 PyObject *swig_obj[1] ;
23573
23574 arg2 = &temp2;
23575 arg3 = &temp3;
23576 if (!args) SWIG_fail;
23577 swig_obj[0] = args;
23578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23579 if (!SWIG_IsOK(res1)) {
23580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23581 }
23582 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 resultobj = SWIG_Py_Void();
23590 if (SWIG_IsTmpObj(res2)) {
23591 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23592 } else {
23593 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23594 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23595 }
23596 if (SWIG_IsTmpObj(res3)) {
23597 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23598 } else {
23599 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23600 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23601 }
23602 return resultobj;
23603 fail:
23604 return NULL;
23605 }
23606
23607
23608 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23609 PyObject *resultobj = 0;
23610 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23611 int *arg2 = (int *) 0 ;
23612 int *arg3 = (int *) 0 ;
23613 void *argp1 = 0 ;
23614 int res1 = 0 ;
23615 int temp2 ;
23616 int res2 = SWIG_TMPOBJ ;
23617 int temp3 ;
23618 int res3 = SWIG_TMPOBJ ;
23619 PyObject *swig_obj[1] ;
23620
23621 arg2 = &temp2;
23622 arg3 = &temp3;
23623 if (!args) SWIG_fail;
23624 swig_obj[0] = args;
23625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23626 if (!SWIG_IsOK(res1)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23628 }
23629 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 resultobj = SWIG_Py_Void();
23637 if (SWIG_IsTmpObj(res2)) {
23638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23639 } else {
23640 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23642 }
23643 if (SWIG_IsTmpObj(res3)) {
23644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23645 } else {
23646 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23656 PyObject *resultobj = 0;
23657 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23658 int *arg2 = (int *) 0 ;
23659 int *arg3 = (int *) 0 ;
23660 void *argp1 = 0 ;
23661 int res1 = 0 ;
23662 int temp2 ;
23663 int res2 = SWIG_TMPOBJ ;
23664 int temp3 ;
23665 int res3 = SWIG_TMPOBJ ;
23666 PyObject *swig_obj[1] ;
23667
23668 arg2 = &temp2;
23669 arg3 = &temp3;
23670 if (!args) SWIG_fail;
23671 swig_obj[0] = args;
23672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23673 if (!SWIG_IsOK(res1)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23675 }
23676 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 resultobj = SWIG_Py_Void();
23684 if (SWIG_IsTmpObj(res2)) {
23685 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23686 } else {
23687 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23689 }
23690 if (SWIG_IsTmpObj(res3)) {
23691 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23692 } else {
23693 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23694 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23695 }
23696 return resultobj;
23697 fail:
23698 return NULL;
23699 }
23700
23701
23702 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23703 PyObject *resultobj = 0;
23704 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23705 wxSize result;
23706 void *argp1 = 0 ;
23707 int res1 = 0 ;
23708 PyObject *swig_obj[1] ;
23709
23710 if (!args) SWIG_fail;
23711 swig_obj[0] = args;
23712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23713 if (!SWIG_IsOK(res1)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23715 }
23716 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
23719 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23724 return resultobj;
23725 fail:
23726 return NULL;
23727 }
23728
23729
23730 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23731 PyObject *resultobj = 0;
23732 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23733 wxSize result;
23734 void *argp1 = 0 ;
23735 int res1 = 0 ;
23736 PyObject *swig_obj[1] ;
23737
23738 if (!args) SWIG_fail;
23739 swig_obj[0] = args;
23740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23741 if (!SWIG_IsOK(res1)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23743 }
23744 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
23751 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23752 return resultobj;
23753 fail:
23754 return NULL;
23755 }
23756
23757
23758 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23759 PyObject *resultobj = 0;
23760 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23761 SwigValueWrapper<wxVisualAttributes > result;
23762 void *argp1 = 0 ;
23763 int res1 = 0 ;
23764 PyObject *swig_obj[1] ;
23765
23766 if (!args) SWIG_fail;
23767 swig_obj[0] = args;
23768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23769 if (!SWIG_IsOK(res1)) {
23770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23771 }
23772 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 result = (arg1)->GetDefaultAttributes();
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23787 PyObject *resultobj = 0;
23788 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23789 void *argp1 = 0 ;
23790 int res1 = 0 ;
23791 PyObject *swig_obj[1] ;
23792
23793 if (!args) SWIG_fail;
23794 swig_obj[0] = args;
23795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23796 if (!SWIG_IsOK(res1)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23798 }
23799 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23800 {
23801 PyThreadState* __tstate = wxPyBeginAllowThreads();
23802 (arg1)->OnInternalIdle();
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 resultobj = SWIG_Py_Void();
23807 return resultobj;
23808 fail:
23809 return NULL;
23810 }
23811
23812
23813 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23814 PyObject *obj;
23815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23817 return SWIG_Py_Void();
23818 }
23819
23820 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23821 return SWIG_Python_InitShadowInstance(args);
23822 }
23823
23824 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23825 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23826 return 1;
23827 }
23828
23829
23830 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23831 PyObject *pyobj = 0;
23832
23833 {
23834 #if wxUSE_UNICODE
23835 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23836 #else
23837 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23838 #endif
23839 }
23840 return pyobj;
23841 }
23842
23843
23844 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23845 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23846 return 1;
23847 }
23848
23849
23850 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23851 PyObject *pyobj = 0;
23852
23853 {
23854 #if wxUSE_UNICODE
23855 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23856 #else
23857 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23858 #endif
23859 }
23860 return pyobj;
23861 }
23862
23863
23864 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23865 PyObject *resultobj = 0;
23866 wxPrintData *result = 0 ;
23867
23868 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (wxPrintData *)new wxPrintData();
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23883 PyObject *resultobj = 0;
23884 wxPrintData *arg1 = 0 ;
23885 wxPrintData *result = 0 ;
23886 void *argp1 = 0 ;
23887 int res1 = 0 ;
23888
23889 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23891 if (!SWIG_IsOK(res1)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23893 }
23894 if (!argp1) {
23895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23896 }
23897 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23912 int argc;
23913 PyObject *argv[2];
23914
23915 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23916 --argc;
23917 if (argc == 0) {
23918 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23919 }
23920 if (argc == 1) {
23921 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23922 }
23923
23924 fail:
23925 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23926 return NULL;
23927 }
23928
23929
23930 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23931 PyObject *resultobj = 0;
23932 wxPrintData *arg1 = (wxPrintData *) 0 ;
23933 void *argp1 = 0 ;
23934 int res1 = 0 ;
23935 PyObject *swig_obj[1] ;
23936
23937 if (!args) SWIG_fail;
23938 swig_obj[0] = args;
23939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23940 if (!SWIG_IsOK(res1)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23942 }
23943 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 delete arg1;
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 resultobj = SWIG_Py_Void();
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23959 PyObject *resultobj = 0;
23960 wxPrintData *arg1 = (wxPrintData *) 0 ;
23961 int result;
23962 void *argp1 = 0 ;
23963 int res1 = 0 ;
23964 PyObject *swig_obj[1] ;
23965
23966 if (!args) SWIG_fail;
23967 swig_obj[0] = args;
23968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23969 if (!SWIG_IsOK(res1)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23971 }
23972 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (int)(arg1)->GetNoCopies();
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 resultobj = SWIG_From_int(static_cast< int >(result));
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23987 PyObject *resultobj = 0;
23988 wxPrintData *arg1 = (wxPrintData *) 0 ;
23989 bool result;
23990 void *argp1 = 0 ;
23991 int res1 = 0 ;
23992 PyObject *swig_obj[1] ;
23993
23994 if (!args) SWIG_fail;
23995 swig_obj[0] = args;
23996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23997 if (!SWIG_IsOK(res1)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23999 }
24000 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 result = (bool)(arg1)->GetCollate();
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 {
24008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24009 }
24010 return resultobj;
24011 fail:
24012 return NULL;
24013 }
24014
24015
24016 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24017 PyObject *resultobj = 0;
24018 wxPrintData *arg1 = (wxPrintData *) 0 ;
24019 int result;
24020 void *argp1 = 0 ;
24021 int res1 = 0 ;
24022 PyObject *swig_obj[1] ;
24023
24024 if (!args) SWIG_fail;
24025 swig_obj[0] = args;
24026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24027 if (!SWIG_IsOK(res1)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24029 }
24030 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (int)(arg1)->GetOrientation();
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 resultobj = SWIG_From_int(static_cast< int >(result));
24038 return resultobj;
24039 fail:
24040 return NULL;
24041 }
24042
24043
24044 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24045 PyObject *resultobj = 0;
24046 wxPrintData *arg1 = (wxPrintData *) 0 ;
24047 bool result;
24048 void *argp1 = 0 ;
24049 int res1 = 0 ;
24050 PyObject *swig_obj[1] ;
24051
24052 if (!args) SWIG_fail;
24053 swig_obj[0] = args;
24054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24055 if (!SWIG_IsOK(res1)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24057 }
24058 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24059 {
24060 PyThreadState* __tstate = wxPyBeginAllowThreads();
24061 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 {
24066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24067 }
24068 return resultobj;
24069 fail:
24070 return NULL;
24071 }
24072
24073
24074 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24075 PyObject *resultobj = 0;
24076 wxPrintData *arg1 = (wxPrintData *) 0 ;
24077 bool result;
24078 void *argp1 = 0 ;
24079 int res1 = 0 ;
24080 PyObject *swig_obj[1] ;
24081
24082 if (!args) SWIG_fail;
24083 swig_obj[0] = args;
24084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24085 if (!SWIG_IsOK(res1)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24087 }
24088 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 result = (bool)(arg1)->IsOk();
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 {
24096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24097 }
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24105 PyObject *resultobj = 0;
24106 wxPrintData *arg1 = (wxPrintData *) 0 ;
24107 wxString *result = 0 ;
24108 void *argp1 = 0 ;
24109 int res1 = 0 ;
24110 PyObject *swig_obj[1] ;
24111
24112 if (!args) SWIG_fail;
24113 swig_obj[0] = args;
24114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24115 if (!SWIG_IsOK(res1)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24117 }
24118 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 {
24122 wxString const &_result_ref = (arg1)->GetPrinterName();
24123 result = (wxString *) &_result_ref;
24124 }
24125 wxPyEndAllowThreads(__tstate);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 }
24128 {
24129 #if wxUSE_UNICODE
24130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24131 #else
24132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24133 #endif
24134 }
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24142 PyObject *resultobj = 0;
24143 wxPrintData *arg1 = (wxPrintData *) 0 ;
24144 bool result;
24145 void *argp1 = 0 ;
24146 int res1 = 0 ;
24147 PyObject *swig_obj[1] ;
24148
24149 if (!args) SWIG_fail;
24150 swig_obj[0] = args;
24151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24152 if (!SWIG_IsOK(res1)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24154 }
24155 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 result = (bool)(arg1)->GetColour();
24159 wxPyEndAllowThreads(__tstate);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 }
24162 {
24163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24164 }
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24172 PyObject *resultobj = 0;
24173 wxPrintData *arg1 = (wxPrintData *) 0 ;
24174 wxDuplexMode result;
24175 void *argp1 = 0 ;
24176 int res1 = 0 ;
24177 PyObject *swig_obj[1] ;
24178
24179 if (!args) SWIG_fail;
24180 swig_obj[0] = args;
24181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24182 if (!SWIG_IsOK(res1)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24184 }
24185 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (wxDuplexMode)(arg1)->GetDuplex();
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 resultobj = SWIG_From_int(static_cast< int >(result));
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24200 PyObject *resultobj = 0;
24201 wxPrintData *arg1 = (wxPrintData *) 0 ;
24202 wxPaperSize result;
24203 void *argp1 = 0 ;
24204 int res1 = 0 ;
24205 PyObject *swig_obj[1] ;
24206
24207 if (!args) SWIG_fail;
24208 swig_obj[0] = args;
24209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24210 if (!SWIG_IsOK(res1)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24212 }
24213 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 result = (wxPaperSize)(arg1)->GetPaperId();
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 resultobj = SWIG_From_int(static_cast< int >(result));
24221 return resultobj;
24222 fail:
24223 return NULL;
24224 }
24225
24226
24227 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24228 PyObject *resultobj = 0;
24229 wxPrintData *arg1 = (wxPrintData *) 0 ;
24230 wxSize *result = 0 ;
24231 void *argp1 = 0 ;
24232 int res1 = 0 ;
24233 PyObject *swig_obj[1] ;
24234
24235 if (!args) SWIG_fail;
24236 swig_obj[0] = args;
24237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24238 if (!SWIG_IsOK(res1)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24240 }
24241 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 {
24245 wxSize const &_result_ref = (arg1)->GetPaperSize();
24246 result = (wxSize *) &_result_ref;
24247 }
24248 wxPyEndAllowThreads(__tstate);
24249 if (PyErr_Occurred()) SWIG_fail;
24250 }
24251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24252 return resultobj;
24253 fail:
24254 return NULL;
24255 }
24256
24257
24258 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24259 PyObject *resultobj = 0;
24260 wxPrintData *arg1 = (wxPrintData *) 0 ;
24261 int result;
24262 void *argp1 = 0 ;
24263 int res1 = 0 ;
24264 PyObject *swig_obj[1] ;
24265
24266 if (!args) SWIG_fail;
24267 swig_obj[0] = args;
24268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24269 if (!SWIG_IsOK(res1)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24271 }
24272 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (int)(arg1)->GetQuality();
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 resultobj = SWIG_From_int(static_cast< int >(result));
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24287 PyObject *resultobj = 0;
24288 wxPrintData *arg1 = (wxPrintData *) 0 ;
24289 wxPrintBin result;
24290 void *argp1 = 0 ;
24291 int res1 = 0 ;
24292 PyObject *swig_obj[1] ;
24293
24294 if (!args) SWIG_fail;
24295 swig_obj[0] = args;
24296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24297 if (!SWIG_IsOK(res1)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24299 }
24300 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 result = (wxPrintBin)(arg1)->GetBin();
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 resultobj = SWIG_From_int(static_cast< int >(result));
24308 return resultobj;
24309 fail:
24310 return NULL;
24311 }
24312
24313
24314 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24315 PyObject *resultobj = 0;
24316 wxPrintData *arg1 = (wxPrintData *) 0 ;
24317 wxPrintMode result;
24318 void *argp1 = 0 ;
24319 int res1 = 0 ;
24320 PyObject *swig_obj[1] ;
24321
24322 if (!args) SWIG_fail;
24323 swig_obj[0] = args;
24324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24325 if (!SWIG_IsOK(res1)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24327 }
24328 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 resultobj = SWIG_From_int(static_cast< int >(result));
24336 return resultobj;
24337 fail:
24338 return NULL;
24339 }
24340
24341
24342 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24343 PyObject *resultobj = 0;
24344 wxPrintData *arg1 = (wxPrintData *) 0 ;
24345 int result;
24346 void *argp1 = 0 ;
24347 int res1 = 0 ;
24348 PyObject *swig_obj[1] ;
24349
24350 if (!args) SWIG_fail;
24351 swig_obj[0] = args;
24352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24353 if (!SWIG_IsOK(res1)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24355 }
24356 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (int)((wxPrintData const *)arg1)->GetMedia();
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 resultobj = SWIG_From_int(static_cast< int >(result));
24364 return resultobj;
24365 fail:
24366 return NULL;
24367 }
24368
24369
24370 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24371 PyObject *resultobj = 0;
24372 wxPrintData *arg1 = (wxPrintData *) 0 ;
24373 int arg2 ;
24374 void *argp1 = 0 ;
24375 int res1 = 0 ;
24376 int val2 ;
24377 int ecode2 = 0 ;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 char * kwnames[] = {
24381 (char *) "self",(char *) "v", NULL
24382 };
24383
24384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24386 if (!SWIG_IsOK(res1)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24388 }
24389 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24390 ecode2 = SWIG_AsVal_int(obj1, &val2);
24391 if (!SWIG_IsOK(ecode2)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24393 }
24394 arg2 = static_cast< int >(val2);
24395 {
24396 PyThreadState* __tstate = wxPyBeginAllowThreads();
24397 (arg1)->SetNoCopies(arg2);
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 resultobj = SWIG_Py_Void();
24402 return resultobj;
24403 fail:
24404 return NULL;
24405 }
24406
24407
24408 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24409 PyObject *resultobj = 0;
24410 wxPrintData *arg1 = (wxPrintData *) 0 ;
24411 bool arg2 ;
24412 void *argp1 = 0 ;
24413 int res1 = 0 ;
24414 bool val2 ;
24415 int ecode2 = 0 ;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 char * kwnames[] = {
24419 (char *) "self",(char *) "flag", NULL
24420 };
24421
24422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24424 if (!SWIG_IsOK(res1)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24426 }
24427 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24428 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24429 if (!SWIG_IsOK(ecode2)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24431 }
24432 arg2 = static_cast< bool >(val2);
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 (arg1)->SetCollate(arg2);
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
24439 resultobj = SWIG_Py_Void();
24440 return resultobj;
24441 fail:
24442 return NULL;
24443 }
24444
24445
24446 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24447 PyObject *resultobj = 0;
24448 wxPrintData *arg1 = (wxPrintData *) 0 ;
24449 int arg2 ;
24450 void *argp1 = 0 ;
24451 int res1 = 0 ;
24452 int val2 ;
24453 int ecode2 = 0 ;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 char * kwnames[] = {
24457 (char *) "self",(char *) "orient", NULL
24458 };
24459
24460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24462 if (!SWIG_IsOK(res1)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24464 }
24465 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24466 ecode2 = SWIG_AsVal_int(obj1, &val2);
24467 if (!SWIG_IsOK(ecode2)) {
24468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24469 }
24470 arg2 = static_cast< int >(val2);
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 (arg1)->SetOrientation(arg2);
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 resultobj = SWIG_Py_Void();
24478 return resultobj;
24479 fail:
24480 return NULL;
24481 }
24482
24483
24484 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24485 PyObject *resultobj = 0;
24486 wxPrintData *arg1 = (wxPrintData *) 0 ;
24487 bool arg2 ;
24488 void *argp1 = 0 ;
24489 int res1 = 0 ;
24490 bool val2 ;
24491 int ecode2 = 0 ;
24492 PyObject * obj0 = 0 ;
24493 PyObject * obj1 = 0 ;
24494 char * kwnames[] = {
24495 (char *) "self",(char *) "reversed", NULL
24496 };
24497
24498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24500 if (!SWIG_IsOK(res1)) {
24501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24502 }
24503 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24504 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24505 if (!SWIG_IsOK(ecode2)) {
24506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24507 }
24508 arg2 = static_cast< bool >(val2);
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 (arg1)->SetOrientationReversed(arg2);
24512 wxPyEndAllowThreads(__tstate);
24513 if (PyErr_Occurred()) SWIG_fail;
24514 }
24515 resultobj = SWIG_Py_Void();
24516 return resultobj;
24517 fail:
24518 return NULL;
24519 }
24520
24521
24522 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24523 PyObject *resultobj = 0;
24524 wxPrintData *arg1 = (wxPrintData *) 0 ;
24525 wxString *arg2 = 0 ;
24526 void *argp1 = 0 ;
24527 int res1 = 0 ;
24528 bool temp2 = false ;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
24531 char * kwnames[] = {
24532 (char *) "self",(char *) "name", NULL
24533 };
24534
24535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24537 if (!SWIG_IsOK(res1)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24539 }
24540 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24541 {
24542 arg2 = wxString_in_helper(obj1);
24543 if (arg2 == NULL) SWIG_fail;
24544 temp2 = true;
24545 }
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
24548 (arg1)->SetPrinterName((wxString const &)*arg2);
24549 wxPyEndAllowThreads(__tstate);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
24552 resultobj = SWIG_Py_Void();
24553 {
24554 if (temp2)
24555 delete arg2;
24556 }
24557 return resultobj;
24558 fail:
24559 {
24560 if (temp2)
24561 delete arg2;
24562 }
24563 return NULL;
24564 }
24565
24566
24567 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24568 PyObject *resultobj = 0;
24569 wxPrintData *arg1 = (wxPrintData *) 0 ;
24570 bool arg2 ;
24571 void *argp1 = 0 ;
24572 int res1 = 0 ;
24573 bool val2 ;
24574 int ecode2 = 0 ;
24575 PyObject * obj0 = 0 ;
24576 PyObject * obj1 = 0 ;
24577 char * kwnames[] = {
24578 (char *) "self",(char *) "colour", NULL
24579 };
24580
24581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24583 if (!SWIG_IsOK(res1)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24585 }
24586 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24587 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24588 if (!SWIG_IsOK(ecode2)) {
24589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24590 }
24591 arg2 = static_cast< bool >(val2);
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 (arg1)->SetColour(arg2);
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 resultobj = SWIG_Py_Void();
24599 return resultobj;
24600 fail:
24601 return NULL;
24602 }
24603
24604
24605 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24606 PyObject *resultobj = 0;
24607 wxPrintData *arg1 = (wxPrintData *) 0 ;
24608 wxDuplexMode arg2 ;
24609 void *argp1 = 0 ;
24610 int res1 = 0 ;
24611 int val2 ;
24612 int ecode2 = 0 ;
24613 PyObject * obj0 = 0 ;
24614 PyObject * obj1 = 0 ;
24615 char * kwnames[] = {
24616 (char *) "self",(char *) "duplex", NULL
24617 };
24618
24619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24621 if (!SWIG_IsOK(res1)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24623 }
24624 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24625 ecode2 = SWIG_AsVal_int(obj1, &val2);
24626 if (!SWIG_IsOK(ecode2)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24628 }
24629 arg2 = static_cast< wxDuplexMode >(val2);
24630 {
24631 PyThreadState* __tstate = wxPyBeginAllowThreads();
24632 (arg1)->SetDuplex(arg2);
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 resultobj = SWIG_Py_Void();
24637 return resultobj;
24638 fail:
24639 return NULL;
24640 }
24641
24642
24643 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj = 0;
24645 wxPrintData *arg1 = (wxPrintData *) 0 ;
24646 wxPaperSize arg2 ;
24647 void *argp1 = 0 ;
24648 int res1 = 0 ;
24649 int val2 ;
24650 int ecode2 = 0 ;
24651 PyObject * obj0 = 0 ;
24652 PyObject * obj1 = 0 ;
24653 char * kwnames[] = {
24654 (char *) "self",(char *) "sizeId", NULL
24655 };
24656
24657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24659 if (!SWIG_IsOK(res1)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24661 }
24662 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24663 ecode2 = SWIG_AsVal_int(obj1, &val2);
24664 if (!SWIG_IsOK(ecode2)) {
24665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24666 }
24667 arg2 = static_cast< wxPaperSize >(val2);
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 (arg1)->SetPaperId(arg2);
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = SWIG_Py_Void();
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj = 0;
24683 wxPrintData *arg1 = (wxPrintData *) 0 ;
24684 wxSize *arg2 = 0 ;
24685 void *argp1 = 0 ;
24686 int res1 = 0 ;
24687 wxSize temp2 ;
24688 PyObject * obj0 = 0 ;
24689 PyObject * obj1 = 0 ;
24690 char * kwnames[] = {
24691 (char *) "self",(char *) "sz", NULL
24692 };
24693
24694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24696 if (!SWIG_IsOK(res1)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24698 }
24699 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24700 {
24701 arg2 = &temp2;
24702 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24703 }
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 (arg1)->SetPaperSize((wxSize const &)*arg2);
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 resultobj = SWIG_Py_Void();
24711 return resultobj;
24712 fail:
24713 return NULL;
24714 }
24715
24716
24717 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj = 0;
24719 wxPrintData *arg1 = (wxPrintData *) 0 ;
24720 int arg2 ;
24721 void *argp1 = 0 ;
24722 int res1 = 0 ;
24723 int val2 ;
24724 int ecode2 = 0 ;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 char * kwnames[] = {
24728 (char *) "self",(char *) "quality", NULL
24729 };
24730
24731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24733 if (!SWIG_IsOK(res1)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24735 }
24736 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24737 ecode2 = SWIG_AsVal_int(obj1, &val2);
24738 if (!SWIG_IsOK(ecode2)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24740 }
24741 arg2 = static_cast< int >(val2);
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 (arg1)->SetQuality(arg2);
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_Py_Void();
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj = 0;
24757 wxPrintData *arg1 = (wxPrintData *) 0 ;
24758 wxPrintBin arg2 ;
24759 void *argp1 = 0 ;
24760 int res1 = 0 ;
24761 int val2 ;
24762 int ecode2 = 0 ;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char * kwnames[] = {
24766 (char *) "self",(char *) "bin", NULL
24767 };
24768
24769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24771 if (!SWIG_IsOK(res1)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24773 }
24774 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24775 ecode2 = SWIG_AsVal_int(obj1, &val2);
24776 if (!SWIG_IsOK(ecode2)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24778 }
24779 arg2 = static_cast< wxPrintBin >(val2);
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 (arg1)->SetBin(arg2);
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 resultobj = SWIG_Py_Void();
24787 return resultobj;
24788 fail:
24789 return NULL;
24790 }
24791
24792
24793 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj = 0;
24795 wxPrintData *arg1 = (wxPrintData *) 0 ;
24796 wxPrintMode arg2 ;
24797 void *argp1 = 0 ;
24798 int res1 = 0 ;
24799 int val2 ;
24800 int ecode2 = 0 ;
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 char * kwnames[] = {
24804 (char *) "self",(char *) "printMode", NULL
24805 };
24806
24807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24809 if (!SWIG_IsOK(res1)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24811 }
24812 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24813 ecode2 = SWIG_AsVal_int(obj1, &val2);
24814 if (!SWIG_IsOK(ecode2)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24816 }
24817 arg2 = static_cast< wxPrintMode >(val2);
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 (arg1)->SetPrintMode(arg2);
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 resultobj = SWIG_Py_Void();
24825 return resultobj;
24826 fail:
24827 return NULL;
24828 }
24829
24830
24831 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj = 0;
24833 wxPrintData *arg1 = (wxPrintData *) 0 ;
24834 int arg2 ;
24835 void *argp1 = 0 ;
24836 int res1 = 0 ;
24837 int val2 ;
24838 int ecode2 = 0 ;
24839 PyObject * obj0 = 0 ;
24840 PyObject * obj1 = 0 ;
24841 char * kwnames[] = {
24842 (char *) "self",(char *) "media", NULL
24843 };
24844
24845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24847 if (!SWIG_IsOK(res1)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24849 }
24850 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24851 ecode2 = SWIG_AsVal_int(obj1, &val2);
24852 if (!SWIG_IsOK(ecode2)) {
24853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24854 }
24855 arg2 = static_cast< int >(val2);
24856 {
24857 PyThreadState* __tstate = wxPyBeginAllowThreads();
24858 (arg1)->SetMedia(arg2);
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 resultobj = SWIG_Py_Void();
24863 return resultobj;
24864 fail:
24865 return NULL;
24866 }
24867
24868
24869 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24870 PyObject *resultobj = 0;
24871 wxPrintData *arg1 = (wxPrintData *) 0 ;
24872 wxString result;
24873 void *argp1 = 0 ;
24874 int res1 = 0 ;
24875 PyObject *swig_obj[1] ;
24876
24877 if (!args) SWIG_fail;
24878 swig_obj[0] = args;
24879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24880 if (!SWIG_IsOK(res1)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24882 }
24883 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 result = ((wxPrintData const *)arg1)->GetFilename();
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 {
24891 #if wxUSE_UNICODE
24892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24893 #else
24894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24895 #endif
24896 }
24897 return resultobj;
24898 fail:
24899 return NULL;
24900 }
24901
24902
24903 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24904 PyObject *resultobj = 0;
24905 wxPrintData *arg1 = (wxPrintData *) 0 ;
24906 wxString *arg2 = 0 ;
24907 void *argp1 = 0 ;
24908 int res1 = 0 ;
24909 bool temp2 = false ;
24910 PyObject * obj0 = 0 ;
24911 PyObject * obj1 = 0 ;
24912 char * kwnames[] = {
24913 (char *) "self",(char *) "filename", NULL
24914 };
24915
24916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24918 if (!SWIG_IsOK(res1)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24920 }
24921 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24922 {
24923 arg2 = wxString_in_helper(obj1);
24924 if (arg2 == NULL) SWIG_fail;
24925 temp2 = true;
24926 }
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 (arg1)->SetFilename((wxString const &)*arg2);
24930 wxPyEndAllowThreads(__tstate);
24931 if (PyErr_Occurred()) SWIG_fail;
24932 }
24933 resultobj = SWIG_Py_Void();
24934 {
24935 if (temp2)
24936 delete arg2;
24937 }
24938 return resultobj;
24939 fail:
24940 {
24941 if (temp2)
24942 delete arg2;
24943 }
24944 return NULL;
24945 }
24946
24947
24948 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24949 PyObject *resultobj = 0;
24950 wxPrintData *arg1 = (wxPrintData *) 0 ;
24951 PyObject *result = 0 ;
24952 void *argp1 = 0 ;
24953 int res1 = 0 ;
24954 PyObject *swig_obj[1] ;
24955
24956 if (!args) SWIG_fail;
24957 swig_obj[0] = args;
24958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24959 if (!SWIG_IsOK(res1)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24961 }
24962 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 resultobj = result;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj = 0;
24978 wxPrintData *arg1 = (wxPrintData *) 0 ;
24979 PyObject *arg2 = (PyObject *) 0 ;
24980 void *argp1 = 0 ;
24981 int res1 = 0 ;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 char * kwnames[] = {
24985 (char *) "self",(char *) "data", NULL
24986 };
24987
24988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24990 if (!SWIG_IsOK(res1)) {
24991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24992 }
24993 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24994 arg2 = obj1;
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 wxPrintData_SetPrivData(arg1,arg2);
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 resultobj = SWIG_Py_Void();
25002 return resultobj;
25003 fail:
25004 return NULL;
25005 }
25006
25007
25008 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25009 PyObject *obj;
25010 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25011 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
25012 return SWIG_Py_Void();
25013 }
25014
25015 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25016 return SWIG_Python_InitShadowInstance(args);
25017 }
25018
25019 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25020 PyObject *resultobj = 0;
25021 wxPageSetupDialogData *result = 0 ;
25022
25023 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25031 return resultobj;
25032 fail:
25033 return NULL;
25034 }
25035
25036
25037 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25038 PyObject *resultobj = 0;
25039 wxPageSetupDialogData *arg1 = 0 ;
25040 wxPageSetupDialogData *result = 0 ;
25041 void *argp1 = 0 ;
25042 int res1 = 0 ;
25043
25044 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
25046 if (!SWIG_IsOK(res1)) {
25047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25048 }
25049 if (!argp1) {
25050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25051 }
25052 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25053 {
25054 PyThreadState* __tstate = wxPyBeginAllowThreads();
25055 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
25056 wxPyEndAllowThreads(__tstate);
25057 if (PyErr_Occurred()) SWIG_fail;
25058 }
25059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25060 return resultobj;
25061 fail:
25062 return NULL;
25063 }
25064
25065
25066 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25067 PyObject *resultobj = 0;
25068 wxPrintData *arg1 = 0 ;
25069 wxPageSetupDialogData *result = 0 ;
25070 void *argp1 = 0 ;
25071 int res1 = 0 ;
25072
25073 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25075 if (!SWIG_IsOK(res1)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25077 }
25078 if (!argp1) {
25079 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25080 }
25081 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25096 int argc;
25097 PyObject *argv[2];
25098
25099 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25100 --argc;
25101 if (argc == 0) {
25102 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25103 }
25104 if (argc == 1) {
25105 int _v = 0;
25106 {
25107 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25108 _v = SWIG_CheckState(res);
25109 }
25110 if (!_v) goto check_2;
25111 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25112 }
25113 check_2:
25114
25115 if (argc == 1) {
25116 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25117 }
25118
25119 fail:
25120 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25121 return NULL;
25122 }
25123
25124
25125 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25126 PyObject *resultobj = 0;
25127 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25128 void *argp1 = 0 ;
25129 int res1 = 0 ;
25130 PyObject *swig_obj[1] ;
25131
25132 if (!args) SWIG_fail;
25133 swig_obj[0] = args;
25134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25135 if (!SWIG_IsOK(res1)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25137 }
25138 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 delete arg1;
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
25146 resultobj = SWIG_Py_Void();
25147 return resultobj;
25148 fail:
25149 return NULL;
25150 }
25151
25152
25153 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25154 PyObject *resultobj = 0;
25155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25156 bool arg2 ;
25157 void *argp1 = 0 ;
25158 int res1 = 0 ;
25159 bool val2 ;
25160 int ecode2 = 0 ;
25161 PyObject * obj0 = 0 ;
25162 PyObject * obj1 = 0 ;
25163 char * kwnames[] = {
25164 (char *) "self",(char *) "flag", NULL
25165 };
25166
25167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25169 if (!SWIG_IsOK(res1)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25171 }
25172 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25173 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25174 if (!SWIG_IsOK(ecode2)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25176 }
25177 arg2 = static_cast< bool >(val2);
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 (arg1)->EnableHelp(arg2);
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 resultobj = SWIG_Py_Void();
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj = 0;
25193 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25194 bool arg2 ;
25195 void *argp1 = 0 ;
25196 int res1 = 0 ;
25197 bool val2 ;
25198 int ecode2 = 0 ;
25199 PyObject * obj0 = 0 ;
25200 PyObject * obj1 = 0 ;
25201 char * kwnames[] = {
25202 (char *) "self",(char *) "flag", NULL
25203 };
25204
25205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25207 if (!SWIG_IsOK(res1)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25209 }
25210 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25211 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25212 if (!SWIG_IsOK(ecode2)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25214 }
25215 arg2 = static_cast< bool >(val2);
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 (arg1)->EnableMargins(arg2);
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 resultobj = SWIG_Py_Void();
25223 return resultobj;
25224 fail:
25225 return NULL;
25226 }
25227
25228
25229 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25230 PyObject *resultobj = 0;
25231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25232 bool arg2 ;
25233 void *argp1 = 0 ;
25234 int res1 = 0 ;
25235 bool val2 ;
25236 int ecode2 = 0 ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 char * kwnames[] = {
25240 (char *) "self",(char *) "flag", NULL
25241 };
25242
25243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25245 if (!SWIG_IsOK(res1)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 }
25248 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25249 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25250 if (!SWIG_IsOK(ecode2)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25252 }
25253 arg2 = static_cast< bool >(val2);
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 (arg1)->EnableOrientation(arg2);
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 resultobj = SWIG_Py_Void();
25261 return resultobj;
25262 fail:
25263 return NULL;
25264 }
25265
25266
25267 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25268 PyObject *resultobj = 0;
25269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25270 bool arg2 ;
25271 void *argp1 = 0 ;
25272 int res1 = 0 ;
25273 bool val2 ;
25274 int ecode2 = 0 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 char * kwnames[] = {
25278 (char *) "self",(char *) "flag", NULL
25279 };
25280
25281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25283 if (!SWIG_IsOK(res1)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25285 }
25286 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25287 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25288 if (!SWIG_IsOK(ecode2)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25290 }
25291 arg2 = static_cast< bool >(val2);
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 (arg1)->EnablePaper(arg2);
25295 wxPyEndAllowThreads(__tstate);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 resultobj = SWIG_Py_Void();
25299 return resultobj;
25300 fail:
25301 return NULL;
25302 }
25303
25304
25305 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25306 PyObject *resultobj = 0;
25307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25308 bool arg2 ;
25309 void *argp1 = 0 ;
25310 int res1 = 0 ;
25311 bool val2 ;
25312 int ecode2 = 0 ;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
25315 char * kwnames[] = {
25316 (char *) "self",(char *) "flag", NULL
25317 };
25318
25319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25321 if (!SWIG_IsOK(res1)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25323 }
25324 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25325 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25326 if (!SWIG_IsOK(ecode2)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25328 }
25329 arg2 = static_cast< bool >(val2);
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 (arg1)->EnablePrinter(arg2);
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 resultobj = SWIG_Py_Void();
25337 return resultobj;
25338 fail:
25339 return NULL;
25340 }
25341
25342
25343 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25344 PyObject *resultobj = 0;
25345 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25346 bool result;
25347 void *argp1 = 0 ;
25348 int res1 = 0 ;
25349 PyObject *swig_obj[1] ;
25350
25351 if (!args) SWIG_fail;
25352 swig_obj[0] = args;
25353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25354 if (!SWIG_IsOK(res1)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25356 }
25357 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 result = (bool)(arg1)->GetDefaultMinMargins();
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 {
25365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25366 }
25367 return resultobj;
25368 fail:
25369 return NULL;
25370 }
25371
25372
25373 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25374 PyObject *resultobj = 0;
25375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25376 bool result;
25377 void *argp1 = 0 ;
25378 int res1 = 0 ;
25379 PyObject *swig_obj[1] ;
25380
25381 if (!args) SWIG_fail;
25382 swig_obj[0] = args;
25383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25384 if (!SWIG_IsOK(res1)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25386 }
25387 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (bool)(arg1)->GetEnableMargins();
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 {
25395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25396 }
25397 return resultobj;
25398 fail:
25399 return NULL;
25400 }
25401
25402
25403 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25404 PyObject *resultobj = 0;
25405 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25406 bool result;
25407 void *argp1 = 0 ;
25408 int res1 = 0 ;
25409 PyObject *swig_obj[1] ;
25410
25411 if (!args) SWIG_fail;
25412 swig_obj[0] = args;
25413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25414 if (!SWIG_IsOK(res1)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25416 }
25417 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 result = (bool)(arg1)->GetEnableOrientation();
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 {
25425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25426 }
25427 return resultobj;
25428 fail:
25429 return NULL;
25430 }
25431
25432
25433 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25434 PyObject *resultobj = 0;
25435 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25436 bool result;
25437 void *argp1 = 0 ;
25438 int res1 = 0 ;
25439 PyObject *swig_obj[1] ;
25440
25441 if (!args) SWIG_fail;
25442 swig_obj[0] = args;
25443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25444 if (!SWIG_IsOK(res1)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25446 }
25447 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25448 {
25449 PyThreadState* __tstate = wxPyBeginAllowThreads();
25450 result = (bool)(arg1)->GetEnablePaper();
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 {
25455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25456 }
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25464 PyObject *resultobj = 0;
25465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25466 bool result;
25467 void *argp1 = 0 ;
25468 int res1 = 0 ;
25469 PyObject *swig_obj[1] ;
25470
25471 if (!args) SWIG_fail;
25472 swig_obj[0] = args;
25473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25474 if (!SWIG_IsOK(res1)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25476 }
25477 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = (bool)(arg1)->GetEnablePrinter();
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 {
25485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25486 }
25487 return resultobj;
25488 fail:
25489 return NULL;
25490 }
25491
25492
25493 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25494 PyObject *resultobj = 0;
25495 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25496 bool result;
25497 void *argp1 = 0 ;
25498 int res1 = 0 ;
25499 PyObject *swig_obj[1] ;
25500
25501 if (!args) SWIG_fail;
25502 swig_obj[0] = args;
25503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25504 if (!SWIG_IsOK(res1)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25506 }
25507 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (bool)(arg1)->GetEnableHelp();
25511 wxPyEndAllowThreads(__tstate);
25512 if (PyErr_Occurred()) SWIG_fail;
25513 }
25514 {
25515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25516 }
25517 return resultobj;
25518 fail:
25519 return NULL;
25520 }
25521
25522
25523 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25524 PyObject *resultobj = 0;
25525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25526 bool result;
25527 void *argp1 = 0 ;
25528 int res1 = 0 ;
25529 PyObject *swig_obj[1] ;
25530
25531 if (!args) SWIG_fail;
25532 swig_obj[0] = args;
25533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25534 if (!SWIG_IsOK(res1)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25536 }
25537 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25538 {
25539 PyThreadState* __tstate = wxPyBeginAllowThreads();
25540 result = (bool)(arg1)->GetDefaultInfo();
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 {
25545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25546 }
25547 return resultobj;
25548 fail:
25549 return NULL;
25550 }
25551
25552
25553 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25554 PyObject *resultobj = 0;
25555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25556 wxPoint result;
25557 void *argp1 = 0 ;
25558 int res1 = 0 ;
25559 PyObject *swig_obj[1] ;
25560
25561 if (!args) SWIG_fail;
25562 swig_obj[0] = args;
25563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25564 if (!SWIG_IsOK(res1)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25566 }
25567 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = (arg1)->GetMarginTopLeft();
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25575 return resultobj;
25576 fail:
25577 return NULL;
25578 }
25579
25580
25581 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25582 PyObject *resultobj = 0;
25583 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25584 wxPoint result;
25585 void *argp1 = 0 ;
25586 int res1 = 0 ;
25587 PyObject *swig_obj[1] ;
25588
25589 if (!args) SWIG_fail;
25590 swig_obj[0] = args;
25591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25592 if (!SWIG_IsOK(res1)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25594 }
25595 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 result = (arg1)->GetMarginBottomRight();
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25603 return resultobj;
25604 fail:
25605 return NULL;
25606 }
25607
25608
25609 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25610 PyObject *resultobj = 0;
25611 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25612 wxPoint result;
25613 void *argp1 = 0 ;
25614 int res1 = 0 ;
25615 PyObject *swig_obj[1] ;
25616
25617 if (!args) SWIG_fail;
25618 swig_obj[0] = args;
25619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25620 if (!SWIG_IsOK(res1)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25622 }
25623 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25624 {
25625 PyThreadState* __tstate = wxPyBeginAllowThreads();
25626 result = (arg1)->GetMinMarginTopLeft();
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25638 PyObject *resultobj = 0;
25639 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25640 wxPoint result;
25641 void *argp1 = 0 ;
25642 int res1 = 0 ;
25643 PyObject *swig_obj[1] ;
25644
25645 if (!args) SWIG_fail;
25646 swig_obj[0] = args;
25647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25648 if (!SWIG_IsOK(res1)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25650 }
25651 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 result = (arg1)->GetMinMarginBottomRight();
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25659 return resultobj;
25660 fail:
25661 return NULL;
25662 }
25663
25664
25665 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25666 PyObject *resultobj = 0;
25667 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25668 wxPaperSize result;
25669 void *argp1 = 0 ;
25670 int res1 = 0 ;
25671 PyObject *swig_obj[1] ;
25672
25673 if (!args) SWIG_fail;
25674 swig_obj[0] = args;
25675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25676 if (!SWIG_IsOK(res1)) {
25677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25678 }
25679 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25680 {
25681 PyThreadState* __tstate = wxPyBeginAllowThreads();
25682 result = (wxPaperSize)(arg1)->GetPaperId();
25683 wxPyEndAllowThreads(__tstate);
25684 if (PyErr_Occurred()) SWIG_fail;
25685 }
25686 resultobj = SWIG_From_int(static_cast< int >(result));
25687 return resultobj;
25688 fail:
25689 return NULL;
25690 }
25691
25692
25693 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25694 PyObject *resultobj = 0;
25695 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25696 wxSize result;
25697 void *argp1 = 0 ;
25698 int res1 = 0 ;
25699 PyObject *swig_obj[1] ;
25700
25701 if (!args) SWIG_fail;
25702 swig_obj[0] = args;
25703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25704 if (!SWIG_IsOK(res1)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25706 }
25707 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 result = (arg1)->GetPaperSize();
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25715 return resultobj;
25716 fail:
25717 return NULL;
25718 }
25719
25720
25721 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25722 PyObject *resultobj = 0;
25723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25724 wxPrintData *result = 0 ;
25725 void *argp1 = 0 ;
25726 int res1 = 0 ;
25727 PyObject *swig_obj[1] ;
25728
25729 if (!args) SWIG_fail;
25730 swig_obj[0] = args;
25731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25732 if (!SWIG_IsOK(res1)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25734 }
25735 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25736 {
25737 PyThreadState* __tstate = wxPyBeginAllowThreads();
25738 {
25739 wxPrintData &_result_ref = (arg1)->GetPrintData();
25740 result = (wxPrintData *) &_result_ref;
25741 }
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
25745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25746 return resultobj;
25747 fail:
25748 return NULL;
25749 }
25750
25751
25752 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25753 PyObject *resultobj = 0;
25754 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25755 bool result;
25756 void *argp1 = 0 ;
25757 int res1 = 0 ;
25758 PyObject *swig_obj[1] ;
25759
25760 if (!args) SWIG_fail;
25761 swig_obj[0] = args;
25762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25763 if (!SWIG_IsOK(res1)) {
25764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25765 }
25766 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25767 {
25768 PyThreadState* __tstate = wxPyBeginAllowThreads();
25769 result = (bool)(arg1)->IsOk();
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 {
25774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25775 }
25776 return resultobj;
25777 fail:
25778 return NULL;
25779 }
25780
25781
25782 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25783 PyObject *resultobj = 0;
25784 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25785 bool arg2 ;
25786 void *argp1 = 0 ;
25787 int res1 = 0 ;
25788 bool val2 ;
25789 int ecode2 = 0 ;
25790 PyObject * obj0 = 0 ;
25791 PyObject * obj1 = 0 ;
25792 char * kwnames[] = {
25793 (char *) "self",(char *) "flag", NULL
25794 };
25795
25796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25798 if (!SWIG_IsOK(res1)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25800 }
25801 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25802 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25803 if (!SWIG_IsOK(ecode2)) {
25804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25805 }
25806 arg2 = static_cast< bool >(val2);
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 (arg1)->SetDefaultInfo(arg2);
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 resultobj = SWIG_Py_Void();
25814 return resultobj;
25815 fail:
25816 return NULL;
25817 }
25818
25819
25820 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25821 PyObject *resultobj = 0;
25822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25823 bool arg2 ;
25824 void *argp1 = 0 ;
25825 int res1 = 0 ;
25826 bool val2 ;
25827 int ecode2 = 0 ;
25828 PyObject * obj0 = 0 ;
25829 PyObject * obj1 = 0 ;
25830 char * kwnames[] = {
25831 (char *) "self",(char *) "flag", NULL
25832 };
25833
25834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25836 if (!SWIG_IsOK(res1)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25838 }
25839 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25840 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25841 if (!SWIG_IsOK(ecode2)) {
25842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25843 }
25844 arg2 = static_cast< bool >(val2);
25845 {
25846 PyThreadState* __tstate = wxPyBeginAllowThreads();
25847 (arg1)->SetDefaultMinMargins(arg2);
25848 wxPyEndAllowThreads(__tstate);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
25851 resultobj = SWIG_Py_Void();
25852 return resultobj;
25853 fail:
25854 return NULL;
25855 }
25856
25857
25858 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25859 PyObject *resultobj = 0;
25860 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25861 wxPoint *arg2 = 0 ;
25862 void *argp1 = 0 ;
25863 int res1 = 0 ;
25864 wxPoint temp2 ;
25865 PyObject * obj0 = 0 ;
25866 PyObject * obj1 = 0 ;
25867 char * kwnames[] = {
25868 (char *) "self",(char *) "pt", NULL
25869 };
25870
25871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25873 if (!SWIG_IsOK(res1)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25875 }
25876 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25877 {
25878 arg2 = &temp2;
25879 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25880 }
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 resultobj = SWIG_Py_Void();
25888 return resultobj;
25889 fail:
25890 return NULL;
25891 }
25892
25893
25894 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25895 PyObject *resultobj = 0;
25896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25897 wxPoint *arg2 = 0 ;
25898 void *argp1 = 0 ;
25899 int res1 = 0 ;
25900 wxPoint temp2 ;
25901 PyObject * obj0 = 0 ;
25902 PyObject * obj1 = 0 ;
25903 char * kwnames[] = {
25904 (char *) "self",(char *) "pt", NULL
25905 };
25906
25907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25909 if (!SWIG_IsOK(res1)) {
25910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25911 }
25912 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25913 {
25914 arg2 = &temp2;
25915 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25916 }
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25920 wxPyEndAllowThreads(__tstate);
25921 if (PyErr_Occurred()) SWIG_fail;
25922 }
25923 resultobj = SWIG_Py_Void();
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj = 0;
25932 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25933 wxPoint *arg2 = 0 ;
25934 void *argp1 = 0 ;
25935 int res1 = 0 ;
25936 wxPoint temp2 ;
25937 PyObject * obj0 = 0 ;
25938 PyObject * obj1 = 0 ;
25939 char * kwnames[] = {
25940 (char *) "self",(char *) "pt", NULL
25941 };
25942
25943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25945 if (!SWIG_IsOK(res1)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25947 }
25948 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25949 {
25950 arg2 = &temp2;
25951 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25952 }
25953 {
25954 PyThreadState* __tstate = wxPyBeginAllowThreads();
25955 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25956 wxPyEndAllowThreads(__tstate);
25957 if (PyErr_Occurred()) SWIG_fail;
25958 }
25959 resultobj = SWIG_Py_Void();
25960 return resultobj;
25961 fail:
25962 return NULL;
25963 }
25964
25965
25966 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25967 PyObject *resultobj = 0;
25968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25969 wxPoint *arg2 = 0 ;
25970 void *argp1 = 0 ;
25971 int res1 = 0 ;
25972 wxPoint temp2 ;
25973 PyObject * obj0 = 0 ;
25974 PyObject * obj1 = 0 ;
25975 char * kwnames[] = {
25976 (char *) "self",(char *) "pt", NULL
25977 };
25978
25979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25981 if (!SWIG_IsOK(res1)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25983 }
25984 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25985 {
25986 arg2 = &temp2;
25987 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25988 }
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25992 wxPyEndAllowThreads(__tstate);
25993 if (PyErr_Occurred()) SWIG_fail;
25994 }
25995 resultobj = SWIG_Py_Void();
25996 return resultobj;
25997 fail:
25998 return NULL;
25999 }
26000
26001
26002 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26003 PyObject *resultobj = 0;
26004 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26005 wxPaperSize arg2 ;
26006 void *argp1 = 0 ;
26007 int res1 = 0 ;
26008 int val2 ;
26009 int ecode2 = 0 ;
26010 PyObject * obj0 = 0 ;
26011 PyObject * obj1 = 0 ;
26012 char * kwnames[] = {
26013 (char *) "self",(char *) "id", NULL
26014 };
26015
26016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26018 if (!SWIG_IsOK(res1)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26020 }
26021 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26022 ecode2 = SWIG_AsVal_int(obj1, &val2);
26023 if (!SWIG_IsOK(ecode2)) {
26024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26025 }
26026 arg2 = static_cast< wxPaperSize >(val2);
26027 {
26028 PyThreadState* __tstate = wxPyBeginAllowThreads();
26029 (arg1)->SetPaperId(arg2);
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 resultobj = SWIG_Py_Void();
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj = 0;
26042 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26043 wxSize *arg2 = 0 ;
26044 void *argp1 = 0 ;
26045 int res1 = 0 ;
26046 wxSize temp2 ;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 char * kwnames[] = {
26050 (char *) "self",(char *) "size", NULL
26051 };
26052
26053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26055 if (!SWIG_IsOK(res1)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26057 }
26058 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26059 {
26060 arg2 = &temp2;
26061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26062 }
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 (arg1)->SetPaperSize((wxSize const &)*arg2);
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 resultobj = SWIG_Py_Void();
26070 return resultobj;
26071 fail:
26072 return NULL;
26073 }
26074
26075
26076 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26077 PyObject *resultobj = 0;
26078 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26079 wxPrintData *arg2 = 0 ;
26080 void *argp1 = 0 ;
26081 int res1 = 0 ;
26082 void *argp2 = 0 ;
26083 int res2 = 0 ;
26084 PyObject * obj0 = 0 ;
26085 PyObject * obj1 = 0 ;
26086 char * kwnames[] = {
26087 (char *) "self",(char *) "printData", NULL
26088 };
26089
26090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26092 if (!SWIG_IsOK(res1)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26094 }
26095 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26096 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26097 if (!SWIG_IsOK(res2)) {
26098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26099 }
26100 if (!argp2) {
26101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26102 }
26103 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 resultobj = SWIG_Py_Void();
26111 return resultobj;
26112 fail:
26113 return NULL;
26114 }
26115
26116
26117 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26118 PyObject *resultobj = 0;
26119 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26120 void *argp1 = 0 ;
26121 int res1 = 0 ;
26122 PyObject *swig_obj[1] ;
26123
26124 if (!args) SWIG_fail;
26125 swig_obj[0] = args;
26126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26127 if (!SWIG_IsOK(res1)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26129 }
26130 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 (arg1)->CalculateIdFromPaperSize();
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 resultobj = SWIG_Py_Void();
26138 return resultobj;
26139 fail:
26140 return NULL;
26141 }
26142
26143
26144 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26145 PyObject *resultobj = 0;
26146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26147 void *argp1 = 0 ;
26148 int res1 = 0 ;
26149 PyObject *swig_obj[1] ;
26150
26151 if (!args) SWIG_fail;
26152 swig_obj[0] = args;
26153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26154 if (!SWIG_IsOK(res1)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26156 }
26157 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26158 {
26159 PyThreadState* __tstate = wxPyBeginAllowThreads();
26160 (arg1)->CalculatePaperSizeFromId();
26161 wxPyEndAllowThreads(__tstate);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 resultobj = SWIG_Py_Void();
26165 return resultobj;
26166 fail:
26167 return NULL;
26168 }
26169
26170
26171 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26172 PyObject *obj;
26173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26174 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26175 return SWIG_Py_Void();
26176 }
26177
26178 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26179 return SWIG_Python_InitShadowInstance(args);
26180 }
26181
26182 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26183 PyObject *resultobj = 0;
26184 wxWindow *arg1 = (wxWindow *) 0 ;
26185 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26186 wxPageSetupDialog *result = 0 ;
26187 void *argp1 = 0 ;
26188 int res1 = 0 ;
26189 void *argp2 = 0 ;
26190 int res2 = 0 ;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char * kwnames[] = {
26194 (char *) "parent",(char *) "data", NULL
26195 };
26196
26197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26199 if (!SWIG_IsOK(res1)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26201 }
26202 arg1 = reinterpret_cast< wxWindow * >(argp1);
26203 if (obj1) {
26204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26205 if (!SWIG_IsOK(res2)) {
26206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26207 }
26208 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26209 }
26210 {
26211 if (!wxPyCheckForApp()) SWIG_fail;
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26214 wxPyEndAllowThreads(__tstate);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 }
26217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26218 return resultobj;
26219 fail:
26220 return NULL;
26221 }
26222
26223
26224 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26225 PyObject *resultobj = 0;
26226 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26227 void *argp1 = 0 ;
26228 int res1 = 0 ;
26229 PyObject *swig_obj[1] ;
26230
26231 if (!args) SWIG_fail;
26232 swig_obj[0] = args;
26233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26234 if (!SWIG_IsOK(res1)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26236 }
26237 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26238 {
26239 PyThreadState* __tstate = wxPyBeginAllowThreads();
26240 delete arg1;
26241
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
26245 resultobj = SWIG_Py_Void();
26246 return resultobj;
26247 fail:
26248 return NULL;
26249 }
26250
26251
26252 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26253 PyObject *resultobj = 0;
26254 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26255 wxPageSetupDialogData *result = 0 ;
26256 void *argp1 = 0 ;
26257 int res1 = 0 ;
26258 PyObject *swig_obj[1] ;
26259
26260 if (!args) SWIG_fail;
26261 swig_obj[0] = args;
26262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26263 if (!SWIG_IsOK(res1)) {
26264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26265 }
26266 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26267 {
26268 PyThreadState* __tstate = wxPyBeginAllowThreads();
26269 {
26270 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26271 result = (wxPageSetupDialogData *) &_result_ref;
26272 }
26273 wxPyEndAllowThreads(__tstate);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
26276 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26277 return resultobj;
26278 fail:
26279 return NULL;
26280 }
26281
26282
26283 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26284 PyObject *resultobj = 0;
26285 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26286 wxPageSetupDialogData *result = 0 ;
26287 void *argp1 = 0 ;
26288 int res1 = 0 ;
26289 PyObject *swig_obj[1] ;
26290
26291 if (!args) SWIG_fail;
26292 swig_obj[0] = args;
26293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26294 if (!SWIG_IsOK(res1)) {
26295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26296 }
26297 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 {
26301 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26302 result = (wxPageSetupDialogData *) &_result_ref;
26303 }
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26308 return resultobj;
26309 fail:
26310 return NULL;
26311 }
26312
26313
26314 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26315 PyObject *resultobj = 0;
26316 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26317 int result;
26318 void *argp1 = 0 ;
26319 int res1 = 0 ;
26320 PyObject *swig_obj[1] ;
26321
26322 if (!args) SWIG_fail;
26323 swig_obj[0] = args;
26324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26325 if (!SWIG_IsOK(res1)) {
26326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26327 }
26328 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = (int)(arg1)->ShowModal();
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = SWIG_From_int(static_cast< int >(result));
26336 return resultobj;
26337 fail:
26338 return NULL;
26339 }
26340
26341
26342 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26343 PyObject *obj;
26344 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26346 return SWIG_Py_Void();
26347 }
26348
26349 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26350 return SWIG_Python_InitShadowInstance(args);
26351 }
26352
26353 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26354 PyObject *resultobj = 0;
26355 wxPrintDialogData *result = 0 ;
26356
26357 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = (wxPrintDialogData *)new wxPrintDialogData();
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26372 PyObject *resultobj = 0;
26373 wxPrintData *arg1 = 0 ;
26374 wxPrintDialogData *result = 0 ;
26375 void *argp1 = 0 ;
26376 int res1 = 0 ;
26377
26378 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26380 if (!SWIG_IsOK(res1)) {
26381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26382 }
26383 if (!argp1) {
26384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26385 }
26386 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26401 PyObject *resultobj = 0;
26402 wxPrintDialogData *arg1 = 0 ;
26403 wxPrintDialogData *result = 0 ;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406
26407 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26409 if (!SWIG_IsOK(res1)) {
26410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26411 }
26412 if (!argp1) {
26413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26414 }
26415 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26423 return resultobj;
26424 fail:
26425 return NULL;
26426 }
26427
26428
26429 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26430 int argc;
26431 PyObject *argv[2];
26432
26433 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26434 --argc;
26435 if (argc == 0) {
26436 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26437 }
26438 if (argc == 1) {
26439 int _v = 0;
26440 {
26441 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26442 _v = SWIG_CheckState(res);
26443 }
26444 if (!_v) goto check_2;
26445 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26446 }
26447 check_2:
26448
26449 if (argc == 1) {
26450 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26451 }
26452
26453 fail:
26454 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26455 return NULL;
26456 }
26457
26458
26459 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26460 PyObject *resultobj = 0;
26461 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26462 void *argp1 = 0 ;
26463 int res1 = 0 ;
26464 PyObject *swig_obj[1] ;
26465
26466 if (!args) SWIG_fail;
26467 swig_obj[0] = args;
26468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26469 if (!SWIG_IsOK(res1)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26471 }
26472 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 delete arg1;
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 resultobj = SWIG_Py_Void();
26481 return resultobj;
26482 fail:
26483 return NULL;
26484 }
26485
26486
26487 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26488 PyObject *resultobj = 0;
26489 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26490 int result;
26491 void *argp1 = 0 ;
26492 int res1 = 0 ;
26493 PyObject *swig_obj[1] ;
26494
26495 if (!args) SWIG_fail;
26496 swig_obj[0] = args;
26497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26498 if (!SWIG_IsOK(res1)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26500 }
26501 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 resultobj = SWIG_From_int(static_cast< int >(result));
26509 return resultobj;
26510 fail:
26511 return NULL;
26512 }
26513
26514
26515 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26516 PyObject *resultobj = 0;
26517 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26518 int result;
26519 void *argp1 = 0 ;
26520 int res1 = 0 ;
26521 PyObject *swig_obj[1] ;
26522
26523 if (!args) SWIG_fail;
26524 swig_obj[0] = args;
26525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26526 if (!SWIG_IsOK(res1)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26528 }
26529 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 resultobj = SWIG_From_int(static_cast< int >(result));
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26544 PyObject *resultobj = 0;
26545 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26546 int result;
26547 void *argp1 = 0 ;
26548 int res1 = 0 ;
26549 PyObject *swig_obj[1] ;
26550
26551 if (!args) SWIG_fail;
26552 swig_obj[0] = args;
26553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26554 if (!SWIG_IsOK(res1)) {
26555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26556 }
26557 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = SWIG_From_int(static_cast< int >(result));
26565 return resultobj;
26566 fail:
26567 return NULL;
26568 }
26569
26570
26571 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26572 PyObject *resultobj = 0;
26573 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26574 int result;
26575 void *argp1 = 0 ;
26576 int res1 = 0 ;
26577 PyObject *swig_obj[1] ;
26578
26579 if (!args) SWIG_fail;
26580 swig_obj[0] = args;
26581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26582 if (!SWIG_IsOK(res1)) {
26583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26584 }
26585 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26586 {
26587 PyThreadState* __tstate = wxPyBeginAllowThreads();
26588 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26589 wxPyEndAllowThreads(__tstate);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 }
26592 resultobj = SWIG_From_int(static_cast< int >(result));
26593 return resultobj;
26594 fail:
26595 return NULL;
26596 }
26597
26598
26599 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26600 PyObject *resultobj = 0;
26601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26602 int result;
26603 void *argp1 = 0 ;
26604 int res1 = 0 ;
26605 PyObject *swig_obj[1] ;
26606
26607 if (!args) SWIG_fail;
26608 swig_obj[0] = args;
26609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26610 if (!SWIG_IsOK(res1)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26612 }
26613 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 resultobj = SWIG_From_int(static_cast< int >(result));
26621 return resultobj;
26622 fail:
26623 return NULL;
26624 }
26625
26626
26627 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26628 PyObject *resultobj = 0;
26629 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26630 bool result;
26631 void *argp1 = 0 ;
26632 int res1 = 0 ;
26633 PyObject *swig_obj[1] ;
26634
26635 if (!args) SWIG_fail;
26636 swig_obj[0] = args;
26637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26638 if (!SWIG_IsOK(res1)) {
26639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26640 }
26641 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 {
26649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26650 }
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26658 PyObject *resultobj = 0;
26659 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26660 bool result;
26661 void *argp1 = 0 ;
26662 int res1 = 0 ;
26663 PyObject *swig_obj[1] ;
26664
26665 if (!args) SWIG_fail;
26666 swig_obj[0] = args;
26667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26668 if (!SWIG_IsOK(res1)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26670 }
26671 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26672 {
26673 PyThreadState* __tstate = wxPyBeginAllowThreads();
26674 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 {
26679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26680 }
26681 return resultobj;
26682 fail:
26683 return NULL;
26684 }
26685
26686
26687 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26688 PyObject *resultobj = 0;
26689 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26690 bool result;
26691 void *argp1 = 0 ;
26692 int res1 = 0 ;
26693 PyObject *swig_obj[1] ;
26694
26695 if (!args) SWIG_fail;
26696 swig_obj[0] = args;
26697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26698 if (!SWIG_IsOK(res1)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26700 }
26701 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26702 {
26703 PyThreadState* __tstate = wxPyBeginAllowThreads();
26704 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26705 wxPyEndAllowThreads(__tstate);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 }
26708 {
26709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26710 }
26711 return resultobj;
26712 fail:
26713 return NULL;
26714 }
26715
26716
26717 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26718 PyObject *resultobj = 0;
26719 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26720 bool result;
26721 void *argp1 = 0 ;
26722 int res1 = 0 ;
26723 PyObject *swig_obj[1] ;
26724
26725 if (!args) SWIG_fail;
26726 swig_obj[0] = args;
26727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26728 if (!SWIG_IsOK(res1)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26730 }
26731 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 {
26739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26740 }
26741 return resultobj;
26742 fail:
26743 return NULL;
26744 }
26745
26746
26747 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26748 PyObject *resultobj = 0;
26749 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26750 int arg2 ;
26751 void *argp1 = 0 ;
26752 int res1 = 0 ;
26753 int val2 ;
26754 int ecode2 = 0 ;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 char * kwnames[] = {
26758 (char *) "self",(char *) "v", NULL
26759 };
26760
26761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26763 if (!SWIG_IsOK(res1)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26765 }
26766 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26767 ecode2 = SWIG_AsVal_int(obj1, &val2);
26768 if (!SWIG_IsOK(ecode2)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26770 }
26771 arg2 = static_cast< int >(val2);
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 (arg1)->SetFromPage(arg2);
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 resultobj = SWIG_Py_Void();
26779 return resultobj;
26780 fail:
26781 return NULL;
26782 }
26783
26784
26785 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj = 0;
26787 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26788 int arg2 ;
26789 void *argp1 = 0 ;
26790 int res1 = 0 ;
26791 int val2 ;
26792 int ecode2 = 0 ;
26793 PyObject * obj0 = 0 ;
26794 PyObject * obj1 = 0 ;
26795 char * kwnames[] = {
26796 (char *) "self",(char *) "v", NULL
26797 };
26798
26799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26801 if (!SWIG_IsOK(res1)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26803 }
26804 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26805 ecode2 = SWIG_AsVal_int(obj1, &val2);
26806 if (!SWIG_IsOK(ecode2)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26808 }
26809 arg2 = static_cast< int >(val2);
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 (arg1)->SetToPage(arg2);
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 resultobj = SWIG_Py_Void();
26817 return resultobj;
26818 fail:
26819 return NULL;
26820 }
26821
26822
26823 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj = 0;
26825 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26826 int arg2 ;
26827 void *argp1 = 0 ;
26828 int res1 = 0 ;
26829 int val2 ;
26830 int ecode2 = 0 ;
26831 PyObject * obj0 = 0 ;
26832 PyObject * obj1 = 0 ;
26833 char * kwnames[] = {
26834 (char *) "self",(char *) "v", NULL
26835 };
26836
26837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26839 if (!SWIG_IsOK(res1)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26841 }
26842 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26843 ecode2 = SWIG_AsVal_int(obj1, &val2);
26844 if (!SWIG_IsOK(ecode2)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26846 }
26847 arg2 = static_cast< int >(val2);
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 (arg1)->SetMinPage(arg2);
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 resultobj = SWIG_Py_Void();
26855 return resultobj;
26856 fail:
26857 return NULL;
26858 }
26859
26860
26861 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26862 PyObject *resultobj = 0;
26863 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26864 int arg2 ;
26865 void *argp1 = 0 ;
26866 int res1 = 0 ;
26867 int val2 ;
26868 int ecode2 = 0 ;
26869 PyObject * obj0 = 0 ;
26870 PyObject * obj1 = 0 ;
26871 char * kwnames[] = {
26872 (char *) "self",(char *) "v", NULL
26873 };
26874
26875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26877 if (!SWIG_IsOK(res1)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26879 }
26880 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26881 ecode2 = SWIG_AsVal_int(obj1, &val2);
26882 if (!SWIG_IsOK(ecode2)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26884 }
26885 arg2 = static_cast< int >(val2);
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 (arg1)->SetMaxPage(arg2);
26889 wxPyEndAllowThreads(__tstate);
26890 if (PyErr_Occurred()) SWIG_fail;
26891 }
26892 resultobj = SWIG_Py_Void();
26893 return resultobj;
26894 fail:
26895 return NULL;
26896 }
26897
26898
26899 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26900 PyObject *resultobj = 0;
26901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26902 int arg2 ;
26903 void *argp1 = 0 ;
26904 int res1 = 0 ;
26905 int val2 ;
26906 int ecode2 = 0 ;
26907 PyObject * obj0 = 0 ;
26908 PyObject * obj1 = 0 ;
26909 char * kwnames[] = {
26910 (char *) "self",(char *) "v", NULL
26911 };
26912
26913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26915 if (!SWIG_IsOK(res1)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26917 }
26918 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26919 ecode2 = SWIG_AsVal_int(obj1, &val2);
26920 if (!SWIG_IsOK(ecode2)) {
26921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26922 }
26923 arg2 = static_cast< int >(val2);
26924 {
26925 PyThreadState* __tstate = wxPyBeginAllowThreads();
26926 (arg1)->SetNoCopies(arg2);
26927 wxPyEndAllowThreads(__tstate);
26928 if (PyErr_Occurred()) SWIG_fail;
26929 }
26930 resultobj = SWIG_Py_Void();
26931 return resultobj;
26932 fail:
26933 return NULL;
26934 }
26935
26936
26937 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26938 PyObject *resultobj = 0;
26939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26940 bool arg2 ;
26941 void *argp1 = 0 ;
26942 int res1 = 0 ;
26943 bool val2 ;
26944 int ecode2 = 0 ;
26945 PyObject * obj0 = 0 ;
26946 PyObject * obj1 = 0 ;
26947 char * kwnames[] = {
26948 (char *) "self",(char *) "flag", NULL
26949 };
26950
26951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26953 if (!SWIG_IsOK(res1)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26955 }
26956 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26957 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26958 if (!SWIG_IsOK(ecode2)) {
26959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26960 }
26961 arg2 = static_cast< bool >(val2);
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 (arg1)->SetAllPages(arg2);
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 resultobj = SWIG_Py_Void();
26969 return resultobj;
26970 fail:
26971 return NULL;
26972 }
26973
26974
26975 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26976 PyObject *resultobj = 0;
26977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26978 bool arg2 ;
26979 void *argp1 = 0 ;
26980 int res1 = 0 ;
26981 bool val2 ;
26982 int ecode2 = 0 ;
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985 char * kwnames[] = {
26986 (char *) "self",(char *) "flag", NULL
26987 };
26988
26989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26991 if (!SWIG_IsOK(res1)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26993 }
26994 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26995 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26996 if (!SWIG_IsOK(ecode2)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26998 }
26999 arg2 = static_cast< bool >(val2);
27000 {
27001 PyThreadState* __tstate = wxPyBeginAllowThreads();
27002 (arg1)->SetSelection(arg2);
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 resultobj = SWIG_Py_Void();
27007 return resultobj;
27008 fail:
27009 return NULL;
27010 }
27011
27012
27013 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27014 PyObject *resultobj = 0;
27015 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27016 bool arg2 ;
27017 void *argp1 = 0 ;
27018 int res1 = 0 ;
27019 bool val2 ;
27020 int ecode2 = 0 ;
27021 PyObject * obj0 = 0 ;
27022 PyObject * obj1 = 0 ;
27023 char * kwnames[] = {
27024 (char *) "self",(char *) "flag", NULL
27025 };
27026
27027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
27028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27029 if (!SWIG_IsOK(res1)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27031 }
27032 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27033 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27034 if (!SWIG_IsOK(ecode2)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27036 }
27037 arg2 = static_cast< bool >(val2);
27038 {
27039 PyThreadState* __tstate = wxPyBeginAllowThreads();
27040 (arg1)->SetCollate(arg2);
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 resultobj = SWIG_Py_Void();
27045 return resultobj;
27046 fail:
27047 return NULL;
27048 }
27049
27050
27051 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27052 PyObject *resultobj = 0;
27053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27054 bool arg2 ;
27055 void *argp1 = 0 ;
27056 int res1 = 0 ;
27057 bool val2 ;
27058 int ecode2 = 0 ;
27059 PyObject * obj0 = 0 ;
27060 PyObject * obj1 = 0 ;
27061 char * kwnames[] = {
27062 (char *) "self",(char *) "flag", NULL
27063 };
27064
27065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27067 if (!SWIG_IsOK(res1)) {
27068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27069 }
27070 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27071 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27072 if (!SWIG_IsOK(ecode2)) {
27073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27074 }
27075 arg2 = static_cast< bool >(val2);
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 (arg1)->SetPrintToFile(arg2);
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 resultobj = SWIG_Py_Void();
27083 return resultobj;
27084 fail:
27085 return NULL;
27086 }
27087
27088
27089 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27090 PyObject *resultobj = 0;
27091 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27092 bool arg2 ;
27093 void *argp1 = 0 ;
27094 int res1 = 0 ;
27095 bool val2 ;
27096 int ecode2 = 0 ;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 char * kwnames[] = {
27100 (char *) "self",(char *) "flag", NULL
27101 };
27102
27103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27105 if (!SWIG_IsOK(res1)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27107 }
27108 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27109 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27110 if (!SWIG_IsOK(ecode2)) {
27111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27112 }
27113 arg2 = static_cast< bool >(val2);
27114 {
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 (arg1)->EnablePrintToFile(arg2);
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 resultobj = SWIG_Py_Void();
27121 return resultobj;
27122 fail:
27123 return NULL;
27124 }
27125
27126
27127 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27128 PyObject *resultobj = 0;
27129 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27130 bool arg2 ;
27131 void *argp1 = 0 ;
27132 int res1 = 0 ;
27133 bool val2 ;
27134 int ecode2 = 0 ;
27135 PyObject * obj0 = 0 ;
27136 PyObject * obj1 = 0 ;
27137 char * kwnames[] = {
27138 (char *) "self",(char *) "flag", NULL
27139 };
27140
27141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27143 if (!SWIG_IsOK(res1)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27145 }
27146 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27147 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27148 if (!SWIG_IsOK(ecode2)) {
27149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27150 }
27151 arg2 = static_cast< bool >(val2);
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 (arg1)->EnableSelection(arg2);
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 resultobj = SWIG_Py_Void();
27159 return resultobj;
27160 fail:
27161 return NULL;
27162 }
27163
27164
27165 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27166 PyObject *resultobj = 0;
27167 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27168 bool arg2 ;
27169 void *argp1 = 0 ;
27170 int res1 = 0 ;
27171 bool val2 ;
27172 int ecode2 = 0 ;
27173 PyObject * obj0 = 0 ;
27174 PyObject * obj1 = 0 ;
27175 char * kwnames[] = {
27176 (char *) "self",(char *) "flag", NULL
27177 };
27178
27179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27181 if (!SWIG_IsOK(res1)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27183 }
27184 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27185 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27186 if (!SWIG_IsOK(ecode2)) {
27187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27188 }
27189 arg2 = static_cast< bool >(val2);
27190 {
27191 PyThreadState* __tstate = wxPyBeginAllowThreads();
27192 (arg1)->EnablePageNumbers(arg2);
27193 wxPyEndAllowThreads(__tstate);
27194 if (PyErr_Occurred()) SWIG_fail;
27195 }
27196 resultobj = SWIG_Py_Void();
27197 return resultobj;
27198 fail:
27199 return NULL;
27200 }
27201
27202
27203 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27204 PyObject *resultobj = 0;
27205 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27206 bool arg2 ;
27207 void *argp1 = 0 ;
27208 int res1 = 0 ;
27209 bool val2 ;
27210 int ecode2 = 0 ;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 char * kwnames[] = {
27214 (char *) "self",(char *) "flag", NULL
27215 };
27216
27217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27219 if (!SWIG_IsOK(res1)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27221 }
27222 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27223 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27224 if (!SWIG_IsOK(ecode2)) {
27225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27226 }
27227 arg2 = static_cast< bool >(val2);
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 (arg1)->EnableHelp(arg2);
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 resultobj = SWIG_Py_Void();
27235 return resultobj;
27236 fail:
27237 return NULL;
27238 }
27239
27240
27241 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27242 PyObject *resultobj = 0;
27243 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27244 bool result;
27245 void *argp1 = 0 ;
27246 int res1 = 0 ;
27247 PyObject *swig_obj[1] ;
27248
27249 if (!args) SWIG_fail;
27250 swig_obj[0] = args;
27251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27252 if (!SWIG_IsOK(res1)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27254 }
27255 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27259 wxPyEndAllowThreads(__tstate);
27260 if (PyErr_Occurred()) SWIG_fail;
27261 }
27262 {
27263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27264 }
27265 return resultobj;
27266 fail:
27267 return NULL;
27268 }
27269
27270
27271 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27272 PyObject *resultobj = 0;
27273 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27274 bool result;
27275 void *argp1 = 0 ;
27276 int res1 = 0 ;
27277 PyObject *swig_obj[1] ;
27278
27279 if (!args) SWIG_fail;
27280 swig_obj[0] = args;
27281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27282 if (!SWIG_IsOK(res1)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27284 }
27285 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27286 {
27287 PyThreadState* __tstate = wxPyBeginAllowThreads();
27288 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27289 wxPyEndAllowThreads(__tstate);
27290 if (PyErr_Occurred()) SWIG_fail;
27291 }
27292 {
27293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27294 }
27295 return resultobj;
27296 fail:
27297 return NULL;
27298 }
27299
27300
27301 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27302 PyObject *resultobj = 0;
27303 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27304 bool result;
27305 void *argp1 = 0 ;
27306 int res1 = 0 ;
27307 PyObject *swig_obj[1] ;
27308
27309 if (!args) SWIG_fail;
27310 swig_obj[0] = args;
27311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27312 if (!SWIG_IsOK(res1)) {
27313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27314 }
27315 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27316 {
27317 PyThreadState* __tstate = wxPyBeginAllowThreads();
27318 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27319 wxPyEndAllowThreads(__tstate);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 {
27323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27324 }
27325 return resultobj;
27326 fail:
27327 return NULL;
27328 }
27329
27330
27331 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27332 PyObject *resultobj = 0;
27333 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27334 bool result;
27335 void *argp1 = 0 ;
27336 int res1 = 0 ;
27337 PyObject *swig_obj[1] ;
27338
27339 if (!args) SWIG_fail;
27340 swig_obj[0] = args;
27341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27342 if (!SWIG_IsOK(res1)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27344 }
27345 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 {
27353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27354 }
27355 return resultobj;
27356 fail:
27357 return NULL;
27358 }
27359
27360
27361 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27362 PyObject *resultobj = 0;
27363 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27364 bool result;
27365 void *argp1 = 0 ;
27366 int res1 = 0 ;
27367 PyObject *swig_obj[1] ;
27368
27369 if (!args) SWIG_fail;
27370 swig_obj[0] = args;
27371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27372 if (!SWIG_IsOK(res1)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27374 }
27375 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27379 wxPyEndAllowThreads(__tstate);
27380 if (PyErr_Occurred()) SWIG_fail;
27381 }
27382 {
27383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27384 }
27385 return resultobj;
27386 fail:
27387 return NULL;
27388 }
27389
27390
27391 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27392 PyObject *resultobj = 0;
27393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27394 wxPrintData *result = 0 ;
27395 void *argp1 = 0 ;
27396 int res1 = 0 ;
27397 PyObject *swig_obj[1] ;
27398
27399 if (!args) SWIG_fail;
27400 swig_obj[0] = args;
27401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27402 if (!SWIG_IsOK(res1)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27404 }
27405 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 {
27409 wxPrintData &_result_ref = (arg1)->GetPrintData();
27410 result = (wxPrintData *) &_result_ref;
27411 }
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27416 return resultobj;
27417 fail:
27418 return NULL;
27419 }
27420
27421
27422 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27423 PyObject *resultobj = 0;
27424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27425 wxPrintData *arg2 = 0 ;
27426 void *argp1 = 0 ;
27427 int res1 = 0 ;
27428 void *argp2 = 0 ;
27429 int res2 = 0 ;
27430 PyObject * obj0 = 0 ;
27431 PyObject * obj1 = 0 ;
27432 char * kwnames[] = {
27433 (char *) "self",(char *) "printData", NULL
27434 };
27435
27436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27438 if (!SWIG_IsOK(res1)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27440 }
27441 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27442 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27443 if (!SWIG_IsOK(res2)) {
27444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27445 }
27446 if (!argp2) {
27447 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27448 }
27449 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 resultobj = SWIG_Py_Void();
27457 return resultobj;
27458 fail:
27459 return NULL;
27460 }
27461
27462
27463 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27464 PyObject *obj;
27465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27467 return SWIG_Py_Void();
27468 }
27469
27470 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 return SWIG_Python_InitShadowInstance(args);
27472 }
27473
27474 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj = 0;
27476 wxWindow *arg1 = (wxWindow *) 0 ;
27477 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27478 wxPrintDialog *result = 0 ;
27479 void *argp1 = 0 ;
27480 int res1 = 0 ;
27481 void *argp2 = 0 ;
27482 int res2 = 0 ;
27483 PyObject * obj0 = 0 ;
27484 PyObject * obj1 = 0 ;
27485 char * kwnames[] = {
27486 (char *) "parent",(char *) "data", NULL
27487 };
27488
27489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27491 if (!SWIG_IsOK(res1)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27493 }
27494 arg1 = reinterpret_cast< wxWindow * >(argp1);
27495 if (obj1) {
27496 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27497 if (!SWIG_IsOK(res2)) {
27498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27499 }
27500 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27501 }
27502 {
27503 if (!wxPyCheckForApp()) SWIG_fail;
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27506 wxPyEndAllowThreads(__tstate);
27507 if (PyErr_Occurred()) SWIG_fail;
27508 }
27509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27510 return resultobj;
27511 fail:
27512 return NULL;
27513 }
27514
27515
27516 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27517 PyObject *resultobj = 0;
27518 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27519 void *argp1 = 0 ;
27520 int res1 = 0 ;
27521 PyObject *swig_obj[1] ;
27522
27523 if (!args) SWIG_fail;
27524 swig_obj[0] = args;
27525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27526 if (!SWIG_IsOK(res1)) {
27527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27528 }
27529 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27530 {
27531 PyThreadState* __tstate = wxPyBeginAllowThreads();
27532 delete arg1;
27533
27534 wxPyEndAllowThreads(__tstate);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 resultobj = SWIG_Py_Void();
27538 return resultobj;
27539 fail:
27540 return NULL;
27541 }
27542
27543
27544 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27545 PyObject *resultobj = 0;
27546 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27547 int result;
27548 void *argp1 = 0 ;
27549 int res1 = 0 ;
27550 PyObject *swig_obj[1] ;
27551
27552 if (!args) SWIG_fail;
27553 swig_obj[0] = args;
27554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27555 if (!SWIG_IsOK(res1)) {
27556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27557 }
27558 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 result = (int)(arg1)->ShowModal();
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
27565 resultobj = SWIG_From_int(static_cast< int >(result));
27566 return resultobj;
27567 fail:
27568 return NULL;
27569 }
27570
27571
27572 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27573 PyObject *resultobj = 0;
27574 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27575 wxPrintDialogData *result = 0 ;
27576 void *argp1 = 0 ;
27577 int res1 = 0 ;
27578 PyObject *swig_obj[1] ;
27579
27580 if (!args) SWIG_fail;
27581 swig_obj[0] = args;
27582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27583 if (!SWIG_IsOK(res1)) {
27584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27585 }
27586 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27587 {
27588 PyThreadState* __tstate = wxPyBeginAllowThreads();
27589 {
27590 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27591 result = (wxPrintDialogData *) &_result_ref;
27592 }
27593 wxPyEndAllowThreads(__tstate);
27594 if (PyErr_Occurred()) SWIG_fail;
27595 }
27596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27597 return resultobj;
27598 fail:
27599 return NULL;
27600 }
27601
27602
27603 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27604 PyObject *resultobj = 0;
27605 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27606 wxPrintData *result = 0 ;
27607 void *argp1 = 0 ;
27608 int res1 = 0 ;
27609 PyObject *swig_obj[1] ;
27610
27611 if (!args) SWIG_fail;
27612 swig_obj[0] = args;
27613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27614 if (!SWIG_IsOK(res1)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27616 }
27617 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27618 {
27619 PyThreadState* __tstate = wxPyBeginAllowThreads();
27620 {
27621 wxPrintData &_result_ref = (arg1)->GetPrintData();
27622 result = (wxPrintData *) &_result_ref;
27623 }
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
27627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27628 return resultobj;
27629 fail:
27630 return NULL;
27631 }
27632
27633
27634 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27635 PyObject *resultobj = 0;
27636 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27637 wxDC *result = 0 ;
27638 void *argp1 = 0 ;
27639 int res1 = 0 ;
27640 PyObject *swig_obj[1] ;
27641
27642 if (!args) SWIG_fail;
27643 swig_obj[0] = args;
27644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27645 if (!SWIG_IsOK(res1)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27647 }
27648 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27649 {
27650 PyThreadState* __tstate = wxPyBeginAllowThreads();
27651 result = (wxDC *)(arg1)->GetPrintDC();
27652 wxPyEndAllowThreads(__tstate);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 }
27655 {
27656 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27657 }
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27665 PyObject *obj;
27666 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27668 return SWIG_Py_Void();
27669 }
27670
27671 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27672 return SWIG_Python_InitShadowInstance(args);
27673 }
27674
27675 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27676 PyObject *resultobj = 0;
27677 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27678 wxPrinter *result = 0 ;
27679 void *argp1 = 0 ;
27680 int res1 = 0 ;
27681 PyObject * obj0 = 0 ;
27682 char * kwnames[] = {
27683 (char *) "data", NULL
27684 };
27685
27686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27687 if (obj0) {
27688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27689 if (!SWIG_IsOK(res1)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27691 }
27692 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27693 }
27694 {
27695 if (!wxPyCheckForApp()) SWIG_fail;
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 result = (wxPrinter *)new wxPrinter(arg1);
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27702 return resultobj;
27703 fail:
27704 return NULL;
27705 }
27706
27707
27708 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27709 PyObject *resultobj = 0;
27710 wxPrinter *arg1 = (wxPrinter *) 0 ;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 PyObject *swig_obj[1] ;
27714
27715 if (!args) SWIG_fail;
27716 swig_obj[0] = args;
27717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27718 if (!SWIG_IsOK(res1)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27720 }
27721 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 delete arg1;
27725
27726 wxPyEndAllowThreads(__tstate);
27727 if (PyErr_Occurred()) SWIG_fail;
27728 }
27729 resultobj = SWIG_Py_Void();
27730 return resultobj;
27731 fail:
27732 return NULL;
27733 }
27734
27735
27736 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27737 PyObject *resultobj = 0;
27738 wxPrinter *arg1 = (wxPrinter *) 0 ;
27739 wxWindow *arg2 = (wxWindow *) 0 ;
27740 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27741 wxWindow *result = 0 ;
27742 void *argp1 = 0 ;
27743 int res1 = 0 ;
27744 void *argp2 = 0 ;
27745 int res2 = 0 ;
27746 void *argp3 = 0 ;
27747 int res3 = 0 ;
27748 PyObject * obj0 = 0 ;
27749 PyObject * obj1 = 0 ;
27750 PyObject * obj2 = 0 ;
27751 char * kwnames[] = {
27752 (char *) "self",(char *) "parent",(char *) "printout", NULL
27753 };
27754
27755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27757 if (!SWIG_IsOK(res1)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27759 }
27760 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27762 if (!SWIG_IsOK(res2)) {
27763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27764 }
27765 arg2 = reinterpret_cast< wxWindow * >(argp2);
27766 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27767 if (!SWIG_IsOK(res3)) {
27768 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27769 }
27770 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27771 {
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 {
27778 resultobj = wxPyMake_wxObject(result, 0);
27779 }
27780 return resultobj;
27781 fail:
27782 return NULL;
27783 }
27784
27785
27786 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27787 PyObject *resultobj = 0;
27788 wxPrinter *arg1 = (wxPrinter *) 0 ;
27789 wxWindow *arg2 = (wxWindow *) 0 ;
27790 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27791 wxString *arg4 = 0 ;
27792 void *argp1 = 0 ;
27793 int res1 = 0 ;
27794 void *argp2 = 0 ;
27795 int res2 = 0 ;
27796 void *argp3 = 0 ;
27797 int res3 = 0 ;
27798 bool temp4 = false ;
27799 PyObject * obj0 = 0 ;
27800 PyObject * obj1 = 0 ;
27801 PyObject * obj2 = 0 ;
27802 PyObject * obj3 = 0 ;
27803 char * kwnames[] = {
27804 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27805 };
27806
27807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27809 if (!SWIG_IsOK(res1)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27811 }
27812 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27813 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27814 if (!SWIG_IsOK(res2)) {
27815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27816 }
27817 arg2 = reinterpret_cast< wxWindow * >(argp2);
27818 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27819 if (!SWIG_IsOK(res3)) {
27820 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27821 }
27822 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27823 {
27824 arg4 = wxString_in_helper(obj3);
27825 if (arg4 == NULL) SWIG_fail;
27826 temp4 = true;
27827 }
27828 {
27829 PyThreadState* __tstate = wxPyBeginAllowThreads();
27830 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27831 wxPyEndAllowThreads(__tstate);
27832 if (PyErr_Occurred()) SWIG_fail;
27833 }
27834 resultobj = SWIG_Py_Void();
27835 {
27836 if (temp4)
27837 delete arg4;
27838 }
27839 return resultobj;
27840 fail:
27841 {
27842 if (temp4)
27843 delete arg4;
27844 }
27845 return NULL;
27846 }
27847
27848
27849 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27850 PyObject *resultobj = 0;
27851 wxPrinter *arg1 = (wxPrinter *) 0 ;
27852 wxWindow *arg2 = (wxWindow *) 0 ;
27853 bool result;
27854 void *argp1 = 0 ;
27855 int res1 = 0 ;
27856 void *argp2 = 0 ;
27857 int res2 = 0 ;
27858 PyObject * obj0 = 0 ;
27859 PyObject * obj1 = 0 ;
27860 char * kwnames[] = {
27861 (char *) "self",(char *) "parent", NULL
27862 };
27863
27864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27866 if (!SWIG_IsOK(res1)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27868 }
27869 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27871 if (!SWIG_IsOK(res2)) {
27872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27873 }
27874 arg2 = reinterpret_cast< wxWindow * >(argp2);
27875 {
27876 PyThreadState* __tstate = wxPyBeginAllowThreads();
27877 result = (bool)(arg1)->Setup(arg2);
27878 wxPyEndAllowThreads(__tstate);
27879 if (PyErr_Occurred()) SWIG_fail;
27880 }
27881 {
27882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27883 }
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27891 PyObject *resultobj = 0;
27892 wxPrinter *arg1 = (wxPrinter *) 0 ;
27893 wxWindow *arg2 = (wxWindow *) 0 ;
27894 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27895 bool arg4 = (bool) true ;
27896 bool result;
27897 void *argp1 = 0 ;
27898 int res1 = 0 ;
27899 void *argp2 = 0 ;
27900 int res2 = 0 ;
27901 void *argp3 = 0 ;
27902 int res3 = 0 ;
27903 bool val4 ;
27904 int ecode4 = 0 ;
27905 PyObject * obj0 = 0 ;
27906 PyObject * obj1 = 0 ;
27907 PyObject * obj2 = 0 ;
27908 PyObject * obj3 = 0 ;
27909 char * kwnames[] = {
27910 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27911 };
27912
27913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27915 if (!SWIG_IsOK(res1)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27917 }
27918 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27920 if (!SWIG_IsOK(res2)) {
27921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27922 }
27923 arg2 = reinterpret_cast< wxWindow * >(argp2);
27924 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27925 if (!SWIG_IsOK(res3)) {
27926 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27927 }
27928 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27929 if (obj3) {
27930 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27931 if (!SWIG_IsOK(ecode4)) {
27932 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27933 }
27934 arg4 = static_cast< bool >(val4);
27935 }
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 {
27943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27944 }
27945 return resultobj;
27946 fail:
27947 return NULL;
27948 }
27949
27950
27951 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27952 PyObject *resultobj = 0;
27953 wxPrinter *arg1 = (wxPrinter *) 0 ;
27954 wxWindow *arg2 = (wxWindow *) 0 ;
27955 wxDC *result = 0 ;
27956 void *argp1 = 0 ;
27957 int res1 = 0 ;
27958 void *argp2 = 0 ;
27959 int res2 = 0 ;
27960 PyObject * obj0 = 0 ;
27961 PyObject * obj1 = 0 ;
27962 char * kwnames[] = {
27963 (char *) "self",(char *) "parent", NULL
27964 };
27965
27966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27968 if (!SWIG_IsOK(res1)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27970 }
27971 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27972 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27973 if (!SWIG_IsOK(res2)) {
27974 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27975 }
27976 arg2 = reinterpret_cast< wxWindow * >(argp2);
27977 {
27978 PyThreadState* __tstate = wxPyBeginAllowThreads();
27979 result = (wxDC *)(arg1)->PrintDialog(arg2);
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 {
27984 resultobj = wxPyMake_wxObject(result, (bool)0);
27985 }
27986 return resultobj;
27987 fail:
27988 return NULL;
27989 }
27990
27991
27992 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27993 PyObject *resultobj = 0;
27994 wxPrinter *arg1 = (wxPrinter *) 0 ;
27995 wxPrintDialogData *result = 0 ;
27996 void *argp1 = 0 ;
27997 int res1 = 0 ;
27998 PyObject *swig_obj[1] ;
27999
28000 if (!args) SWIG_fail;
28001 swig_obj[0] = args;
28002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28003 if (!SWIG_IsOK(res1)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28005 }
28006 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 {
28010 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
28011 result = (wxPrintDialogData *) &_result_ref;
28012 }
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28017 return resultobj;
28018 fail:
28019 return NULL;
28020 }
28021
28022
28023 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28024 PyObject *resultobj = 0;
28025 wxPrinter *arg1 = (wxPrinter *) 0 ;
28026 bool result;
28027 void *argp1 = 0 ;
28028 int res1 = 0 ;
28029 PyObject *swig_obj[1] ;
28030
28031 if (!args) SWIG_fail;
28032 swig_obj[0] = args;
28033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
28034 if (!SWIG_IsOK(res1)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28036 }
28037 arg1 = reinterpret_cast< wxPrinter * >(argp1);
28038 {
28039 PyThreadState* __tstate = wxPyBeginAllowThreads();
28040 result = (bool)(arg1)->GetAbort();
28041 wxPyEndAllowThreads(__tstate);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
28044 {
28045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28046 }
28047 return resultobj;
28048 fail:
28049 return NULL;
28050 }
28051
28052
28053 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28054 PyObject *resultobj = 0;
28055 wxPrinterError result;
28056
28057 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28058 {
28059 PyThreadState* __tstate = wxPyBeginAllowThreads();
28060 result = (wxPrinterError)wxPrinter::GetLastError();
28061 wxPyEndAllowThreads(__tstate);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 }
28064 resultobj = SWIG_From_int(static_cast< int >(result));
28065 return resultobj;
28066 fail:
28067 return NULL;
28068 }
28069
28070
28071 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28072 PyObject *obj;
28073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28074 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28075 return SWIG_Py_Void();
28076 }
28077
28078 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28079 return SWIG_Python_InitShadowInstance(args);
28080 }
28081
28082 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28083 PyObject *resultobj = 0;
28084 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28085 wxString *arg1 = (wxString *) &arg1_defvalue ;
28086 wxPyPrintout *result = 0 ;
28087 bool temp1 = false ;
28088 PyObject * obj0 = 0 ;
28089 char * kwnames[] = {
28090 (char *) "title", NULL
28091 };
28092
28093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28094 if (obj0) {
28095 {
28096 arg1 = wxString_in_helper(obj0);
28097 if (arg1 == NULL) SWIG_fail;
28098 temp1 = true;
28099 }
28100 }
28101 {
28102 if (!wxPyCheckForApp()) SWIG_fail;
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28105 wxPyEndAllowThreads(__tstate);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28109 {
28110 if (temp1)
28111 delete arg1;
28112 }
28113 return resultobj;
28114 fail:
28115 {
28116 if (temp1)
28117 delete arg1;
28118 }
28119 return NULL;
28120 }
28121
28122
28123 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28124 PyObject *resultobj = 0;
28125 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28126 void *argp1 = 0 ;
28127 int res1 = 0 ;
28128 PyObject *swig_obj[1] ;
28129
28130 if (!args) SWIG_fail;
28131 swig_obj[0] = args;
28132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28133 if (!SWIG_IsOK(res1)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28135 }
28136 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28137 {
28138 PyThreadState* __tstate = wxPyBeginAllowThreads();
28139 delete arg1;
28140
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 resultobj = SWIG_Py_Void();
28145 return resultobj;
28146 fail:
28147 return NULL;
28148 }
28149
28150
28151 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28152 PyObject *resultobj = 0;
28153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28154 PyObject *arg2 = (PyObject *) 0 ;
28155 PyObject *arg3 = (PyObject *) 0 ;
28156 void *argp1 = 0 ;
28157 int res1 = 0 ;
28158 PyObject * obj0 = 0 ;
28159 PyObject * obj1 = 0 ;
28160 PyObject * obj2 = 0 ;
28161 char * kwnames[] = {
28162 (char *) "self",(char *) "self",(char *) "_class", NULL
28163 };
28164
28165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28167 if (!SWIG_IsOK(res1)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28169 }
28170 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28171 arg2 = obj1;
28172 arg3 = obj2;
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 (arg1)->_setCallbackInfo(arg2,arg3);
28176 wxPyEndAllowThreads(__tstate);
28177 if (PyErr_Occurred()) SWIG_fail;
28178 }
28179 resultobj = SWIG_Py_Void();
28180 return resultobj;
28181 fail:
28182 return NULL;
28183 }
28184
28185
28186 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28187 PyObject *resultobj = 0;
28188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28189 wxString result;
28190 void *argp1 = 0 ;
28191 int res1 = 0 ;
28192 PyObject *swig_obj[1] ;
28193
28194 if (!args) SWIG_fail;
28195 swig_obj[0] = args;
28196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28197 if (!SWIG_IsOK(res1)) {
28198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28199 }
28200 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28201 {
28202 PyThreadState* __tstate = wxPyBeginAllowThreads();
28203 result = ((wxPyPrintout const *)arg1)->GetTitle();
28204 wxPyEndAllowThreads(__tstate);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 {
28208 #if wxUSE_UNICODE
28209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28210 #else
28211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28212 #endif
28213 }
28214 return resultobj;
28215 fail:
28216 return NULL;
28217 }
28218
28219
28220 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28221 PyObject *resultobj = 0;
28222 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28223 wxDC *result = 0 ;
28224 void *argp1 = 0 ;
28225 int res1 = 0 ;
28226 PyObject *swig_obj[1] ;
28227
28228 if (!args) SWIG_fail;
28229 swig_obj[0] = args;
28230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28231 if (!SWIG_IsOK(res1)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28233 }
28234 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28235 {
28236 PyThreadState* __tstate = wxPyBeginAllowThreads();
28237 result = (wxDC *)(arg1)->GetDC();
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 {
28242 resultobj = wxPyMake_wxObject(result, (bool)0);
28243 }
28244 return resultobj;
28245 fail:
28246 return NULL;
28247 }
28248
28249
28250 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28251 PyObject *resultobj = 0;
28252 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28253 wxDC *arg2 = (wxDC *) 0 ;
28254 void *argp1 = 0 ;
28255 int res1 = 0 ;
28256 void *argp2 = 0 ;
28257 int res2 = 0 ;
28258 PyObject * obj0 = 0 ;
28259 PyObject * obj1 = 0 ;
28260 char * kwnames[] = {
28261 (char *) "self",(char *) "dc", NULL
28262 };
28263
28264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28266 if (!SWIG_IsOK(res1)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28268 }
28269 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28271 if (!SWIG_IsOK(res2)) {
28272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28273 }
28274 arg2 = reinterpret_cast< wxDC * >(argp2);
28275 {
28276 PyThreadState* __tstate = wxPyBeginAllowThreads();
28277 (arg1)->SetDC(arg2);
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 resultobj = SWIG_Py_Void();
28282 return resultobj;
28283 fail:
28284 return NULL;
28285 }
28286
28287
28288 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj = 0;
28290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28291 wxSize *arg2 = 0 ;
28292 void *argp1 = 0 ;
28293 int res1 = 0 ;
28294 wxSize temp2 ;
28295 PyObject * obj0 = 0 ;
28296 PyObject * obj1 = 0 ;
28297 char * kwnames[] = {
28298 (char *) "self",(char *) "imageSize", NULL
28299 };
28300
28301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28303 if (!SWIG_IsOK(res1)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28305 }
28306 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28307 {
28308 arg2 = &temp2;
28309 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28310 }
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 resultobj = SWIG_Py_Void();
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj = 0;
28326 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28327 wxSize *arg2 = 0 ;
28328 void *argp1 = 0 ;
28329 int res1 = 0 ;
28330 wxSize temp2 ;
28331 PyObject * obj0 = 0 ;
28332 PyObject * obj1 = 0 ;
28333 char * kwnames[] = {
28334 (char *) "self",(char *) "imageSize", NULL
28335 };
28336
28337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28339 if (!SWIG_IsOK(res1)) {
28340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28341 }
28342 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28343 {
28344 arg2 = &temp2;
28345 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28346 }
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28350 wxPyEndAllowThreads(__tstate);
28351 if (PyErr_Occurred()) SWIG_fail;
28352 }
28353 resultobj = SWIG_Py_Void();
28354 return resultobj;
28355 fail:
28356 return NULL;
28357 }
28358
28359
28360 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28361 PyObject *resultobj = 0;
28362 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28363 wxSize *arg2 = 0 ;
28364 wxPageSetupDialogData *arg3 = 0 ;
28365 void *argp1 = 0 ;
28366 int res1 = 0 ;
28367 wxSize temp2 ;
28368 void *argp3 = 0 ;
28369 int res3 = 0 ;
28370 PyObject * obj0 = 0 ;
28371 PyObject * obj1 = 0 ;
28372 PyObject * obj2 = 0 ;
28373 char * kwnames[] = {
28374 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28375 };
28376
28377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28379 if (!SWIG_IsOK(res1)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28381 }
28382 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28383 {
28384 arg2 = &temp2;
28385 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28386 }
28387 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28388 if (!SWIG_IsOK(res3)) {
28389 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28390 }
28391 if (!argp3) {
28392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28393 }
28394 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28395 {
28396 PyThreadState* __tstate = wxPyBeginAllowThreads();
28397 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28398 wxPyEndAllowThreads(__tstate);
28399 if (PyErr_Occurred()) SWIG_fail;
28400 }
28401 resultobj = SWIG_Py_Void();
28402 return resultobj;
28403 fail:
28404 return NULL;
28405 }
28406
28407
28408 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28409 PyObject *resultobj = 0;
28410 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28411 void *argp1 = 0 ;
28412 int res1 = 0 ;
28413 PyObject *swig_obj[1] ;
28414
28415 if (!args) SWIG_fail;
28416 swig_obj[0] = args;
28417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28418 if (!SWIG_IsOK(res1)) {
28419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28420 }
28421 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 (arg1)->MapScreenSizeToPaper();
28425 wxPyEndAllowThreads(__tstate);
28426 if (PyErr_Occurred()) SWIG_fail;
28427 }
28428 resultobj = SWIG_Py_Void();
28429 return resultobj;
28430 fail:
28431 return NULL;
28432 }
28433
28434
28435 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28436 PyObject *resultobj = 0;
28437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28438 void *argp1 = 0 ;
28439 int res1 = 0 ;
28440 PyObject *swig_obj[1] ;
28441
28442 if (!args) SWIG_fail;
28443 swig_obj[0] = args;
28444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28445 if (!SWIG_IsOK(res1)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28447 }
28448 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 (arg1)->MapScreenSizeToPage();
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 resultobj = SWIG_Py_Void();
28456 return resultobj;
28457 fail:
28458 return NULL;
28459 }
28460
28461
28462 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28463 PyObject *resultobj = 0;
28464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28465 wxPageSetupDialogData *arg2 = 0 ;
28466 void *argp1 = 0 ;
28467 int res1 = 0 ;
28468 void *argp2 = 0 ;
28469 int res2 = 0 ;
28470 PyObject * obj0 = 0 ;
28471 PyObject * obj1 = 0 ;
28472 char * kwnames[] = {
28473 (char *) "self",(char *) "pageSetupData", NULL
28474 };
28475
28476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28478 if (!SWIG_IsOK(res1)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28480 }
28481 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28482 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28483 if (!SWIG_IsOK(res2)) {
28484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28485 }
28486 if (!argp2) {
28487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28488 }
28489 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28493 wxPyEndAllowThreads(__tstate);
28494 if (PyErr_Occurred()) SWIG_fail;
28495 }
28496 resultobj = SWIG_Py_Void();
28497 return resultobj;
28498 fail:
28499 return NULL;
28500 }
28501
28502
28503 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28504 PyObject *resultobj = 0;
28505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28506 void *argp1 = 0 ;
28507 int res1 = 0 ;
28508 PyObject *swig_obj[1] ;
28509
28510 if (!args) SWIG_fail;
28511 swig_obj[0] = args;
28512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28513 if (!SWIG_IsOK(res1)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28515 }
28516 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28517 {
28518 PyThreadState* __tstate = wxPyBeginAllowThreads();
28519 (arg1)->MapScreenSizeToDevice();
28520 wxPyEndAllowThreads(__tstate);
28521 if (PyErr_Occurred()) SWIG_fail;
28522 }
28523 resultobj = SWIG_Py_Void();
28524 return resultobj;
28525 fail:
28526 return NULL;
28527 }
28528
28529
28530 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28531 PyObject *resultobj = 0;
28532 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28533 wxRect result;
28534 void *argp1 = 0 ;
28535 int res1 = 0 ;
28536 PyObject *swig_obj[1] ;
28537
28538 if (!args) SWIG_fail;
28539 swig_obj[0] = args;
28540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28541 if (!SWIG_IsOK(res1)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28543 }
28544 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28548 wxPyEndAllowThreads(__tstate);
28549 if (PyErr_Occurred()) SWIG_fail;
28550 }
28551 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28552 return resultobj;
28553 fail:
28554 return NULL;
28555 }
28556
28557
28558 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28559 PyObject *resultobj = 0;
28560 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28561 wxRect result;
28562 void *argp1 = 0 ;
28563 int res1 = 0 ;
28564 PyObject *swig_obj[1] ;
28565
28566 if (!args) SWIG_fail;
28567 swig_obj[0] = args;
28568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28569 if (!SWIG_IsOK(res1)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28571 }
28572 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28576 wxPyEndAllowThreads(__tstate);
28577 if (PyErr_Occurred()) SWIG_fail;
28578 }
28579 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28580 return resultobj;
28581 fail:
28582 return NULL;
28583 }
28584
28585
28586 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28587 PyObject *resultobj = 0;
28588 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28589 wxPageSetupDialogData *arg2 = 0 ;
28590 wxRect result;
28591 void *argp1 = 0 ;
28592 int res1 = 0 ;
28593 void *argp2 = 0 ;
28594 int res2 = 0 ;
28595 PyObject * obj0 = 0 ;
28596 PyObject * obj1 = 0 ;
28597 char * kwnames[] = {
28598 (char *) "self",(char *) "pageSetupData", NULL
28599 };
28600
28601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28603 if (!SWIG_IsOK(res1)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28605 }
28606 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28607 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28608 if (!SWIG_IsOK(res2)) {
28609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28610 }
28611 if (!argp2) {
28612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28613 }
28614 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28615 {
28616 PyThreadState* __tstate = wxPyBeginAllowThreads();
28617 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28618 wxPyEndAllowThreads(__tstate);
28619 if (PyErr_Occurred()) SWIG_fail;
28620 }
28621 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28622 return resultobj;
28623 fail:
28624 return NULL;
28625 }
28626
28627
28628 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28629 PyObject *resultobj = 0;
28630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28631 int arg2 ;
28632 int arg3 ;
28633 void *argp1 = 0 ;
28634 int res1 = 0 ;
28635 int val2 ;
28636 int ecode2 = 0 ;
28637 int val3 ;
28638 int ecode3 = 0 ;
28639 PyObject * obj0 = 0 ;
28640 PyObject * obj1 = 0 ;
28641 PyObject * obj2 = 0 ;
28642 char * kwnames[] = {
28643 (char *) "self",(char *) "x",(char *) "y", NULL
28644 };
28645
28646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28648 if (!SWIG_IsOK(res1)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28650 }
28651 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28652 ecode2 = SWIG_AsVal_int(obj1, &val2);
28653 if (!SWIG_IsOK(ecode2)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28655 }
28656 arg2 = static_cast< int >(val2);
28657 ecode3 = SWIG_AsVal_int(obj2, &val3);
28658 if (!SWIG_IsOK(ecode3)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28660 }
28661 arg3 = static_cast< int >(val3);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 (arg1)->SetLogicalOrigin(arg2,arg3);
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_Py_Void();
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28676 PyObject *resultobj = 0;
28677 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28678 int arg2 ;
28679 int arg3 ;
28680 void *argp1 = 0 ;
28681 int res1 = 0 ;
28682 int val2 ;
28683 int ecode2 = 0 ;
28684 int val3 ;
28685 int ecode3 = 0 ;
28686 PyObject * obj0 = 0 ;
28687 PyObject * obj1 = 0 ;
28688 PyObject * obj2 = 0 ;
28689 char * kwnames[] = {
28690 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28691 };
28692
28693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28695 if (!SWIG_IsOK(res1)) {
28696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28697 }
28698 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28699 ecode2 = SWIG_AsVal_int(obj1, &val2);
28700 if (!SWIG_IsOK(ecode2)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28702 }
28703 arg2 = static_cast< int >(val2);
28704 ecode3 = SWIG_AsVal_int(obj2, &val3);
28705 if (!SWIG_IsOK(ecode3)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28707 }
28708 arg3 = static_cast< int >(val3);
28709 {
28710 PyThreadState* __tstate = wxPyBeginAllowThreads();
28711 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28712 wxPyEndAllowThreads(__tstate);
28713 if (PyErr_Occurred()) SWIG_fail;
28714 }
28715 resultobj = SWIG_Py_Void();
28716 return resultobj;
28717 fail:
28718 return NULL;
28719 }
28720
28721
28722 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28723 PyObject *resultobj = 0;
28724 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28725 int arg2 ;
28726 int arg3 ;
28727 void *argp1 = 0 ;
28728 int res1 = 0 ;
28729 int val2 ;
28730 int ecode2 = 0 ;
28731 int val3 ;
28732 int ecode3 = 0 ;
28733 PyObject * obj0 = 0 ;
28734 PyObject * obj1 = 0 ;
28735 PyObject * obj2 = 0 ;
28736 char * kwnames[] = {
28737 (char *) "self",(char *) "w",(char *) "h", NULL
28738 };
28739
28740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28742 if (!SWIG_IsOK(res1)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28744 }
28745 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28746 ecode2 = SWIG_AsVal_int(obj1, &val2);
28747 if (!SWIG_IsOK(ecode2)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28749 }
28750 arg2 = static_cast< int >(val2);
28751 ecode3 = SWIG_AsVal_int(obj2, &val3);
28752 if (!SWIG_IsOK(ecode3)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28754 }
28755 arg3 = static_cast< int >(val3);
28756 {
28757 PyThreadState* __tstate = wxPyBeginAllowThreads();
28758 (arg1)->SetPageSizePixels(arg2,arg3);
28759 wxPyEndAllowThreads(__tstate);
28760 if (PyErr_Occurred()) SWIG_fail;
28761 }
28762 resultobj = SWIG_Py_Void();
28763 return resultobj;
28764 fail:
28765 return NULL;
28766 }
28767
28768
28769 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28770 PyObject *resultobj = 0;
28771 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28772 int *arg2 = (int *) 0 ;
28773 int *arg3 = (int *) 0 ;
28774 void *argp1 = 0 ;
28775 int res1 = 0 ;
28776 int temp2 ;
28777 int res2 = SWIG_TMPOBJ ;
28778 int temp3 ;
28779 int res3 = SWIG_TMPOBJ ;
28780 PyObject *swig_obj[1] ;
28781
28782 arg2 = &temp2;
28783 arg3 = &temp3;
28784 if (!args) SWIG_fail;
28785 swig_obj[0] = args;
28786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28787 if (!SWIG_IsOK(res1)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28789 }
28790 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28791 {
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
28793 (arg1)->GetPageSizePixels(arg2,arg3);
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 resultobj = SWIG_Py_Void();
28798 if (SWIG_IsTmpObj(res2)) {
28799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28800 } else {
28801 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28803 }
28804 if (SWIG_IsTmpObj(res3)) {
28805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28806 } else {
28807 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28809 }
28810 return resultobj;
28811 fail:
28812 return NULL;
28813 }
28814
28815
28816 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28817 PyObject *resultobj = 0;
28818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28819 int arg2 ;
28820 int arg3 ;
28821 void *argp1 = 0 ;
28822 int res1 = 0 ;
28823 int val2 ;
28824 int ecode2 = 0 ;
28825 int val3 ;
28826 int ecode3 = 0 ;
28827 PyObject * obj0 = 0 ;
28828 PyObject * obj1 = 0 ;
28829 PyObject * obj2 = 0 ;
28830 char * kwnames[] = {
28831 (char *) "self",(char *) "w",(char *) "h", NULL
28832 };
28833
28834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28836 if (!SWIG_IsOK(res1)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28838 }
28839 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28840 ecode2 = SWIG_AsVal_int(obj1, &val2);
28841 if (!SWIG_IsOK(ecode2)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28843 }
28844 arg2 = static_cast< int >(val2);
28845 ecode3 = SWIG_AsVal_int(obj2, &val3);
28846 if (!SWIG_IsOK(ecode3)) {
28847 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28848 }
28849 arg3 = static_cast< int >(val3);
28850 {
28851 PyThreadState* __tstate = wxPyBeginAllowThreads();
28852 (arg1)->SetPageSizeMM(arg2,arg3);
28853 wxPyEndAllowThreads(__tstate);
28854 if (PyErr_Occurred()) SWIG_fail;
28855 }
28856 resultobj = SWIG_Py_Void();
28857 return resultobj;
28858 fail:
28859 return NULL;
28860 }
28861
28862
28863 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28864 PyObject *resultobj = 0;
28865 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28866 int *arg2 = (int *) 0 ;
28867 int *arg3 = (int *) 0 ;
28868 void *argp1 = 0 ;
28869 int res1 = 0 ;
28870 int temp2 ;
28871 int res2 = SWIG_TMPOBJ ;
28872 int temp3 ;
28873 int res3 = SWIG_TMPOBJ ;
28874 PyObject *swig_obj[1] ;
28875
28876 arg2 = &temp2;
28877 arg3 = &temp3;
28878 if (!args) SWIG_fail;
28879 swig_obj[0] = args;
28880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28881 if (!SWIG_IsOK(res1)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28883 }
28884 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->GetPageSizeMM(arg2,arg3);
28888 wxPyEndAllowThreads(__tstate);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 resultobj = SWIG_Py_Void();
28892 if (SWIG_IsTmpObj(res2)) {
28893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28894 } else {
28895 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28897 }
28898 if (SWIG_IsTmpObj(res3)) {
28899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28900 } else {
28901 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28903 }
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28911 PyObject *resultobj = 0;
28912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28913 int arg2 ;
28914 int arg3 ;
28915 void *argp1 = 0 ;
28916 int res1 = 0 ;
28917 int val2 ;
28918 int ecode2 = 0 ;
28919 int val3 ;
28920 int ecode3 = 0 ;
28921 PyObject * obj0 = 0 ;
28922 PyObject * obj1 = 0 ;
28923 PyObject * obj2 = 0 ;
28924 char * kwnames[] = {
28925 (char *) "self",(char *) "x",(char *) "y", NULL
28926 };
28927
28928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28930 if (!SWIG_IsOK(res1)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28932 }
28933 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28934 ecode2 = SWIG_AsVal_int(obj1, &val2);
28935 if (!SWIG_IsOK(ecode2)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28937 }
28938 arg2 = static_cast< int >(val2);
28939 ecode3 = SWIG_AsVal_int(obj2, &val3);
28940 if (!SWIG_IsOK(ecode3)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28942 }
28943 arg3 = static_cast< int >(val3);
28944 {
28945 PyThreadState* __tstate = wxPyBeginAllowThreads();
28946 (arg1)->SetPPIScreen(arg2,arg3);
28947 wxPyEndAllowThreads(__tstate);
28948 if (PyErr_Occurred()) SWIG_fail;
28949 }
28950 resultobj = SWIG_Py_Void();
28951 return resultobj;
28952 fail:
28953 return NULL;
28954 }
28955
28956
28957 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28958 PyObject *resultobj = 0;
28959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28960 int *arg2 = (int *) 0 ;
28961 int *arg3 = (int *) 0 ;
28962 void *argp1 = 0 ;
28963 int res1 = 0 ;
28964 int temp2 ;
28965 int res2 = SWIG_TMPOBJ ;
28966 int temp3 ;
28967 int res3 = SWIG_TMPOBJ ;
28968 PyObject *swig_obj[1] ;
28969
28970 arg2 = &temp2;
28971 arg3 = &temp3;
28972 if (!args) SWIG_fail;
28973 swig_obj[0] = args;
28974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28975 if (!SWIG_IsOK(res1)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28977 }
28978 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 (arg1)->GetPPIScreen(arg2,arg3);
28982 wxPyEndAllowThreads(__tstate);
28983 if (PyErr_Occurred()) SWIG_fail;
28984 }
28985 resultobj = SWIG_Py_Void();
28986 if (SWIG_IsTmpObj(res2)) {
28987 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28988 } else {
28989 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28991 }
28992 if (SWIG_IsTmpObj(res3)) {
28993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28994 } else {
28995 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28997 }
28998 return resultobj;
28999 fail:
29000 return NULL;
29001 }
29002
29003
29004 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29005 PyObject *resultobj = 0;
29006 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29007 int arg2 ;
29008 int arg3 ;
29009 void *argp1 = 0 ;
29010 int res1 = 0 ;
29011 int val2 ;
29012 int ecode2 = 0 ;
29013 int val3 ;
29014 int ecode3 = 0 ;
29015 PyObject * obj0 = 0 ;
29016 PyObject * obj1 = 0 ;
29017 PyObject * obj2 = 0 ;
29018 char * kwnames[] = {
29019 (char *) "self",(char *) "x",(char *) "y", NULL
29020 };
29021
29022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29024 if (!SWIG_IsOK(res1)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29026 }
29027 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29028 ecode2 = SWIG_AsVal_int(obj1, &val2);
29029 if (!SWIG_IsOK(ecode2)) {
29030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29031 }
29032 arg2 = static_cast< int >(val2);
29033 ecode3 = SWIG_AsVal_int(obj2, &val3);
29034 if (!SWIG_IsOK(ecode3)) {
29035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29036 }
29037 arg3 = static_cast< int >(val3);
29038 {
29039 PyThreadState* __tstate = wxPyBeginAllowThreads();
29040 (arg1)->SetPPIPrinter(arg2,arg3);
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
29044 resultobj = SWIG_Py_Void();
29045 return resultobj;
29046 fail:
29047 return NULL;
29048 }
29049
29050
29051 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29052 PyObject *resultobj = 0;
29053 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29054 int *arg2 = (int *) 0 ;
29055 int *arg3 = (int *) 0 ;
29056 void *argp1 = 0 ;
29057 int res1 = 0 ;
29058 int temp2 ;
29059 int res2 = SWIG_TMPOBJ ;
29060 int temp3 ;
29061 int res3 = SWIG_TMPOBJ ;
29062 PyObject *swig_obj[1] ;
29063
29064 arg2 = &temp2;
29065 arg3 = &temp3;
29066 if (!args) SWIG_fail;
29067 swig_obj[0] = args;
29068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29069 if (!SWIG_IsOK(res1)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29071 }
29072 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29073 {
29074 PyThreadState* __tstate = wxPyBeginAllowThreads();
29075 (arg1)->GetPPIPrinter(arg2,arg3);
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 resultobj = SWIG_Py_Void();
29080 if (SWIG_IsTmpObj(res2)) {
29081 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29082 } else {
29083 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29084 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29085 }
29086 if (SWIG_IsTmpObj(res3)) {
29087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29088 } else {
29089 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29091 }
29092 return resultobj;
29093 fail:
29094 return NULL;
29095 }
29096
29097
29098 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29099 PyObject *resultobj = 0;
29100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29101 wxRect *arg2 = 0 ;
29102 void *argp1 = 0 ;
29103 int res1 = 0 ;
29104 wxRect temp2 ;
29105 PyObject * obj0 = 0 ;
29106 PyObject * obj1 = 0 ;
29107 char * kwnames[] = {
29108 (char *) "self",(char *) "paperRectPixels", NULL
29109 };
29110
29111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29113 if (!SWIG_IsOK(res1)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29115 }
29116 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29117 {
29118 arg2 = &temp2;
29119 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29120 }
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
29124 wxPyEndAllowThreads(__tstate);
29125 if (PyErr_Occurred()) SWIG_fail;
29126 }
29127 resultobj = SWIG_Py_Void();
29128 return resultobj;
29129 fail:
29130 return NULL;
29131 }
29132
29133
29134 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29135 PyObject *resultobj = 0;
29136 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29137 wxRect result;
29138 void *argp1 = 0 ;
29139 int res1 = 0 ;
29140 PyObject *swig_obj[1] ;
29141
29142 if (!args) SWIG_fail;
29143 swig_obj[0] = args;
29144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29145 if (!SWIG_IsOK(res1)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29147 }
29148 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29149 {
29150 PyThreadState* __tstate = wxPyBeginAllowThreads();
29151 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29152 wxPyEndAllowThreads(__tstate);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 }
29155 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29156 return resultobj;
29157 fail:
29158 return NULL;
29159 }
29160
29161
29162 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29163 PyObject *resultobj = 0;
29164 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29165 bool result;
29166 void *argp1 = 0 ;
29167 int res1 = 0 ;
29168 PyObject *swig_obj[1] ;
29169
29170 if (!args) SWIG_fail;
29171 swig_obj[0] = args;
29172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29173 if (!SWIG_IsOK(res1)) {
29174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29175 }
29176 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29177 {
29178 PyThreadState* __tstate = wxPyBeginAllowThreads();
29179 result = (bool)(arg1)->IsPreview();
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 {
29184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29185 }
29186 return resultobj;
29187 fail:
29188 return NULL;
29189 }
29190
29191
29192 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29193 PyObject *resultobj = 0;
29194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29195 bool arg2 ;
29196 void *argp1 = 0 ;
29197 int res1 = 0 ;
29198 bool val2 ;
29199 int ecode2 = 0 ;
29200 PyObject * obj0 = 0 ;
29201 PyObject * obj1 = 0 ;
29202 char * kwnames[] = {
29203 (char *) "self",(char *) "p", NULL
29204 };
29205
29206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29208 if (!SWIG_IsOK(res1)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29210 }
29211 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29212 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29213 if (!SWIG_IsOK(ecode2)) {
29214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29215 }
29216 arg2 = static_cast< bool >(val2);
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
29219 (arg1)->SetIsPreview(arg2);
29220 wxPyEndAllowThreads(__tstate);
29221 if (PyErr_Occurred()) SWIG_fail;
29222 }
29223 resultobj = SWIG_Py_Void();
29224 return resultobj;
29225 fail:
29226 return NULL;
29227 }
29228
29229
29230 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29231 PyObject *resultobj = 0;
29232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29233 int arg2 ;
29234 int arg3 ;
29235 bool result;
29236 void *argp1 = 0 ;
29237 int res1 = 0 ;
29238 int val2 ;
29239 int ecode2 = 0 ;
29240 int val3 ;
29241 int ecode3 = 0 ;
29242 PyObject * obj0 = 0 ;
29243 PyObject * obj1 = 0 ;
29244 PyObject * obj2 = 0 ;
29245 char * kwnames[] = {
29246 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29247 };
29248
29249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29251 if (!SWIG_IsOK(res1)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29253 }
29254 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29255 ecode2 = SWIG_AsVal_int(obj1, &val2);
29256 if (!SWIG_IsOK(ecode2)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29258 }
29259 arg2 = static_cast< int >(val2);
29260 ecode3 = SWIG_AsVal_int(obj2, &val3);
29261 if (!SWIG_IsOK(ecode3)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29263 }
29264 arg3 = static_cast< int >(val3);
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 {
29272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29273 }
29274 return resultobj;
29275 fail:
29276 return NULL;
29277 }
29278
29279
29280 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29281 PyObject *resultobj = 0;
29282 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29283 void *argp1 = 0 ;
29284 int res1 = 0 ;
29285 PyObject *swig_obj[1] ;
29286
29287 if (!args) SWIG_fail;
29288 swig_obj[0] = args;
29289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29290 if (!SWIG_IsOK(res1)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29292 }
29293 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 (arg1)->OnEndDocument();
29297 wxPyEndAllowThreads(__tstate);
29298 if (PyErr_Occurred()) SWIG_fail;
29299 }
29300 resultobj = SWIG_Py_Void();
29301 return resultobj;
29302 fail:
29303 return NULL;
29304 }
29305
29306
29307 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29308 PyObject *resultobj = 0;
29309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29310 void *argp1 = 0 ;
29311 int res1 = 0 ;
29312 PyObject *swig_obj[1] ;
29313
29314 if (!args) SWIG_fail;
29315 swig_obj[0] = args;
29316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29317 if (!SWIG_IsOK(res1)) {
29318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29319 }
29320 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29321 {
29322 PyThreadState* __tstate = wxPyBeginAllowThreads();
29323 (arg1)->OnBeginPrinting();
29324 wxPyEndAllowThreads(__tstate);
29325 if (PyErr_Occurred()) SWIG_fail;
29326 }
29327 resultobj = SWIG_Py_Void();
29328 return resultobj;
29329 fail:
29330 return NULL;
29331 }
29332
29333
29334 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29335 PyObject *resultobj = 0;
29336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29337 void *argp1 = 0 ;
29338 int res1 = 0 ;
29339 PyObject *swig_obj[1] ;
29340
29341 if (!args) SWIG_fail;
29342 swig_obj[0] = args;
29343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29344 if (!SWIG_IsOK(res1)) {
29345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29346 }
29347 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29348 {
29349 PyThreadState* __tstate = wxPyBeginAllowThreads();
29350 (arg1)->OnEndPrinting();
29351 wxPyEndAllowThreads(__tstate);
29352 if (PyErr_Occurred()) SWIG_fail;
29353 }
29354 resultobj = SWIG_Py_Void();
29355 return resultobj;
29356 fail:
29357 return NULL;
29358 }
29359
29360
29361 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29362 PyObject *resultobj = 0;
29363 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29364 void *argp1 = 0 ;
29365 int res1 = 0 ;
29366 PyObject *swig_obj[1] ;
29367
29368 if (!args) SWIG_fail;
29369 swig_obj[0] = args;
29370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29371 if (!SWIG_IsOK(res1)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29373 }
29374 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29375 {
29376 PyThreadState* __tstate = wxPyBeginAllowThreads();
29377 (arg1)->OnPreparePrinting();
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 resultobj = SWIG_Py_Void();
29382 return resultobj;
29383 fail:
29384 return NULL;
29385 }
29386
29387
29388 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29389 PyObject *resultobj = 0;
29390 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29391 int arg2 ;
29392 bool result;
29393 void *argp1 = 0 ;
29394 int res1 = 0 ;
29395 int val2 ;
29396 int ecode2 = 0 ;
29397 PyObject * obj0 = 0 ;
29398 PyObject * obj1 = 0 ;
29399 char * kwnames[] = {
29400 (char *) "self",(char *) "page", NULL
29401 };
29402
29403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29405 if (!SWIG_IsOK(res1)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29407 }
29408 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29409 ecode2 = SWIG_AsVal_int(obj1, &val2);
29410 if (!SWIG_IsOK(ecode2)) {
29411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29412 }
29413 arg2 = static_cast< int >(val2);
29414 {
29415 PyThreadState* __tstate = wxPyBeginAllowThreads();
29416 result = (bool)(arg1)->HasPage(arg2);
29417 wxPyEndAllowThreads(__tstate);
29418 if (PyErr_Occurred()) SWIG_fail;
29419 }
29420 {
29421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29422 }
29423 return resultobj;
29424 fail:
29425 return NULL;
29426 }
29427
29428
29429 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29430 PyObject *resultobj = 0;
29431 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29432 int *arg2 = (int *) 0 ;
29433 int *arg3 = (int *) 0 ;
29434 int *arg4 = (int *) 0 ;
29435 int *arg5 = (int *) 0 ;
29436 void *argp1 = 0 ;
29437 int res1 = 0 ;
29438 int temp2 ;
29439 int res2 = SWIG_TMPOBJ ;
29440 int temp3 ;
29441 int res3 = SWIG_TMPOBJ ;
29442 int temp4 ;
29443 int res4 = SWIG_TMPOBJ ;
29444 int temp5 ;
29445 int res5 = SWIG_TMPOBJ ;
29446 PyObject *swig_obj[1] ;
29447
29448 arg2 = &temp2;
29449 arg3 = &temp3;
29450 arg4 = &temp4;
29451 arg5 = &temp5;
29452 if (!args) SWIG_fail;
29453 swig_obj[0] = args;
29454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29455 if (!SWIG_IsOK(res1)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29457 }
29458 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29459 {
29460 PyThreadState* __tstate = wxPyBeginAllowThreads();
29461 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 resultobj = SWIG_Py_Void();
29466 if (SWIG_IsTmpObj(res2)) {
29467 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29468 } else {
29469 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29470 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29471 }
29472 if (SWIG_IsTmpObj(res3)) {
29473 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29474 } else {
29475 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29476 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29477 }
29478 if (SWIG_IsTmpObj(res4)) {
29479 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29480 } else {
29481 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29483 }
29484 if (SWIG_IsTmpObj(res5)) {
29485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29486 } else {
29487 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29489 }
29490 return resultobj;
29491 fail:
29492 return NULL;
29493 }
29494
29495
29496 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29497 PyObject *obj;
29498 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29499 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29500 return SWIG_Py_Void();
29501 }
29502
29503 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29504 return SWIG_Python_InitShadowInstance(args);
29505 }
29506
29507 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29508 PyObject *resultobj = 0;
29509 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29510 wxWindow *arg2 = (wxWindow *) 0 ;
29511 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29512 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29513 wxSize const &arg4_defvalue = wxDefaultSize ;
29514 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29515 long arg5 = (long) 0 ;
29516 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29517 wxString *arg6 = (wxString *) &arg6_defvalue ;
29518 wxPreviewCanvas *result = 0 ;
29519 void *argp1 = 0 ;
29520 int res1 = 0 ;
29521 void *argp2 = 0 ;
29522 int res2 = 0 ;
29523 wxPoint temp3 ;
29524 wxSize temp4 ;
29525 long val5 ;
29526 int ecode5 = 0 ;
29527 bool temp6 = false ;
29528 PyObject * obj0 = 0 ;
29529 PyObject * obj1 = 0 ;
29530 PyObject * obj2 = 0 ;
29531 PyObject * obj3 = 0 ;
29532 PyObject * obj4 = 0 ;
29533 PyObject * obj5 = 0 ;
29534 char * kwnames[] = {
29535 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29536 };
29537
29538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29540 if (!SWIG_IsOK(res1)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29542 }
29543 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29545 if (!SWIG_IsOK(res2)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29547 }
29548 arg2 = reinterpret_cast< wxWindow * >(argp2);
29549 if (obj2) {
29550 {
29551 arg3 = &temp3;
29552 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29553 }
29554 }
29555 if (obj3) {
29556 {
29557 arg4 = &temp4;
29558 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29559 }
29560 }
29561 if (obj4) {
29562 ecode5 = SWIG_AsVal_long(obj4, &val5);
29563 if (!SWIG_IsOK(ecode5)) {
29564 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29565 }
29566 arg5 = static_cast< long >(val5);
29567 }
29568 if (obj5) {
29569 {
29570 arg6 = wxString_in_helper(obj5);
29571 if (arg6 == NULL) SWIG_fail;
29572 temp6 = true;
29573 }
29574 }
29575 {
29576 if (!wxPyCheckForApp()) SWIG_fail;
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29579 wxPyEndAllowThreads(__tstate);
29580 if (PyErr_Occurred()) SWIG_fail;
29581 }
29582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29583 {
29584 if (temp6)
29585 delete arg6;
29586 }
29587 return resultobj;
29588 fail:
29589 {
29590 if (temp6)
29591 delete arg6;
29592 }
29593 return NULL;
29594 }
29595
29596
29597 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29598 PyObject *obj;
29599 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29601 return SWIG_Py_Void();
29602 }
29603
29604 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29605 return SWIG_Python_InitShadowInstance(args);
29606 }
29607
29608 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29609 PyObject *resultobj = 0;
29610 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29611 wxFrame *arg2 = (wxFrame *) 0 ;
29612 wxString *arg3 = 0 ;
29613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29615 wxSize const &arg5_defvalue = wxDefaultSize ;
29616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29617 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29618 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29619 wxString *arg7 = (wxString *) &arg7_defvalue ;
29620 wxPreviewFrame *result = 0 ;
29621 int res1 = 0 ;
29622 void *argp2 = 0 ;
29623 int res2 = 0 ;
29624 bool temp3 = false ;
29625 wxPoint temp4 ;
29626 wxSize temp5 ;
29627 long val6 ;
29628 int ecode6 = 0 ;
29629 bool temp7 = false ;
29630 PyObject * obj0 = 0 ;
29631 PyObject * obj1 = 0 ;
29632 PyObject * obj2 = 0 ;
29633 PyObject * obj3 = 0 ;
29634 PyObject * obj4 = 0 ;
29635 PyObject * obj5 = 0 ;
29636 PyObject * obj6 = 0 ;
29637 char * kwnames[] = {
29638 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29639 };
29640
29641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29642 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29643 if (!SWIG_IsOK(res1)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29645 }
29646 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29647 if (!SWIG_IsOK(res2)) {
29648 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29649 }
29650 arg2 = reinterpret_cast< wxFrame * >(argp2);
29651 {
29652 arg3 = wxString_in_helper(obj2);
29653 if (arg3 == NULL) SWIG_fail;
29654 temp3 = true;
29655 }
29656 if (obj3) {
29657 {
29658 arg4 = &temp4;
29659 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29660 }
29661 }
29662 if (obj4) {
29663 {
29664 arg5 = &temp5;
29665 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29666 }
29667 }
29668 if (obj5) {
29669 ecode6 = SWIG_AsVal_long(obj5, &val6);
29670 if (!SWIG_IsOK(ecode6)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29672 }
29673 arg6 = static_cast< long >(val6);
29674 }
29675 if (obj6) {
29676 {
29677 arg7 = wxString_in_helper(obj6);
29678 if (arg7 == NULL) SWIG_fail;
29679 temp7 = true;
29680 }
29681 }
29682 {
29683 if (!wxPyCheckForApp()) SWIG_fail;
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29690 {
29691 if (temp3)
29692 delete arg3;
29693 }
29694 {
29695 if (temp7)
29696 delete arg7;
29697 }
29698 return resultobj;
29699 fail:
29700 {
29701 if (temp3)
29702 delete arg3;
29703 }
29704 {
29705 if (temp7)
29706 delete arg7;
29707 }
29708 return NULL;
29709 }
29710
29711
29712 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29713 PyObject *resultobj = 0;
29714 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29715 void *argp1 = 0 ;
29716 int res1 = 0 ;
29717 PyObject *swig_obj[1] ;
29718
29719 if (!args) SWIG_fail;
29720 swig_obj[0] = args;
29721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29722 if (!SWIG_IsOK(res1)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29724 }
29725 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 (arg1)->Initialize();
29729 wxPyEndAllowThreads(__tstate);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
29732 resultobj = SWIG_Py_Void();
29733 return resultobj;
29734 fail:
29735 return NULL;
29736 }
29737
29738
29739 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29740 PyObject *resultobj = 0;
29741 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29742 void *argp1 = 0 ;
29743 int res1 = 0 ;
29744 PyObject *swig_obj[1] ;
29745
29746 if (!args) SWIG_fail;
29747 swig_obj[0] = args;
29748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29749 if (!SWIG_IsOK(res1)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29751 }
29752 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29753 {
29754 PyThreadState* __tstate = wxPyBeginAllowThreads();
29755 (arg1)->CreateControlBar();
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
29759 resultobj = SWIG_Py_Void();
29760 return resultobj;
29761 fail:
29762 return NULL;
29763 }
29764
29765
29766 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29767 PyObject *resultobj = 0;
29768 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29769 void *argp1 = 0 ;
29770 int res1 = 0 ;
29771 PyObject *swig_obj[1] ;
29772
29773 if (!args) SWIG_fail;
29774 swig_obj[0] = args;
29775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29776 if (!SWIG_IsOK(res1)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29778 }
29779 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29780 {
29781 PyThreadState* __tstate = wxPyBeginAllowThreads();
29782 (arg1)->CreateCanvas();
29783 wxPyEndAllowThreads(__tstate);
29784 if (PyErr_Occurred()) SWIG_fail;
29785 }
29786 resultobj = SWIG_Py_Void();
29787 return resultobj;
29788 fail:
29789 return NULL;
29790 }
29791
29792
29793 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29794 PyObject *resultobj = 0;
29795 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29796 wxPreviewControlBar *result = 0 ;
29797 void *argp1 = 0 ;
29798 int res1 = 0 ;
29799 PyObject *swig_obj[1] ;
29800
29801 if (!args) SWIG_fail;
29802 swig_obj[0] = args;
29803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29804 if (!SWIG_IsOK(res1)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29806 }
29807 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29811 wxPyEndAllowThreads(__tstate);
29812 if (PyErr_Occurred()) SWIG_fail;
29813 }
29814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29815 return resultobj;
29816 fail:
29817 return NULL;
29818 }
29819
29820
29821 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29822 PyObject *obj;
29823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29824 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29825 return SWIG_Py_Void();
29826 }
29827
29828 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29829 return SWIG_Python_InitShadowInstance(args);
29830 }
29831
29832 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29833 PyObject *resultobj = 0;
29834 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29835 long arg2 ;
29836 wxWindow *arg3 = (wxWindow *) 0 ;
29837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29839 wxSize const &arg5_defvalue = wxDefaultSize ;
29840 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29841 long arg6 = (long) wxTAB_TRAVERSAL ;
29842 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29843 wxString *arg7 = (wxString *) &arg7_defvalue ;
29844 wxPreviewControlBar *result = 0 ;
29845 void *argp1 = 0 ;
29846 int res1 = 0 ;
29847 long val2 ;
29848 int ecode2 = 0 ;
29849 void *argp3 = 0 ;
29850 int res3 = 0 ;
29851 wxPoint temp4 ;
29852 wxSize temp5 ;
29853 long val6 ;
29854 int ecode6 = 0 ;
29855 bool temp7 = false ;
29856 PyObject * obj0 = 0 ;
29857 PyObject * obj1 = 0 ;
29858 PyObject * obj2 = 0 ;
29859 PyObject * obj3 = 0 ;
29860 PyObject * obj4 = 0 ;
29861 PyObject * obj5 = 0 ;
29862 PyObject * obj6 = 0 ;
29863 char * kwnames[] = {
29864 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29865 };
29866
29867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29869 if (!SWIG_IsOK(res1)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29871 }
29872 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29873 ecode2 = SWIG_AsVal_long(obj1, &val2);
29874 if (!SWIG_IsOK(ecode2)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29876 }
29877 arg2 = static_cast< long >(val2);
29878 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29879 if (!SWIG_IsOK(res3)) {
29880 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29881 }
29882 arg3 = reinterpret_cast< wxWindow * >(argp3);
29883 if (obj3) {
29884 {
29885 arg4 = &temp4;
29886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29887 }
29888 }
29889 if (obj4) {
29890 {
29891 arg5 = &temp5;
29892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29893 }
29894 }
29895 if (obj5) {
29896 ecode6 = SWIG_AsVal_long(obj5, &val6);
29897 if (!SWIG_IsOK(ecode6)) {
29898 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29899 }
29900 arg6 = static_cast< long >(val6);
29901 }
29902 if (obj6) {
29903 {
29904 arg7 = wxString_in_helper(obj6);
29905 if (arg7 == NULL) SWIG_fail;
29906 temp7 = true;
29907 }
29908 }
29909 {
29910 if (!wxPyCheckForApp()) SWIG_fail;
29911 PyThreadState* __tstate = wxPyBeginAllowThreads();
29912 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29913 wxPyEndAllowThreads(__tstate);
29914 if (PyErr_Occurred()) SWIG_fail;
29915 }
29916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29917 {
29918 if (temp7)
29919 delete arg7;
29920 }
29921 return resultobj;
29922 fail:
29923 {
29924 if (temp7)
29925 delete arg7;
29926 }
29927 return NULL;
29928 }
29929
29930
29931 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29932 PyObject *resultobj = 0;
29933 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29934 int result;
29935 void *argp1 = 0 ;
29936 int res1 = 0 ;
29937 PyObject *swig_obj[1] ;
29938
29939 if (!args) SWIG_fail;
29940 swig_obj[0] = args;
29941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29942 if (!SWIG_IsOK(res1)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29944 }
29945 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29946 {
29947 PyThreadState* __tstate = wxPyBeginAllowThreads();
29948 result = (int)(arg1)->GetZoomControl();
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 resultobj = SWIG_From_int(static_cast< int >(result));
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj = 0;
29961 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29962 int arg2 ;
29963 void *argp1 = 0 ;
29964 int res1 = 0 ;
29965 int val2 ;
29966 int ecode2 = 0 ;
29967 PyObject * obj0 = 0 ;
29968 PyObject * obj1 = 0 ;
29969 char * kwnames[] = {
29970 (char *) "self",(char *) "zoom", NULL
29971 };
29972
29973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29975 if (!SWIG_IsOK(res1)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29977 }
29978 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29979 ecode2 = SWIG_AsVal_int(obj1, &val2);
29980 if (!SWIG_IsOK(ecode2)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29982 }
29983 arg2 = static_cast< int >(val2);
29984 {
29985 PyThreadState* __tstate = wxPyBeginAllowThreads();
29986 (arg1)->SetZoomControl(arg2);
29987 wxPyEndAllowThreads(__tstate);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 resultobj = SWIG_Py_Void();
29991 return resultobj;
29992 fail:
29993 return NULL;
29994 }
29995
29996
29997 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29998 PyObject *resultobj = 0;
29999 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30000 wxPrintPreview *result = 0 ;
30001 void *argp1 = 0 ;
30002 int res1 = 0 ;
30003 PyObject *swig_obj[1] ;
30004
30005 if (!args) SWIG_fail;
30006 swig_obj[0] = args;
30007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30008 if (!SWIG_IsOK(res1)) {
30009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30010 }
30011 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30012 {
30013 PyThreadState* __tstate = wxPyBeginAllowThreads();
30014 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30019 return resultobj;
30020 fail:
30021 return NULL;
30022 }
30023
30024
30025 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30026 PyObject *resultobj = 0;
30027 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30028 void *argp1 = 0 ;
30029 int res1 = 0 ;
30030 PyObject *swig_obj[1] ;
30031
30032 if (!args) SWIG_fail;
30033 swig_obj[0] = args;
30034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30035 if (!SWIG_IsOK(res1)) {
30036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30037 }
30038 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30039 {
30040 PyThreadState* __tstate = wxPyBeginAllowThreads();
30041 (arg1)->OnNext();
30042 wxPyEndAllowThreads(__tstate);
30043 if (PyErr_Occurred()) SWIG_fail;
30044 }
30045 resultobj = SWIG_Py_Void();
30046 return resultobj;
30047 fail:
30048 return NULL;
30049 }
30050
30051
30052 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30053 PyObject *resultobj = 0;
30054 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30055 void *argp1 = 0 ;
30056 int res1 = 0 ;
30057 PyObject *swig_obj[1] ;
30058
30059 if (!args) SWIG_fail;
30060 swig_obj[0] = args;
30061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30062 if (!SWIG_IsOK(res1)) {
30063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30064 }
30065 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30066 {
30067 PyThreadState* __tstate = wxPyBeginAllowThreads();
30068 (arg1)->OnPrevious();
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 resultobj = SWIG_Py_Void();
30073 return resultobj;
30074 fail:
30075 return NULL;
30076 }
30077
30078
30079 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30080 PyObject *resultobj = 0;
30081 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30082 void *argp1 = 0 ;
30083 int res1 = 0 ;
30084 PyObject *swig_obj[1] ;
30085
30086 if (!args) SWIG_fail;
30087 swig_obj[0] = args;
30088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30089 if (!SWIG_IsOK(res1)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30091 }
30092 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30093 {
30094 PyThreadState* __tstate = wxPyBeginAllowThreads();
30095 (arg1)->OnFirst();
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 resultobj = SWIG_Py_Void();
30100 return resultobj;
30101 fail:
30102 return NULL;
30103 }
30104
30105
30106 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30107 PyObject *resultobj = 0;
30108 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30109 void *argp1 = 0 ;
30110 int res1 = 0 ;
30111 PyObject *swig_obj[1] ;
30112
30113 if (!args) SWIG_fail;
30114 swig_obj[0] = args;
30115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30116 if (!SWIG_IsOK(res1)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30118 }
30119 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30120 {
30121 PyThreadState* __tstate = wxPyBeginAllowThreads();
30122 (arg1)->OnLast();
30123 wxPyEndAllowThreads(__tstate);
30124 if (PyErr_Occurred()) SWIG_fail;
30125 }
30126 resultobj = SWIG_Py_Void();
30127 return resultobj;
30128 fail:
30129 return NULL;
30130 }
30131
30132
30133 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30134 PyObject *resultobj = 0;
30135 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 PyObject *swig_obj[1] ;
30139
30140 if (!args) SWIG_fail;
30141 swig_obj[0] = args;
30142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 (arg1)->OnGoto();
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 resultobj = SWIG_Py_Void();
30154 return resultobj;
30155 fail:
30156 return NULL;
30157 }
30158
30159
30160 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30161 PyObject *obj;
30162 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30163 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30164 return SWIG_Py_Void();
30165 }
30166
30167 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30168 return SWIG_Python_InitShadowInstance(args);
30169 }
30170
30171 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30172 PyObject *resultobj = 0;
30173 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30174 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30175 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30176 wxPrintPreview *result = 0 ;
30177 int res1 = 0 ;
30178 int res2 = 0 ;
30179 void *argp3 = 0 ;
30180 int res3 = 0 ;
30181
30182 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30183 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30184 if (!SWIG_IsOK(res1)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30186 }
30187 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30188 if (!SWIG_IsOK(res2)) {
30189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30190 }
30191 if (swig_obj[2]) {
30192 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30193 if (!SWIG_IsOK(res3)) {
30194 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30195 }
30196 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30197 }
30198 {
30199 if (!wxPyCheckForApp()) SWIG_fail;
30200 PyThreadState* __tstate = wxPyBeginAllowThreads();
30201 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
30205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30206 return resultobj;
30207 fail:
30208 return NULL;
30209 }
30210
30211
30212 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30213 PyObject *resultobj = 0;
30214 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30215 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30216 wxPrintData *arg3 = (wxPrintData *) 0 ;
30217 wxPrintPreview *result = 0 ;
30218 int res1 = 0 ;
30219 int res2 = 0 ;
30220 void *argp3 = 0 ;
30221 int res3 = 0 ;
30222
30223 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30224 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30225 if (!SWIG_IsOK(res1)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30227 }
30228 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30229 if (!SWIG_IsOK(res2)) {
30230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30231 }
30232 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30233 if (!SWIG_IsOK(res3)) {
30234 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30235 }
30236 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30237 {
30238 if (!wxPyCheckForApp()) SWIG_fail;
30239 PyThreadState* __tstate = wxPyBeginAllowThreads();
30240 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30241 wxPyEndAllowThreads(__tstate);
30242 if (PyErr_Occurred()) SWIG_fail;
30243 }
30244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30245 return resultobj;
30246 fail:
30247 return NULL;
30248 }
30249
30250
30251 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30252 int argc;
30253 PyObject *argv[4];
30254
30255 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30256 --argc;
30257 if ((argc >= 2) && (argc <= 3)) {
30258 int _v = 0;
30259 if (argc > 2) {
30260 {
30261 void *vptr = 0;
30262 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30263 _v = SWIG_CheckState(res);
30264 }
30265 if (!_v) goto check_1;
30266 }
30267 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30268 }
30269 check_1:
30270
30271 if (argc == 3) {
30272 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30273 }
30274
30275 fail:
30276 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30277 return NULL;
30278 }
30279
30280
30281 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30282 PyObject *resultobj = 0;
30283 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30284 void *argp1 = 0 ;
30285 int res1 = 0 ;
30286 PyObject *swig_obj[1] ;
30287
30288 if (!args) SWIG_fail;
30289 swig_obj[0] = args;
30290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30291 if (!SWIG_IsOK(res1)) {
30292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30293 }
30294 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30295 {
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 delete arg1;
30298
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 resultobj = SWIG_Py_Void();
30303 return resultobj;
30304 fail:
30305 return NULL;
30306 }
30307
30308
30309 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30310 PyObject *resultobj = 0;
30311 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30312 int arg2 ;
30313 bool result;
30314 void *argp1 = 0 ;
30315 int res1 = 0 ;
30316 int val2 ;
30317 int ecode2 = 0 ;
30318 PyObject * obj0 = 0 ;
30319 PyObject * obj1 = 0 ;
30320 char * kwnames[] = {
30321 (char *) "self",(char *) "pageNum", NULL
30322 };
30323
30324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30326 if (!SWIG_IsOK(res1)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30328 }
30329 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30330 ecode2 = SWIG_AsVal_int(obj1, &val2);
30331 if (!SWIG_IsOK(ecode2)) {
30332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30333 }
30334 arg2 = static_cast< int >(val2);
30335 {
30336 PyThreadState* __tstate = wxPyBeginAllowThreads();
30337 result = (bool)(arg1)->SetCurrentPage(arg2);
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 {
30342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30343 }
30344 return resultobj;
30345 fail:
30346 return NULL;
30347 }
30348
30349
30350 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30351 PyObject *resultobj = 0;
30352 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30353 int result;
30354 void *argp1 = 0 ;
30355 int res1 = 0 ;
30356 PyObject *swig_obj[1] ;
30357
30358 if (!args) SWIG_fail;
30359 swig_obj[0] = args;
30360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30361 if (!SWIG_IsOK(res1)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30363 }
30364 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 result = (int)(arg1)->GetCurrentPage();
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 resultobj = SWIG_From_int(static_cast< int >(result));
30372 return resultobj;
30373 fail:
30374 return NULL;
30375 }
30376
30377
30378 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30379 PyObject *resultobj = 0;
30380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30381 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30382 void *argp1 = 0 ;
30383 int res1 = 0 ;
30384 int res2 = 0 ;
30385 PyObject * obj0 = 0 ;
30386 PyObject * obj1 = 0 ;
30387 char * kwnames[] = {
30388 (char *) "self",(char *) "printout", NULL
30389 };
30390
30391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30393 if (!SWIG_IsOK(res1)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30395 }
30396 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30397 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30398 if (!SWIG_IsOK(res2)) {
30399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30400 }
30401 {
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 (arg1)->SetPrintout(arg2);
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 resultobj = SWIG_Py_Void();
30408 return resultobj;
30409 fail:
30410 return NULL;
30411 }
30412
30413
30414 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30415 PyObject *resultobj = 0;
30416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30417 wxPyPrintout *result = 0 ;
30418 void *argp1 = 0 ;
30419 int res1 = 0 ;
30420 PyObject *swig_obj[1] ;
30421
30422 if (!args) SWIG_fail;
30423 swig_obj[0] = args;
30424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30425 if (!SWIG_IsOK(res1)) {
30426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30427 }
30428 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 result = (wxPyPrintout *)(arg1)->GetPrintout();
30432 wxPyEndAllowThreads(__tstate);
30433 if (PyErr_Occurred()) SWIG_fail;
30434 }
30435 {
30436 resultobj = wxPyMake_wxObject(result, 0);
30437 }
30438 return resultobj;
30439 fail:
30440 return NULL;
30441 }
30442
30443
30444 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30445 PyObject *resultobj = 0;
30446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30447 wxPyPrintout *result = 0 ;
30448 void *argp1 = 0 ;
30449 int res1 = 0 ;
30450 PyObject *swig_obj[1] ;
30451
30452 if (!args) SWIG_fail;
30453 swig_obj[0] = args;
30454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30455 if (!SWIG_IsOK(res1)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30457 }
30458 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30459 {
30460 PyThreadState* __tstate = wxPyBeginAllowThreads();
30461 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30462 wxPyEndAllowThreads(__tstate);
30463 if (PyErr_Occurred()) SWIG_fail;
30464 }
30465 {
30466 resultobj = wxPyMake_wxObject(result, 0);
30467 }
30468 return resultobj;
30469 fail:
30470 return NULL;
30471 }
30472
30473
30474 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30475 PyObject *resultobj = 0;
30476 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30477 wxFrame *arg2 = (wxFrame *) 0 ;
30478 void *argp1 = 0 ;
30479 int res1 = 0 ;
30480 void *argp2 = 0 ;
30481 int res2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char * kwnames[] = {
30485 (char *) "self",(char *) "frame", NULL
30486 };
30487
30488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30490 if (!SWIG_IsOK(res1)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30492 }
30493 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30495 if (!SWIG_IsOK(res2)) {
30496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30497 }
30498 arg2 = reinterpret_cast< wxFrame * >(argp2);
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 (arg1)->SetFrame(arg2);
30502 wxPyEndAllowThreads(__tstate);
30503 if (PyErr_Occurred()) SWIG_fail;
30504 }
30505 resultobj = SWIG_Py_Void();
30506 return resultobj;
30507 fail:
30508 return NULL;
30509 }
30510
30511
30512 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30513 PyObject *resultobj = 0;
30514 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30515 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30516 void *argp1 = 0 ;
30517 int res1 = 0 ;
30518 void *argp2 = 0 ;
30519 int res2 = 0 ;
30520 PyObject * obj0 = 0 ;
30521 PyObject * obj1 = 0 ;
30522 char * kwnames[] = {
30523 (char *) "self",(char *) "canvas", NULL
30524 };
30525
30526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30528 if (!SWIG_IsOK(res1)) {
30529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30530 }
30531 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30532 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30533 if (!SWIG_IsOK(res2)) {
30534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30535 }
30536 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 (arg1)->SetCanvas(arg2);
30540 wxPyEndAllowThreads(__tstate);
30541 if (PyErr_Occurred()) SWIG_fail;
30542 }
30543 resultobj = SWIG_Py_Void();
30544 return resultobj;
30545 fail:
30546 return NULL;
30547 }
30548
30549
30550 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30551 PyObject *resultobj = 0;
30552 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30553 wxFrame *result = 0 ;
30554 void *argp1 = 0 ;
30555 int res1 = 0 ;
30556 PyObject *swig_obj[1] ;
30557
30558 if (!args) SWIG_fail;
30559 swig_obj[0] = args;
30560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30561 if (!SWIG_IsOK(res1)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30563 }
30564 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30565 {
30566 PyThreadState* __tstate = wxPyBeginAllowThreads();
30567 result = (wxFrame *)(arg1)->GetFrame();
30568 wxPyEndAllowThreads(__tstate);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 }
30571 {
30572 resultobj = wxPyMake_wxObject(result, 0);
30573 }
30574 return resultobj;
30575 fail:
30576 return NULL;
30577 }
30578
30579
30580 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30581 PyObject *resultobj = 0;
30582 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30583 wxPreviewCanvas *result = 0 ;
30584 void *argp1 = 0 ;
30585 int res1 = 0 ;
30586 PyObject *swig_obj[1] ;
30587
30588 if (!args) SWIG_fail;
30589 swig_obj[0] = args;
30590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30591 if (!SWIG_IsOK(res1)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30593 }
30594 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30595 {
30596 PyThreadState* __tstate = wxPyBeginAllowThreads();
30597 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30598 wxPyEndAllowThreads(__tstate);
30599 if (PyErr_Occurred()) SWIG_fail;
30600 }
30601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30602 return resultobj;
30603 fail:
30604 return NULL;
30605 }
30606
30607
30608 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30609 PyObject *resultobj = 0;
30610 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30611 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30612 wxDC *arg3 = 0 ;
30613 bool result;
30614 void *argp1 = 0 ;
30615 int res1 = 0 ;
30616 void *argp2 = 0 ;
30617 int res2 = 0 ;
30618 void *argp3 = 0 ;
30619 int res3 = 0 ;
30620 PyObject * obj0 = 0 ;
30621 PyObject * obj1 = 0 ;
30622 PyObject * obj2 = 0 ;
30623 char * kwnames[] = {
30624 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30625 };
30626
30627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30629 if (!SWIG_IsOK(res1)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30631 }
30632 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30633 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30634 if (!SWIG_IsOK(res2)) {
30635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30636 }
30637 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30638 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30639 if (!SWIG_IsOK(res3)) {
30640 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30641 }
30642 if (!argp3) {
30643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30644 }
30645 arg3 = reinterpret_cast< wxDC * >(argp3);
30646 {
30647 PyThreadState* __tstate = wxPyBeginAllowThreads();
30648 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30649 wxPyEndAllowThreads(__tstate);
30650 if (PyErr_Occurred()) SWIG_fail;
30651 }
30652 {
30653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30654 }
30655 return resultobj;
30656 fail:
30657 return NULL;
30658 }
30659
30660
30661 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30662 PyObject *resultobj = 0;
30663 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30664 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30665 wxDC *arg3 = 0 ;
30666 bool result;
30667 void *argp1 = 0 ;
30668 int res1 = 0 ;
30669 void *argp2 = 0 ;
30670 int res2 = 0 ;
30671 void *argp3 = 0 ;
30672 int res3 = 0 ;
30673 PyObject * obj0 = 0 ;
30674 PyObject * obj1 = 0 ;
30675 PyObject * obj2 = 0 ;
30676 char * kwnames[] = {
30677 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30678 };
30679
30680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30682 if (!SWIG_IsOK(res1)) {
30683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30684 }
30685 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30686 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30687 if (!SWIG_IsOK(res2)) {
30688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30689 }
30690 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30691 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30692 if (!SWIG_IsOK(res3)) {
30693 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30694 }
30695 if (!argp3) {
30696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30697 }
30698 arg3 = reinterpret_cast< wxDC * >(argp3);
30699 {
30700 PyThreadState* __tstate = wxPyBeginAllowThreads();
30701 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30702 wxPyEndAllowThreads(__tstate);
30703 if (PyErr_Occurred()) SWIG_fail;
30704 }
30705 {
30706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30707 }
30708 return resultobj;
30709 fail:
30710 return NULL;
30711 }
30712
30713
30714 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30715 PyObject *resultobj = 0;
30716 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30717 int arg2 ;
30718 bool result;
30719 void *argp1 = 0 ;
30720 int res1 = 0 ;
30721 int val2 ;
30722 int ecode2 = 0 ;
30723 PyObject * obj0 = 0 ;
30724 PyObject * obj1 = 0 ;
30725 char * kwnames[] = {
30726 (char *) "self",(char *) "pageNum", NULL
30727 };
30728
30729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30731 if (!SWIG_IsOK(res1)) {
30732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30733 }
30734 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30735 ecode2 = SWIG_AsVal_int(obj1, &val2);
30736 if (!SWIG_IsOK(ecode2)) {
30737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30738 }
30739 arg2 = static_cast< int >(val2);
30740 {
30741 PyThreadState* __tstate = wxPyBeginAllowThreads();
30742 result = (bool)(arg1)->RenderPage(arg2);
30743 wxPyEndAllowThreads(__tstate);
30744 if (PyErr_Occurred()) SWIG_fail;
30745 }
30746 {
30747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30748 }
30749 return resultobj;
30750 fail:
30751 return NULL;
30752 }
30753
30754
30755 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30756 PyObject *resultobj = 0;
30757 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30758 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30759 void *argp1 = 0 ;
30760 int res1 = 0 ;
30761 void *argp2 = 0 ;
30762 int res2 = 0 ;
30763 PyObject * obj0 = 0 ;
30764 PyObject * obj1 = 0 ;
30765 char * kwnames[] = {
30766 (char *) "self",(char *) "canvas", NULL
30767 };
30768
30769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30771 if (!SWIG_IsOK(res1)) {
30772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30773 }
30774 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30775 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30776 if (!SWIG_IsOK(res2)) {
30777 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30778 }
30779 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 (arg1)->AdjustScrollbars(arg2);
30783 wxPyEndAllowThreads(__tstate);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 resultobj = SWIG_Py_Void();
30787 return resultobj;
30788 fail:
30789 return NULL;
30790 }
30791
30792
30793 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30794 PyObject *resultobj = 0;
30795 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30796 wxPrintDialogData *result = 0 ;
30797 void *argp1 = 0 ;
30798 int res1 = 0 ;
30799 PyObject *swig_obj[1] ;
30800
30801 if (!args) SWIG_fail;
30802 swig_obj[0] = args;
30803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30804 if (!SWIG_IsOK(res1)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30806 }
30807 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30808 {
30809 PyThreadState* __tstate = wxPyBeginAllowThreads();
30810 {
30811 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30812 result = (wxPrintDialogData *) &_result_ref;
30813 }
30814 wxPyEndAllowThreads(__tstate);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 }
30817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30818 return resultobj;
30819 fail:
30820 return NULL;
30821 }
30822
30823
30824 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30825 PyObject *resultobj = 0;
30826 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30827 int arg2 ;
30828 void *argp1 = 0 ;
30829 int res1 = 0 ;
30830 int val2 ;
30831 int ecode2 = 0 ;
30832 PyObject * obj0 = 0 ;
30833 PyObject * obj1 = 0 ;
30834 char * kwnames[] = {
30835 (char *) "self",(char *) "percent", NULL
30836 };
30837
30838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30840 if (!SWIG_IsOK(res1)) {
30841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30842 }
30843 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30844 ecode2 = SWIG_AsVal_int(obj1, &val2);
30845 if (!SWIG_IsOK(ecode2)) {
30846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30847 }
30848 arg2 = static_cast< int >(val2);
30849 {
30850 PyThreadState* __tstate = wxPyBeginAllowThreads();
30851 (arg1)->SetZoom(arg2);
30852 wxPyEndAllowThreads(__tstate);
30853 if (PyErr_Occurred()) SWIG_fail;
30854 }
30855 resultobj = SWIG_Py_Void();
30856 return resultobj;
30857 fail:
30858 return NULL;
30859 }
30860
30861
30862 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30863 PyObject *resultobj = 0;
30864 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30865 int result;
30866 void *argp1 = 0 ;
30867 int res1 = 0 ;
30868 PyObject *swig_obj[1] ;
30869
30870 if (!args) SWIG_fail;
30871 swig_obj[0] = args;
30872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30873 if (!SWIG_IsOK(res1)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30875 }
30876 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30877 {
30878 PyThreadState* __tstate = wxPyBeginAllowThreads();
30879 result = (int)(arg1)->GetZoom();
30880 wxPyEndAllowThreads(__tstate);
30881 if (PyErr_Occurred()) SWIG_fail;
30882 }
30883 resultobj = SWIG_From_int(static_cast< int >(result));
30884 return resultobj;
30885 fail:
30886 return NULL;
30887 }
30888
30889
30890 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30891 PyObject *resultobj = 0;
30892 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30893 int result;
30894 void *argp1 = 0 ;
30895 int res1 = 0 ;
30896 PyObject *swig_obj[1] ;
30897
30898 if (!args) SWIG_fail;
30899 swig_obj[0] = args;
30900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30901 if (!SWIG_IsOK(res1)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30903 }
30904 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30905 {
30906 PyThreadState* __tstate = wxPyBeginAllowThreads();
30907 result = (int)(arg1)->GetMaxPage();
30908 wxPyEndAllowThreads(__tstate);
30909 if (PyErr_Occurred()) SWIG_fail;
30910 }
30911 resultobj = SWIG_From_int(static_cast< int >(result));
30912 return resultobj;
30913 fail:
30914 return NULL;
30915 }
30916
30917
30918 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30919 PyObject *resultobj = 0;
30920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30921 int result;
30922 void *argp1 = 0 ;
30923 int res1 = 0 ;
30924 PyObject *swig_obj[1] ;
30925
30926 if (!args) SWIG_fail;
30927 swig_obj[0] = args;
30928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30929 if (!SWIG_IsOK(res1)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30931 }
30932 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30933 {
30934 PyThreadState* __tstate = wxPyBeginAllowThreads();
30935 result = (int)(arg1)->GetMinPage();
30936 wxPyEndAllowThreads(__tstate);
30937 if (PyErr_Occurred()) SWIG_fail;
30938 }
30939 resultobj = SWIG_From_int(static_cast< int >(result));
30940 return resultobj;
30941 fail:
30942 return NULL;
30943 }
30944
30945
30946 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30947 PyObject *resultobj = 0;
30948 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30949 bool result;
30950 void *argp1 = 0 ;
30951 int res1 = 0 ;
30952 PyObject *swig_obj[1] ;
30953
30954 if (!args) SWIG_fail;
30955 swig_obj[0] = args;
30956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30957 if (!SWIG_IsOK(res1)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30959 }
30960 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30961 {
30962 PyThreadState* __tstate = wxPyBeginAllowThreads();
30963 result = (bool)(arg1)->IsOk();
30964 wxPyEndAllowThreads(__tstate);
30965 if (PyErr_Occurred()) SWIG_fail;
30966 }
30967 {
30968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30969 }
30970 return resultobj;
30971 fail:
30972 return NULL;
30973 }
30974
30975
30976 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30977 PyObject *resultobj = 0;
30978 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30979 bool arg2 ;
30980 void *argp1 = 0 ;
30981 int res1 = 0 ;
30982 bool val2 ;
30983 int ecode2 = 0 ;
30984 PyObject * obj0 = 0 ;
30985 PyObject * obj1 = 0 ;
30986 char * kwnames[] = {
30987 (char *) "self",(char *) "ok", NULL
30988 };
30989
30990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30992 if (!SWIG_IsOK(res1)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30994 }
30995 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30996 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30997 if (!SWIG_IsOK(ecode2)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30999 }
31000 arg2 = static_cast< bool >(val2);
31001 {
31002 PyThreadState* __tstate = wxPyBeginAllowThreads();
31003 (arg1)->SetOk(arg2);
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 resultobj = SWIG_Py_Void();
31008 return resultobj;
31009 fail:
31010 return NULL;
31011 }
31012
31013
31014 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31015 PyObject *resultobj = 0;
31016 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31017 bool arg2 ;
31018 bool result;
31019 void *argp1 = 0 ;
31020 int res1 = 0 ;
31021 bool val2 ;
31022 int ecode2 = 0 ;
31023 PyObject * obj0 = 0 ;
31024 PyObject * obj1 = 0 ;
31025 char * kwnames[] = {
31026 (char *) "self",(char *) "interactive", NULL
31027 };
31028
31029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
31030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31031 if (!SWIG_IsOK(res1)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31033 }
31034 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31035 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31036 if (!SWIG_IsOK(ecode2)) {
31037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31038 }
31039 arg2 = static_cast< bool >(val2);
31040 {
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
31042 result = (bool)(arg1)->Print(arg2);
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 {
31047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31048 }
31049 return resultobj;
31050 fail:
31051 return NULL;
31052 }
31053
31054
31055 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31056 PyObject *resultobj = 0;
31057 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31058 void *argp1 = 0 ;
31059 int res1 = 0 ;
31060 PyObject *swig_obj[1] ;
31061
31062 if (!args) SWIG_fail;
31063 swig_obj[0] = args;
31064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31065 if (!SWIG_IsOK(res1)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31067 }
31068 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 (arg1)->DetermineScaling();
31072 wxPyEndAllowThreads(__tstate);
31073 if (PyErr_Occurred()) SWIG_fail;
31074 }
31075 resultobj = SWIG_Py_Void();
31076 return resultobj;
31077 fail:
31078 return NULL;
31079 }
31080
31081
31082 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31083 PyObject *obj;
31084 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31086 return SWIG_Py_Void();
31087 }
31088
31089 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31090 return SWIG_Python_InitShadowInstance(args);
31091 }
31092
31093 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31094 PyObject *resultobj = 0;
31095 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31096 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31097 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31098 wxPyPrintPreview *result = 0 ;
31099 int res1 = 0 ;
31100 int res2 = 0 ;
31101 void *argp3 = 0 ;
31102 int res3 = 0 ;
31103
31104 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31105 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31106 if (!SWIG_IsOK(res1)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31108 }
31109 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31110 if (!SWIG_IsOK(res2)) {
31111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31112 }
31113 if (swig_obj[2]) {
31114 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31115 if (!SWIG_IsOK(res3)) {
31116 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31117 }
31118 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31119 }
31120 {
31121 if (!wxPyCheckForApp()) SWIG_fail;
31122 PyThreadState* __tstate = wxPyBeginAllowThreads();
31123 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31124 wxPyEndAllowThreads(__tstate);
31125 if (PyErr_Occurred()) SWIG_fail;
31126 }
31127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31128 return resultobj;
31129 fail:
31130 return NULL;
31131 }
31132
31133
31134 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31135 PyObject *resultobj = 0;
31136 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31137 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31138 wxPrintData *arg3 = (wxPrintData *) 0 ;
31139 wxPyPrintPreview *result = 0 ;
31140 int res1 = 0 ;
31141 int res2 = 0 ;
31142 void *argp3 = 0 ;
31143 int res3 = 0 ;
31144
31145 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31146 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31147 if (!SWIG_IsOK(res1)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31149 }
31150 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31151 if (!SWIG_IsOK(res2)) {
31152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31153 }
31154 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31155 if (!SWIG_IsOK(res3)) {
31156 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31157 }
31158 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31159 {
31160 if (!wxPyCheckForApp()) SWIG_fail;
31161 PyThreadState* __tstate = wxPyBeginAllowThreads();
31162 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31163 wxPyEndAllowThreads(__tstate);
31164 if (PyErr_Occurred()) SWIG_fail;
31165 }
31166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31167 return resultobj;
31168 fail:
31169 return NULL;
31170 }
31171
31172
31173 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31174 int argc;
31175 PyObject *argv[4];
31176
31177 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31178 --argc;
31179 if ((argc >= 2) && (argc <= 3)) {
31180 int _v = 0;
31181 if (argc > 2) {
31182 {
31183 void *vptr = 0;
31184 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31185 _v = SWIG_CheckState(res);
31186 }
31187 if (!_v) goto check_1;
31188 }
31189 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31190 }
31191 check_1:
31192
31193 if (argc == 3) {
31194 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31195 }
31196
31197 fail:
31198 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31199 return NULL;
31200 }
31201
31202
31203 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj = 0;
31205 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31206 PyObject *arg2 = (PyObject *) 0 ;
31207 PyObject *arg3 = (PyObject *) 0 ;
31208 void *argp1 = 0 ;
31209 int res1 = 0 ;
31210 PyObject * obj0 = 0 ;
31211 PyObject * obj1 = 0 ;
31212 PyObject * obj2 = 0 ;
31213 char * kwnames[] = {
31214 (char *) "self",(char *) "self",(char *) "_class", NULL
31215 };
31216
31217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31219 if (!SWIG_IsOK(res1)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31221 }
31222 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31223 arg2 = obj1;
31224 arg3 = obj2;
31225 {
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 (arg1)->_setCallbackInfo(arg2,arg3);
31228 wxPyEndAllowThreads(__tstate);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 }
31231 resultobj = SWIG_Py_Void();
31232 return resultobj;
31233 fail:
31234 return NULL;
31235 }
31236
31237
31238 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31239 PyObject *obj;
31240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31242 return SWIG_Py_Void();
31243 }
31244
31245 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31246 return SWIG_Python_InitShadowInstance(args);
31247 }
31248
31249 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31250 PyObject *resultobj = 0;
31251 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31252 wxFrame *arg2 = (wxFrame *) 0 ;
31253 wxString *arg3 = 0 ;
31254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31256 wxSize const &arg5_defvalue = wxDefaultSize ;
31257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31258 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31259 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31260 wxString *arg7 = (wxString *) &arg7_defvalue ;
31261 wxPyPreviewFrame *result = 0 ;
31262 int res1 = 0 ;
31263 void *argp2 = 0 ;
31264 int res2 = 0 ;
31265 bool temp3 = false ;
31266 wxPoint temp4 ;
31267 wxSize temp5 ;
31268 long val6 ;
31269 int ecode6 = 0 ;
31270 bool temp7 = false ;
31271 PyObject * obj0 = 0 ;
31272 PyObject * obj1 = 0 ;
31273 PyObject * obj2 = 0 ;
31274 PyObject * obj3 = 0 ;
31275 PyObject * obj4 = 0 ;
31276 PyObject * obj5 = 0 ;
31277 PyObject * obj6 = 0 ;
31278 char * kwnames[] = {
31279 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31280 };
31281
31282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31283 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31284 if (!SWIG_IsOK(res1)) {
31285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31286 }
31287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31288 if (!SWIG_IsOK(res2)) {
31289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31290 }
31291 arg2 = reinterpret_cast< wxFrame * >(argp2);
31292 {
31293 arg3 = wxString_in_helper(obj2);
31294 if (arg3 == NULL) SWIG_fail;
31295 temp3 = true;
31296 }
31297 if (obj3) {
31298 {
31299 arg4 = &temp4;
31300 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31301 }
31302 }
31303 if (obj4) {
31304 {
31305 arg5 = &temp5;
31306 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31307 }
31308 }
31309 if (obj5) {
31310 ecode6 = SWIG_AsVal_long(obj5, &val6);
31311 if (!SWIG_IsOK(ecode6)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31313 }
31314 arg6 = static_cast< long >(val6);
31315 }
31316 if (obj6) {
31317 {
31318 arg7 = wxString_in_helper(obj6);
31319 if (arg7 == NULL) SWIG_fail;
31320 temp7 = true;
31321 }
31322 }
31323 {
31324 if (!wxPyCheckForApp()) SWIG_fail;
31325 PyThreadState* __tstate = wxPyBeginAllowThreads();
31326 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31331 {
31332 if (temp3)
31333 delete arg3;
31334 }
31335 {
31336 if (temp7)
31337 delete arg7;
31338 }
31339 return resultobj;
31340 fail:
31341 {
31342 if (temp3)
31343 delete arg3;
31344 }
31345 {
31346 if (temp7)
31347 delete arg7;
31348 }
31349 return NULL;
31350 }
31351
31352
31353 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31354 PyObject *resultobj = 0;
31355 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31356 PyObject *arg2 = (PyObject *) 0 ;
31357 PyObject *arg3 = (PyObject *) 0 ;
31358 void *argp1 = 0 ;
31359 int res1 = 0 ;
31360 PyObject * obj0 = 0 ;
31361 PyObject * obj1 = 0 ;
31362 PyObject * obj2 = 0 ;
31363 char * kwnames[] = {
31364 (char *) "self",(char *) "self",(char *) "_class", NULL
31365 };
31366
31367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31369 if (!SWIG_IsOK(res1)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31371 }
31372 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31373 arg2 = obj1;
31374 arg3 = obj2;
31375 {
31376 PyThreadState* __tstate = wxPyBeginAllowThreads();
31377 (arg1)->_setCallbackInfo(arg2,arg3);
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 resultobj = SWIG_Py_Void();
31382 return resultobj;
31383 fail:
31384 return NULL;
31385 }
31386
31387
31388 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31389 PyObject *resultobj = 0;
31390 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31391 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31392 void *argp1 = 0 ;
31393 int res1 = 0 ;
31394 void *argp2 = 0 ;
31395 int res2 = 0 ;
31396 PyObject * obj0 = 0 ;
31397 PyObject * obj1 = 0 ;
31398 char * kwnames[] = {
31399 (char *) "self",(char *) "canvas", NULL
31400 };
31401
31402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31404 if (!SWIG_IsOK(res1)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31406 }
31407 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31409 if (!SWIG_IsOK(res2)) {
31410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31411 }
31412 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31413 {
31414 PyThreadState* __tstate = wxPyBeginAllowThreads();
31415 (arg1)->SetPreviewCanvas(arg2);
31416 wxPyEndAllowThreads(__tstate);
31417 if (PyErr_Occurred()) SWIG_fail;
31418 }
31419 resultobj = SWIG_Py_Void();
31420 return resultobj;
31421 fail:
31422 return NULL;
31423 }
31424
31425
31426 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31427 PyObject *resultobj = 0;
31428 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31429 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31430 void *argp1 = 0 ;
31431 int res1 = 0 ;
31432 void *argp2 = 0 ;
31433 int res2 = 0 ;
31434 PyObject * obj0 = 0 ;
31435 PyObject * obj1 = 0 ;
31436 char * kwnames[] = {
31437 (char *) "self",(char *) "bar", NULL
31438 };
31439
31440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31442 if (!SWIG_IsOK(res1)) {
31443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31444 }
31445 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31447 if (!SWIG_IsOK(res2)) {
31448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31449 }
31450 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31451 {
31452 PyThreadState* __tstate = wxPyBeginAllowThreads();
31453 (arg1)->SetControlBar(arg2);
31454 wxPyEndAllowThreads(__tstate);
31455 if (PyErr_Occurred()) SWIG_fail;
31456 }
31457 resultobj = SWIG_Py_Void();
31458 return resultobj;
31459 fail:
31460 return NULL;
31461 }
31462
31463
31464 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31465 PyObject *resultobj = 0;
31466 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31467 void *argp1 = 0 ;
31468 int res1 = 0 ;
31469 PyObject *swig_obj[1] ;
31470
31471 if (!args) SWIG_fail;
31472 swig_obj[0] = args;
31473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31474 if (!SWIG_IsOK(res1)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31476 }
31477 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31478 {
31479 PyThreadState* __tstate = wxPyBeginAllowThreads();
31480 (arg1)->Initialize();
31481 wxPyEndAllowThreads(__tstate);
31482 if (PyErr_Occurred()) SWIG_fail;
31483 }
31484 resultobj = SWIG_Py_Void();
31485 return resultobj;
31486 fail:
31487 return NULL;
31488 }
31489
31490
31491 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31492 PyObject *resultobj = 0;
31493 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31494 void *argp1 = 0 ;
31495 int res1 = 0 ;
31496 PyObject *swig_obj[1] ;
31497
31498 if (!args) SWIG_fail;
31499 swig_obj[0] = args;
31500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31501 if (!SWIG_IsOK(res1)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31503 }
31504 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31505 {
31506 PyThreadState* __tstate = wxPyBeginAllowThreads();
31507 (arg1)->CreateCanvas();
31508 wxPyEndAllowThreads(__tstate);
31509 if (PyErr_Occurred()) SWIG_fail;
31510 }
31511 resultobj = SWIG_Py_Void();
31512 return resultobj;
31513 fail:
31514 return NULL;
31515 }
31516
31517
31518 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31519 PyObject *resultobj = 0;
31520 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31521 void *argp1 = 0 ;
31522 int res1 = 0 ;
31523 PyObject *swig_obj[1] ;
31524
31525 if (!args) SWIG_fail;
31526 swig_obj[0] = args;
31527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31528 if (!SWIG_IsOK(res1)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31530 }
31531 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31532 {
31533 PyThreadState* __tstate = wxPyBeginAllowThreads();
31534 (arg1)->CreateControlBar();
31535 wxPyEndAllowThreads(__tstate);
31536 if (PyErr_Occurred()) SWIG_fail;
31537 }
31538 resultobj = SWIG_Py_Void();
31539 return resultobj;
31540 fail:
31541 return NULL;
31542 }
31543
31544
31545 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31546 PyObject *obj;
31547 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31548 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31549 return SWIG_Py_Void();
31550 }
31551
31552 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31553 return SWIG_Python_InitShadowInstance(args);
31554 }
31555
31556 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31557 PyObject *resultobj = 0;
31558 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31559 long arg2 ;
31560 wxWindow *arg3 = (wxWindow *) 0 ;
31561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31563 wxSize const &arg5_defvalue = wxDefaultSize ;
31564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31565 long arg6 = (long) 0 ;
31566 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31567 wxString *arg7 = (wxString *) &arg7_defvalue ;
31568 wxPyPreviewControlBar *result = 0 ;
31569 int res1 = 0 ;
31570 long val2 ;
31571 int ecode2 = 0 ;
31572 void *argp3 = 0 ;
31573 int res3 = 0 ;
31574 wxPoint temp4 ;
31575 wxSize temp5 ;
31576 long val6 ;
31577 int ecode6 = 0 ;
31578 bool temp7 = false ;
31579 PyObject * obj0 = 0 ;
31580 PyObject * obj1 = 0 ;
31581 PyObject * obj2 = 0 ;
31582 PyObject * obj3 = 0 ;
31583 PyObject * obj4 = 0 ;
31584 PyObject * obj5 = 0 ;
31585 PyObject * obj6 = 0 ;
31586 char * kwnames[] = {
31587 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31588 };
31589
31590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31591 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31592 if (!SWIG_IsOK(res1)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31594 }
31595 ecode2 = SWIG_AsVal_long(obj1, &val2);
31596 if (!SWIG_IsOK(ecode2)) {
31597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31598 }
31599 arg2 = static_cast< long >(val2);
31600 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31601 if (!SWIG_IsOK(res3)) {
31602 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31603 }
31604 arg3 = reinterpret_cast< wxWindow * >(argp3);
31605 if (obj3) {
31606 {
31607 arg4 = &temp4;
31608 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31609 }
31610 }
31611 if (obj4) {
31612 {
31613 arg5 = &temp5;
31614 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31615 }
31616 }
31617 if (obj5) {
31618 ecode6 = SWIG_AsVal_long(obj5, &val6);
31619 if (!SWIG_IsOK(ecode6)) {
31620 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31621 }
31622 arg6 = static_cast< long >(val6);
31623 }
31624 if (obj6) {
31625 {
31626 arg7 = wxString_in_helper(obj6);
31627 if (arg7 == NULL) SWIG_fail;
31628 temp7 = true;
31629 }
31630 }
31631 {
31632 if (!wxPyCheckForApp()) SWIG_fail;
31633 PyThreadState* __tstate = wxPyBeginAllowThreads();
31634 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31635 wxPyEndAllowThreads(__tstate);
31636 if (PyErr_Occurred()) SWIG_fail;
31637 }
31638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31639 {
31640 if (temp7)
31641 delete arg7;
31642 }
31643 return resultobj;
31644 fail:
31645 {
31646 if (temp7)
31647 delete arg7;
31648 }
31649 return NULL;
31650 }
31651
31652
31653 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31654 PyObject *resultobj = 0;
31655 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31656 PyObject *arg2 = (PyObject *) 0 ;
31657 PyObject *arg3 = (PyObject *) 0 ;
31658 void *argp1 = 0 ;
31659 int res1 = 0 ;
31660 PyObject * obj0 = 0 ;
31661 PyObject * obj1 = 0 ;
31662 PyObject * obj2 = 0 ;
31663 char * kwnames[] = {
31664 (char *) "self",(char *) "self",(char *) "_class", NULL
31665 };
31666
31667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31669 if (!SWIG_IsOK(res1)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31671 }
31672 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31673 arg2 = obj1;
31674 arg3 = obj2;
31675 {
31676 PyThreadState* __tstate = wxPyBeginAllowThreads();
31677 (arg1)->_setCallbackInfo(arg2,arg3);
31678 wxPyEndAllowThreads(__tstate);
31679 if (PyErr_Occurred()) SWIG_fail;
31680 }
31681 resultobj = SWIG_Py_Void();
31682 return resultobj;
31683 fail:
31684 return NULL;
31685 }
31686
31687
31688 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31689 PyObject *resultobj = 0;
31690 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31691 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31692 void *argp1 = 0 ;
31693 int res1 = 0 ;
31694 int res2 = 0 ;
31695 PyObject * obj0 = 0 ;
31696 PyObject * obj1 = 0 ;
31697 char * kwnames[] = {
31698 (char *) "self",(char *) "preview", NULL
31699 };
31700
31701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31703 if (!SWIG_IsOK(res1)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31705 }
31706 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31707 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31708 if (!SWIG_IsOK(res2)) {
31709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31710 }
31711 {
31712 PyThreadState* __tstate = wxPyBeginAllowThreads();
31713 (arg1)->SetPrintPreview(arg2);
31714 wxPyEndAllowThreads(__tstate);
31715 if (PyErr_Occurred()) SWIG_fail;
31716 }
31717 resultobj = SWIG_Py_Void();
31718 return resultobj;
31719 fail:
31720 return NULL;
31721 }
31722
31723
31724 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31725 PyObject *resultobj = 0;
31726 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31727 void *argp1 = 0 ;
31728 int res1 = 0 ;
31729 PyObject *swig_obj[1] ;
31730
31731 if (!args) SWIG_fail;
31732 swig_obj[0] = args;
31733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31734 if (!SWIG_IsOK(res1)) {
31735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31736 }
31737 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 (arg1)->CreateButtons();
31741 wxPyEndAllowThreads(__tstate);
31742 if (PyErr_Occurred()) SWIG_fail;
31743 }
31744 resultobj = SWIG_Py_Void();
31745 return resultobj;
31746 fail:
31747 return NULL;
31748 }
31749
31750
31751 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31752 PyObject *resultobj = 0;
31753 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31754 int arg2 ;
31755 void *argp1 = 0 ;
31756 int res1 = 0 ;
31757 int val2 ;
31758 int ecode2 = 0 ;
31759 PyObject * obj0 = 0 ;
31760 PyObject * obj1 = 0 ;
31761 char * kwnames[] = {
31762 (char *) "self",(char *) "zoom", NULL
31763 };
31764
31765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31767 if (!SWIG_IsOK(res1)) {
31768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31769 }
31770 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31771 ecode2 = SWIG_AsVal_int(obj1, &val2);
31772 if (!SWIG_IsOK(ecode2)) {
31773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31774 }
31775 arg2 = static_cast< int >(val2);
31776 {
31777 PyThreadState* __tstate = wxPyBeginAllowThreads();
31778 (arg1)->SetZoomControl(arg2);
31779 wxPyEndAllowThreads(__tstate);
31780 if (PyErr_Occurred()) SWIG_fail;
31781 }
31782 resultobj = SWIG_Py_Void();
31783 return resultobj;
31784 fail:
31785 return NULL;
31786 }
31787
31788
31789 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31790 PyObject *obj;
31791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31793 return SWIG_Py_Void();
31794 }
31795
31796 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31797 return SWIG_Python_InitShadowInstance(args);
31798 }
31799
31800 static PyMethodDef SwigMethods[] = {
31801 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31803 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31805 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31807 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31808 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31810 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31817 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31819 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31821 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31822 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31823 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31824 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31825 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31828 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31831 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31832 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31834 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31836 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31837 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31838 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31839 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31843 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31845 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31849 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31851 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31853 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31856 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31857 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31859 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31861 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31863 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31866 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31873 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31875 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31880 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31881 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31883 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31886 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31888 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31890 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31895 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31896 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31899 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31900 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31902 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31904 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31905 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31908 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31909 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31910 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31912 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31913 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31914 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31915 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31916 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31918 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31921 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31930 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31931 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31933 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31934 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31936 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31938 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31939 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31941 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31947 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31948 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31951 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31952 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31954 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31956 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31958 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31960 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31962 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31964 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31965 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31968 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31969 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31970 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31971 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31972 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31973 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31975 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31983 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31985 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31988 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31989 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31992 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31993 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31995 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31996 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31997 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
32000 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
32002 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
32004 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
32005 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
32006 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
32009 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
32011 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
32013 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
32015 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
32017 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
32018 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
32019 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
32022 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
32024 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
32025 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
32026 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
32028 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
32030 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
32031 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
32035 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
32036 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
32037 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
32038 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
32042 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
32043 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
32045 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
32048 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
32049 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
32051 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
32054 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
32055 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
32056 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
32059 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
32060 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
32061 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
32063 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32072 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32073 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32074 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
32075 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32077 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32078 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
32081 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
32082 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
32084 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32087 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32088 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
32089 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32092 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
32093 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32095 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
32096 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
32098 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32103 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
32104 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
32110 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
32111 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
32113 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
32117 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
32119 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
32120 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32122 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32124 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
32125 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32126 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
32127 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32129 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32130 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
32131 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
32133 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
32135 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32136 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32138 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32139 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32140 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32141 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32142 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32143 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32148 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32149 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32151 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32152 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32153 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32156 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32157 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32160 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32161 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32169 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32170 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32171 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32172 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32173 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32174 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32175 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32176 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32177 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32178 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32181 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32182 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32183 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32185 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32186 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32188 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32189 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32191 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32193 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32194 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32196 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32197 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32199 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32200 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32201 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32202 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32203 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32205 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32206 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32207 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32208 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32209 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32210 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32211 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32212 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32217 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32218 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32220 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32221 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32222 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32225 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32226 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32230 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32231 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32232 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32234 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32235 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32236 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32237 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32241 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32242 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32244 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32245 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32246 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32247 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32249 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32250 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32251 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32252 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32254 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32256 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32258 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32259 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32261 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32263 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32264 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32265 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32266 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32267 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32268 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32270 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32271 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32273 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32274 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32275 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32276 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32277 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32279 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32281 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32282 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32284 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32285 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32291 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32292 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32293 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32294 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32295 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32296 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32297 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32298 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32299 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32301 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32307 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32308 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32309 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32310 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32311 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32312 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32313 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32314 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32315 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32316 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32318 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32319 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32321 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32325 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32326 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32327 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32328 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32329 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32330 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32331 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32332 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32333 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32334 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32335 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32336 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32337 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32338 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32339 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32340 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32341 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32342 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32343 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32344 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32345 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32346 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32347 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32348 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32349 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32351 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32352 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32353 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32354 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32355 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32356 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32358 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32359 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32361 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32362 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32363 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32365 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32367 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32368 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32369 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32370 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32371 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32372 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32373 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32376 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32377 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32378 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32379 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32380 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32381 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32382 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32383 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32384 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32385 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32386 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32387 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32388 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32389 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32390 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32391 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32392 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32393 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32395 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32400 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32401 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32402 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32403 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32404 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32405 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32406 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32407 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32408 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32409 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32410 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32411 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32412 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32413 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32414 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32415 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32416 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32417 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32418 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32419 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32420 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32421 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32422 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32423 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32424 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32426 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32430 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32431 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32432 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32433 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32434 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32435 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32436 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32437 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32438 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32439 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32440 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32441 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32442 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32443 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32444 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32445 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32446 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32447 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32448 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32449 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32450 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32451 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32452 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32453 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32454 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32455 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32456 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32457 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32458 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32459 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32460 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32461 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32462 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32463 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32464 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32465 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32466 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32467 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32468 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32469 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32470 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32471 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32472 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32473 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32474 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32475 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32476 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32477 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32478 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32479 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32480 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32481 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32482 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32483 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32484 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32485 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32486 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32487 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32488 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32489 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32490 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32491 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32492 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32493 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32494 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32495 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32496 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32497 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32498 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32499 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32500 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32501 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32502 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32503 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32504 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32505 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32506 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32507 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32508 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32509 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32510 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32511 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32512 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32513 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32514 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32515 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32516 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32517 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32518 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32519 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32520 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32521 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32522 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32523 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32524 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32525 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32526 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32527 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32528 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32529 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32530 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32532 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32533 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32534 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32535 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32536 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32537 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32538 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32539 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32540 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32541 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32542 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32543 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32544 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32545 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32546 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32547 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32548 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32549 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32550 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32551 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32552 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32553 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32554 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32555 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32556 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32557 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32558 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32559 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32560 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32561 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32562 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32563 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32564 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32565 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32566 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32568 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32569 { NULL, NULL, 0, NULL }
32570 };
32571
32572
32573 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32574
32575 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32576 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32577 }
32578 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32579 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32580 }
32581 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32582 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32583 }
32584 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32585 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32586 }
32587 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32588 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32589 }
32590 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32591 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32592 }
32593 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32594 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32595 }
32596 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32597 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32598 }
32599 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32600 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32601 }
32602 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32603 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32604 }
32605 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32607 }
32608 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32610 }
32611 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32612 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32613 }
32614 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32615 return (void *)((wxEvent *) ((wxPyEvent *) x));
32616 }
32617 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32618 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32619 }
32620 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32621 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32622 }
32623 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32625 }
32626 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32627 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32628 }
32629 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32630 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32631 }
32632 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32633 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32634 }
32635 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32636 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32637 }
32638 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32639 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32640 }
32641 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32642 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32643 }
32644 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32645 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32646 }
32647 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32648 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32649 }
32650 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32651 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32652 }
32653 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32654 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32655 }
32656 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32657 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32658 }
32659 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32660 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32661 }
32662 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32663 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32664 }
32665 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32666 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32667 }
32668 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32669 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32670 }
32671 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32672 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32673 }
32674 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32675 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32676 }
32677 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32679 }
32680 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32682 }
32683 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32684 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32685 }
32686 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32687 return (void *)((wxEvent *) ((wxShowEvent *) x));
32688 }
32689 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32690 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32691 }
32692 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32693 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32694 }
32695 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32696 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32697 }
32698 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32699 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32700 }
32701 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32702 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32703 }
32704 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32705 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32706 }
32707 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32708 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32709 }
32710 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32711 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32712 }
32713 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32714 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32715 }
32716 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32717 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32718 }
32719 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32720 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32721 }
32722 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32723 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32724 }
32725 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32727 }
32728 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32729 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32730 }
32731 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32732 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32733 }
32734 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32735 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32736 }
32737 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32738 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32739 }
32740 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32741 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32742 }
32743 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32744 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32745 }
32746 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32747 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32748 }
32749 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32750 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32751 }
32752 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32753 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32754 }
32755 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32756 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32757 }
32758 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32760 }
32761 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32762 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32763 }
32764 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32765 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32766 }
32767 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32769 }
32770 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32771 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32772 }
32773 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32775 }
32776 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32777 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32778 }
32779 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32780 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32781 }
32782 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32783 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32784 }
32785 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32786 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32787 }
32788 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32789 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32790 }
32791 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32792 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32793 }
32794 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32795 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32796 }
32797 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32798 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32799 }
32800 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32801 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32802 }
32803 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32804 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32805 }
32806 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32807 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32808 }
32809 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32810 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32811 }
32812 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32813 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32814 }
32815 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32817 }
32818 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32819 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32820 }
32821 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32822 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32823 }
32824 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32825 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32826 }
32827 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32828 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32829 }
32830 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32831 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32832 }
32833 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32834 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32835 }
32836 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32837 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32838 }
32839 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32840 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32841 }
32842 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32843 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32844 }
32845 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32846 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32847 }
32848 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32849 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32850 }
32851 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32852 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32853 }
32854 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32855 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32856 }
32857 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32858 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32859 }
32860 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32862 }
32863 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32865 }
32866 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32868 }
32869 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32871 }
32872 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32874 }
32875 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32876 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32877 }
32878 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32879 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32880 }
32881 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32882 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32883 }
32884 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32885 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32886 }
32887 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32888 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32889 }
32890 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32891 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32892 }
32893 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32894 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32895 }
32896 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32897 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32898 }
32899 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32900 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32901 }
32902 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32903 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32904 }
32905 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32907 }
32908 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32910 }
32911 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32913 }
32914 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32916 }
32917 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) ((wxSizerItem *) x));
32919 }
32920 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32922 }
32923 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32925 }
32926 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32928 }
32929 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32931 }
32932 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32934 }
32935 static void *_p_wxSizerTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) ((wxSizer *) x));
32937 }
32938 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32940 }
32941 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32943 }
32944 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32946 }
32947 static void *_p_wxEventTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) ((wxEvent *) x));
32949 }
32950 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) ((wxFontData *) x));
32952 }
32953 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) ((wxPrintData *) x));
32955 }
32956 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32958 }
32959 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32961 }
32962 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32964 }
32965 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32967 }
32968 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32970 }
32971 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32973 }
32974 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32976 }
32977 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32979 }
32980 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32982 }
32983 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32985 }
32986 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32988 }
32989 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32991 }
32992 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32994 }
32995 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32997 }
32998 static void *_p_wxControlTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
33000 }
33001 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
33003 }
33004 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
33006 }
33007 static void *_p_wxFSFileTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) ((wxFSFile *) x));
33009 }
33010 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) ((wxFindReplaceData *) x));
33012 }
33013 static void *_p_wxPySizerTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
33015 }
33016 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33018 }
33019 static void *_p_wxColourDataTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) ((wxColourData *) x));
33021 }
33022 static void *_p_wxPyEventTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
33024 }
33025 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
33027 }
33028 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
33030 }
33031 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33033 }
33034 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33036 }
33037 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33039 }
33040 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33042 }
33043 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33045 }
33046 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33048 }
33049 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33051 }
33052 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33054 }
33055 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33057 }
33058 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33060 }
33061 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33063 }
33064 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) ((wxPrinter *) x));
33066 }
33067 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) ((wxMenuItem *) x));
33069 }
33070 static void *_p_wxDateEventTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33072 }
33073 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33075 }
33076 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33077 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33078 }
33079 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33080 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33081 }
33082 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33084 }
33085 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33087 }
33088 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33090 }
33091 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33093 }
33094 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33096 }
33097 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33099 }
33100 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33102 }
33103 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33105 }
33106 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33108 }
33109 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33111 }
33112 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33114 }
33115 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33117 }
33118 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33120 }
33121 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33123 }
33124 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33126 }
33127 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) ((wxImageHandler *) x));
33129 }
33130 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33132 }
33133 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33135 }
33136 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33138 }
33139 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33140 return (void *)((wxObject *) ((wxEvtHandler *) x));
33141 }
33142 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33143 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33144 }
33145 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33146 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33147 }
33148 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33150 }
33151 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33153 }
33154 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33156 }
33157 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33158 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33159 }
33160 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33161 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33162 }
33163 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33165 }
33166 static void *_p_wxImageTo_p_wxObject(void *x) {
33167 return (void *)((wxObject *) ((wxImage *) x));
33168 }
33169 static void *_p_wxFrameTo_p_wxObject(void *x) {
33170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33171 }
33172 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33173 return (void *)((wxObject *) ((wxPyPrintout *) x));
33174 }
33175 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33176 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33177 }
33178 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33179 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33180 }
33181 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33183 }
33184 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33186 }
33187 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33189 }
33190 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33191 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33192 }
33193 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33194 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33195 }
33196 static void *_p_wxWindowTo_p_wxObject(void *x) {
33197 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33198 }
33199 static void *_p_wxMenuTo_p_wxObject(void *x) {
33200 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33201 }
33202 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33204 }
33205 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33207 }
33208 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33210 }
33211 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33213 }
33214 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33216 }
33217 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33219 }
33220 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33222 }
33223 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33225 }
33226 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33228 }
33229 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33231 }
33232 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33234 }
33235 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33237 }
33238 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33240 }
33241 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33243 }
33244 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33245 return (void *)((wxObject *) ((wxPrintPreview *) x));
33246 }
33247 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33248 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33249 }
33250 static void *_p_wxPanelTo_p_wxObject(void *x) {
33251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33252 }
33253 static void *_p_wxDialogTo_p_wxObject(void *x) {
33254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33255 }
33256 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33258 }
33259 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33261 }
33262 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33264 }
33265 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33266 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33267 }
33268 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33269 return (void *)((wxObject *) ((wxPrintDialog *) x));
33270 }
33271 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33272 return (void *)((wxObject *) ((wxFileSystem *) x));
33273 }
33274 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33275 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33276 }
33277 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33278 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33279 }
33280 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33281 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33282 }
33283 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33284 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33285 }
33286 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33287 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33288 }
33289 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33290 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33291 }
33292 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33293 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33294 }
33295 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33296 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33297 }
33298 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33300 }
33301 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33303 }
33304 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33305 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33306 }
33307 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33308 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33309 }
33310 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33312 }
33313 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33315 }
33316 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33317 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33318 }
33319 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33320 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33321 }
33322 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33323 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33324 }
33325 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33326 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33327 }
33328 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33329 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33330 }
33331 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33332 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33333 }
33334 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33335 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33336 }
33337 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33338 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33339 }
33340 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33341 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33342 }
33343 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33344 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33345 }
33346 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33347 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33348 }
33349 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33350 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33351 }
33352 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33353 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33354 }
33355 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33356 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33357 }
33358 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33359 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33360 }
33361 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33362 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33363 }
33364 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33365 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33366 }
33367 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33368 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33369 }
33370 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33371 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33372 }
33373 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33374 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33375 }
33376 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33377 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33378 }
33379 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33380 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33381 }
33382 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33383 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33384 }
33385 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33386 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33387 }
33388 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33389 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33390 }
33391 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33392 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33393 }
33394 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33395 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33396 }
33397 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33398 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33399 }
33400 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33401 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33402 }
33403 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33404 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33405 }
33406 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33407 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33408 }
33409 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33410 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33411 }
33412 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33413 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33414 }
33415 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33416 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33417 }
33418 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33419 return (void *)((wxWindow *) ((wxMenuBar *) x));
33420 }
33421 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33422 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33423 }
33424 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33425 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33426 }
33427 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33428 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33429 }
33430 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33431 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33432 }
33433 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33434 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33435 }
33436 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33438 }
33439 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33441 }
33442 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33444 }
33445 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33446 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33447 }
33448 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33449 return (void *)((wxWindow *) ((wxPanel *) x));
33450 }
33451 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33452 return (void *)((wxWindow *) ((wxStatusBar *) x));
33453 }
33454 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33455 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33456 }
33457 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33458 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33459 }
33460 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33461 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33462 }
33463 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33464 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33465 }
33466 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33467 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33468 }
33469 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33470 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33471 }
33472 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33473 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33474 }
33475 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33476 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33477 }
33478 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33479 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33480 }
33481 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33482 return (void *)((wxWindow *) ((wxSashWindow *) x));
33483 }
33484 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33485 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33486 }
33487 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33488 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33489 }
33490 static void *_p_wxControlTo_p_wxWindow(void *x) {
33491 return (void *)((wxWindow *) ((wxControl *) x));
33492 }
33493 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33494 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33495 }
33496 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33497 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33498 }
33499 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33500 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33501 }
33502 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33503 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33504 }
33505 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33506 return (void *)((wxWindow *) ((wxPyWindow *) x));
33507 }
33508 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33509 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33510 }
33511 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33512 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33513 }
33514 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33515 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33516 }
33517 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33518 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33519 }
33520 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33521 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33522 }
33523 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33524 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33525 }
33526 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33527 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33528 }
33529 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33531 }
33532 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33534 }
33535 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33537 }
33538 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33539 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33540 }
33541 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33543 }
33544 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33545 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33546 }
33547 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33548 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33549 }
33550 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33551 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33552 }
33553 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33554 return (void *)((wxDialog *) ((wxColourDialog *) x));
33555 }
33556 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33557 return (void *)((wxDialog *) ((wxDirDialog *) x));
33558 }
33559 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33560 return (void *)((wxDialog *) ((wxFontDialog *) x));
33561 }
33562 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33563 return (void *)((wxDialog *) ((wxFileDialog *) x));
33564 }
33565 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33566 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33567 }
33568 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33569 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33570 }
33571 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33572 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33573 }
33574 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33575 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33576 }
33577 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33578 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33579 }
33580 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33581 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33582 }
33583 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33584 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33585 }
33586 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33587 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33588 }
33589 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33590 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33591 }
33592 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33593 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33594 }
33595 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33596 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33597 }
33598 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33599 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33600 }
33601 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33602 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33603 }
33604 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33605 return (void *)((wxPanel *) ((wxPyPanel *) x));
33606 }
33607 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33608 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33609 }
33610 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33611 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33612 }
33613 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33614 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33615 }
33616 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33617 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33618 }
33619 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33620 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33621 }
33622 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33623 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33624 }
33625 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33626 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33627 }
33628 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33629 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33630 }
33631 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33632 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33633 }
33634 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33635 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33636 }
33637 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33638 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33639 }
33640 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33641 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33642 }
33643 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33644 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33645 }
33646 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33647 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33648 }
33649 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33650 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33651 }
33652 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33653 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33654 }
33655 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33656 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33657 }
33658 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33659 return (void *)((wxValidator *) ((wxPyValidator *) x));
33660 }
33661 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33662 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33663 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};
33664 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33665 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33666 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33667 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33668 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33669 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33677 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33678 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33679 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33680 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33681 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33682 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33683 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33684 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33685 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33691 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33692 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33693 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33694 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33695 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33696 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33697 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33698 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33699 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33717 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33719 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33722 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33723 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33724 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33725 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33727 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33728 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33729 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33730 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33731 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33747 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33748 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33749 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33750 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33751 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33752 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33753 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33754 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33755 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33756 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33757 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33758 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33759 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33769 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33770 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33771 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33772 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33773 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33776 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33777 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33778 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33779 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33780 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33781 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33782 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33783 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33784 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33785 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33786 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33787 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33788 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33789 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33790 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33791 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33792 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33793 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33794 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33795 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33796 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33797 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33798 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33799 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33801 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33802 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33830
33831 static swig_type_info *swig_type_initial[] = {
33832 &_swigt__p_bool,
33833 &_swigt__p_char,
33834 &_swigt__p_form_ops_t,
33835 &_swigt__p_int,
33836 &_swigt__p_unsigned_char,
33837 &_swigt__p_unsigned_int,
33838 &_swigt__p_unsigned_long,
33839 &_swigt__p_wxANIHandler,
33840 &_swigt__p_wxAcceleratorTable,
33841 &_swigt__p_wxActivateEvent,
33842 &_swigt__p_wxArrayInt,
33843 &_swigt__p_wxArrayString,
33844 &_swigt__p_wxBMPHandler,
33845 &_swigt__p_wxBitmap,
33846 &_swigt__p_wxBoxSizer,
33847 &_swigt__p_wxCURHandler,
33848 &_swigt__p_wxCalculateLayoutEvent,
33849 &_swigt__p_wxChildFocusEvent,
33850 &_swigt__p_wxClipboardTextEvent,
33851 &_swigt__p_wxCloseEvent,
33852 &_swigt__p_wxColour,
33853 &_swigt__p_wxColourData,
33854 &_swigt__p_wxColourDialog,
33855 &_swigt__p_wxCommandEvent,
33856 &_swigt__p_wxContextMenuEvent,
33857 &_swigt__p_wxControl,
33858 &_swigt__p_wxControlWithItems,
33859 &_swigt__p_wxDC,
33860 &_swigt__p_wxDateEvent,
33861 &_swigt__p_wxDialog,
33862 &_swigt__p_wxDirDialog,
33863 &_swigt__p_wxDisplayChangedEvent,
33864 &_swigt__p_wxDropFilesEvent,
33865 &_swigt__p_wxDuplexMode,
33866 &_swigt__p_wxEraseEvent,
33867 &_swigt__p_wxEvent,
33868 &_swigt__p_wxEvtHandler,
33869 &_swigt__p_wxFSFile,
33870 &_swigt__p_wxFileDialog,
33871 &_swigt__p_wxFileSystem,
33872 &_swigt__p_wxFindDialogEvent,
33873 &_swigt__p_wxFindReplaceData,
33874 &_swigt__p_wxFindReplaceDialog,
33875 &_swigt__p_wxFlexGridSizer,
33876 &_swigt__p_wxFocusEvent,
33877 &_swigt__p_wxFont,
33878 &_swigt__p_wxFontData,
33879 &_swigt__p_wxFontDialog,
33880 &_swigt__p_wxFrame,
33881 &_swigt__p_wxGBSizerItem,
33882 &_swigt__p_wxGIFHandler,
33883 &_swigt__p_wxGridBagSizer,
33884 &_swigt__p_wxGridSizer,
33885 &_swigt__p_wxHtmlLinkInfo,
33886 &_swigt__p_wxICOHandler,
33887 &_swigt__p_wxIcon,
33888 &_swigt__p_wxIconBundle,
33889 &_swigt__p_wxIconizeEvent,
33890 &_swigt__p_wxIdleEvent,
33891 &_swigt__p_wxImage,
33892 &_swigt__p_wxImageHandler,
33893 &_swigt__p_wxIndividualLayoutConstraint,
33894 &_swigt__p_wxInitDialogEvent,
33895 &_swigt__p_wxItemContainer,
33896 &_swigt__p_wxJPEGHandler,
33897 &_swigt__p_wxKeyEvent,
33898 &_swigt__p_wxLayoutAlgorithm,
33899 &_swigt__p_wxLayoutConstraints,
33900 &_swigt__p_wxMDIChildFrame,
33901 &_swigt__p_wxMDIClientWindow,
33902 &_swigt__p_wxMDIParentFrame,
33903 &_swigt__p_wxMaximizeEvent,
33904 &_swigt__p_wxMenu,
33905 &_swigt__p_wxMenuBar,
33906 &_swigt__p_wxMenuEvent,
33907 &_swigt__p_wxMenuItem,
33908 &_swigt__p_wxMessageDialog,
33909 &_swigt__p_wxMiniFrame,
33910 &_swigt__p_wxMouseCaptureChangedEvent,
33911 &_swigt__p_wxMouseCaptureLostEvent,
33912 &_swigt__p_wxMouseEvent,
33913 &_swigt__p_wxMoveEvent,
33914 &_swigt__p_wxMultiChoiceDialog,
33915 &_swigt__p_wxNavigationKeyEvent,
33916 &_swigt__p_wxNcPaintEvent,
33917 &_swigt__p_wxNotifyEvent,
33918 &_swigt__p_wxNumberEntryDialog,
33919 &_swigt__p_wxObject,
33920 &_swigt__p_wxPCXHandler,
33921 &_swigt__p_wxPNGHandler,
33922 &_swigt__p_wxPNMHandler,
33923 &_swigt__p_wxPageSetupDialog,
33924 &_swigt__p_wxPageSetupDialogData,
33925 &_swigt__p_wxPaintEvent,
33926 &_swigt__p_wxPaletteChangedEvent,
33927 &_swigt__p_wxPanel,
33928 &_swigt__p_wxPaperSize,
33929 &_swigt__p_wxPasswordEntryDialog,
33930 &_swigt__p_wxPoint,
33931 &_swigt__p_wxPopupWindow,
33932 &_swigt__p_wxPreviewCanvas,
33933 &_swigt__p_wxPreviewControlBar,
33934 &_swigt__p_wxPreviewFrame,
33935 &_swigt__p_wxPrintData,
33936 &_swigt__p_wxPrintDialog,
33937 &_swigt__p_wxPrintDialogData,
33938 &_swigt__p_wxPrintPreview,
33939 &_swigt__p_wxPrinter,
33940 &_swigt__p_wxProgressDialog,
33941 &_swigt__p_wxPyApp,
33942 &_swigt__p_wxPyCommandEvent,
33943 &_swigt__p_wxPyEvent,
33944 &_swigt__p_wxPyHtmlListBox,
33945 &_swigt__p_wxPyImageHandler,
33946 &_swigt__p_wxPyPanel,
33947 &_swigt__p_wxPyPopupTransientWindow,
33948 &_swigt__p_wxPyPreviewControlBar,
33949 &_swigt__p_wxPyPreviewFrame,
33950 &_swigt__p_wxPyPrintPreview,
33951 &_swigt__p_wxPyPrintout,
33952 &_swigt__p_wxPyScrolledWindow,
33953 &_swigt__p_wxPySizer,
33954 &_swigt__p_wxPyTaskBarIcon,
33955 &_swigt__p_wxPyVListBox,
33956 &_swigt__p_wxPyVScrolledWindow,
33957 &_swigt__p_wxPyValidator,
33958 &_swigt__p_wxPyWindow,
33959 &_swigt__p_wxQueryLayoutInfoEvent,
33960 &_swigt__p_wxQueryNewPaletteEvent,
33961 &_swigt__p_wxRect,
33962 &_swigt__p_wxRegion,
33963 &_swigt__p_wxSashEvent,
33964 &_swigt__p_wxSashLayoutWindow,
33965 &_swigt__p_wxSashWindow,
33966 &_swigt__p_wxScrollEvent,
33967 &_swigt__p_wxScrollWinEvent,
33968 &_swigt__p_wxScrolledWindow,
33969 &_swigt__p_wxSetCursorEvent,
33970 &_swigt__p_wxShowEvent,
33971 &_swigt__p_wxSimpleHtmlListBox,
33972 &_swigt__p_wxSingleChoiceDialog,
33973 &_swigt__p_wxSize,
33974 &_swigt__p_wxSizeEvent,
33975 &_swigt__p_wxSizer,
33976 &_swigt__p_wxSizerItem,
33977 &_swigt__p_wxSplashScreen,
33978 &_swigt__p_wxSplashScreenWindow,
33979 &_swigt__p_wxSplitterEvent,
33980 &_swigt__p_wxSplitterWindow,
33981 &_swigt__p_wxStaticBoxSizer,
33982 &_swigt__p_wxStatusBar,
33983 &_swigt__p_wxStdDialogButtonSizer,
33984 &_swigt__p_wxString,
33985 &_swigt__p_wxSysColourChangedEvent,
33986 &_swigt__p_wxTGAHandler,
33987 &_swigt__p_wxTIFFHandler,
33988 &_swigt__p_wxTaskBarIcon,
33989 &_swigt__p_wxTaskBarIconEvent,
33990 &_swigt__p_wxTextEntryDialog,
33991 &_swigt__p_wxTipWindow,
33992 &_swigt__p_wxToolBar,
33993 &_swigt__p_wxTopLevelWindow,
33994 &_swigt__p_wxUpdateUIEvent,
33995 &_swigt__p_wxValidator,
33996 &_swigt__p_wxVisualAttributes,
33997 &_swigt__p_wxWindow,
33998 &_swigt__p_wxWindowCreateEvent,
33999 &_swigt__p_wxWindowDestroyEvent,
34000 &_swigt__p_wxXPMHandler,
34001 };
34002
34003 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
34004 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34005 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34013 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34026 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}};
34027 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34028 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}};
34029 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34038 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
34039 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34057 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}};
34058 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34059 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34060 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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}};
34063 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34068 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34069 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34070 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34071 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}};
34072 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
34073 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34074 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
34075 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}};
34076 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34077 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34080 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34081 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34083 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34084 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34085 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}};
34086 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34087 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34088 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
34117 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
34119 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}};
34120 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34123 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}};
34124 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34125 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}};
34126 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}};
34127 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34128 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34129 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34130 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}};
34131 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34132 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34133 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}};
34134 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34135 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}};
34136 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34137 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34138 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34139 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34142 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}};
34143 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}};
34144 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34148 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34150 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}};
34151 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34152 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}};
34153 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34164 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34165 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}};
34166 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34168 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}};
34169 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}};
34170 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34171 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}};
34172
34173 static swig_cast_info *swig_cast_initial[] = {
34174 _swigc__p_bool,
34175 _swigc__p_char,
34176 _swigc__p_form_ops_t,
34177 _swigc__p_int,
34178 _swigc__p_unsigned_char,
34179 _swigc__p_unsigned_int,
34180 _swigc__p_unsigned_long,
34181 _swigc__p_wxANIHandler,
34182 _swigc__p_wxAcceleratorTable,
34183 _swigc__p_wxActivateEvent,
34184 _swigc__p_wxArrayInt,
34185 _swigc__p_wxArrayString,
34186 _swigc__p_wxBMPHandler,
34187 _swigc__p_wxBitmap,
34188 _swigc__p_wxBoxSizer,
34189 _swigc__p_wxCURHandler,
34190 _swigc__p_wxCalculateLayoutEvent,
34191 _swigc__p_wxChildFocusEvent,
34192 _swigc__p_wxClipboardTextEvent,
34193 _swigc__p_wxCloseEvent,
34194 _swigc__p_wxColour,
34195 _swigc__p_wxColourData,
34196 _swigc__p_wxColourDialog,
34197 _swigc__p_wxCommandEvent,
34198 _swigc__p_wxContextMenuEvent,
34199 _swigc__p_wxControl,
34200 _swigc__p_wxControlWithItems,
34201 _swigc__p_wxDC,
34202 _swigc__p_wxDateEvent,
34203 _swigc__p_wxDialog,
34204 _swigc__p_wxDirDialog,
34205 _swigc__p_wxDisplayChangedEvent,
34206 _swigc__p_wxDropFilesEvent,
34207 _swigc__p_wxDuplexMode,
34208 _swigc__p_wxEraseEvent,
34209 _swigc__p_wxEvent,
34210 _swigc__p_wxEvtHandler,
34211 _swigc__p_wxFSFile,
34212 _swigc__p_wxFileDialog,
34213 _swigc__p_wxFileSystem,
34214 _swigc__p_wxFindDialogEvent,
34215 _swigc__p_wxFindReplaceData,
34216 _swigc__p_wxFindReplaceDialog,
34217 _swigc__p_wxFlexGridSizer,
34218 _swigc__p_wxFocusEvent,
34219 _swigc__p_wxFont,
34220 _swigc__p_wxFontData,
34221 _swigc__p_wxFontDialog,
34222 _swigc__p_wxFrame,
34223 _swigc__p_wxGBSizerItem,
34224 _swigc__p_wxGIFHandler,
34225 _swigc__p_wxGridBagSizer,
34226 _swigc__p_wxGridSizer,
34227 _swigc__p_wxHtmlLinkInfo,
34228 _swigc__p_wxICOHandler,
34229 _swigc__p_wxIcon,
34230 _swigc__p_wxIconBundle,
34231 _swigc__p_wxIconizeEvent,
34232 _swigc__p_wxIdleEvent,
34233 _swigc__p_wxImage,
34234 _swigc__p_wxImageHandler,
34235 _swigc__p_wxIndividualLayoutConstraint,
34236 _swigc__p_wxInitDialogEvent,
34237 _swigc__p_wxItemContainer,
34238 _swigc__p_wxJPEGHandler,
34239 _swigc__p_wxKeyEvent,
34240 _swigc__p_wxLayoutAlgorithm,
34241 _swigc__p_wxLayoutConstraints,
34242 _swigc__p_wxMDIChildFrame,
34243 _swigc__p_wxMDIClientWindow,
34244 _swigc__p_wxMDIParentFrame,
34245 _swigc__p_wxMaximizeEvent,
34246 _swigc__p_wxMenu,
34247 _swigc__p_wxMenuBar,
34248 _swigc__p_wxMenuEvent,
34249 _swigc__p_wxMenuItem,
34250 _swigc__p_wxMessageDialog,
34251 _swigc__p_wxMiniFrame,
34252 _swigc__p_wxMouseCaptureChangedEvent,
34253 _swigc__p_wxMouseCaptureLostEvent,
34254 _swigc__p_wxMouseEvent,
34255 _swigc__p_wxMoveEvent,
34256 _swigc__p_wxMultiChoiceDialog,
34257 _swigc__p_wxNavigationKeyEvent,
34258 _swigc__p_wxNcPaintEvent,
34259 _swigc__p_wxNotifyEvent,
34260 _swigc__p_wxNumberEntryDialog,
34261 _swigc__p_wxObject,
34262 _swigc__p_wxPCXHandler,
34263 _swigc__p_wxPNGHandler,
34264 _swigc__p_wxPNMHandler,
34265 _swigc__p_wxPageSetupDialog,
34266 _swigc__p_wxPageSetupDialogData,
34267 _swigc__p_wxPaintEvent,
34268 _swigc__p_wxPaletteChangedEvent,
34269 _swigc__p_wxPanel,
34270 _swigc__p_wxPaperSize,
34271 _swigc__p_wxPasswordEntryDialog,
34272 _swigc__p_wxPoint,
34273 _swigc__p_wxPopupWindow,
34274 _swigc__p_wxPreviewCanvas,
34275 _swigc__p_wxPreviewControlBar,
34276 _swigc__p_wxPreviewFrame,
34277 _swigc__p_wxPrintData,
34278 _swigc__p_wxPrintDialog,
34279 _swigc__p_wxPrintDialogData,
34280 _swigc__p_wxPrintPreview,
34281 _swigc__p_wxPrinter,
34282 _swigc__p_wxProgressDialog,
34283 _swigc__p_wxPyApp,
34284 _swigc__p_wxPyCommandEvent,
34285 _swigc__p_wxPyEvent,
34286 _swigc__p_wxPyHtmlListBox,
34287 _swigc__p_wxPyImageHandler,
34288 _swigc__p_wxPyPanel,
34289 _swigc__p_wxPyPopupTransientWindow,
34290 _swigc__p_wxPyPreviewControlBar,
34291 _swigc__p_wxPyPreviewFrame,
34292 _swigc__p_wxPyPrintPreview,
34293 _swigc__p_wxPyPrintout,
34294 _swigc__p_wxPyScrolledWindow,
34295 _swigc__p_wxPySizer,
34296 _swigc__p_wxPyTaskBarIcon,
34297 _swigc__p_wxPyVListBox,
34298 _swigc__p_wxPyVScrolledWindow,
34299 _swigc__p_wxPyValidator,
34300 _swigc__p_wxPyWindow,
34301 _swigc__p_wxQueryLayoutInfoEvent,
34302 _swigc__p_wxQueryNewPaletteEvent,
34303 _swigc__p_wxRect,
34304 _swigc__p_wxRegion,
34305 _swigc__p_wxSashEvent,
34306 _swigc__p_wxSashLayoutWindow,
34307 _swigc__p_wxSashWindow,
34308 _swigc__p_wxScrollEvent,
34309 _swigc__p_wxScrollWinEvent,
34310 _swigc__p_wxScrolledWindow,
34311 _swigc__p_wxSetCursorEvent,
34312 _swigc__p_wxShowEvent,
34313 _swigc__p_wxSimpleHtmlListBox,
34314 _swigc__p_wxSingleChoiceDialog,
34315 _swigc__p_wxSize,
34316 _swigc__p_wxSizeEvent,
34317 _swigc__p_wxSizer,
34318 _swigc__p_wxSizerItem,
34319 _swigc__p_wxSplashScreen,
34320 _swigc__p_wxSplashScreenWindow,
34321 _swigc__p_wxSplitterEvent,
34322 _swigc__p_wxSplitterWindow,
34323 _swigc__p_wxStaticBoxSizer,
34324 _swigc__p_wxStatusBar,
34325 _swigc__p_wxStdDialogButtonSizer,
34326 _swigc__p_wxString,
34327 _swigc__p_wxSysColourChangedEvent,
34328 _swigc__p_wxTGAHandler,
34329 _swigc__p_wxTIFFHandler,
34330 _swigc__p_wxTaskBarIcon,
34331 _swigc__p_wxTaskBarIconEvent,
34332 _swigc__p_wxTextEntryDialog,
34333 _swigc__p_wxTipWindow,
34334 _swigc__p_wxToolBar,
34335 _swigc__p_wxTopLevelWindow,
34336 _swigc__p_wxUpdateUIEvent,
34337 _swigc__p_wxValidator,
34338 _swigc__p_wxVisualAttributes,
34339 _swigc__p_wxWindow,
34340 _swigc__p_wxWindowCreateEvent,
34341 _swigc__p_wxWindowDestroyEvent,
34342 _swigc__p_wxXPMHandler,
34343 };
34344
34345
34346 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34347
34348 static swig_const_info swig_const_table[] = {
34349 {0, 0, 0, 0.0, 0, 0}};
34350
34351 #ifdef __cplusplus
34352 }
34353 #endif
34354 /* -----------------------------------------------------------------------------
34355 * Type initialization:
34356 * This problem is tough by the requirement that no dynamic
34357 * memory is used. Also, since swig_type_info structures store pointers to
34358 * swig_cast_info structures and swig_cast_info structures store pointers back
34359 * to swig_type_info structures, we need some lookup code at initialization.
34360 * The idea is that swig generates all the structures that are needed.
34361 * The runtime then collects these partially filled structures.
34362 * The SWIG_InitializeModule function takes these initial arrays out of
34363 * swig_module, and does all the lookup, filling in the swig_module.types
34364 * array with the correct data and linking the correct swig_cast_info
34365 * structures together.
34366 *
34367 * The generated swig_type_info structures are assigned staticly to an initial
34368 * array. We just loop though that array, and handle each type individually.
34369 * First we lookup if this type has been already loaded, and if so, use the
34370 * loaded structure instead of the generated one. Then we have to fill in the
34371 * cast linked list. The cast data is initially stored in something like a
34372 * two-dimensional array. Each row corresponds to a type (there are the same
34373 * number of rows as there are in the swig_type_initial array). Each entry in
34374 * a column is one of the swig_cast_info structures for that type.
34375 * The cast_initial array is actually an array of arrays, because each row has
34376 * a variable number of columns. So to actually build the cast linked list,
34377 * we find the array of casts associated with the type, and loop through it
34378 * adding the casts to the list. The one last trick we need to do is making
34379 * sure the type pointer in the swig_cast_info struct is correct.
34380 *
34381 * First off, we lookup the cast->type name to see if it is already loaded.
34382 * There are three cases to handle:
34383 * 1) If the cast->type has already been loaded AND the type we are adding
34384 * casting info to has not been loaded (it is in this module), THEN we
34385 * replace the cast->type pointer with the type pointer that has already
34386 * been loaded.
34387 * 2) If BOTH types (the one we are adding casting info to, and the
34388 * cast->type) are loaded, THEN the cast info has already been loaded by
34389 * the previous module so we just ignore it.
34390 * 3) Finally, if cast->type has not already been loaded, then we add that
34391 * swig_cast_info to the linked list (because the cast->type) pointer will
34392 * be correct.
34393 * ----------------------------------------------------------------------------- */
34394
34395 #ifdef __cplusplus
34396 extern "C" {
34397 #if 0
34398 } /* c-mode */
34399 #endif
34400 #endif
34401
34402 #if 0
34403 #define SWIGRUNTIME_DEBUG
34404 #endif
34405
34406 SWIGRUNTIME void
34407 SWIG_InitializeModule(void *clientdata) {
34408 size_t i;
34409 swig_module_info *module_head;
34410 static int init_run = 0;
34411
34412 clientdata = clientdata;
34413
34414 if (init_run) return;
34415 init_run = 1;
34416
34417 /* Initialize the swig_module */
34418 swig_module.type_initial = swig_type_initial;
34419 swig_module.cast_initial = swig_cast_initial;
34420
34421 /* Try and load any already created modules */
34422 module_head = SWIG_GetModule(clientdata);
34423 if (module_head) {
34424 swig_module.next = module_head->next;
34425 module_head->next = &swig_module;
34426 } else {
34427 /* This is the first module loaded */
34428 swig_module.next = &swig_module;
34429 SWIG_SetModule(clientdata, &swig_module);
34430 }
34431
34432 /* Now work on filling in swig_module.types */
34433 #ifdef SWIGRUNTIME_DEBUG
34434 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34435 #endif
34436 for (i = 0; i < swig_module.size; ++i) {
34437 swig_type_info *type = 0;
34438 swig_type_info *ret;
34439 swig_cast_info *cast;
34440
34441 #ifdef SWIGRUNTIME_DEBUG
34442 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34443 #endif
34444
34445 /* if there is another module already loaded */
34446 if (swig_module.next != &swig_module) {
34447 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34448 }
34449 if (type) {
34450 /* Overwrite clientdata field */
34451 #ifdef SWIGRUNTIME_DEBUG
34452 printf("SWIG_InitializeModule: found type %s\n", type->name);
34453 #endif
34454 if (swig_module.type_initial[i]->clientdata) {
34455 type->clientdata = swig_module.type_initial[i]->clientdata;
34456 #ifdef SWIGRUNTIME_DEBUG
34457 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34458 #endif
34459 }
34460 } else {
34461 type = swig_module.type_initial[i];
34462 }
34463
34464 /* Insert casting types */
34465 cast = swig_module.cast_initial[i];
34466 while (cast->type) {
34467 /* Don't need to add information already in the list */
34468 ret = 0;
34469 #ifdef SWIGRUNTIME_DEBUG
34470 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34471 #endif
34472 if (swig_module.next != &swig_module) {
34473 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34474 #ifdef SWIGRUNTIME_DEBUG
34475 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34476 #endif
34477 }
34478 if (ret) {
34479 if (type == swig_module.type_initial[i]) {
34480 #ifdef SWIGRUNTIME_DEBUG
34481 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34482 #endif
34483 cast->type = ret;
34484 ret = 0;
34485 } else {
34486 /* Check for casting already in the list */
34487 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34488 #ifdef SWIGRUNTIME_DEBUG
34489 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34490 #endif
34491 if (!ocast) ret = 0;
34492 }
34493 }
34494
34495 if (!ret) {
34496 #ifdef SWIGRUNTIME_DEBUG
34497 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34498 #endif
34499 if (type->cast) {
34500 type->cast->prev = cast;
34501 cast->next = type->cast;
34502 }
34503 type->cast = cast;
34504 }
34505 cast++;
34506 }
34507 /* Set entry in modules->types array equal to the type */
34508 swig_module.types[i] = type;
34509 }
34510 swig_module.types[i] = 0;
34511
34512 #ifdef SWIGRUNTIME_DEBUG
34513 printf("**** SWIG_InitializeModule: Cast List ******\n");
34514 for (i = 0; i < swig_module.size; ++i) {
34515 int j = 0;
34516 swig_cast_info *cast = swig_module.cast_initial[i];
34517 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34518 while (cast->type) {
34519 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34520 cast++;
34521 ++j;
34522 }
34523 printf("---- Total casts: %d\n",j);
34524 }
34525 printf("**** SWIG_InitializeModule: Cast List ******\n");
34526 #endif
34527 }
34528
34529 /* This function will propagate the clientdata field of type to
34530 * any new swig_type_info structures that have been added into the list
34531 * of equivalent types. It is like calling
34532 * SWIG_TypeClientData(type, clientdata) a second time.
34533 */
34534 SWIGRUNTIME void
34535 SWIG_PropagateClientData(void) {
34536 size_t i;
34537 swig_cast_info *equiv;
34538 static int init_run = 0;
34539
34540 if (init_run) return;
34541 init_run = 1;
34542
34543 for (i = 0; i < swig_module.size; i++) {
34544 if (swig_module.types[i]->clientdata) {
34545 equiv = swig_module.types[i]->cast;
34546 while (equiv) {
34547 if (!equiv->converter) {
34548 if (equiv->type && !equiv->type->clientdata)
34549 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34550 }
34551 equiv = equiv->next;
34552 }
34553 }
34554 }
34555 }
34556
34557 #ifdef __cplusplus
34558 #if 0
34559 {
34560 /* c-mode */
34561 #endif
34562 }
34563 #endif
34564
34565
34566
34567 #ifdef __cplusplus
34568 extern "C" {
34569 #endif
34570
34571 /* Python-specific SWIG API */
34572 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34573 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34574 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34575
34576 /* -----------------------------------------------------------------------------
34577 * global variable support code.
34578 * ----------------------------------------------------------------------------- */
34579
34580 typedef struct swig_globalvar {
34581 char *name; /* Name of global variable */
34582 PyObject *(*get_attr)(void); /* Return the current value */
34583 int (*set_attr)(PyObject *); /* Set the value */
34584 struct swig_globalvar *next;
34585 } swig_globalvar;
34586
34587 typedef struct swig_varlinkobject {
34588 PyObject_HEAD
34589 swig_globalvar *vars;
34590 } swig_varlinkobject;
34591
34592 SWIGINTERN PyObject *
34593 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34594 return PyString_FromString("<Swig global variables>");
34595 }
34596
34597 SWIGINTERN PyObject *
34598 swig_varlink_str(swig_varlinkobject *v) {
34599 PyObject *str = PyString_FromString("(");
34600 swig_globalvar *var;
34601 for (var = v->vars; var; var=var->next) {
34602 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34603 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34604 }
34605 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34606 return str;
34607 }
34608
34609 SWIGINTERN int
34610 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34611 PyObject *str = swig_varlink_str(v);
34612 fprintf(fp,"Swig global variables ");
34613 fprintf(fp,"%s\n", PyString_AsString(str));
34614 Py_DECREF(str);
34615 return 0;
34616 }
34617
34618 SWIGINTERN void
34619 swig_varlink_dealloc(swig_varlinkobject *v) {
34620 swig_globalvar *var = v->vars;
34621 while (var) {
34622 swig_globalvar *n = var->next;
34623 free(var->name);
34624 free(var);
34625 var = n;
34626 }
34627 }
34628
34629 SWIGINTERN PyObject *
34630 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34631 PyObject *res = NULL;
34632 swig_globalvar *var = v->vars;
34633 while (var) {
34634 if (strcmp(var->name,n) == 0) {
34635 res = (*var->get_attr)();
34636 break;
34637 }
34638 var = var->next;
34639 }
34640 if (res == NULL && !PyErr_Occurred()) {
34641 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34642 }
34643 return res;
34644 }
34645
34646 SWIGINTERN int
34647 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34648 int res = 1;
34649 swig_globalvar *var = v->vars;
34650 while (var) {
34651 if (strcmp(var->name,n) == 0) {
34652 res = (*var->set_attr)(p);
34653 break;
34654 }
34655 var = var->next;
34656 }
34657 if (res == 1 && !PyErr_Occurred()) {
34658 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34659 }
34660 return res;
34661 }
34662
34663 SWIGINTERN PyTypeObject*
34664 swig_varlink_type(void) {
34665 static char varlink__doc__[] = "Swig var link object";
34666 static PyTypeObject varlink_type;
34667 static int type_init = 0;
34668 if (!type_init) {
34669 const PyTypeObject tmp
34670 = {
34671 PyObject_HEAD_INIT(NULL)
34672 0, /* Number of items in variable part (ob_size) */
34673 (char *)"swigvarlink", /* Type name (tp_name) */
34674 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34675 0, /* Itemsize (tp_itemsize) */
34676 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34677 (printfunc) swig_varlink_print, /* Print (tp_print) */
34678 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34679 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34680 0, /* tp_compare */
34681 (reprfunc) swig_varlink_repr, /* tp_repr */
34682 0, /* tp_as_number */
34683 0, /* tp_as_sequence */
34684 0, /* tp_as_mapping */
34685 0, /* tp_hash */
34686 0, /* tp_call */
34687 (reprfunc)swig_varlink_str, /* tp_str */
34688 0, /* tp_getattro */
34689 0, /* tp_setattro */
34690 0, /* tp_as_buffer */
34691 0, /* tp_flags */
34692 varlink__doc__, /* tp_doc */
34693 0, /* tp_traverse */
34694 0, /* tp_clear */
34695 0, /* tp_richcompare */
34696 0, /* tp_weaklistoffset */
34697 #if PY_VERSION_HEX >= 0x02020000
34698 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34699 #endif
34700 #if PY_VERSION_HEX >= 0x02030000
34701 0, /* tp_del */
34702 #endif
34703 #ifdef COUNT_ALLOCS
34704 0,0,0,0 /* tp_alloc -> tp_next */
34705 #endif
34706 };
34707 varlink_type = tmp;
34708 varlink_type.ob_type = &PyType_Type;
34709 type_init = 1;
34710 }
34711 return &varlink_type;
34712 }
34713
34714 /* Create a variable linking object for use later */
34715 SWIGINTERN PyObject *
34716 SWIG_Python_newvarlink(void) {
34717 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34718 if (result) {
34719 result->vars = 0;
34720 }
34721 return ((PyObject*) result);
34722 }
34723
34724 SWIGINTERN void
34725 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34726 swig_varlinkobject *v = (swig_varlinkobject *) p;
34727 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34728 if (gv) {
34729 size_t size = strlen(name)+1;
34730 gv->name = (char *)malloc(size);
34731 if (gv->name) {
34732 strncpy(gv->name,name,size);
34733 gv->get_attr = get_attr;
34734 gv->set_attr = set_attr;
34735 gv->next = v->vars;
34736 }
34737 }
34738 v->vars = gv;
34739 }
34740
34741 SWIGINTERN PyObject *
34742 SWIG_globals() {
34743 static PyObject *_SWIG_globals = 0;
34744 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34745 return _SWIG_globals;
34746 }
34747
34748 /* -----------------------------------------------------------------------------
34749 * constants/methods manipulation
34750 * ----------------------------------------------------------------------------- */
34751
34752 /* Install Constants */
34753 SWIGINTERN void
34754 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34755 PyObject *obj = 0;
34756 size_t i;
34757 for (i = 0; constants[i].type; ++i) {
34758 switch(constants[i].type) {
34759 case SWIG_PY_POINTER:
34760 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34761 break;
34762 case SWIG_PY_BINARY:
34763 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34764 break;
34765 default:
34766 obj = 0;
34767 break;
34768 }
34769 if (obj) {
34770 PyDict_SetItemString(d, constants[i].name, obj);
34771 Py_DECREF(obj);
34772 }
34773 }
34774 }
34775
34776 /* -----------------------------------------------------------------------------*/
34777 /* Fix SwigMethods to carry the callback ptrs when needed */
34778 /* -----------------------------------------------------------------------------*/
34779
34780 SWIGINTERN void
34781 SWIG_Python_FixMethods(PyMethodDef *methods,
34782 swig_const_info *const_table,
34783 swig_type_info **types,
34784 swig_type_info **types_initial) {
34785 size_t i;
34786 for (i = 0; methods[i].ml_name; ++i) {
34787 const char *c = methods[i].ml_doc;
34788 if (c && (c = strstr(c, "swig_ptr: "))) {
34789 int j;
34790 swig_const_info *ci = 0;
34791 const char *name = c + 10;
34792 for (j = 0; const_table[j].type; ++j) {
34793 if (strncmp(const_table[j].name, name,
34794 strlen(const_table[j].name)) == 0) {
34795 ci = &(const_table[j]);
34796 break;
34797 }
34798 }
34799 if (ci) {
34800 size_t shift = (ci->ptype) - types;
34801 swig_type_info *ty = types_initial[shift];
34802 size_t ldoc = (c - methods[i].ml_doc);
34803 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34804 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34805 if (ndoc) {
34806 char *buff = ndoc;
34807 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34808 if (ptr) {
34809 strncpy(buff, methods[i].ml_doc, ldoc);
34810 buff += ldoc;
34811 strncpy(buff, "swig_ptr: ", 10);
34812 buff += 10;
34813 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34814 methods[i].ml_doc = ndoc;
34815 }
34816 }
34817 }
34818 }
34819 }
34820 }
34821
34822 #ifdef __cplusplus
34823 }
34824 #endif
34825
34826 /* -----------------------------------------------------------------------------*
34827 * Partial Init method
34828 * -----------------------------------------------------------------------------*/
34829
34830 #ifdef __cplusplus
34831 extern "C"
34832 #endif
34833 SWIGEXPORT void SWIG_init(void) {
34834 PyObject *m, *d;
34835
34836 /* Fix SwigMethods to carry the callback ptrs when needed */
34837 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34838
34839 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34840 d = PyModule_GetDict(m);
34841
34842 SWIG_InitializeModule(0);
34843 SWIG_InstallConstants(d,swig_const_table);
34844
34845
34846 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34847 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34848 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34849 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34850 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34851 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34852 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34853 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34854 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34855 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34856 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34857 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34858 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34859 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34860 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34861 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34862 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34863 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34864 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34865 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34866 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34867 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34868 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34869 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34870 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34871 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34872 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34873 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34874 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34875 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34876 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34877 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34878 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34879 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34880 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34881 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34882 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34883 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34884 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34885 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34886 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34887 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34888 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34889 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34890 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34891 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34892 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34893 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34894 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34895 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34896 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34897 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34898 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34899 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34900 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34901 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34902 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34903 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34904 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34905 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34906 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34907 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34908 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34909 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34910 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34911 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34912 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34913 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34914 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34915 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34916 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34917 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34918 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34919 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34920 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34921 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34922 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34923 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34924 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34925 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34926 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34927 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34928 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34929 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34930 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34931 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34932 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34933 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34934 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34935 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34936 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34937 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34938 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34939 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34940 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34941 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34942 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34943 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34944 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34945 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34946 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34947 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34948 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34949 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34950 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34951 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34952 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
34953 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
34954 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
34955
34956 // Map renamed classes back to their common name for OOR
34957 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34958 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34959 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34960
34961 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34962 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34963 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34964 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34965 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34966 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34967 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34968 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34969 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34970 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34971 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34972 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34973 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34974 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34975 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34976 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34977 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34978 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34979 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34980 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34981 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34982 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34983 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34984 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34985 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34986 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34987 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34988 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34989 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34990 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34991 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34992 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34993 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34994 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34995 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34996 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34997 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34998 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34999 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
35000 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
35001 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
35002 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
35003 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
35004 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
35005 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
35006 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
35007 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
35008 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
35009 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
35010 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
35011 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
35012 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
35013 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
35014 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
35015 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35016 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35017 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35018 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35019 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35020 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35021 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35022 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35023 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35024 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
35025 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
35026 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
35027 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
35028 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
35029 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
35030 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
35031 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
35032 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
35033 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
35034 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
35035 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
35036 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
35037 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
35038 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
35039 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
35040 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
35041 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
35042 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
35043 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
35044 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
35045 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
35046 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
35047 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
35048 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
35049 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
35050 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
35051 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
35052 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
35053 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
35054 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
35055 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
35056 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
35057 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
35058 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
35059 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35060 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35061 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35062 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35063 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35064 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35065
35066 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35067
35068 }
35069