]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info *swig_types[161];
2623 static swig_module_info swig_module = {swig_types, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626
2627 /* -------- TYPES TABLE (END) -------- */
2628
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2632 # endif
2633 #endif
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2639 #endif
2640 #ifndef METH_O
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2642 #endif
2643
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2648
2649 #define SWIG_name "_windows_"
2650
2651 #define SWIGVERSION 0x010329
2652
2653
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2656
2657
2658 #include <stdexcept>
2659
2660
2661 namespace swig {
2662 class PyObject_ptr {
2663 protected:
2664 PyObject *_obj;
2665
2666 public:
2667 PyObject_ptr() :_obj(0)
2668 {
2669 }
2670
2671 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2672 {
2673 Py_XINCREF(_obj);
2674 }
2675
2676 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2677 {
2678 if (initial_ref) Py_XINCREF(_obj);
2679 }
2680
2681 PyObject_ptr & operator=(const PyObject_ptr& item)
2682 {
2683 Py_XINCREF(item._obj);
2684 Py_XDECREF(_obj);
2685 _obj = item._obj;
2686 return *this;
2687 }
2688
2689 ~PyObject_ptr()
2690 {
2691 Py_XDECREF(_obj);
2692 }
2693
2694 operator PyObject *() const
2695 {
2696 return _obj;
2697 }
2698
2699 PyObject *operator->() const
2700 {
2701 return _obj;
2702 }
2703 };
2704 }
2705
2706
2707 namespace swig {
2708 struct PyObject_var : PyObject_ptr {
2709 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2710
2711 PyObject_var & operator = (PyObject* obj)
2712 {
2713 Py_XDECREF(_obj);
2714 _obj = obj;
2715 return *this;
2716 }
2717 };
2718 }
2719
2720
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2723
2724
2725 static const wxString wxPyEmptyString(wxEmptyString);
2726 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2727
2728
2729
2730 #include <limits.h>
2731 #ifndef LLONG_MIN
2732 # define LLONG_MIN LONG_LONG_MIN
2733 #endif
2734 #ifndef LLONG_MAX
2735 # define LLONG_MAX LONG_LONG_MAX
2736 #endif
2737 #ifndef ULLONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2739 #endif
2740
2741
2742 SWIGINTERN int
2743 SWIG_AsVal_long (PyObject* obj, long* val)
2744 {
2745 if (PyNumber_Check(obj)) {
2746 if (val) *val = PyInt_AsLong(obj);
2747 return SWIG_OK;
2748 }
2749 return SWIG_TypeError;
2750 }
2751
2752
2753 SWIGINTERN int
2754 SWIG_AsVal_int (PyObject * obj, int *val)
2755 {
2756 long v;
2757 int res = SWIG_AsVal_long (obj, &v);
2758 if (SWIG_IsOK(res)) {
2759 if ((v < INT_MIN || v > INT_MAX)) {
2760 return SWIG_OverflowError;
2761 } else {
2762 if (val) *val = static_cast< int >(v);
2763 }
2764 }
2765 return res;
2766 }
2767
2768
2769 SWIGINTERN int
2770 SWIG_AsVal_bool (PyObject *obj, bool *val)
2771 {
2772 if (obj == Py_True) {
2773 if (val) *val = true;
2774 return SWIG_OK;
2775 } else if (obj == Py_False) {
2776 if (val) *val = false;
2777 return SWIG_OK;
2778 } else {
2779 long v = 0;
2780 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2781 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2782 return res;
2783 }
2784 }
2785
2786
2787 #define SWIG_From_long PyInt_FromLong
2788
2789
2790 SWIGINTERNINLINE PyObject *
2791 SWIG_From_int (int value)
2792 {
2793 return SWIG_From_long (value);
2794 }
2795
2796
2797 SWIGINTERN int
2798 SWIG_AsVal_double (PyObject *obj, double* val)
2799 {
2800 if (PyNumber_Check(obj)) {
2801 if (val) *val = PyFloat_AsDouble(obj);
2802 return SWIG_OK;
2803 }
2804 return SWIG_TypeError;
2805 }
2806
2807
2808 #define SWIG_From_double PyFloat_FromDouble
2809
2810 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2811 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2812 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2813 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2814 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2816
2817
2818 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2819 wxRect r;
2820 self->GetFieldRect(i, r);
2821 return r;
2822 }
2823 static const wxString wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2826
2827 #include <wx/popupwin.h>
2828
2829
2830 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2831 {
2832 public:
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2835 : wxPopupTransientWindow(parent, style) {}
2836
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2838 DEC_PYCALLBACK__(OnDismiss);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss);
2840 PYPRIVATE;
2841 };
2842
2843
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2847
2848
2849 #include <wx/tipwin.h>
2850
2851 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2852 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2853 }
2854
2855 #include <wx/tipwin.h>
2856
2857
2858 #include <wx/vscroll.h>
2859
2860
2861 class wxPyVScrolledWindow : public wxVScrolledWindow
2862 {
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2864 public:
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2866
2867 wxPyVScrolledWindow(wxWindow *parent,
2868 wxWindowID id = wxID_ANY,
2869 const wxPoint& pos = wxDefaultPosition,
2870 const wxSize& size = wxDefaultSize,
2871 long style = 0,
2872 const wxString& name = wxPyPanelNameStr)
2873 : wxVScrolledWindow(parent, id, pos, size, style, name)
2874 {}
2875
2876 // Overridable virtuals
2877
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2881
2882
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2886 // once
2887 //
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2893 //
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2895 // usual
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2897
2898
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2903 // its own logic
2904 //
2905 // this function should return the best guess for the total height it may
2906 // make
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2908
2909
2910 // Also expose some other interesting protected methods
2911
2912
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2917
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2922
2923
2924 PYPRIVATE;
2925 };
2926
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2928
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2932
2933
2934 SWIGINTERN int
2935 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2936 {
2937 long v = 0;
2938 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2939 return SWIG_TypeError;
2940 }
2941 else if (val)
2942 *val = (unsigned long)v;
2943 return SWIG_OK;
2944 }
2945
2946
2947 SWIGINTERNINLINE int
2948 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2949 {
2950 unsigned long v;
2951 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2952 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2953 return res;
2954 }
2955
2956
2957 SWIGINTERNINLINE PyObject*
2958 SWIG_From_unsigned_SS_long (unsigned long value)
2959 {
2960 return (value > LONG_MAX) ?
2961 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2962 }
2963
2964
2965 SWIGINTERNINLINE PyObject *
2966 SWIG_From_size_t (size_t value)
2967 {
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2969 }
2970
2971
2972 #include <wx/vlbox.h>
2973
2974 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2975
2976 class wxPyVListBox : public wxVListBox
2977 {
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2979 public:
2980 wxPyVListBox() : wxVListBox() {}
2981
2982 wxPyVListBox(wxWindow *parent,
2983 wxWindowID id = wxID_ANY,
2984 const wxPoint& pos = wxDefaultPosition,
2985 const wxSize& size = wxDefaultSize,
2986 long style = 0,
2987 const wxString& name = wxPyVListBoxNameStr)
2988 : wxVListBox(parent, id, pos, size, style, name)
2989 {}
2990
2991 // Overridable virtuals
2992
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2997
2998
2999 // the derived class must implement this method to return the height of the
3000 // specified item
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3003
3004
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3008 //
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
3012
3013
3014 // this method is used to draw the items background and, maybe, a border
3015 // around it
3016 //
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3020 // current
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3023
3024
3025 PYPRIVATE;
3026 };
3027
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3029
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3032 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3034
3035
3036 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3037 unsigned long cookie = 0;
3038 int selected = self->GetFirstSelected(cookie);
3039 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3040 PyObject* tup = PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3042 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3043 wxPyEndBlockThreads(blocked);
3044 return tup;
3045 }
3046 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3047 int selected = self->GetNextSelected(cookie);
3048 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3049 PyObject* tup = PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3051 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3052 wxPyEndBlockThreads(blocked);
3053 return tup;
3054 }
3055
3056 #include <wx/htmllbox.h>
3057
3058
3059 class wxPyHtmlListBox : public wxHtmlListBox
3060 {
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3062 public:
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3064
3065 wxPyHtmlListBox(wxWindow *parent,
3066 wxWindowID id = wxID_ANY,
3067 const wxPoint& pos = wxDefaultPosition,
3068 const wxSize& size = wxDefaultSize,
3069 long style = 0,
3070 const wxString& name = wxPyVListBoxNameStr)
3071 : wxHtmlListBox(parent, id, pos, size, style, name)
3072 {}
3073
3074 // Overridable virtuals
3075
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3079
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3082
3083 // TODO:
3084 // // this method allows to customize the selection appearance: it may be used
3085 // // to specify the colour of the text which normally has the given colour
3086 // // colFg when it is inside the selection
3087 // //
3088 // // by default, the original colour is not used at all and all text has the
3089 // // same (default for this system) colour inside selection
3090 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3091
3092 // // this is the same as GetSelectedTextColour() but allows to customize the
3093 // // background colour -- this is even more rarely used as you can change it
3094 // // globally using SetSelectionBackground()
3095 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3096
3097
3098 PYPRIVATE;
3099 };
3100
3101
3102 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3103
3104 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3105 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3106
3107
3108
3109
3110
3111 #ifndef wxHAS_TASK_BAR_ICON
3112 // implement dummy classes for platforms that don't have it
3113
3114 class wxTaskBarIcon : public wxEvtHandler
3115 {
3116 public:
3117 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3118 };
3119
3120
3121 class wxTaskBarIconEvent : public wxEvent
3122 {
3123 public:
3124 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3125 { wxPyRaiseNotImplemented(); }
3126 virtual wxEvent* Clone() const { return NULL; }
3127 bool IsOk() const { return false; }
3128 bool IsIconInstalled() const { return false; }
3129 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3130 bool RemoveIcon() { return false; }
3131 bool PopupMenu(wxMenu *menu) { return false; }
3132 };
3133
3134 enum {
3135 wxEVT_TASKBAR_MOVE = 0,
3136 wxEVT_TASKBAR_LEFT_DOWN = 0,
3137 wxEVT_TASKBAR_LEFT_UP = 0,
3138 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3139 wxEVT_TASKBAR_RIGHT_UP = 0,
3140 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3141 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3142 };
3143
3144
3145 #else
3146 // Otherwise make a class that can virtualize CreatePopupMenu
3147 class wxPyTaskBarIcon : public wxTaskBarIcon
3148 {
3149 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3150 public:
3151 wxPyTaskBarIcon() : wxTaskBarIcon()
3152 {}
3153
3154 wxMenu* CreatePopupMenu() {
3155 wxMenu *rval = NULL;
3156 bool found;
3157 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3158 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3159 PyObject* ro;
3160 wxMenu* ptr;
3161 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3162 if (ro) {
3163 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3164 rval = ptr;
3165 Py_DECREF(ro);
3166 }
3167 }
3168 wxPyEndBlockThreads(blocked);
3169 if (! found)
3170 rval = wxTaskBarIcon::CreatePopupMenu();
3171 return rval;
3172 }
3173
3174 PYPRIVATE;
3175 };
3176
3177 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3178
3179 #endif
3180
3181 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3182 self->RemoveIcon();
3183 delete self;
3184 }
3185 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3186 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3187 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3188 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3189 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3190 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3191 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3192 wxArrayString arr;
3193 self->GetFilenames(arr);
3194 return wxArrayString2PyList_helper(arr);
3195 }
3196 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3197 wxArrayString arr;
3198 self->GetPaths(arr);
3199 return wxArrayString2PyList_helper(arr);
3200 }
3201 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3202 return wxArrayInt2PyList_helper(self->GetSelections());
3203 }
3204 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){
3205 return new wxSingleChoiceDialog(parent, message, caption,
3206 choices, choices_array, NULL, style, pos);
3207 }
3208 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3209
3210 #include <wx/mdi.h>
3211
3212 // C++ version of Python aware wxWindow
3213 class wxPyWindow : public wxWindow
3214 {
3215 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3216 public:
3217 wxPyWindow() : wxWindow() {}
3218 wxPyWindow(wxWindow* parent, const wxWindowID id,
3219 const wxPoint& pos = wxDefaultPosition,
3220 const wxSize& size = wxDefaultSize,
3221 long style = 0,
3222 const wxString& name = wxPyPanelNameStr)
3223 : wxWindow(parent, id, pos, size, style, name) {}
3224
3225 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3226
3227 bool DoEraseBackground(wxDC* dc) {
3228 #ifdef __WXMSW__
3229 return wxWindow::DoEraseBackground(dc->GetHDC());
3230 #else
3231 dc->SetBackground(wxBrush(GetBackgroundColour()));
3232 dc->Clear();
3233 return true;
3234 #endif
3235 }
3236
3237 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3238 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3239 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3240 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3241
3242 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3243 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3244 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3245
3246 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3247 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3248
3249 DEC_PYCALLBACK__(InitDialog);
3250 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3251 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3252 DEC_PYCALLBACK_BOOL_(Validate);
3253
3254 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3255 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3256 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3257
3258 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3259 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3260
3261 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3262 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3263
3264 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3265
3266 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3267
3268 PYPRIVATE;
3269 };
3270
3271 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3272
3273 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3274 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3275 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3276 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3277
3278 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3279 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3280 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3281
3282 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3283 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3284
3285 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3286 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3287 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3288 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3289
3290 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3291 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3292 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3293
3294 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3295 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3296
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3298 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3299
3300 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3301
3302 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3303
3304 // C++ version of Python aware wxPanel
3305 class wxPyPanel : public wxPanel
3306 {
3307 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3308 public:
3309 wxPyPanel() : wxPanel() {}
3310 wxPyPanel(wxWindow* parent, const wxWindowID id,
3311 const wxPoint& pos = wxDefaultPosition,
3312 const wxSize& size = wxDefaultSize,
3313 long style = 0,
3314 const wxString& name = wxPyPanelNameStr)
3315 : wxPanel(parent, id, pos, size, style, name) {}
3316
3317 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3318 bool DoEraseBackground(wxDC* dc) {
3319 #ifdef __WXMSW__
3320 return wxWindow::DoEraseBackground(dc->GetHDC());
3321 #else
3322 dc->SetBackground(wxBrush(GetBackgroundColour()));
3323 dc->Clear();
3324 return true;
3325 #endif
3326 }
3327
3328
3329 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3330 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3331 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3332 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3333
3334 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3335 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3336 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3337
3338 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3339 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3340
3341 DEC_PYCALLBACK__(InitDialog);
3342 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3343 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3344 DEC_PYCALLBACK_BOOL_(Validate);
3345
3346 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3347 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3348 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3349
3350 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3351 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3352
3353 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3354 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3355
3356 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3357
3358 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3359
3360 PYPRIVATE;
3361 };
3362
3363 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3364
3365 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3366 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3367 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3368 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3369
3370 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3371 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3372 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3373
3374 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3375 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3376
3377 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3378 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3379 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3380 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3381
3382 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3383 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3384 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3385
3386 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3387 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3388
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3390 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3391
3392 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3393
3394 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3395
3396 // C++ version of Python aware wxScrolledWindow
3397 class wxPyScrolledWindow : public wxScrolledWindow
3398 {
3399 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3400 public:
3401 wxPyScrolledWindow() : wxScrolledWindow() {}
3402 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3403 const wxPoint& pos = wxDefaultPosition,
3404 const wxSize& size = wxDefaultSize,
3405 long style = 0,
3406 const wxString& name = wxPyPanelNameStr)
3407 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3408
3409 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3410 bool DoEraseBackground(wxDC* dc) {
3411 #ifdef __WXMSW__
3412 return wxWindow::DoEraseBackground(dc->GetHDC());
3413 #else
3414 dc->SetBackground(wxBrush(GetBackgroundColour()));
3415 dc->Clear();
3416 return true;
3417 #endif
3418 }
3419
3420 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3421 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3422 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3423 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3424
3425 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3426 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3427 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3428
3429 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3430 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3431
3432 DEC_PYCALLBACK__(InitDialog);
3433 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3434 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3435 DEC_PYCALLBACK_BOOL_(Validate);
3436
3437 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3438 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3439 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3440
3441 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3442 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3443
3444 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3445 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3446
3447 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3448
3449 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3450
3451 PYPRIVATE;
3452 };
3453
3454 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3455
3456 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3457 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3458 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3459 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3460
3461 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3462 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3463 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3464
3465 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3466 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3467
3468 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3469 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3470 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3471 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3472
3473 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3474 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3475 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3476
3477 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3478 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3479
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3481 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3482
3483 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3484
3485 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3486
3487
3488 #include "wx/wxPython/printfw.h"
3489
3490
3491 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3492 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3493 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3494 PyObject* data;
3495 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3496 data = PyString_FromStringAndSize(self->GetPrivData(),
3497 self->GetPrivDataLen());
3498 wxPyEndBlockThreads(blocked);
3499 return data;
3500 }
3501 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3502 if (! PyString_Check(data)) {
3503 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3504 "Expected string object"));
3505 return /* NULL */ ;
3506 }
3507
3508 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3509 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3510 wxPyEndBlockThreads(blocked);
3511 }
3512
3513
3514 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3515
3516 // Since this one would be tough and ugly to do with the Macros...
3517 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3518 bool hadErr = false;
3519 bool found;
3520
3521 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3522 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3523 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3524 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3525 PyObject* val;
3526
3527 val = PyTuple_GetItem(result, 0);
3528 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3529 else hadErr = true;
3530
3531 val = PyTuple_GetItem(result, 1);
3532 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3533 else hadErr = true;
3534
3535 val = PyTuple_GetItem(result, 2);
3536 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3537 else hadErr = true;
3538
3539 val = PyTuple_GetItem(result, 3);
3540 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3541 else hadErr = true;
3542 }
3543 else
3544 hadErr = true;
3545
3546 if (hadErr) {
3547 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3548 PyErr_Print();
3549 }
3550 Py_DECREF(result);
3551 }
3552 wxPyEndBlockThreads(blocked);
3553 if (! found)
3554 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3555 }
3556
3557
3558
3559 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3560 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3561 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3562 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3563 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3564 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3565 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3566
3567
3568
3569
3570
3571 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3572 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3573
3574
3575 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3576 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3577 bool rval=false; \
3578 bool found; \
3579 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3580 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3581 PyObject* win = wxPyMake_wxObject(a,false); \
3582 PyObject* dc = wxPyMake_wxObject(&b,false); \
3583 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3584 Py_DECREF(win); \
3585 Py_DECREF(dc); \
3586 } \
3587 wxPyEndBlockThreads(blocked); \
3588 if (! found) \
3589 rval = PCLASS::CBNAME(a, b); \
3590 return rval; \
3591 }
3592
3593
3594
3595
3596 class wxPyPrintPreview : public wxPrintPreview
3597 {
3598 DECLARE_CLASS(wxPyPrintPreview)
3599 public:
3600 wxPyPrintPreview(wxPyPrintout* printout,
3601 wxPyPrintout* printoutForPrinting,
3602 wxPrintDialogData* data=NULL)
3603 : wxPrintPreview(printout, printoutForPrinting, data)
3604 {}
3605 wxPyPrintPreview(wxPyPrintout* printout,
3606 wxPyPrintout* printoutForPrinting,
3607 wxPrintData* data)
3608 : wxPrintPreview(printout, printoutForPrinting, data)
3609 {}
3610
3611 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3612 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3613 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3614 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3615 DEC_PYCALLBACK_VOID_INT(SetZoom);
3616 DEC_PYCALLBACK_BOOL_BOOL(Print);
3617 DEC_PYCALLBACK_VOID_(DetermineScaling);
3618
3619 PYPRIVATE;
3620 };
3621
3622 // Stupid renamed classes... Fix this in 2.5...
3623 #if defined(__WXMSW__)
3624 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3625 #elif defined(__WXMAC__)
3626 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3627 #else
3628 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3629 #endif
3630
3631 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3632 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3633 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3634 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3635 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3636 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3637 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3638
3639
3640 class wxPyPreviewFrame : public wxPreviewFrame
3641 {
3642 DECLARE_CLASS(wxPyPreviewFrame)
3643 public:
3644 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3645 const wxString& title,
3646 const wxPoint& pos = wxDefaultPosition,
3647 const wxSize& size = wxDefaultSize,
3648 long style = wxDEFAULT_FRAME_STYLE,
3649 const wxString& name = wxPyFrameNameStr)
3650 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3651 {}
3652
3653 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3654 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3655
3656 DEC_PYCALLBACK_VOID_(Initialize);
3657 DEC_PYCALLBACK_VOID_(CreateCanvas);
3658 DEC_PYCALLBACK_VOID_(CreateControlBar);
3659
3660 PYPRIVATE;
3661 };
3662
3663 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3664
3665 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3666 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3667 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3668
3669
3670 class wxPyPreviewControlBar : public wxPreviewControlBar
3671 {
3672 DECLARE_CLASS(wxPyPreviewControlBar)
3673 public:
3674 wxPyPreviewControlBar(wxPrintPreview *preview,
3675 long buttons,
3676 wxWindow *parent,
3677 const wxPoint& pos = wxDefaultPosition,
3678 const wxSize& size = wxDefaultSize,
3679 long style = 0,
3680 const wxString& name = wxPyPanelNameStr)
3681 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3682 {}
3683
3684 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3685
3686 DEC_PYCALLBACK_VOID_(CreateButtons);
3687 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3688
3689 PYPRIVATE;
3690 };
3691
3692 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3693 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3694 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3695
3696 #ifdef __cplusplus
3697 extern "C" {
3698 #endif
3699 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj = 0;
3701 wxWindow *arg1 = (wxWindow *) 0 ;
3702 int arg2 = (int) (int)-1 ;
3703 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3704 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3705 wxSize const &arg4_defvalue = wxDefaultSize ;
3706 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3707 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3708 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3709 wxString *arg6 = (wxString *) &arg6_defvalue ;
3710 wxPanel *result = 0 ;
3711 void *argp1 = 0 ;
3712 int res1 = 0 ;
3713 int val2 ;
3714 int ecode2 = 0 ;
3715 wxPoint temp3 ;
3716 wxSize temp4 ;
3717 long val5 ;
3718 int ecode5 = 0 ;
3719 bool temp6 = false ;
3720 PyObject * obj0 = 0 ;
3721 PyObject * obj1 = 0 ;
3722 PyObject * obj2 = 0 ;
3723 PyObject * obj3 = 0 ;
3724 PyObject * obj4 = 0 ;
3725 PyObject * obj5 = 0 ;
3726 char * kwnames[] = {
3727 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3728 };
3729
3730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3732 if (!SWIG_IsOK(res1)) {
3733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3734 }
3735 arg1 = reinterpret_cast< wxWindow * >(argp1);
3736 if (obj1) {
3737 ecode2 = SWIG_AsVal_int(obj1, &val2);
3738 if (!SWIG_IsOK(ecode2)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3740 }
3741 arg2 = static_cast< int >(val2);
3742 }
3743 if (obj2) {
3744 {
3745 arg3 = &temp3;
3746 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3747 }
3748 }
3749 if (obj3) {
3750 {
3751 arg4 = &temp4;
3752 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3753 }
3754 }
3755 if (obj4) {
3756 ecode5 = SWIG_AsVal_long(obj4, &val5);
3757 if (!SWIG_IsOK(ecode5)) {
3758 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3759 }
3760 arg5 = static_cast< long >(val5);
3761 }
3762 if (obj5) {
3763 {
3764 arg6 = wxString_in_helper(obj5);
3765 if (arg6 == NULL) SWIG_fail;
3766 temp6 = true;
3767 }
3768 }
3769 {
3770 if (!wxPyCheckForApp()) SWIG_fail;
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3777 {
3778 if (temp6)
3779 delete arg6;
3780 }
3781 return resultobj;
3782 fail:
3783 {
3784 if (temp6)
3785 delete arg6;
3786 }
3787 return NULL;
3788 }
3789
3790
3791 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3792 PyObject *resultobj = 0;
3793 wxPanel *result = 0 ;
3794
3795 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3796 {
3797 if (!wxPyCheckForApp()) SWIG_fail;
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (wxPanel *)new wxPanel();
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3804 return resultobj;
3805 fail:
3806 return NULL;
3807 }
3808
3809
3810 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj = 0;
3812 wxPanel *arg1 = (wxPanel *) 0 ;
3813 wxWindow *arg2 = (wxWindow *) 0 ;
3814 int arg3 = (int) (int)-1 ;
3815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3817 wxSize const &arg5_defvalue = wxDefaultSize ;
3818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3819 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3820 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3821 wxString *arg7 = (wxString *) &arg7_defvalue ;
3822 bool result;
3823 void *argp1 = 0 ;
3824 int res1 = 0 ;
3825 void *argp2 = 0 ;
3826 int res2 = 0 ;
3827 int val3 ;
3828 int ecode3 = 0 ;
3829 wxPoint temp4 ;
3830 wxSize temp5 ;
3831 long val6 ;
3832 int ecode6 = 0 ;
3833 bool temp7 = false ;
3834 PyObject * obj0 = 0 ;
3835 PyObject * obj1 = 0 ;
3836 PyObject * obj2 = 0 ;
3837 PyObject * obj3 = 0 ;
3838 PyObject * obj4 = 0 ;
3839 PyObject * obj5 = 0 ;
3840 PyObject * obj6 = 0 ;
3841 char * kwnames[] = {
3842 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3843 };
3844
3845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3847 if (!SWIG_IsOK(res1)) {
3848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3849 }
3850 arg1 = reinterpret_cast< wxPanel * >(argp1);
3851 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3852 if (!SWIG_IsOK(res2)) {
3853 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3854 }
3855 arg2 = reinterpret_cast< wxWindow * >(argp2);
3856 if (obj2) {
3857 ecode3 = SWIG_AsVal_int(obj2, &val3);
3858 if (!SWIG_IsOK(ecode3)) {
3859 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3860 }
3861 arg3 = static_cast< int >(val3);
3862 }
3863 if (obj3) {
3864 {
3865 arg4 = &temp4;
3866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3867 }
3868 }
3869 if (obj4) {
3870 {
3871 arg5 = &temp5;
3872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3873 }
3874 }
3875 if (obj5) {
3876 ecode6 = SWIG_AsVal_long(obj5, &val6);
3877 if (!SWIG_IsOK(ecode6)) {
3878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3879 }
3880 arg6 = static_cast< long >(val6);
3881 }
3882 if (obj6) {
3883 {
3884 arg7 = wxString_in_helper(obj6);
3885 if (arg7 == NULL) SWIG_fail;
3886 temp7 = true;
3887 }
3888 }
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 {
3896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3897 }
3898 {
3899 if (temp7)
3900 delete arg7;
3901 }
3902 return resultobj;
3903 fail:
3904 {
3905 if (temp7)
3906 delete arg7;
3907 }
3908 return NULL;
3909 }
3910
3911
3912 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3913 PyObject *resultobj = 0;
3914 wxPanel *arg1 = (wxPanel *) 0 ;
3915 void *argp1 = 0 ;
3916 int res1 = 0 ;
3917 PyObject *swig_obj[1] ;
3918
3919 if (!args) SWIG_fail;
3920 swig_obj[0] = args;
3921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3922 if (!SWIG_IsOK(res1)) {
3923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3924 }
3925 arg1 = reinterpret_cast< wxPanel * >(argp1);
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 (arg1)->SetFocusIgnoringChildren();
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 resultobj = SWIG_Py_Void();
3933 return resultobj;
3934 fail:
3935 return NULL;
3936 }
3937
3938
3939 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj = 0;
3941 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3942 SwigValueWrapper<wxVisualAttributes > result;
3943 int val1 ;
3944 int ecode1 = 0 ;
3945 PyObject * obj0 = 0 ;
3946 char * kwnames[] = {
3947 (char *) "variant", NULL
3948 };
3949
3950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3951 if (obj0) {
3952 ecode1 = SWIG_AsVal_int(obj0, &val1);
3953 if (!SWIG_IsOK(ecode1)) {
3954 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3955 }
3956 arg1 = static_cast< wxWindowVariant >(val1);
3957 }
3958 {
3959 if (!wxPyCheckForApp()) SWIG_fail;
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 result = wxPanel::GetClassDefaultAttributes(arg1);
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973 PyObject *obj;
3974 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
3976 return SWIG_Py_Void();
3977 }
3978
3979 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3980 return SWIG_Python_InitShadowInstance(args);
3981 }
3982
3983 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3984 PyObject *resultobj = 0;
3985 wxWindow *arg1 = (wxWindow *) 0 ;
3986 int arg2 = (int) (int)-1 ;
3987 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3988 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3989 wxSize const &arg4_defvalue = wxDefaultSize ;
3990 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3991 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3992 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3993 wxString *arg6 = (wxString *) &arg6_defvalue ;
3994 wxScrolledWindow *result = 0 ;
3995 void *argp1 = 0 ;
3996 int res1 = 0 ;
3997 int val2 ;
3998 int ecode2 = 0 ;
3999 wxPoint temp3 ;
4000 wxSize temp4 ;
4001 long val5 ;
4002 int ecode5 = 0 ;
4003 bool temp6 = false ;
4004 PyObject * obj0 = 0 ;
4005 PyObject * obj1 = 0 ;
4006 PyObject * obj2 = 0 ;
4007 PyObject * obj3 = 0 ;
4008 PyObject * obj4 = 0 ;
4009 PyObject * obj5 = 0 ;
4010 char * kwnames[] = {
4011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4012 };
4013
4014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4016 if (!SWIG_IsOK(res1)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4018 }
4019 arg1 = reinterpret_cast< wxWindow * >(argp1);
4020 if (obj1) {
4021 ecode2 = SWIG_AsVal_int(obj1, &val2);
4022 if (!SWIG_IsOK(ecode2)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4024 }
4025 arg2 = static_cast< int >(val2);
4026 }
4027 if (obj2) {
4028 {
4029 arg3 = &temp3;
4030 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4031 }
4032 }
4033 if (obj3) {
4034 {
4035 arg4 = &temp4;
4036 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4037 }
4038 }
4039 if (obj4) {
4040 ecode5 = SWIG_AsVal_long(obj4, &val5);
4041 if (!SWIG_IsOK(ecode5)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4043 }
4044 arg5 = static_cast< long >(val5);
4045 }
4046 if (obj5) {
4047 {
4048 arg6 = wxString_in_helper(obj5);
4049 if (arg6 == NULL) SWIG_fail;
4050 temp6 = true;
4051 }
4052 }
4053 {
4054 if (!wxPyCheckForApp()) SWIG_fail;
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4061 {
4062 if (temp6)
4063 delete arg6;
4064 }
4065 return resultobj;
4066 fail:
4067 {
4068 if (temp6)
4069 delete arg6;
4070 }
4071 return NULL;
4072 }
4073
4074
4075 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4076 PyObject *resultobj = 0;
4077 wxScrolledWindow *result = 0 ;
4078
4079 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4080 {
4081 if (!wxPyCheckForApp()) SWIG_fail;
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 result = (wxScrolledWindow *)new wxScrolledWindow();
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4088 return resultobj;
4089 fail:
4090 return NULL;
4091 }
4092
4093
4094 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj = 0;
4096 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4097 wxWindow *arg2 = (wxWindow *) 0 ;
4098 int arg3 = (int) (int)-1 ;
4099 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4100 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4101 wxSize const &arg5_defvalue = wxDefaultSize ;
4102 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4103 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4104 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4105 wxString *arg7 = (wxString *) &arg7_defvalue ;
4106 bool result;
4107 void *argp1 = 0 ;
4108 int res1 = 0 ;
4109 void *argp2 = 0 ;
4110 int res2 = 0 ;
4111 int val3 ;
4112 int ecode3 = 0 ;
4113 wxPoint temp4 ;
4114 wxSize temp5 ;
4115 long val6 ;
4116 int ecode6 = 0 ;
4117 bool temp7 = false ;
4118 PyObject * obj0 = 0 ;
4119 PyObject * obj1 = 0 ;
4120 PyObject * obj2 = 0 ;
4121 PyObject * obj3 = 0 ;
4122 PyObject * obj4 = 0 ;
4123 PyObject * obj5 = 0 ;
4124 PyObject * obj6 = 0 ;
4125 char * kwnames[] = {
4126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4127 };
4128
4129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4131 if (!SWIG_IsOK(res1)) {
4132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4133 }
4134 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4135 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4136 if (!SWIG_IsOK(res2)) {
4137 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4138 }
4139 arg2 = reinterpret_cast< wxWindow * >(argp2);
4140 if (obj2) {
4141 ecode3 = SWIG_AsVal_int(obj2, &val3);
4142 if (!SWIG_IsOK(ecode3)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4144 }
4145 arg3 = static_cast< int >(val3);
4146 }
4147 if (obj3) {
4148 {
4149 arg4 = &temp4;
4150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4151 }
4152 }
4153 if (obj4) {
4154 {
4155 arg5 = &temp5;
4156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4157 }
4158 }
4159 if (obj5) {
4160 ecode6 = SWIG_AsVal_long(obj5, &val6);
4161 if (!SWIG_IsOK(ecode6)) {
4162 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4163 }
4164 arg6 = static_cast< long >(val6);
4165 }
4166 if (obj6) {
4167 {
4168 arg7 = wxString_in_helper(obj6);
4169 if (arg7 == NULL) SWIG_fail;
4170 temp7 = true;
4171 }
4172 }
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 {
4180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4181 }
4182 {
4183 if (temp7)
4184 delete arg7;
4185 }
4186 return resultobj;
4187 fail:
4188 {
4189 if (temp7)
4190 delete arg7;
4191 }
4192 return NULL;
4193 }
4194
4195
4196 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj = 0;
4198 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4199 int arg2 ;
4200 int arg3 ;
4201 int arg4 ;
4202 int arg5 ;
4203 int arg6 = (int) 0 ;
4204 int arg7 = (int) 0 ;
4205 bool arg8 = (bool) false ;
4206 void *argp1 = 0 ;
4207 int res1 = 0 ;
4208 int val2 ;
4209 int ecode2 = 0 ;
4210 int val3 ;
4211 int ecode3 = 0 ;
4212 int val4 ;
4213 int ecode4 = 0 ;
4214 int val5 ;
4215 int ecode5 = 0 ;
4216 int val6 ;
4217 int ecode6 = 0 ;
4218 int val7 ;
4219 int ecode7 = 0 ;
4220 bool val8 ;
4221 int ecode8 = 0 ;
4222 PyObject * obj0 = 0 ;
4223 PyObject * obj1 = 0 ;
4224 PyObject * obj2 = 0 ;
4225 PyObject * obj3 = 0 ;
4226 PyObject * obj4 = 0 ;
4227 PyObject * obj5 = 0 ;
4228 PyObject * obj6 = 0 ;
4229 PyObject * obj7 = 0 ;
4230 char * kwnames[] = {
4231 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4232 };
4233
4234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4236 if (!SWIG_IsOK(res1)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4238 }
4239 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4240 ecode2 = SWIG_AsVal_int(obj1, &val2);
4241 if (!SWIG_IsOK(ecode2)) {
4242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4243 }
4244 arg2 = static_cast< int >(val2);
4245 ecode3 = SWIG_AsVal_int(obj2, &val3);
4246 if (!SWIG_IsOK(ecode3)) {
4247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4248 }
4249 arg3 = static_cast< int >(val3);
4250 ecode4 = SWIG_AsVal_int(obj3, &val4);
4251 if (!SWIG_IsOK(ecode4)) {
4252 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4253 }
4254 arg4 = static_cast< int >(val4);
4255 ecode5 = SWIG_AsVal_int(obj4, &val5);
4256 if (!SWIG_IsOK(ecode5)) {
4257 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4258 }
4259 arg5 = static_cast< int >(val5);
4260 if (obj5) {
4261 ecode6 = SWIG_AsVal_int(obj5, &val6);
4262 if (!SWIG_IsOK(ecode6)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4264 }
4265 arg6 = static_cast< int >(val6);
4266 }
4267 if (obj6) {
4268 ecode7 = SWIG_AsVal_int(obj6, &val7);
4269 if (!SWIG_IsOK(ecode7)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4271 }
4272 arg7 = static_cast< int >(val7);
4273 }
4274 if (obj7) {
4275 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4276 if (!SWIG_IsOK(ecode8)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4278 }
4279 arg8 = static_cast< bool >(val8);
4280 }
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 resultobj = SWIG_Py_Void();
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj = 0;
4296 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4297 int arg2 ;
4298 int arg3 ;
4299 void *argp1 = 0 ;
4300 int res1 = 0 ;
4301 int val2 ;
4302 int ecode2 = 0 ;
4303 int val3 ;
4304 int ecode3 = 0 ;
4305 PyObject * obj0 = 0 ;
4306 PyObject * obj1 = 0 ;
4307 PyObject * obj2 = 0 ;
4308 char * kwnames[] = {
4309 (char *) "self",(char *) "x",(char *) "y", NULL
4310 };
4311
4312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4314 if (!SWIG_IsOK(res1)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4316 }
4317 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4318 ecode2 = SWIG_AsVal_int(obj1, &val2);
4319 if (!SWIG_IsOK(ecode2)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4321 }
4322 arg2 = static_cast< int >(val2);
4323 ecode3 = SWIG_AsVal_int(obj2, &val3);
4324 if (!SWIG_IsOK(ecode3)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4326 }
4327 arg3 = static_cast< int >(val3);
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->Scroll(arg2,arg3);
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 resultobj = SWIG_Py_Void();
4335 return resultobj;
4336 fail:
4337 return NULL;
4338 }
4339
4340
4341 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4342 PyObject *resultobj = 0;
4343 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4344 int arg2 ;
4345 int result;
4346 void *argp1 = 0 ;
4347 int res1 = 0 ;
4348 int val2 ;
4349 int ecode2 = 0 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char * kwnames[] = {
4353 (char *) "self",(char *) "orient", NULL
4354 };
4355
4356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4358 if (!SWIG_IsOK(res1)) {
4359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4360 }
4361 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4362 ecode2 = SWIG_AsVal_int(obj1, &val2);
4363 if (!SWIG_IsOK(ecode2)) {
4364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4365 }
4366 arg2 = static_cast< int >(val2);
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 resultobj = SWIG_From_int(static_cast< int >(result));
4374 return resultobj;
4375 fail:
4376 return NULL;
4377 }
4378
4379
4380 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj = 0;
4382 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4383 int arg2 ;
4384 int arg3 ;
4385 void *argp1 = 0 ;
4386 int res1 = 0 ;
4387 int val2 ;
4388 int ecode2 = 0 ;
4389 int val3 ;
4390 int ecode3 = 0 ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 PyObject * obj2 = 0 ;
4394 char * kwnames[] = {
4395 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4396 };
4397
4398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4400 if (!SWIG_IsOK(res1)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4402 }
4403 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4404 ecode2 = SWIG_AsVal_int(obj1, &val2);
4405 if (!SWIG_IsOK(ecode2)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4407 }
4408 arg2 = static_cast< int >(val2);
4409 ecode3 = SWIG_AsVal_int(obj2, &val3);
4410 if (!SWIG_IsOK(ecode3)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4412 }
4413 arg3 = static_cast< int >(val3);
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 (arg1)->SetScrollPageSize(arg2,arg3);
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = SWIG_Py_Void();
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj = 0;
4429 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4430 int arg2 ;
4431 int arg3 ;
4432 void *argp1 = 0 ;
4433 int res1 = 0 ;
4434 int val2 ;
4435 int ecode2 = 0 ;
4436 int val3 ;
4437 int ecode3 = 0 ;
4438 PyObject * obj0 = 0 ;
4439 PyObject * obj1 = 0 ;
4440 PyObject * obj2 = 0 ;
4441 char * kwnames[] = {
4442 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4443 };
4444
4445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4447 if (!SWIG_IsOK(res1)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4449 }
4450 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4451 ecode2 = SWIG_AsVal_int(obj1, &val2);
4452 if (!SWIG_IsOK(ecode2)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4454 }
4455 arg2 = static_cast< int >(val2);
4456 ecode3 = SWIG_AsVal_int(obj2, &val3);
4457 if (!SWIG_IsOK(ecode3)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4459 }
4460 arg3 = static_cast< int >(val3);
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 (arg1)->SetScrollRate(arg2,arg3);
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 resultobj = SWIG_Py_Void();
4468 return resultobj;
4469 fail:
4470 return NULL;
4471 }
4472
4473
4474 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4475 PyObject *resultobj = 0;
4476 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4477 int *arg2 = (int *) 0 ;
4478 int *arg3 = (int *) 0 ;
4479 void *argp1 = 0 ;
4480 int res1 = 0 ;
4481 int temp2 ;
4482 int res2 = SWIG_TMPOBJ ;
4483 int temp3 ;
4484 int res3 = SWIG_TMPOBJ ;
4485 PyObject *swig_obj[1] ;
4486
4487 arg2 = &temp2;
4488 arg3 = &temp3;
4489 if (!args) SWIG_fail;
4490 swig_obj[0] = args;
4491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4492 if (!SWIG_IsOK(res1)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4494 }
4495 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 resultobj = SWIG_Py_Void();
4503 if (SWIG_IsTmpObj(res2)) {
4504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4505 } else {
4506 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4507 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4508 }
4509 if (SWIG_IsTmpObj(res3)) {
4510 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4511 } else {
4512 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4514 }
4515 return resultobj;
4516 fail:
4517 return NULL;
4518 }
4519
4520
4521 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4522 PyObject *resultobj = 0;
4523 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4524 bool arg2 ;
4525 bool arg3 ;
4526 void *argp1 = 0 ;
4527 int res1 = 0 ;
4528 bool val2 ;
4529 int ecode2 = 0 ;
4530 bool val3 ;
4531 int ecode3 = 0 ;
4532 PyObject * obj0 = 0 ;
4533 PyObject * obj1 = 0 ;
4534 PyObject * obj2 = 0 ;
4535 char * kwnames[] = {
4536 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4537 };
4538
4539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4541 if (!SWIG_IsOK(res1)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4543 }
4544 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4545 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4546 if (!SWIG_IsOK(ecode2)) {
4547 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4548 }
4549 arg2 = static_cast< bool >(val2);
4550 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4551 if (!SWIG_IsOK(ecode3)) {
4552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4553 }
4554 arg3 = static_cast< bool >(val3);
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 (arg1)->EnableScrolling(arg2,arg3);
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_Py_Void();
4562 return resultobj;
4563 fail:
4564 return NULL;
4565 }
4566
4567
4568 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4569 PyObject *resultobj = 0;
4570 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4571 int *arg2 = (int *) 0 ;
4572 int *arg3 = (int *) 0 ;
4573 void *argp1 = 0 ;
4574 int res1 = 0 ;
4575 int temp2 ;
4576 int res2 = SWIG_TMPOBJ ;
4577 int temp3 ;
4578 int res3 = SWIG_TMPOBJ ;
4579 PyObject *swig_obj[1] ;
4580
4581 arg2 = &temp2;
4582 arg3 = &temp3;
4583 if (!args) SWIG_fail;
4584 swig_obj[0] = args;
4585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4586 if (!SWIG_IsOK(res1)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4588 }
4589 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4592 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 resultobj = SWIG_Py_Void();
4597 if (SWIG_IsTmpObj(res2)) {
4598 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4599 } else {
4600 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4601 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4602 }
4603 if (SWIG_IsTmpObj(res3)) {
4604 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4605 } else {
4606 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4608 }
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj = 0;
4617 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4618 double arg2 ;
4619 double arg3 ;
4620 void *argp1 = 0 ;
4621 int res1 = 0 ;
4622 double val2 ;
4623 int ecode2 = 0 ;
4624 double val3 ;
4625 int ecode3 = 0 ;
4626 PyObject * obj0 = 0 ;
4627 PyObject * obj1 = 0 ;
4628 PyObject * obj2 = 0 ;
4629 char * kwnames[] = {
4630 (char *) "self",(char *) "xs",(char *) "ys", NULL
4631 };
4632
4633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4635 if (!SWIG_IsOK(res1)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4637 }
4638 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4639 ecode2 = SWIG_AsVal_double(obj1, &val2);
4640 if (!SWIG_IsOK(ecode2)) {
4641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4642 }
4643 arg2 = static_cast< double >(val2);
4644 ecode3 = SWIG_AsVal_double(obj2, &val3);
4645 if (!SWIG_IsOK(ecode3)) {
4646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4647 }
4648 arg3 = static_cast< double >(val3);
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 (arg1)->SetScale(arg2,arg3);
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_Py_Void();
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4663 PyObject *resultobj = 0;
4664 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4665 double result;
4666 void *argp1 = 0 ;
4667 int res1 = 0 ;
4668 PyObject *swig_obj[1] ;
4669
4670 if (!args) SWIG_fail;
4671 swig_obj[0] = args;
4672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4673 if (!SWIG_IsOK(res1)) {
4674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4675 }
4676 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4677 {
4678 PyThreadState* __tstate = wxPyBeginAllowThreads();
4679 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 resultobj = SWIG_From_double(static_cast< double >(result));
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4691 PyObject *resultobj = 0;
4692 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4693 double result;
4694 void *argp1 = 0 ;
4695 int res1 = 0 ;
4696 PyObject *swig_obj[1] ;
4697
4698 if (!args) SWIG_fail;
4699 swig_obj[0] = args;
4700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4701 if (!SWIG_IsOK(res1)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4703 }
4704 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 resultobj = SWIG_From_double(static_cast< double >(result));
4712 return resultobj;
4713 fail:
4714 return NULL;
4715 }
4716
4717
4718 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4719 PyObject *resultobj = 0;
4720 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4721 wxPoint *arg2 = 0 ;
4722 wxPoint result;
4723 void *argp1 = 0 ;
4724 int res1 = 0 ;
4725 wxPoint temp2 ;
4726
4727 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4729 if (!SWIG_IsOK(res1)) {
4730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4731 }
4732 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4733 {
4734 arg2 = &temp2;
4735 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4736 }
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4751 PyObject *resultobj = 0;
4752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4753 int arg2 ;
4754 int arg3 ;
4755 int *arg4 = (int *) 0 ;
4756 int *arg5 = (int *) 0 ;
4757 void *argp1 = 0 ;
4758 int res1 = 0 ;
4759 int val2 ;
4760 int ecode2 = 0 ;
4761 int val3 ;
4762 int ecode3 = 0 ;
4763 int temp4 ;
4764 int res4 = SWIG_TMPOBJ ;
4765 int temp5 ;
4766 int res5 = SWIG_TMPOBJ ;
4767
4768 arg4 = &temp4;
4769 arg5 = &temp5;
4770 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4772 if (!SWIG_IsOK(res1)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4774 }
4775 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4776 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4777 if (!SWIG_IsOK(ecode2)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4779 }
4780 arg2 = static_cast< int >(val2);
4781 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4782 if (!SWIG_IsOK(ecode3)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4784 }
4785 arg3 = static_cast< int >(val3);
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_Py_Void();
4793 if (SWIG_IsTmpObj(res4)) {
4794 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4795 } else {
4796 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4797 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4798 }
4799 if (SWIG_IsTmpObj(res5)) {
4800 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4801 } else {
4802 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4803 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4804 }
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4812 int argc;
4813 PyObject *argv[4];
4814
4815 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4816 --argc;
4817 if (argc == 2) {
4818 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4819 }
4820 if (argc == 3) {
4821 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4822 }
4823
4824 fail:
4825 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4826 return NULL;
4827 }
4828
4829
4830 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4831 PyObject *resultobj = 0;
4832 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4833 wxPoint *arg2 = 0 ;
4834 wxPoint result;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 wxPoint temp2 ;
4838
4839 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4841 if (!SWIG_IsOK(res1)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4843 }
4844 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4845 {
4846 arg2 = &temp2;
4847 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4848 }
4849 {
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4852 wxPyEndAllowThreads(__tstate);
4853 if (PyErr_Occurred()) SWIG_fail;
4854 }
4855 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4863 PyObject *resultobj = 0;
4864 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4865 int arg2 ;
4866 int arg3 ;
4867 int *arg4 = (int *) 0 ;
4868 int *arg5 = (int *) 0 ;
4869 void *argp1 = 0 ;
4870 int res1 = 0 ;
4871 int val2 ;
4872 int ecode2 = 0 ;
4873 int val3 ;
4874 int ecode3 = 0 ;
4875 int temp4 ;
4876 int res4 = SWIG_TMPOBJ ;
4877 int temp5 ;
4878 int res5 = SWIG_TMPOBJ ;
4879
4880 arg4 = &temp4;
4881 arg5 = &temp5;
4882 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4884 if (!SWIG_IsOK(res1)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4886 }
4887 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4888 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4889 if (!SWIG_IsOK(ecode2)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4891 }
4892 arg2 = static_cast< int >(val2);
4893 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4894 if (!SWIG_IsOK(ecode3)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4896 }
4897 arg3 = static_cast< int >(val3);
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_Py_Void();
4905 if (SWIG_IsTmpObj(res4)) {
4906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4907 } else {
4908 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4910 }
4911 if (SWIG_IsTmpObj(res5)) {
4912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4913 } else {
4914 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4916 }
4917 return resultobj;
4918 fail:
4919 return NULL;
4920 }
4921
4922
4923 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4924 int argc;
4925 PyObject *argv[4];
4926
4927 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4928 --argc;
4929 if (argc == 2) {
4930 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4931 }
4932 if (argc == 3) {
4933 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4934 }
4935
4936 fail:
4937 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4938 return NULL;
4939 }
4940
4941
4942 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4943 PyObject *resultobj = 0;
4944 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4945 void *argp1 = 0 ;
4946 int res1 = 0 ;
4947 PyObject *swig_obj[1] ;
4948
4949 if (!args) SWIG_fail;
4950 swig_obj[0] = args;
4951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4952 if (!SWIG_IsOK(res1)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4954 }
4955 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->AdjustScrollbars();
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 resultobj = SWIG_Py_Void();
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj = 0;
4971 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4972 wxScrollWinEvent *arg2 = 0 ;
4973 int result;
4974 void *argp1 = 0 ;
4975 int res1 = 0 ;
4976 void *argp2 = 0 ;
4977 int res2 = 0 ;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj1 = 0 ;
4980 char * kwnames[] = {
4981 (char *) "self",(char *) "event", NULL
4982 };
4983
4984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
4985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4986 if (!SWIG_IsOK(res1)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4988 }
4989 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4990 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
4991 if (!SWIG_IsOK(res2)) {
4992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4993 }
4994 if (!argp2) {
4995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4996 }
4997 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (int)(arg1)->CalcScrollInc(*arg2);
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 resultobj = SWIG_From_int(static_cast< int >(result));
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj = 0;
5013 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5014 wxWindow *arg2 = (wxWindow *) 0 ;
5015 void *argp1 = 0 ;
5016 int res1 = 0 ;
5017 void *argp2 = 0 ;
5018 int res2 = 0 ;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 char * kwnames[] = {
5022 (char *) "self",(char *) "target", NULL
5023 };
5024
5025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5027 if (!SWIG_IsOK(res1)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5029 }
5030 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5031 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5032 if (!SWIG_IsOK(res2)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5034 }
5035 arg2 = reinterpret_cast< wxWindow * >(argp2);
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 (arg1)->SetTargetWindow(arg2);
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = SWIG_Py_Void();
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5050 PyObject *resultobj = 0;
5051 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5052 wxWindow *result = 0 ;
5053 void *argp1 = 0 ;
5054 int res1 = 0 ;
5055 PyObject *swig_obj[1] ;
5056
5057 if (!args) SWIG_fail;
5058 swig_obj[0] = args;
5059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5060 if (!SWIG_IsOK(res1)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5062 }
5063 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 {
5071 resultobj = wxPyMake_wxObject(result, 0);
5072 }
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 wxRect *arg2 = 0 ;
5083 void *argp1 = 0 ;
5084 int res1 = 0 ;
5085 wxRect temp2 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char * kwnames[] = {
5089 (char *) "self",(char *) "rect", NULL
5090 };
5091
5092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5094 if (!SWIG_IsOK(res1)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5096 }
5097 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5098 {
5099 arg2 = &temp2;
5100 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5101 }
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetTargetRect((wxRect const &)*arg2);
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 resultobj = SWIG_Py_Void();
5109 return resultobj;
5110 fail:
5111 return NULL;
5112 }
5113
5114
5115 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5116 PyObject *resultobj = 0;
5117 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5118 wxRect result;
5119 void *argp1 = 0 ;
5120 int res1 = 0 ;
5121 PyObject *swig_obj[1] ;
5122
5123 if (!args) SWIG_fail;
5124 swig_obj[0] = args;
5125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5126 if (!SWIG_IsOK(res1)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5128 }
5129 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5137 return resultobj;
5138 fail:
5139 return NULL;
5140 }
5141
5142
5143 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5144 PyObject *resultobj = 0;
5145 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5146 wxDC *arg2 = 0 ;
5147 void *argp1 = 0 ;
5148 int res1 = 0 ;
5149 void *argp2 = 0 ;
5150 int res2 = 0 ;
5151 PyObject * obj0 = 0 ;
5152 PyObject * obj1 = 0 ;
5153 char * kwnames[] = {
5154 (char *) "self",(char *) "dc", NULL
5155 };
5156
5157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5159 if (!SWIG_IsOK(res1)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5161 }
5162 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5163 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5164 if (!SWIG_IsOK(res2)) {
5165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5166 }
5167 if (!argp2) {
5168 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5169 }
5170 arg2 = reinterpret_cast< wxDC * >(argp2);
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 (arg1)->DoPrepareDC(*arg2);
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_Py_Void();
5178 return resultobj;
5179 fail:
5180 return NULL;
5181 }
5182
5183
5184 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj = 0;
5186 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5187 SwigValueWrapper<wxVisualAttributes > result;
5188 int val1 ;
5189 int ecode1 = 0 ;
5190 PyObject * obj0 = 0 ;
5191 char * kwnames[] = {
5192 (char *) "variant", NULL
5193 };
5194
5195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5196 if (obj0) {
5197 ecode1 = SWIG_AsVal_int(obj0, &val1);
5198 if (!SWIG_IsOK(ecode1)) {
5199 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5200 }
5201 arg1 = static_cast< wxWindowVariant >(val1);
5202 }
5203 {
5204 if (!wxPyCheckForApp()) SWIG_fail;
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5218 PyObject *obj;
5219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5220 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5221 return SWIG_Py_Void();
5222 }
5223
5224 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5225 return SWIG_Python_InitShadowInstance(args);
5226 }
5227
5228 SWIGINTERN int FrameNameStr_set(PyObject *) {
5229 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5230 return 1;
5231 }
5232
5233
5234 SWIGINTERN PyObject *FrameNameStr_get(void) {
5235 PyObject *pyobj = 0;
5236
5237 {
5238 #if wxUSE_UNICODE
5239 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5240 #else
5241 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5242 #endif
5243 }
5244 return pyobj;
5245 }
5246
5247
5248 SWIGINTERN int DialogNameStr_set(PyObject *) {
5249 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5250 return 1;
5251 }
5252
5253
5254 SWIGINTERN PyObject *DialogNameStr_get(void) {
5255 PyObject *pyobj = 0;
5256
5257 {
5258 #if wxUSE_UNICODE
5259 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5260 #else
5261 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5262 #endif
5263 }
5264 return pyobj;
5265 }
5266
5267
5268 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5269 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5270 return 1;
5271 }
5272
5273
5274 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5275 PyObject *pyobj = 0;
5276
5277 {
5278 #if wxUSE_UNICODE
5279 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5280 #else
5281 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5282 #endif
5283 }
5284 return pyobj;
5285 }
5286
5287
5288 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5289 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5290 return 1;
5291 }
5292
5293
5294 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5295 PyObject *pyobj = 0;
5296
5297 {
5298 #if wxUSE_UNICODE
5299 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5300 #else
5301 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5302 #endif
5303 }
5304 return pyobj;
5305 }
5306
5307
5308 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5309 PyObject *resultobj = 0;
5310 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5311 bool arg2 = (bool) true ;
5312 void *argp1 = 0 ;
5313 int res1 = 0 ;
5314 bool val2 ;
5315 int ecode2 = 0 ;
5316 PyObject * obj0 = 0 ;
5317 PyObject * obj1 = 0 ;
5318 char * kwnames[] = {
5319 (char *) "self",(char *) "maximize", NULL
5320 };
5321
5322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5324 if (!SWIG_IsOK(res1)) {
5325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5326 }
5327 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5328 if (obj1) {
5329 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5330 if (!SWIG_IsOK(ecode2)) {
5331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5332 }
5333 arg2 = static_cast< bool >(val2);
5334 }
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 (arg1)->Maximize(arg2);
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 resultobj = SWIG_Py_Void();
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5349 PyObject *resultobj = 0;
5350 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5351 void *argp1 = 0 ;
5352 int res1 = 0 ;
5353 PyObject *swig_obj[1] ;
5354
5355 if (!args) SWIG_fail;
5356 swig_obj[0] = args;
5357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5358 if (!SWIG_IsOK(res1)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5360 }
5361 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 (arg1)->Restore();
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = SWIG_Py_Void();
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj = 0;
5377 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5378 bool arg2 = (bool) true ;
5379 void *argp1 = 0 ;
5380 int res1 = 0 ;
5381 bool val2 ;
5382 int ecode2 = 0 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 char * kwnames[] = {
5386 (char *) "self",(char *) "iconize", NULL
5387 };
5388
5389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5391 if (!SWIG_IsOK(res1)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5393 }
5394 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5395 if (obj1) {
5396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5397 if (!SWIG_IsOK(ecode2)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5399 }
5400 arg2 = static_cast< bool >(val2);
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->Iconize(arg2);
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) SWIG_fail;
5407 }
5408 resultobj = SWIG_Py_Void();
5409 return resultobj;
5410 fail:
5411 return NULL;
5412 }
5413
5414
5415 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5416 PyObject *resultobj = 0;
5417 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5418 bool result;
5419 void *argp1 = 0 ;
5420 int res1 = 0 ;
5421 PyObject *swig_obj[1] ;
5422
5423 if (!args) SWIG_fail;
5424 swig_obj[0] = args;
5425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5426 if (!SWIG_IsOK(res1)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5428 }
5429 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5438 }
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5446 PyObject *resultobj = 0;
5447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5448 bool result;
5449 void *argp1 = 0 ;
5450 int res1 = 0 ;
5451 PyObject *swig_obj[1] ;
5452
5453 if (!args) SWIG_fail;
5454 swig_obj[0] = args;
5455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5456 if (!SWIG_IsOK(res1)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5458 }
5459 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 {
5467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5468 }
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5476 PyObject *resultobj = 0;
5477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5478 wxIcon result;
5479 void *argp1 = 0 ;
5480 int res1 = 0 ;
5481 PyObject *swig_obj[1] ;
5482
5483 if (!args) SWIG_fail;
5484 swig_obj[0] = args;
5485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5486 if (!SWIG_IsOK(res1)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5488 }
5489 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj = 0;
5505 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5506 wxIcon *arg2 = 0 ;
5507 void *argp1 = 0 ;
5508 int res1 = 0 ;
5509 void *argp2 = 0 ;
5510 int res2 = 0 ;
5511 PyObject * obj0 = 0 ;
5512 PyObject * obj1 = 0 ;
5513 char * kwnames[] = {
5514 (char *) "self",(char *) "icon", NULL
5515 };
5516
5517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5519 if (!SWIG_IsOK(res1)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5521 }
5522 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5524 if (!SWIG_IsOK(res2)) {
5525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5526 }
5527 if (!argp2) {
5528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5529 }
5530 arg2 = reinterpret_cast< wxIcon * >(argp2);
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 (arg1)->SetIcon((wxIcon const &)*arg2);
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 resultobj = SWIG_Py_Void();
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj = 0;
5546 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5547 wxIconBundle *arg2 = 0 ;
5548 void *argp1 = 0 ;
5549 int res1 = 0 ;
5550 void *argp2 = 0 ;
5551 int res2 = 0 ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 char * kwnames[] = {
5555 (char *) "self",(char *) "icons", NULL
5556 };
5557
5558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5560 if (!SWIG_IsOK(res1)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5562 }
5563 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5564 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5565 if (!SWIG_IsOK(res2)) {
5566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5567 }
5568 if (!argp2) {
5569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5570 }
5571 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = SWIG_Py_Void();
5579 return resultobj;
5580 fail:
5581 return NULL;
5582 }
5583
5584
5585 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj = 0;
5587 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5588 bool arg2 ;
5589 long arg3 = (long) wxFULLSCREEN_ALL ;
5590 bool result;
5591 void *argp1 = 0 ;
5592 int res1 = 0 ;
5593 bool val2 ;
5594 int ecode2 = 0 ;
5595 long val3 ;
5596 int ecode3 = 0 ;
5597 PyObject * obj0 = 0 ;
5598 PyObject * obj1 = 0 ;
5599 PyObject * obj2 = 0 ;
5600 char * kwnames[] = {
5601 (char *) "self",(char *) "show",(char *) "style", NULL
5602 };
5603
5604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5606 if (!SWIG_IsOK(res1)) {
5607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5608 }
5609 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5610 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5611 if (!SWIG_IsOK(ecode2)) {
5612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5613 }
5614 arg2 = static_cast< bool >(val2);
5615 if (obj2) {
5616 ecode3 = SWIG_AsVal_long(obj2, &val3);
5617 if (!SWIG_IsOK(ecode3)) {
5618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5619 }
5620 arg3 = static_cast< long >(val3);
5621 }
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 {
5629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5630 }
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5638 PyObject *resultobj = 0;
5639 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5640 bool result;
5641 void *argp1 = 0 ;
5642 int res1 = 0 ;
5643 PyObject *swig_obj[1] ;
5644
5645 if (!args) SWIG_fail;
5646 swig_obj[0] = args;
5647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5648 if (!SWIG_IsOK(res1)) {
5649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5650 }
5651 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 {
5659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5660 }
5661 return resultobj;
5662 fail:
5663 return NULL;
5664 }
5665
5666
5667 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj = 0;
5669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5670 wxString *arg2 = 0 ;
5671 void *argp1 = 0 ;
5672 int res1 = 0 ;
5673 bool temp2 = false ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 char * kwnames[] = {
5677 (char *) "self",(char *) "title", NULL
5678 };
5679
5680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5682 if (!SWIG_IsOK(res1)) {
5683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5684 }
5685 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5686 {
5687 arg2 = wxString_in_helper(obj1);
5688 if (arg2 == NULL) SWIG_fail;
5689 temp2 = true;
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 (arg1)->SetTitle((wxString const &)*arg2);
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 resultobj = SWIG_Py_Void();
5698 {
5699 if (temp2)
5700 delete arg2;
5701 }
5702 return resultobj;
5703 fail:
5704 {
5705 if (temp2)
5706 delete arg2;
5707 }
5708 return NULL;
5709 }
5710
5711
5712 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5713 PyObject *resultobj = 0;
5714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5715 wxString result;
5716 void *argp1 = 0 ;
5717 int res1 = 0 ;
5718 PyObject *swig_obj[1] ;
5719
5720 if (!args) SWIG_fail;
5721 swig_obj[0] = args;
5722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5723 if (!SWIG_IsOK(res1)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5725 }
5726 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 #if wxUSE_UNICODE
5735 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5736 #else
5737 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5738 #endif
5739 }
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj = 0;
5748 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5749 wxRegion *arg2 = 0 ;
5750 bool result;
5751 void *argp1 = 0 ;
5752 int res1 = 0 ;
5753 void *argp2 = 0 ;
5754 int res2 = 0 ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "region", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 }
5766 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5767 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5768 if (!SWIG_IsOK(res2)) {
5769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5770 }
5771 if (!argp2) {
5772 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5773 }
5774 arg2 = reinterpret_cast< wxRegion * >(argp2);
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 {
5782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5783 }
5784 return resultobj;
5785 fail:
5786 return NULL;
5787 }
5788
5789
5790 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5791 PyObject *resultobj = 0;
5792 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5793 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5794 void *argp1 = 0 ;
5795 int res1 = 0 ;
5796 int val2 ;
5797 int ecode2 = 0 ;
5798 PyObject * obj0 = 0 ;
5799 PyObject * obj1 = 0 ;
5800 char * kwnames[] = {
5801 (char *) "self",(char *) "flags", NULL
5802 };
5803
5804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5806 if (!SWIG_IsOK(res1)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5808 }
5809 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5810 if (obj1) {
5811 ecode2 = SWIG_AsVal_int(obj1, &val2);
5812 if (!SWIG_IsOK(ecode2)) {
5813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5814 }
5815 arg2 = static_cast< int >(val2);
5816 }
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 (arg1)->RequestUserAttention(arg2);
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 resultobj = SWIG_Py_Void();
5824 return resultobj;
5825 fail:
5826 return NULL;
5827 }
5828
5829
5830 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5831 PyObject *resultobj = 0;
5832 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5833 bool result;
5834 void *argp1 = 0 ;
5835 int res1 = 0 ;
5836 PyObject *swig_obj[1] ;
5837
5838 if (!args) SWIG_fail;
5839 swig_obj[0] = args;
5840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5841 if (!SWIG_IsOK(res1)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5843 }
5844 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (bool)(arg1)->IsActive();
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 {
5852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5853 }
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj = 0;
5862 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5863 bool arg2 ;
5864 void *argp1 = 0 ;
5865 int res1 = 0 ;
5866 bool val2 ;
5867 int ecode2 = 0 ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char * kwnames[] = {
5871 (char *) "self",(char *) "on", NULL
5872 };
5873
5874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5876 if (!SWIG_IsOK(res1)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5878 }
5879 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5880 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5881 if (!SWIG_IsOK(ecode2)) {
5882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5883 }
5884 arg2 = static_cast< bool >(val2);
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = SWIG_Py_Void();
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5899 PyObject *resultobj = 0;
5900 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5901 bool result;
5902 void *argp1 = 0 ;
5903 int res1 = 0 ;
5904 PyObject *swig_obj[1] ;
5905
5906 if (!args) SWIG_fail;
5907 swig_obj[0] = args;
5908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5909 if (!SWIG_IsOK(res1)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5911 }
5912 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 {
5920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5921 }
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj = 0;
5930 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5931 int arg2 = (int) wxBOTH ;
5932 void *argp1 = 0 ;
5933 int res1 = 0 ;
5934 int val2 ;
5935 int ecode2 = 0 ;
5936 PyObject * obj0 = 0 ;
5937 PyObject * obj1 = 0 ;
5938 char * kwnames[] = {
5939 (char *) "self",(char *) "dir", NULL
5940 };
5941
5942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5944 if (!SWIG_IsOK(res1)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5946 }
5947 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5948 if (obj1) {
5949 ecode2 = SWIG_AsVal_int(obj1, &val2);
5950 if (!SWIG_IsOK(ecode2)) {
5951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5952 }
5953 arg2 = static_cast< int >(val2);
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 (arg1)->CenterOnScreen(arg2);
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = SWIG_Py_Void();
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5969 PyObject *obj;
5970 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5971 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5972 return SWIG_Py_Void();
5973 }
5974
5975 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj = 0;
5977 wxWindow *arg1 = (wxWindow *) 0 ;
5978 int arg2 = (int) (int)-1 ;
5979 wxString const &arg3_defvalue = wxPyEmptyString ;
5980 wxString *arg3 = (wxString *) &arg3_defvalue ;
5981 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5982 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5983 wxSize const &arg5_defvalue = wxDefaultSize ;
5984 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5985 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5986 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5987 wxString *arg7 = (wxString *) &arg7_defvalue ;
5988 wxFrame *result = 0 ;
5989 void *argp1 = 0 ;
5990 int res1 = 0 ;
5991 int val2 ;
5992 int ecode2 = 0 ;
5993 bool temp3 = false ;
5994 wxPoint temp4 ;
5995 wxSize temp5 ;
5996 long val6 ;
5997 int ecode6 = 0 ;
5998 bool temp7 = false ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 PyObject * obj2 = 0 ;
6002 PyObject * obj3 = 0 ;
6003 PyObject * obj4 = 0 ;
6004 PyObject * obj5 = 0 ;
6005 PyObject * obj6 = 0 ;
6006 char * kwnames[] = {
6007 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6008 };
6009
6010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6012 if (!SWIG_IsOK(res1)) {
6013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6014 }
6015 arg1 = reinterpret_cast< wxWindow * >(argp1);
6016 if (obj1) {
6017 ecode2 = SWIG_AsVal_int(obj1, &val2);
6018 if (!SWIG_IsOK(ecode2)) {
6019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6020 }
6021 arg2 = static_cast< int >(val2);
6022 }
6023 if (obj2) {
6024 {
6025 arg3 = wxString_in_helper(obj2);
6026 if (arg3 == NULL) SWIG_fail;
6027 temp3 = true;
6028 }
6029 }
6030 if (obj3) {
6031 {
6032 arg4 = &temp4;
6033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6034 }
6035 }
6036 if (obj4) {
6037 {
6038 arg5 = &temp5;
6039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6040 }
6041 }
6042 if (obj5) {
6043 ecode6 = SWIG_AsVal_long(obj5, &val6);
6044 if (!SWIG_IsOK(ecode6)) {
6045 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6046 }
6047 arg6 = static_cast< long >(val6);
6048 }
6049 if (obj6) {
6050 {
6051 arg7 = wxString_in_helper(obj6);
6052 if (arg7 == NULL) SWIG_fail;
6053 temp7 = true;
6054 }
6055 }
6056 {
6057 if (!wxPyCheckForApp()) SWIG_fail;
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6064 {
6065 if (temp3)
6066 delete arg3;
6067 }
6068 {
6069 if (temp7)
6070 delete arg7;
6071 }
6072 return resultobj;
6073 fail:
6074 {
6075 if (temp3)
6076 delete arg3;
6077 }
6078 {
6079 if (temp7)
6080 delete arg7;
6081 }
6082 return NULL;
6083 }
6084
6085
6086 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6087 PyObject *resultobj = 0;
6088 wxFrame *result = 0 ;
6089
6090 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6091 {
6092 if (!wxPyCheckForApp()) SWIG_fail;
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (wxFrame *)new wxFrame();
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj = 0;
6107 wxFrame *arg1 = (wxFrame *) 0 ;
6108 wxWindow *arg2 = (wxWindow *) 0 ;
6109 int arg3 = (int) (int)-1 ;
6110 wxString const &arg4_defvalue = wxPyEmptyString ;
6111 wxString *arg4 = (wxString *) &arg4_defvalue ;
6112 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6113 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6114 wxSize const &arg6_defvalue = wxDefaultSize ;
6115 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6116 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6117 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6118 wxString *arg8 = (wxString *) &arg8_defvalue ;
6119 bool result;
6120 void *argp1 = 0 ;
6121 int res1 = 0 ;
6122 void *argp2 = 0 ;
6123 int res2 = 0 ;
6124 int val3 ;
6125 int ecode3 = 0 ;
6126 bool temp4 = false ;
6127 wxPoint temp5 ;
6128 wxSize temp6 ;
6129 long val7 ;
6130 int ecode7 = 0 ;
6131 bool temp8 = false ;
6132 PyObject * obj0 = 0 ;
6133 PyObject * obj1 = 0 ;
6134 PyObject * obj2 = 0 ;
6135 PyObject * obj3 = 0 ;
6136 PyObject * obj4 = 0 ;
6137 PyObject * obj5 = 0 ;
6138 PyObject * obj6 = 0 ;
6139 PyObject * obj7 = 0 ;
6140 char * kwnames[] = {
6141 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6142 };
6143
6144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6146 if (!SWIG_IsOK(res1)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6148 }
6149 arg1 = reinterpret_cast< wxFrame * >(argp1);
6150 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6151 if (!SWIG_IsOK(res2)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6153 }
6154 arg2 = reinterpret_cast< wxWindow * >(argp2);
6155 if (obj2) {
6156 ecode3 = SWIG_AsVal_int(obj2, &val3);
6157 if (!SWIG_IsOK(ecode3)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6159 }
6160 arg3 = static_cast< int >(val3);
6161 }
6162 if (obj3) {
6163 {
6164 arg4 = wxString_in_helper(obj3);
6165 if (arg4 == NULL) SWIG_fail;
6166 temp4 = true;
6167 }
6168 }
6169 if (obj4) {
6170 {
6171 arg5 = &temp5;
6172 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6173 }
6174 }
6175 if (obj5) {
6176 {
6177 arg6 = &temp6;
6178 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6179 }
6180 }
6181 if (obj6) {
6182 ecode7 = SWIG_AsVal_long(obj6, &val7);
6183 if (!SWIG_IsOK(ecode7)) {
6184 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6185 }
6186 arg7 = static_cast< long >(val7);
6187 }
6188 if (obj7) {
6189 {
6190 arg8 = wxString_in_helper(obj7);
6191 if (arg8 == NULL) SWIG_fail;
6192 temp8 = true;
6193 }
6194 }
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6203 }
6204 {
6205 if (temp4)
6206 delete arg4;
6207 }
6208 {
6209 if (temp8)
6210 delete arg8;
6211 }
6212 return resultobj;
6213 fail:
6214 {
6215 if (temp4)
6216 delete arg4;
6217 }
6218 {
6219 if (temp8)
6220 delete arg8;
6221 }
6222 return NULL;
6223 }
6224
6225
6226 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6227 PyObject *resultobj = 0;
6228 wxFrame *arg1 = (wxFrame *) 0 ;
6229 void *argp1 = 0 ;
6230 int res1 = 0 ;
6231 PyObject *swig_obj[1] ;
6232
6233 if (!args) SWIG_fail;
6234 swig_obj[0] = args;
6235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6236 if (!SWIG_IsOK(res1)) {
6237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6238 }
6239 arg1 = reinterpret_cast< wxFrame * >(argp1);
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 (arg1)->SendSizeEvent();
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = SWIG_Py_Void();
6247 return resultobj;
6248 fail:
6249 return NULL;
6250 }
6251
6252
6253 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj = 0;
6255 wxFrame *arg1 = (wxFrame *) 0 ;
6256 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6257 void *argp1 = 0 ;
6258 int res1 = 0 ;
6259 void *argp2 = 0 ;
6260 int res2 = 0 ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 char * kwnames[] = {
6264 (char *) "self",(char *) "menubar", NULL
6265 };
6266
6267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6269 if (!SWIG_IsOK(res1)) {
6270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6271 }
6272 arg1 = reinterpret_cast< wxFrame * >(argp1);
6273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6274 if (!SWIG_IsOK(res2)) {
6275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6276 }
6277 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 (arg1)->SetMenuBar(arg2);
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 resultobj = SWIG_Py_Void();
6285 return resultobj;
6286 fail:
6287 return NULL;
6288 }
6289
6290
6291 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6292 PyObject *resultobj = 0;
6293 wxFrame *arg1 = (wxFrame *) 0 ;
6294 wxMenuBar *result = 0 ;
6295 void *argp1 = 0 ;
6296 int res1 = 0 ;
6297 PyObject *swig_obj[1] ;
6298
6299 if (!args) SWIG_fail;
6300 swig_obj[0] = args;
6301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6302 if (!SWIG_IsOK(res1)) {
6303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6304 }
6305 arg1 = reinterpret_cast< wxFrame * >(argp1);
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 {
6313 resultobj = wxPyMake_wxObject(result, 0);
6314 }
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj = 0;
6323 wxFrame *arg1 = (wxFrame *) 0 ;
6324 int arg2 ;
6325 bool result;
6326 void *argp1 = 0 ;
6327 int res1 = 0 ;
6328 int val2 ;
6329 int ecode2 = 0 ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 char * kwnames[] = {
6333 (char *) "self",(char *) "winid", NULL
6334 };
6335
6336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6338 if (!SWIG_IsOK(res1)) {
6339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6340 }
6341 arg1 = reinterpret_cast< wxFrame * >(argp1);
6342 ecode2 = SWIG_AsVal_int(obj1, &val2);
6343 if (!SWIG_IsOK(ecode2)) {
6344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6345 }
6346 arg2 = static_cast< int >(val2);
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 result = (bool)(arg1)->ProcessCommand(arg2);
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 {
6354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6355 }
6356 return resultobj;
6357 fail:
6358 return NULL;
6359 }
6360
6361
6362 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj = 0;
6364 wxFrame *arg1 = (wxFrame *) 0 ;
6365 int arg2 = (int) 1 ;
6366 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6367 int arg4 = (int) 0 ;
6368 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6369 wxString *arg5 = (wxString *) &arg5_defvalue ;
6370 wxStatusBar *result = 0 ;
6371 void *argp1 = 0 ;
6372 int res1 = 0 ;
6373 int val2 ;
6374 int ecode2 = 0 ;
6375 long val3 ;
6376 int ecode3 = 0 ;
6377 int val4 ;
6378 int ecode4 = 0 ;
6379 bool temp5 = false ;
6380 PyObject * obj0 = 0 ;
6381 PyObject * obj1 = 0 ;
6382 PyObject * obj2 = 0 ;
6383 PyObject * obj3 = 0 ;
6384 PyObject * obj4 = 0 ;
6385 char * kwnames[] = {
6386 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6387 };
6388
6389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6391 if (!SWIG_IsOK(res1)) {
6392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6393 }
6394 arg1 = reinterpret_cast< wxFrame * >(argp1);
6395 if (obj1) {
6396 ecode2 = SWIG_AsVal_int(obj1, &val2);
6397 if (!SWIG_IsOK(ecode2)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6399 }
6400 arg2 = static_cast< int >(val2);
6401 }
6402 if (obj2) {
6403 ecode3 = SWIG_AsVal_long(obj2, &val3);
6404 if (!SWIG_IsOK(ecode3)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6406 }
6407 arg3 = static_cast< long >(val3);
6408 }
6409 if (obj3) {
6410 ecode4 = SWIG_AsVal_int(obj3, &val4);
6411 if (!SWIG_IsOK(ecode4)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6413 }
6414 arg4 = static_cast< int >(val4);
6415 }
6416 if (obj4) {
6417 {
6418 arg5 = wxString_in_helper(obj4);
6419 if (arg5 == NULL) SWIG_fail;
6420 temp5 = true;
6421 }
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 {
6430 resultobj = wxPyMake_wxObject(result, (bool)0);
6431 }
6432 {
6433 if (temp5)
6434 delete arg5;
6435 }
6436 return resultobj;
6437 fail:
6438 {
6439 if (temp5)
6440 delete arg5;
6441 }
6442 return NULL;
6443 }
6444
6445
6446 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6447 PyObject *resultobj = 0;
6448 wxFrame *arg1 = (wxFrame *) 0 ;
6449 wxStatusBar *result = 0 ;
6450 void *argp1 = 0 ;
6451 int res1 = 0 ;
6452 PyObject *swig_obj[1] ;
6453
6454 if (!args) SWIG_fail;
6455 swig_obj[0] = args;
6456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6457 if (!SWIG_IsOK(res1)) {
6458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6459 }
6460 arg1 = reinterpret_cast< wxFrame * >(argp1);
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 {
6468 resultobj = wxPyMake_wxObject(result, (bool)0);
6469 }
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj = 0;
6478 wxFrame *arg1 = (wxFrame *) 0 ;
6479 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6480 void *argp1 = 0 ;
6481 int res1 = 0 ;
6482 void *argp2 = 0 ;
6483 int res2 = 0 ;
6484 PyObject * obj0 = 0 ;
6485 PyObject * obj1 = 0 ;
6486 char * kwnames[] = {
6487 (char *) "self",(char *) "statBar", NULL
6488 };
6489
6490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6492 if (!SWIG_IsOK(res1)) {
6493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6494 }
6495 arg1 = reinterpret_cast< wxFrame * >(argp1);
6496 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6497 if (!SWIG_IsOK(res2)) {
6498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6499 }
6500 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->SetStatusBar(arg2);
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_Py_Void();
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj = 0;
6516 wxFrame *arg1 = (wxFrame *) 0 ;
6517 wxString *arg2 = 0 ;
6518 int arg3 = (int) 0 ;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 bool temp2 = false ;
6522 int val3 ;
6523 int ecode3 = 0 ;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 PyObject * obj2 = 0 ;
6527 char * kwnames[] = {
6528 (char *) "self",(char *) "text",(char *) "number", NULL
6529 };
6530
6531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6533 if (!SWIG_IsOK(res1)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6535 }
6536 arg1 = reinterpret_cast< wxFrame * >(argp1);
6537 {
6538 arg2 = wxString_in_helper(obj1);
6539 if (arg2 == NULL) SWIG_fail;
6540 temp2 = true;
6541 }
6542 if (obj2) {
6543 ecode3 = SWIG_AsVal_int(obj2, &val3);
6544 if (!SWIG_IsOK(ecode3)) {
6545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6546 }
6547 arg3 = static_cast< int >(val3);
6548 }
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 resultobj = SWIG_Py_Void();
6556 {
6557 if (temp2)
6558 delete arg2;
6559 }
6560 return resultobj;
6561 fail:
6562 {
6563 if (temp2)
6564 delete arg2;
6565 }
6566 return NULL;
6567 }
6568
6569
6570 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj = 0;
6572 wxFrame *arg1 = (wxFrame *) 0 ;
6573 int arg2 ;
6574 int *arg3 = (int *) 0 ;
6575 void *argp1 = 0 ;
6576 int res1 = 0 ;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 char * kwnames[] = {
6580 (char *) "self",(char *) "widths", NULL
6581 };
6582
6583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6585 if (!SWIG_IsOK(res1)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6587 }
6588 arg1 = reinterpret_cast< wxFrame * >(argp1);
6589 {
6590 arg2 = PyList_Size(obj1);
6591 arg3 = int_LIST_helper(obj1);
6592 if (arg3 == NULL) SWIG_fail;
6593 }
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 resultobj = SWIG_Py_Void();
6601 {
6602 if (arg3) delete [] arg3;
6603 }
6604 return resultobj;
6605 fail:
6606 {
6607 if (arg3) delete [] arg3;
6608 }
6609 return NULL;
6610 }
6611
6612
6613 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj = 0;
6615 wxFrame *arg1 = (wxFrame *) 0 ;
6616 wxString *arg2 = 0 ;
6617 int arg3 = (int) 0 ;
6618 void *argp1 = 0 ;
6619 int res1 = 0 ;
6620 bool temp2 = false ;
6621 int val3 ;
6622 int ecode3 = 0 ;
6623 PyObject * obj0 = 0 ;
6624 PyObject * obj1 = 0 ;
6625 PyObject * obj2 = 0 ;
6626 char * kwnames[] = {
6627 (char *) "self",(char *) "text",(char *) "number", NULL
6628 };
6629
6630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6632 if (!SWIG_IsOK(res1)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6634 }
6635 arg1 = reinterpret_cast< wxFrame * >(argp1);
6636 {
6637 arg2 = wxString_in_helper(obj1);
6638 if (arg2 == NULL) SWIG_fail;
6639 temp2 = true;
6640 }
6641 if (obj2) {
6642 ecode3 = SWIG_AsVal_int(obj2, &val3);
6643 if (!SWIG_IsOK(ecode3)) {
6644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6645 }
6646 arg3 = static_cast< int >(val3);
6647 }
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 resultobj = SWIG_Py_Void();
6655 {
6656 if (temp2)
6657 delete arg2;
6658 }
6659 return resultobj;
6660 fail:
6661 {
6662 if (temp2)
6663 delete arg2;
6664 }
6665 return NULL;
6666 }
6667
6668
6669 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj = 0;
6671 wxFrame *arg1 = (wxFrame *) 0 ;
6672 int arg2 = (int) 0 ;
6673 void *argp1 = 0 ;
6674 int res1 = 0 ;
6675 int val2 ;
6676 int ecode2 = 0 ;
6677 PyObject * obj0 = 0 ;
6678 PyObject * obj1 = 0 ;
6679 char * kwnames[] = {
6680 (char *) "self",(char *) "number", NULL
6681 };
6682
6683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6685 if (!SWIG_IsOK(res1)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6687 }
6688 arg1 = reinterpret_cast< wxFrame * >(argp1);
6689 if (obj1) {
6690 ecode2 = SWIG_AsVal_int(obj1, &val2);
6691 if (!SWIG_IsOK(ecode2)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6693 }
6694 arg2 = static_cast< int >(val2);
6695 }
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->PopStatusText(arg2);
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 resultobj = SWIG_Py_Void();
6703 return resultobj;
6704 fail:
6705 return NULL;
6706 }
6707
6708
6709 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj = 0;
6711 wxFrame *arg1 = (wxFrame *) 0 ;
6712 int arg2 ;
6713 void *argp1 = 0 ;
6714 int res1 = 0 ;
6715 int val2 ;
6716 int ecode2 = 0 ;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char * kwnames[] = {
6720 (char *) "self",(char *) "n", NULL
6721 };
6722
6723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6725 if (!SWIG_IsOK(res1)) {
6726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6727 }
6728 arg1 = reinterpret_cast< wxFrame * >(argp1);
6729 ecode2 = SWIG_AsVal_int(obj1, &val2);
6730 if (!SWIG_IsOK(ecode2)) {
6731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6732 }
6733 arg2 = static_cast< int >(val2);
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 (arg1)->SetStatusBarPane(arg2);
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 resultobj = SWIG_Py_Void();
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6748 PyObject *resultobj = 0;
6749 wxFrame *arg1 = (wxFrame *) 0 ;
6750 int result;
6751 void *argp1 = 0 ;
6752 int res1 = 0 ;
6753 PyObject *swig_obj[1] ;
6754
6755 if (!args) SWIG_fail;
6756 swig_obj[0] = args;
6757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6758 if (!SWIG_IsOK(res1)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6760 }
6761 arg1 = reinterpret_cast< wxFrame * >(argp1);
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_From_int(static_cast< int >(result));
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj = 0;
6777 wxFrame *arg1 = (wxFrame *) 0 ;
6778 long arg2 = (long) -1 ;
6779 int arg3 = (int) -1 ;
6780 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6781 wxString *arg4 = (wxString *) &arg4_defvalue ;
6782 wxToolBar *result = 0 ;
6783 void *argp1 = 0 ;
6784 int res1 = 0 ;
6785 long val2 ;
6786 int ecode2 = 0 ;
6787 int val3 ;
6788 int ecode3 = 0 ;
6789 bool temp4 = false ;
6790 PyObject * obj0 = 0 ;
6791 PyObject * obj1 = 0 ;
6792 PyObject * obj2 = 0 ;
6793 PyObject * obj3 = 0 ;
6794 char * kwnames[] = {
6795 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6796 };
6797
6798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6800 if (!SWIG_IsOK(res1)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6802 }
6803 arg1 = reinterpret_cast< wxFrame * >(argp1);
6804 if (obj1) {
6805 ecode2 = SWIG_AsVal_long(obj1, &val2);
6806 if (!SWIG_IsOK(ecode2)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6808 }
6809 arg2 = static_cast< long >(val2);
6810 }
6811 if (obj2) {
6812 ecode3 = SWIG_AsVal_int(obj2, &val3);
6813 if (!SWIG_IsOK(ecode3)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6815 }
6816 arg3 = static_cast< int >(val3);
6817 }
6818 if (obj3) {
6819 {
6820 arg4 = wxString_in_helper(obj3);
6821 if (arg4 == NULL) SWIG_fail;
6822 temp4 = true;
6823 }
6824 }
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 {
6832 resultobj = wxPyMake_wxObject(result, (bool)0);
6833 }
6834 {
6835 if (temp4)
6836 delete arg4;
6837 }
6838 return resultobj;
6839 fail:
6840 {
6841 if (temp4)
6842 delete arg4;
6843 }
6844 return NULL;
6845 }
6846
6847
6848 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6849 PyObject *resultobj = 0;
6850 wxFrame *arg1 = (wxFrame *) 0 ;
6851 wxToolBar *result = 0 ;
6852 void *argp1 = 0 ;
6853 int res1 = 0 ;
6854 PyObject *swig_obj[1] ;
6855
6856 if (!args) SWIG_fail;
6857 swig_obj[0] = args;
6858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6859 if (!SWIG_IsOK(res1)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6861 }
6862 arg1 = reinterpret_cast< wxFrame * >(argp1);
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 {
6870 resultobj = wxPyMake_wxObject(result, (bool)0);
6871 }
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj = 0;
6880 wxFrame *arg1 = (wxFrame *) 0 ;
6881 wxToolBar *arg2 = (wxToolBar *) 0 ;
6882 void *argp1 = 0 ;
6883 int res1 = 0 ;
6884 void *argp2 = 0 ;
6885 int res2 = 0 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 char * kwnames[] = {
6889 (char *) "self",(char *) "toolbar", NULL
6890 };
6891
6892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6894 if (!SWIG_IsOK(res1)) {
6895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6896 }
6897 arg1 = reinterpret_cast< wxFrame * >(argp1);
6898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6899 if (!SWIG_IsOK(res2)) {
6900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6901 }
6902 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 (arg1)->SetToolBar(arg2);
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 resultobj = SWIG_Py_Void();
6910 return resultobj;
6911 fail:
6912 return NULL;
6913 }
6914
6915
6916 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6917 PyObject *resultobj = 0;
6918 wxFrame *arg1 = (wxFrame *) 0 ;
6919 wxString *arg2 = 0 ;
6920 bool arg3 ;
6921 void *argp1 = 0 ;
6922 int res1 = 0 ;
6923 bool temp2 = false ;
6924 bool val3 ;
6925 int ecode3 = 0 ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "self",(char *) "text",(char *) "show", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6935 if (!SWIG_IsOK(res1)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6937 }
6938 arg1 = reinterpret_cast< wxFrame * >(argp1);
6939 {
6940 arg2 = wxString_in_helper(obj1);
6941 if (arg2 == NULL) SWIG_fail;
6942 temp2 = true;
6943 }
6944 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6945 if (!SWIG_IsOK(ecode3)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6947 }
6948 arg3 = static_cast< bool >(val3);
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_Py_Void();
6956 {
6957 if (temp2)
6958 delete arg2;
6959 }
6960 return resultobj;
6961 fail:
6962 {
6963 if (temp2)
6964 delete arg2;
6965 }
6966 return NULL;
6967 }
6968
6969
6970 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj = 0;
6972 wxFrame *arg1 = (wxFrame *) 0 ;
6973 wxMenu *arg2 = (wxMenu *) NULL ;
6974 void *argp1 = 0 ;
6975 int res1 = 0 ;
6976 void *argp2 = 0 ;
6977 int res2 = 0 ;
6978 PyObject * obj0 = 0 ;
6979 PyObject * obj1 = 0 ;
6980 char * kwnames[] = {
6981 (char *) "self",(char *) "menu", NULL
6982 };
6983
6984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6986 if (!SWIG_IsOK(res1)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6988 }
6989 arg1 = reinterpret_cast< wxFrame * >(argp1);
6990 if (obj1) {
6991 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6992 if (!SWIG_IsOK(res2)) {
6993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6994 }
6995 arg2 = reinterpret_cast< wxMenu * >(argp2);
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->DoMenuUpdates(arg2);
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = SWIG_Py_Void();
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj = 0;
7012 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7013 SwigValueWrapper<wxVisualAttributes > result;
7014 int val1 ;
7015 int ecode1 = 0 ;
7016 PyObject * obj0 = 0 ;
7017 char * kwnames[] = {
7018 (char *) "variant", NULL
7019 };
7020
7021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7022 if (obj0) {
7023 ecode1 = SWIG_AsVal_int(obj0, &val1);
7024 if (!SWIG_IsOK(ecode1)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7026 }
7027 arg1 = static_cast< wxWindowVariant >(val1);
7028 }
7029 {
7030 if (!wxPyCheckForApp()) SWIG_fail;
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = wxFrame::GetClassDefaultAttributes(arg1);
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7044 PyObject *obj;
7045 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7046 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7047 return SWIG_Py_Void();
7048 }
7049
7050 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7051 return SWIG_Python_InitShadowInstance(args);
7052 }
7053
7054 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj = 0;
7056 wxWindow *arg1 = (wxWindow *) 0 ;
7057 int arg2 = (int) (int)-1 ;
7058 wxString const &arg3_defvalue = wxPyEmptyString ;
7059 wxString *arg3 = (wxString *) &arg3_defvalue ;
7060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7062 wxSize const &arg5_defvalue = wxDefaultSize ;
7063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7064 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7065 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7066 wxString *arg7 = (wxString *) &arg7_defvalue ;
7067 wxDialog *result = 0 ;
7068 void *argp1 = 0 ;
7069 int res1 = 0 ;
7070 int val2 ;
7071 int ecode2 = 0 ;
7072 bool temp3 = false ;
7073 wxPoint temp4 ;
7074 wxSize temp5 ;
7075 long val6 ;
7076 int ecode6 = 0 ;
7077 bool temp7 = false ;
7078 PyObject * obj0 = 0 ;
7079 PyObject * obj1 = 0 ;
7080 PyObject * obj2 = 0 ;
7081 PyObject * obj3 = 0 ;
7082 PyObject * obj4 = 0 ;
7083 PyObject * obj5 = 0 ;
7084 PyObject * obj6 = 0 ;
7085 char * kwnames[] = {
7086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7087 };
7088
7089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7091 if (!SWIG_IsOK(res1)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7093 }
7094 arg1 = reinterpret_cast< wxWindow * >(argp1);
7095 if (obj1) {
7096 ecode2 = SWIG_AsVal_int(obj1, &val2);
7097 if (!SWIG_IsOK(ecode2)) {
7098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7099 }
7100 arg2 = static_cast< int >(val2);
7101 }
7102 if (obj2) {
7103 {
7104 arg3 = wxString_in_helper(obj2);
7105 if (arg3 == NULL) SWIG_fail;
7106 temp3 = true;
7107 }
7108 }
7109 if (obj3) {
7110 {
7111 arg4 = &temp4;
7112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7113 }
7114 }
7115 if (obj4) {
7116 {
7117 arg5 = &temp5;
7118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7119 }
7120 }
7121 if (obj5) {
7122 ecode6 = SWIG_AsVal_long(obj5, &val6);
7123 if (!SWIG_IsOK(ecode6)) {
7124 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7125 }
7126 arg6 = static_cast< long >(val6);
7127 }
7128 if (obj6) {
7129 {
7130 arg7 = wxString_in_helper(obj6);
7131 if (arg7 == NULL) SWIG_fail;
7132 temp7 = true;
7133 }
7134 }
7135 {
7136 if (!wxPyCheckForApp()) SWIG_fail;
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7143 {
7144 if (temp3)
7145 delete arg3;
7146 }
7147 {
7148 if (temp7)
7149 delete arg7;
7150 }
7151 return resultobj;
7152 fail:
7153 {
7154 if (temp3)
7155 delete arg3;
7156 }
7157 {
7158 if (temp7)
7159 delete arg7;
7160 }
7161 return NULL;
7162 }
7163
7164
7165 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7166 PyObject *resultobj = 0;
7167 wxDialog *result = 0 ;
7168
7169 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7170 {
7171 if (!wxPyCheckForApp()) SWIG_fail;
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 result = (wxDialog *)new wxDialog();
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
7177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7178 return resultobj;
7179 fail:
7180 return NULL;
7181 }
7182
7183
7184 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj = 0;
7186 wxDialog *arg1 = (wxDialog *) 0 ;
7187 wxWindow *arg2 = (wxWindow *) 0 ;
7188 int arg3 = (int) (int)-1 ;
7189 wxString const &arg4_defvalue = wxPyEmptyString ;
7190 wxString *arg4 = (wxString *) &arg4_defvalue ;
7191 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7192 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7193 wxSize const &arg6_defvalue = wxDefaultSize ;
7194 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7195 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7196 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7197 wxString *arg8 = (wxString *) &arg8_defvalue ;
7198 bool result;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 void *argp2 = 0 ;
7202 int res2 = 0 ;
7203 int val3 ;
7204 int ecode3 = 0 ;
7205 bool temp4 = false ;
7206 wxPoint temp5 ;
7207 wxSize temp6 ;
7208 long val7 ;
7209 int ecode7 = 0 ;
7210 bool temp8 = false ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 PyObject * obj2 = 0 ;
7214 PyObject * obj3 = 0 ;
7215 PyObject * obj4 = 0 ;
7216 PyObject * obj5 = 0 ;
7217 PyObject * obj6 = 0 ;
7218 PyObject * obj7 = 0 ;
7219 char * kwnames[] = {
7220 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7221 };
7222
7223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7225 if (!SWIG_IsOK(res1)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7227 }
7228 arg1 = reinterpret_cast< wxDialog * >(argp1);
7229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7230 if (!SWIG_IsOK(res2)) {
7231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7232 }
7233 arg2 = reinterpret_cast< wxWindow * >(argp2);
7234 if (obj2) {
7235 ecode3 = SWIG_AsVal_int(obj2, &val3);
7236 if (!SWIG_IsOK(ecode3)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7238 }
7239 arg3 = static_cast< int >(val3);
7240 }
7241 if (obj3) {
7242 {
7243 arg4 = wxString_in_helper(obj3);
7244 if (arg4 == NULL) SWIG_fail;
7245 temp4 = true;
7246 }
7247 }
7248 if (obj4) {
7249 {
7250 arg5 = &temp5;
7251 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7252 }
7253 }
7254 if (obj5) {
7255 {
7256 arg6 = &temp6;
7257 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7258 }
7259 }
7260 if (obj6) {
7261 ecode7 = SWIG_AsVal_long(obj6, &val7);
7262 if (!SWIG_IsOK(ecode7)) {
7263 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7264 }
7265 arg7 = static_cast< long >(val7);
7266 }
7267 if (obj7) {
7268 {
7269 arg8 = wxString_in_helper(obj7);
7270 if (arg8 == NULL) SWIG_fail;
7271 temp8 = true;
7272 }
7273 }
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 {
7281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7282 }
7283 {
7284 if (temp4)
7285 delete arg4;
7286 }
7287 {
7288 if (temp8)
7289 delete arg8;
7290 }
7291 return resultobj;
7292 fail:
7293 {
7294 if (temp4)
7295 delete arg4;
7296 }
7297 {
7298 if (temp8)
7299 delete arg8;
7300 }
7301 return NULL;
7302 }
7303
7304
7305 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj = 0;
7307 wxDialog *arg1 = (wxDialog *) 0 ;
7308 int arg2 ;
7309 void *argp1 = 0 ;
7310 int res1 = 0 ;
7311 int val2 ;
7312 int ecode2 = 0 ;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 char * kwnames[] = {
7316 (char *) "self",(char *) "returnCode", NULL
7317 };
7318
7319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7321 if (!SWIG_IsOK(res1)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7323 }
7324 arg1 = reinterpret_cast< wxDialog * >(argp1);
7325 ecode2 = SWIG_AsVal_int(obj1, &val2);
7326 if (!SWIG_IsOK(ecode2)) {
7327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7328 }
7329 arg2 = static_cast< int >(val2);
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 (arg1)->SetReturnCode(arg2);
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 resultobj = SWIG_Py_Void();
7337 return resultobj;
7338 fail:
7339 return NULL;
7340 }
7341
7342
7343 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7344 PyObject *resultobj = 0;
7345 wxDialog *arg1 = (wxDialog *) 0 ;
7346 int result;
7347 void *argp1 = 0 ;
7348 int res1 = 0 ;
7349 PyObject *swig_obj[1] ;
7350
7351 if (!args) SWIG_fail;
7352 swig_obj[0] = args;
7353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7354 if (!SWIG_IsOK(res1)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7356 }
7357 arg1 = reinterpret_cast< wxDialog * >(argp1);
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 resultobj = SWIG_From_int(static_cast< int >(result));
7365 return resultobj;
7366 fail:
7367 return NULL;
7368 }
7369
7370
7371 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj = 0;
7373 wxDialog *arg1 = (wxDialog *) 0 ;
7374 int arg2 ;
7375 void *argp1 = 0 ;
7376 int res1 = 0 ;
7377 int val2 ;
7378 int ecode2 = 0 ;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char * kwnames[] = {
7382 (char *) "self",(char *) "affirmativeId", NULL
7383 };
7384
7385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7387 if (!SWIG_IsOK(res1)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7389 }
7390 arg1 = reinterpret_cast< wxDialog * >(argp1);
7391 ecode2 = SWIG_AsVal_int(obj1, &val2);
7392 if (!SWIG_IsOK(ecode2)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7394 }
7395 arg2 = static_cast< int >(val2);
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 (arg1)->SetAffirmativeId(arg2);
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
7402 resultobj = SWIG_Py_Void();
7403 return resultobj;
7404 fail:
7405 return NULL;
7406 }
7407
7408
7409 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7410 PyObject *resultobj = 0;
7411 wxDialog *arg1 = (wxDialog *) 0 ;
7412 int result;
7413 void *argp1 = 0 ;
7414 int res1 = 0 ;
7415 PyObject *swig_obj[1] ;
7416
7417 if (!args) SWIG_fail;
7418 swig_obj[0] = args;
7419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7420 if (!SWIG_IsOK(res1)) {
7421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7422 }
7423 arg1 = reinterpret_cast< wxDialog * >(argp1);
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 resultobj = SWIG_From_int(static_cast< int >(result));
7431 return resultobj;
7432 fail:
7433 return NULL;
7434 }
7435
7436
7437 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj = 0;
7439 wxDialog *arg1 = (wxDialog *) 0 ;
7440 int arg2 ;
7441 void *argp1 = 0 ;
7442 int res1 = 0 ;
7443 int val2 ;
7444 int ecode2 = 0 ;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char * kwnames[] = {
7448 (char *) "self",(char *) "escapeId", NULL
7449 };
7450
7451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7453 if (!SWIG_IsOK(res1)) {
7454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7455 }
7456 arg1 = reinterpret_cast< wxDialog * >(argp1);
7457 ecode2 = SWIG_AsVal_int(obj1, &val2);
7458 if (!SWIG_IsOK(ecode2)) {
7459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7460 }
7461 arg2 = static_cast< int >(val2);
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->SetEscapeId(arg2);
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 resultobj = SWIG_Py_Void();
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7476 PyObject *resultobj = 0;
7477 wxDialog *arg1 = (wxDialog *) 0 ;
7478 int result;
7479 void *argp1 = 0 ;
7480 int res1 = 0 ;
7481 PyObject *swig_obj[1] ;
7482
7483 if (!args) SWIG_fail;
7484 swig_obj[0] = args;
7485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7486 if (!SWIG_IsOK(res1)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7488 }
7489 arg1 = reinterpret_cast< wxDialog * >(argp1);
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 resultobj = SWIG_From_int(static_cast< int >(result));
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj = 0;
7505 wxDialog *arg1 = (wxDialog *) 0 ;
7506 wxString *arg2 = 0 ;
7507 wxSizer *result = 0 ;
7508 void *argp1 = 0 ;
7509 int res1 = 0 ;
7510 bool temp2 = false ;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 char * kwnames[] = {
7514 (char *) "self",(char *) "message", NULL
7515 };
7516
7517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7519 if (!SWIG_IsOK(res1)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7521 }
7522 arg1 = reinterpret_cast< wxDialog * >(argp1);
7523 {
7524 arg2 = wxString_in_helper(obj1);
7525 if (arg2 == NULL) SWIG_fail;
7526 temp2 = true;
7527 }
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 {
7535 resultobj = wxPyMake_wxObject(result, (bool)0);
7536 }
7537 {
7538 if (temp2)
7539 delete arg2;
7540 }
7541 return resultobj;
7542 fail:
7543 {
7544 if (temp2)
7545 delete arg2;
7546 }
7547 return NULL;
7548 }
7549
7550
7551 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj = 0;
7553 wxDialog *arg1 = (wxDialog *) 0 ;
7554 long arg2 ;
7555 bool arg3 = (bool) false ;
7556 int arg4 = (int) 0 ;
7557 wxSizer *result = 0 ;
7558 void *argp1 = 0 ;
7559 int res1 = 0 ;
7560 long val2 ;
7561 int ecode2 = 0 ;
7562 bool val3 ;
7563 int ecode3 = 0 ;
7564 int val4 ;
7565 int ecode4 = 0 ;
7566 PyObject * obj0 = 0 ;
7567 PyObject * obj1 = 0 ;
7568 PyObject * obj2 = 0 ;
7569 PyObject * obj3 = 0 ;
7570 char * kwnames[] = {
7571 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7572 };
7573
7574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7576 if (!SWIG_IsOK(res1)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7578 }
7579 arg1 = reinterpret_cast< wxDialog * >(argp1);
7580 ecode2 = SWIG_AsVal_long(obj1, &val2);
7581 if (!SWIG_IsOK(ecode2)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7583 }
7584 arg2 = static_cast< long >(val2);
7585 if (obj2) {
7586 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7587 if (!SWIG_IsOK(ecode3)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7589 }
7590 arg3 = static_cast< bool >(val3);
7591 }
7592 if (obj3) {
7593 ecode4 = SWIG_AsVal_int(obj3, &val4);
7594 if (!SWIG_IsOK(ecode4)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7596 }
7597 arg4 = static_cast< int >(val4);
7598 }
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 resultobj = wxPyMake_wxObject(result, (bool)0);
7607 }
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7615 PyObject *resultobj = 0;
7616 wxDialog *arg1 = (wxDialog *) 0 ;
7617 long arg2 ;
7618 wxStdDialogButtonSizer *result = 0 ;
7619 void *argp1 = 0 ;
7620 int res1 = 0 ;
7621 long val2 ;
7622 int ecode2 = 0 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char * kwnames[] = {
7626 (char *) "self",(char *) "flags", NULL
7627 };
7628
7629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7631 if (!SWIG_IsOK(res1)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7633 }
7634 arg1 = reinterpret_cast< wxDialog * >(argp1);
7635 ecode2 = SWIG_AsVal_long(obj1, &val2);
7636 if (!SWIG_IsOK(ecode2)) {
7637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7638 }
7639 arg2 = static_cast< long >(val2);
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7654 PyObject *resultobj = 0;
7655 wxDialog *arg1 = (wxDialog *) 0 ;
7656 bool result;
7657 void *argp1 = 0 ;
7658 int res1 = 0 ;
7659 PyObject *swig_obj[1] ;
7660
7661 if (!args) SWIG_fail;
7662 swig_obj[0] = args;
7663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7664 if (!SWIG_IsOK(res1)) {
7665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7666 }
7667 arg1 = reinterpret_cast< wxDialog * >(argp1);
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = (bool)((wxDialog const *)arg1)->IsModal();
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 {
7675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7676 }
7677 return resultobj;
7678 fail:
7679 return NULL;
7680 }
7681
7682
7683 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7684 PyObject *resultobj = 0;
7685 wxDialog *arg1 = (wxDialog *) 0 ;
7686 int result;
7687 void *argp1 = 0 ;
7688 int res1 = 0 ;
7689 PyObject *swig_obj[1] ;
7690
7691 if (!args) SWIG_fail;
7692 swig_obj[0] = args;
7693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7694 if (!SWIG_IsOK(res1)) {
7695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7696 }
7697 arg1 = reinterpret_cast< wxDialog * >(argp1);
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 result = (int)(arg1)->ShowModal();
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 resultobj = SWIG_From_int(static_cast< int >(result));
7705 return resultobj;
7706 fail:
7707 return NULL;
7708 }
7709
7710
7711 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7712 PyObject *resultobj = 0;
7713 wxDialog *arg1 = (wxDialog *) 0 ;
7714 int arg2 ;
7715 void *argp1 = 0 ;
7716 int res1 = 0 ;
7717 int val2 ;
7718 int ecode2 = 0 ;
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 char * kwnames[] = {
7722 (char *) "self",(char *) "retCode", NULL
7723 };
7724
7725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7727 if (!SWIG_IsOK(res1)) {
7728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7729 }
7730 arg1 = reinterpret_cast< wxDialog * >(argp1);
7731 ecode2 = SWIG_AsVal_int(obj1, &val2);
7732 if (!SWIG_IsOK(ecode2)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7734 }
7735 arg2 = static_cast< int >(val2);
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 (arg1)->EndModal(arg2);
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = SWIG_Py_Void();
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj = 0;
7751 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7752 SwigValueWrapper<wxVisualAttributes > result;
7753 int val1 ;
7754 int ecode1 = 0 ;
7755 PyObject * obj0 = 0 ;
7756 char * kwnames[] = {
7757 (char *) "variant", NULL
7758 };
7759
7760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7761 if (obj0) {
7762 ecode1 = SWIG_AsVal_int(obj0, &val1);
7763 if (!SWIG_IsOK(ecode1)) {
7764 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7765 }
7766 arg1 = static_cast< wxWindowVariant >(val1);
7767 }
7768 {
7769 if (!wxPyCheckForApp()) SWIG_fail;
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = wxDialog::GetClassDefaultAttributes(arg1);
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7776 return resultobj;
7777 fail:
7778 return NULL;
7779 }
7780
7781
7782 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7783 PyObject *obj;
7784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7785 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7786 return SWIG_Py_Void();
7787 }
7788
7789 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7790 return SWIG_Python_InitShadowInstance(args);
7791 }
7792
7793 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj = 0;
7795 wxWindow *arg1 = (wxWindow *) 0 ;
7796 int arg2 = (int) (int)-1 ;
7797 wxString const &arg3_defvalue = wxPyEmptyString ;
7798 wxString *arg3 = (wxString *) &arg3_defvalue ;
7799 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7800 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7801 wxSize const &arg5_defvalue = wxDefaultSize ;
7802 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7803 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7804 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7805 wxString *arg7 = (wxString *) &arg7_defvalue ;
7806 wxMiniFrame *result = 0 ;
7807 void *argp1 = 0 ;
7808 int res1 = 0 ;
7809 int val2 ;
7810 int ecode2 = 0 ;
7811 bool temp3 = false ;
7812 wxPoint temp4 ;
7813 wxSize temp5 ;
7814 long val6 ;
7815 int ecode6 = 0 ;
7816 bool temp7 = false ;
7817 PyObject * obj0 = 0 ;
7818 PyObject * obj1 = 0 ;
7819 PyObject * obj2 = 0 ;
7820 PyObject * obj3 = 0 ;
7821 PyObject * obj4 = 0 ;
7822 PyObject * obj5 = 0 ;
7823 PyObject * obj6 = 0 ;
7824 char * kwnames[] = {
7825 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7826 };
7827
7828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7830 if (!SWIG_IsOK(res1)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7832 }
7833 arg1 = reinterpret_cast< wxWindow * >(argp1);
7834 if (obj1) {
7835 ecode2 = SWIG_AsVal_int(obj1, &val2);
7836 if (!SWIG_IsOK(ecode2)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7838 }
7839 arg2 = static_cast< int >(val2);
7840 }
7841 if (obj2) {
7842 {
7843 arg3 = wxString_in_helper(obj2);
7844 if (arg3 == NULL) SWIG_fail;
7845 temp3 = true;
7846 }
7847 }
7848 if (obj3) {
7849 {
7850 arg4 = &temp4;
7851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7852 }
7853 }
7854 if (obj4) {
7855 {
7856 arg5 = &temp5;
7857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7858 }
7859 }
7860 if (obj5) {
7861 ecode6 = SWIG_AsVal_long(obj5, &val6);
7862 if (!SWIG_IsOK(ecode6)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7864 }
7865 arg6 = static_cast< long >(val6);
7866 }
7867 if (obj6) {
7868 {
7869 arg7 = wxString_in_helper(obj6);
7870 if (arg7 == NULL) SWIG_fail;
7871 temp7 = true;
7872 }
7873 }
7874 {
7875 if (!wxPyCheckForApp()) SWIG_fail;
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7882 {
7883 if (temp3)
7884 delete arg3;
7885 }
7886 {
7887 if (temp7)
7888 delete arg7;
7889 }
7890 return resultobj;
7891 fail:
7892 {
7893 if (temp3)
7894 delete arg3;
7895 }
7896 {
7897 if (temp7)
7898 delete arg7;
7899 }
7900 return NULL;
7901 }
7902
7903
7904 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7905 PyObject *resultobj = 0;
7906 wxMiniFrame *result = 0 ;
7907
7908 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7909 {
7910 if (!wxPyCheckForApp()) SWIG_fail;
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (wxMiniFrame *)new wxMiniFrame();
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj = 0;
7925 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7926 wxWindow *arg2 = (wxWindow *) 0 ;
7927 int arg3 = (int) (int)-1 ;
7928 wxString const &arg4_defvalue = wxPyEmptyString ;
7929 wxString *arg4 = (wxString *) &arg4_defvalue ;
7930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7932 wxSize const &arg6_defvalue = wxDefaultSize ;
7933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7934 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7935 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7936 wxString *arg8 = (wxString *) &arg8_defvalue ;
7937 bool result;
7938 void *argp1 = 0 ;
7939 int res1 = 0 ;
7940 void *argp2 = 0 ;
7941 int res2 = 0 ;
7942 int val3 ;
7943 int ecode3 = 0 ;
7944 bool temp4 = false ;
7945 wxPoint temp5 ;
7946 wxSize temp6 ;
7947 long val7 ;
7948 int ecode7 = 0 ;
7949 bool temp8 = false ;
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj1 = 0 ;
7952 PyObject * obj2 = 0 ;
7953 PyObject * obj3 = 0 ;
7954 PyObject * obj4 = 0 ;
7955 PyObject * obj5 = 0 ;
7956 PyObject * obj6 = 0 ;
7957 PyObject * obj7 = 0 ;
7958 char * kwnames[] = {
7959 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7960 };
7961
7962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7964 if (!SWIG_IsOK(res1)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7966 }
7967 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7968 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7969 if (!SWIG_IsOK(res2)) {
7970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7971 }
7972 arg2 = reinterpret_cast< wxWindow * >(argp2);
7973 if (obj2) {
7974 ecode3 = SWIG_AsVal_int(obj2, &val3);
7975 if (!SWIG_IsOK(ecode3)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7977 }
7978 arg3 = static_cast< int >(val3);
7979 }
7980 if (obj3) {
7981 {
7982 arg4 = wxString_in_helper(obj3);
7983 if (arg4 == NULL) SWIG_fail;
7984 temp4 = true;
7985 }
7986 }
7987 if (obj4) {
7988 {
7989 arg5 = &temp5;
7990 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7991 }
7992 }
7993 if (obj5) {
7994 {
7995 arg6 = &temp6;
7996 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7997 }
7998 }
7999 if (obj6) {
8000 ecode7 = SWIG_AsVal_long(obj6, &val7);
8001 if (!SWIG_IsOK(ecode7)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8003 }
8004 arg7 = static_cast< long >(val7);
8005 }
8006 if (obj7) {
8007 {
8008 arg8 = wxString_in_helper(obj7);
8009 if (arg8 == NULL) SWIG_fail;
8010 temp8 = true;
8011 }
8012 }
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 {
8020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8021 }
8022 {
8023 if (temp4)
8024 delete arg4;
8025 }
8026 {
8027 if (temp8)
8028 delete arg8;
8029 }
8030 return resultobj;
8031 fail:
8032 {
8033 if (temp4)
8034 delete arg4;
8035 }
8036 {
8037 if (temp8)
8038 delete arg8;
8039 }
8040 return NULL;
8041 }
8042
8043
8044 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8045 PyObject *obj;
8046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8047 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8048 return SWIG_Py_Void();
8049 }
8050
8051 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8052 return SWIG_Python_InitShadowInstance(args);
8053 }
8054
8055 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj = 0;
8057 wxBitmap *arg1 = 0 ;
8058 wxWindow *arg2 = (wxWindow *) 0 ;
8059 int arg3 ;
8060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8062 wxSize const &arg5_defvalue = wxDefaultSize ;
8063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8064 long arg6 = (long) wxNO_BORDER ;
8065 wxSplashScreenWindow *result = 0 ;
8066 void *argp1 = 0 ;
8067 int res1 = 0 ;
8068 void *argp2 = 0 ;
8069 int res2 = 0 ;
8070 int val3 ;
8071 int ecode3 = 0 ;
8072 wxPoint temp4 ;
8073 wxSize temp5 ;
8074 long val6 ;
8075 int ecode6 = 0 ;
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
8078 PyObject * obj2 = 0 ;
8079 PyObject * obj3 = 0 ;
8080 PyObject * obj4 = 0 ;
8081 PyObject * obj5 = 0 ;
8082 char * kwnames[] = {
8083 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8084 };
8085
8086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8087 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8088 if (!SWIG_IsOK(res1)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8090 }
8091 if (!argp1) {
8092 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8093 }
8094 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8095 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8096 if (!SWIG_IsOK(res2)) {
8097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8098 }
8099 arg2 = reinterpret_cast< wxWindow * >(argp2);
8100 ecode3 = SWIG_AsVal_int(obj2, &val3);
8101 if (!SWIG_IsOK(ecode3)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8103 }
8104 arg3 = static_cast< int >(val3);
8105 if (obj3) {
8106 {
8107 arg4 = &temp4;
8108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8109 }
8110 }
8111 if (obj4) {
8112 {
8113 arg5 = &temp5;
8114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8115 }
8116 }
8117 if (obj5) {
8118 ecode6 = SWIG_AsVal_long(obj5, &val6);
8119 if (!SWIG_IsOK(ecode6)) {
8120 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8121 }
8122 arg6 = static_cast< long >(val6);
8123 }
8124 {
8125 if (!wxPyCheckForApp()) SWIG_fail;
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8132 return resultobj;
8133 fail:
8134 return NULL;
8135 }
8136
8137
8138 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj = 0;
8140 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8141 wxBitmap *arg2 = 0 ;
8142 void *argp1 = 0 ;
8143 int res1 = 0 ;
8144 void *argp2 = 0 ;
8145 int res2 = 0 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 char * kwnames[] = {
8149 (char *) "self",(char *) "bitmap", NULL
8150 };
8151
8152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8154 if (!SWIG_IsOK(res1)) {
8155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8156 }
8157 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8158 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8159 if (!SWIG_IsOK(res2)) {
8160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8161 }
8162 if (!argp2) {
8163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8164 }
8165 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 resultobj = SWIG_Py_Void();
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8180 PyObject *resultobj = 0;
8181 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8182 wxBitmap *result = 0 ;
8183 void *argp1 = 0 ;
8184 int res1 = 0 ;
8185 PyObject *swig_obj[1] ;
8186
8187 if (!args) SWIG_fail;
8188 swig_obj[0] = args;
8189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8190 if (!SWIG_IsOK(res1)) {
8191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8192 }
8193 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 {
8197 wxBitmap &_result_ref = (arg1)->GetBitmap();
8198 result = (wxBitmap *) &_result_ref;
8199 }
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 {
8204 wxBitmap* resultptr = new wxBitmap(*result);
8205 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8206 }
8207 return resultobj;
8208 fail:
8209 return NULL;
8210 }
8211
8212
8213 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8214 PyObject *obj;
8215 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8216 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8217 return SWIG_Py_Void();
8218 }
8219
8220 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8221 return SWIG_Python_InitShadowInstance(args);
8222 }
8223
8224 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj = 0;
8226 wxBitmap *arg1 = 0 ;
8227 long arg2 ;
8228 int arg3 ;
8229 wxWindow *arg4 = (wxWindow *) 0 ;
8230 int arg5 = (int) -1 ;
8231 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8232 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8233 wxSize const &arg7_defvalue = wxDefaultSize ;
8234 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8235 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8236 wxSplashScreen *result = 0 ;
8237 void *argp1 = 0 ;
8238 int res1 = 0 ;
8239 long val2 ;
8240 int ecode2 = 0 ;
8241 int val3 ;
8242 int ecode3 = 0 ;
8243 void *argp4 = 0 ;
8244 int res4 = 0 ;
8245 int val5 ;
8246 int ecode5 = 0 ;
8247 wxPoint temp6 ;
8248 wxSize temp7 ;
8249 long val8 ;
8250 int ecode8 = 0 ;
8251 PyObject * obj0 = 0 ;
8252 PyObject * obj1 = 0 ;
8253 PyObject * obj2 = 0 ;
8254 PyObject * obj3 = 0 ;
8255 PyObject * obj4 = 0 ;
8256 PyObject * obj5 = 0 ;
8257 PyObject * obj6 = 0 ;
8258 PyObject * obj7 = 0 ;
8259 char * kwnames[] = {
8260 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8261 };
8262
8263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8264 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8265 if (!SWIG_IsOK(res1)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8267 }
8268 if (!argp1) {
8269 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8270 }
8271 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8272 ecode2 = SWIG_AsVal_long(obj1, &val2);
8273 if (!SWIG_IsOK(ecode2)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8275 }
8276 arg2 = static_cast< long >(val2);
8277 ecode3 = SWIG_AsVal_int(obj2, &val3);
8278 if (!SWIG_IsOK(ecode3)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8280 }
8281 arg3 = static_cast< int >(val3);
8282 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8283 if (!SWIG_IsOK(res4)) {
8284 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8285 }
8286 arg4 = reinterpret_cast< wxWindow * >(argp4);
8287 if (obj4) {
8288 ecode5 = SWIG_AsVal_int(obj4, &val5);
8289 if (!SWIG_IsOK(ecode5)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8291 }
8292 arg5 = static_cast< int >(val5);
8293 }
8294 if (obj5) {
8295 {
8296 arg6 = &temp6;
8297 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8298 }
8299 }
8300 if (obj6) {
8301 {
8302 arg7 = &temp7;
8303 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8304 }
8305 }
8306 if (obj7) {
8307 ecode8 = SWIG_AsVal_long(obj7, &val8);
8308 if (!SWIG_IsOK(ecode8)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8310 }
8311 arg8 = static_cast< long >(val8);
8312 }
8313 {
8314 if (!wxPyCheckForApp()) SWIG_fail;
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8328 PyObject *resultobj = 0;
8329 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8330 long result;
8331 void *argp1 = 0 ;
8332 int res1 = 0 ;
8333 PyObject *swig_obj[1] ;
8334
8335 if (!args) SWIG_fail;
8336 swig_obj[0] = args;
8337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8338 if (!SWIG_IsOK(res1)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8340 }
8341 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 resultobj = SWIG_From_long(static_cast< long >(result));
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8356 PyObject *resultobj = 0;
8357 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8358 wxSplashScreenWindow *result = 0 ;
8359 void *argp1 = 0 ;
8360 int res1 = 0 ;
8361 PyObject *swig_obj[1] ;
8362
8363 if (!args) SWIG_fail;
8364 swig_obj[0] = args;
8365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8366 if (!SWIG_IsOK(res1)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8368 }
8369 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8377 return resultobj;
8378 fail:
8379 return NULL;
8380 }
8381
8382
8383 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8384 PyObject *resultobj = 0;
8385 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8386 int result;
8387 void *argp1 = 0 ;
8388 int res1 = 0 ;
8389 PyObject *swig_obj[1] ;
8390
8391 if (!args) SWIG_fail;
8392 swig_obj[0] = args;
8393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8394 if (!SWIG_IsOK(res1)) {
8395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8396 }
8397 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8398 {
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = SWIG_From_int(static_cast< int >(result));
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8412 PyObject *obj;
8413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8415 return SWIG_Py_Void();
8416 }
8417
8418 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 return SWIG_Python_InitShadowInstance(args);
8420 }
8421
8422 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxWindow *arg1 = (wxWindow *) 0 ;
8425 int arg2 = (int) -1 ;
8426 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8427 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8428 wxString *arg4 = (wxString *) &arg4_defvalue ;
8429 wxStatusBar *result = 0 ;
8430 void *argp1 = 0 ;
8431 int res1 = 0 ;
8432 int val2 ;
8433 int ecode2 = 0 ;
8434 long val3 ;
8435 int ecode3 = 0 ;
8436 bool temp4 = false ;
8437 PyObject * obj0 = 0 ;
8438 PyObject * obj1 = 0 ;
8439 PyObject * obj2 = 0 ;
8440 PyObject * obj3 = 0 ;
8441 char * kwnames[] = {
8442 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8443 };
8444
8445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8447 if (!SWIG_IsOK(res1)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8449 }
8450 arg1 = reinterpret_cast< wxWindow * >(argp1);
8451 if (obj1) {
8452 ecode2 = SWIG_AsVal_int(obj1, &val2);
8453 if (!SWIG_IsOK(ecode2)) {
8454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8455 }
8456 arg2 = static_cast< int >(val2);
8457 }
8458 if (obj2) {
8459 ecode3 = SWIG_AsVal_long(obj2, &val3);
8460 if (!SWIG_IsOK(ecode3)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8462 }
8463 arg3 = static_cast< long >(val3);
8464 }
8465 if (obj3) {
8466 {
8467 arg4 = wxString_in_helper(obj3);
8468 if (arg4 == NULL) SWIG_fail;
8469 temp4 = true;
8470 }
8471 }
8472 {
8473 if (!wxPyCheckForApp()) SWIG_fail;
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8480 {
8481 if (temp4)
8482 delete arg4;
8483 }
8484 return resultobj;
8485 fail:
8486 {
8487 if (temp4)
8488 delete arg4;
8489 }
8490 return NULL;
8491 }
8492
8493
8494 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8495 PyObject *resultobj = 0;
8496 wxStatusBar *result = 0 ;
8497
8498 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8499 {
8500 if (!wxPyCheckForApp()) SWIG_fail;
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (wxStatusBar *)new wxStatusBar();
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj = 0;
8515 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8516 wxWindow *arg2 = (wxWindow *) 0 ;
8517 int arg3 = (int) -1 ;
8518 long arg4 = (long) wxST_SIZEGRIP ;
8519 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8520 wxString *arg5 = (wxString *) &arg5_defvalue ;
8521 bool result;
8522 void *argp1 = 0 ;
8523 int res1 = 0 ;
8524 void *argp2 = 0 ;
8525 int res2 = 0 ;
8526 int val3 ;
8527 int ecode3 = 0 ;
8528 long val4 ;
8529 int ecode4 = 0 ;
8530 bool temp5 = false ;
8531 PyObject * obj0 = 0 ;
8532 PyObject * obj1 = 0 ;
8533 PyObject * obj2 = 0 ;
8534 PyObject * obj3 = 0 ;
8535 PyObject * obj4 = 0 ;
8536 char * kwnames[] = {
8537 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8538 };
8539
8540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8542 if (!SWIG_IsOK(res1)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8544 }
8545 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8546 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8547 if (!SWIG_IsOK(res2)) {
8548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8549 }
8550 arg2 = reinterpret_cast< wxWindow * >(argp2);
8551 if (obj2) {
8552 ecode3 = SWIG_AsVal_int(obj2, &val3);
8553 if (!SWIG_IsOK(ecode3)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8555 }
8556 arg3 = static_cast< int >(val3);
8557 }
8558 if (obj3) {
8559 ecode4 = SWIG_AsVal_long(obj3, &val4);
8560 if (!SWIG_IsOK(ecode4)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8562 }
8563 arg4 = static_cast< long >(val4);
8564 }
8565 if (obj4) {
8566 {
8567 arg5 = wxString_in_helper(obj4);
8568 if (arg5 == NULL) SWIG_fail;
8569 temp5 = true;
8570 }
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 {
8579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8580 }
8581 {
8582 if (temp5)
8583 delete arg5;
8584 }
8585 return resultobj;
8586 fail:
8587 {
8588 if (temp5)
8589 delete arg5;
8590 }
8591 return NULL;
8592 }
8593
8594
8595 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj = 0;
8597 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8598 int arg2 = (int) 1 ;
8599 void *argp1 = 0 ;
8600 int res1 = 0 ;
8601 int val2 ;
8602 int ecode2 = 0 ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 char * kwnames[] = {
8606 (char *) "self",(char *) "number", NULL
8607 };
8608
8609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8611 if (!SWIG_IsOK(res1)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8613 }
8614 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8615 if (obj1) {
8616 ecode2 = SWIG_AsVal_int(obj1, &val2);
8617 if (!SWIG_IsOK(ecode2)) {
8618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8619 }
8620 arg2 = static_cast< int >(val2);
8621 }
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 (arg1)->SetFieldsCount(arg2);
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_Py_Void();
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636 PyObject *resultobj = 0;
8637 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8638 int result;
8639 void *argp1 = 0 ;
8640 int res1 = 0 ;
8641 PyObject *swig_obj[1] ;
8642
8643 if (!args) SWIG_fail;
8644 swig_obj[0] = args;
8645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8646 if (!SWIG_IsOK(res1)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8648 }
8649 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_From_int(static_cast< int >(result));
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj = 0;
8665 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8666 wxString *arg2 = 0 ;
8667 int arg3 = (int) 0 ;
8668 void *argp1 = 0 ;
8669 int res1 = 0 ;
8670 bool temp2 = false ;
8671 int val3 ;
8672 int ecode3 = 0 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 PyObject * obj2 = 0 ;
8676 char * kwnames[] = {
8677 (char *) "self",(char *) "text",(char *) "number", NULL
8678 };
8679
8680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8684 }
8685 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8686 {
8687 arg2 = wxString_in_helper(obj1);
8688 if (arg2 == NULL) SWIG_fail;
8689 temp2 = true;
8690 }
8691 if (obj2) {
8692 ecode3 = SWIG_AsVal_int(obj2, &val3);
8693 if (!SWIG_IsOK(ecode3)) {
8694 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8695 }
8696 arg3 = static_cast< int >(val3);
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = SWIG_Py_Void();
8705 {
8706 if (temp2)
8707 delete arg2;
8708 }
8709 return resultobj;
8710 fail:
8711 {
8712 if (temp2)
8713 delete arg2;
8714 }
8715 return NULL;
8716 }
8717
8718
8719 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj = 0;
8721 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8722 int arg2 = (int) 0 ;
8723 wxString result;
8724 void *argp1 = 0 ;
8725 int res1 = 0 ;
8726 int val2 ;
8727 int ecode2 = 0 ;
8728 PyObject * obj0 = 0 ;
8729 PyObject * obj1 = 0 ;
8730 char * kwnames[] = {
8731 (char *) "self",(char *) "number", NULL
8732 };
8733
8734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8736 if (!SWIG_IsOK(res1)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8738 }
8739 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8740 if (obj1) {
8741 ecode2 = SWIG_AsVal_int(obj1, &val2);
8742 if (!SWIG_IsOK(ecode2)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8744 }
8745 arg2 = static_cast< int >(val2);
8746 }
8747 {
8748 PyThreadState* __tstate = wxPyBeginAllowThreads();
8749 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 {
8754 #if wxUSE_UNICODE
8755 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8756 #else
8757 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8758 #endif
8759 }
8760 return resultobj;
8761 fail:
8762 return NULL;
8763 }
8764
8765
8766 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj = 0;
8768 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8769 wxString *arg2 = 0 ;
8770 int arg3 = (int) 0 ;
8771 void *argp1 = 0 ;
8772 int res1 = 0 ;
8773 bool temp2 = false ;
8774 int val3 ;
8775 int ecode3 = 0 ;
8776 PyObject * obj0 = 0 ;
8777 PyObject * obj1 = 0 ;
8778 PyObject * obj2 = 0 ;
8779 char * kwnames[] = {
8780 (char *) "self",(char *) "text",(char *) "number", NULL
8781 };
8782
8783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8785 if (!SWIG_IsOK(res1)) {
8786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8787 }
8788 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8789 {
8790 arg2 = wxString_in_helper(obj1);
8791 if (arg2 == NULL) SWIG_fail;
8792 temp2 = true;
8793 }
8794 if (obj2) {
8795 ecode3 = SWIG_AsVal_int(obj2, &val3);
8796 if (!SWIG_IsOK(ecode3)) {
8797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8798 }
8799 arg3 = static_cast< int >(val3);
8800 }
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = SWIG_Py_Void();
8808 {
8809 if (temp2)
8810 delete arg2;
8811 }
8812 return resultobj;
8813 fail:
8814 {
8815 if (temp2)
8816 delete arg2;
8817 }
8818 return NULL;
8819 }
8820
8821
8822 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj = 0;
8824 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8825 int arg2 = (int) 0 ;
8826 void *argp1 = 0 ;
8827 int res1 = 0 ;
8828 int val2 ;
8829 int ecode2 = 0 ;
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 char * kwnames[] = {
8833 (char *) "self",(char *) "number", NULL
8834 };
8835
8836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8838 if (!SWIG_IsOK(res1)) {
8839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8840 }
8841 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8842 if (obj1) {
8843 ecode2 = SWIG_AsVal_int(obj1, &val2);
8844 if (!SWIG_IsOK(ecode2)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8846 }
8847 arg2 = static_cast< int >(val2);
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 (arg1)->PopStatusText(arg2);
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_Py_Void();
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj = 0;
8864 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8865 int arg2 ;
8866 int *arg3 = (int *) 0 ;
8867 void *argp1 = 0 ;
8868 int res1 = 0 ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 char * kwnames[] = {
8872 (char *) "self",(char *) "widths", NULL
8873 };
8874
8875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8877 if (!SWIG_IsOK(res1)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8879 }
8880 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8881 {
8882 arg2 = PyList_Size(obj1);
8883 arg3 = int_LIST_helper(obj1);
8884 if (arg3 == NULL) SWIG_fail;
8885 }
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 resultobj = SWIG_Py_Void();
8893 {
8894 if (arg3) delete [] arg3;
8895 }
8896 return resultobj;
8897 fail:
8898 {
8899 if (arg3) delete [] arg3;
8900 }
8901 return NULL;
8902 }
8903
8904
8905 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj = 0;
8907 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8908 int arg2 ;
8909 int *arg3 = (int *) 0 ;
8910 void *argp1 = 0 ;
8911 int res1 = 0 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 char * kwnames[] = {
8915 (char *) "self",(char *) "styles", NULL
8916 };
8917
8918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8920 if (!SWIG_IsOK(res1)) {
8921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8922 }
8923 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8924 {
8925 arg2 = PyList_Size(obj1);
8926 arg3 = int_LIST_helper(obj1);
8927 if (arg3 == NULL) SWIG_fail;
8928 }
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_Py_Void();
8936 {
8937 if (arg3) delete [] arg3;
8938 }
8939 return resultobj;
8940 fail:
8941 {
8942 if (arg3) delete [] arg3;
8943 }
8944 return NULL;
8945 }
8946
8947
8948 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj = 0;
8950 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8951 int arg2 ;
8952 wxRect result;
8953 void *argp1 = 0 ;
8954 int res1 = 0 ;
8955 int val2 ;
8956 int ecode2 = 0 ;
8957 PyObject * obj0 = 0 ;
8958 PyObject * obj1 = 0 ;
8959 char * kwnames[] = {
8960 (char *) "self",(char *) "i", NULL
8961 };
8962
8963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8965 if (!SWIG_IsOK(res1)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8967 }
8968 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8969 ecode2 = SWIG_AsVal_int(obj1, &val2);
8970 if (!SWIG_IsOK(ecode2)) {
8971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8972 }
8973 arg2 = static_cast< int >(val2);
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 result = wxStatusBar_GetFieldRect(arg1,arg2);
8977 wxPyEndAllowThreads(__tstate);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 }
8980 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8981 return resultobj;
8982 fail:
8983 return NULL;
8984 }
8985
8986
8987 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8988 PyObject *resultobj = 0;
8989 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8990 int arg2 ;
8991 void *argp1 = 0 ;
8992 int res1 = 0 ;
8993 int val2 ;
8994 int ecode2 = 0 ;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 char * kwnames[] = {
8998 (char *) "self",(char *) "height", NULL
8999 };
9000
9001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9003 if (!SWIG_IsOK(res1)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9005 }
9006 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9007 ecode2 = SWIG_AsVal_int(obj1, &val2);
9008 if (!SWIG_IsOK(ecode2)) {
9009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9010 }
9011 arg2 = static_cast< int >(val2);
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->SetMinHeight(arg2);
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 resultobj = SWIG_Py_Void();
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9026 PyObject *resultobj = 0;
9027 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9028 int result;
9029 void *argp1 = 0 ;
9030 int res1 = 0 ;
9031 PyObject *swig_obj[1] ;
9032
9033 if (!args) SWIG_fail;
9034 swig_obj[0] = args;
9035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9036 if (!SWIG_IsOK(res1)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9038 }
9039 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 resultobj = SWIG_From_int(static_cast< int >(result));
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9054 PyObject *resultobj = 0;
9055 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9056 int result;
9057 void *argp1 = 0 ;
9058 int res1 = 0 ;
9059 PyObject *swig_obj[1] ;
9060
9061 if (!args) SWIG_fail;
9062 swig_obj[0] = args;
9063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9064 if (!SWIG_IsOK(res1)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9066 }
9067 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 resultobj = SWIG_From_int(static_cast< int >(result));
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj = 0;
9083 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9084 SwigValueWrapper<wxVisualAttributes > result;
9085 int val1 ;
9086 int ecode1 = 0 ;
9087 PyObject * obj0 = 0 ;
9088 char * kwnames[] = {
9089 (char *) "variant", NULL
9090 };
9091
9092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9093 if (obj0) {
9094 ecode1 = SWIG_AsVal_int(obj0, &val1);
9095 if (!SWIG_IsOK(ecode1)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9097 }
9098 arg1 = static_cast< wxWindowVariant >(val1);
9099 }
9100 {
9101 if (!wxPyCheckForApp()) SWIG_fail;
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9108 return resultobj;
9109 fail:
9110 return NULL;
9111 }
9112
9113
9114 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9115 PyObject *obj;
9116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9117 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9118 return SWIG_Py_Void();
9119 }
9120
9121 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9122 return SWIG_Python_InitShadowInstance(args);
9123 }
9124
9125 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9126 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9127 return 1;
9128 }
9129
9130
9131 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9132 PyObject *pyobj = 0;
9133
9134 {
9135 #if wxUSE_UNICODE
9136 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9137 #else
9138 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9139 #endif
9140 }
9141 return pyobj;
9142 }
9143
9144
9145 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj = 0;
9147 wxWindow *arg1 = (wxWindow *) 0 ;
9148 int arg2 = (int) -1 ;
9149 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9150 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9151 wxSize const &arg4_defvalue = wxDefaultSize ;
9152 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9153 long arg5 = (long) wxSP_3D ;
9154 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9155 wxString *arg6 = (wxString *) &arg6_defvalue ;
9156 wxSplitterWindow *result = 0 ;
9157 void *argp1 = 0 ;
9158 int res1 = 0 ;
9159 int val2 ;
9160 int ecode2 = 0 ;
9161 wxPoint temp3 ;
9162 wxSize temp4 ;
9163 long val5 ;
9164 int ecode5 = 0 ;
9165 bool temp6 = false ;
9166 PyObject * obj0 = 0 ;
9167 PyObject * obj1 = 0 ;
9168 PyObject * obj2 = 0 ;
9169 PyObject * obj3 = 0 ;
9170 PyObject * obj4 = 0 ;
9171 PyObject * obj5 = 0 ;
9172 char * kwnames[] = {
9173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9174 };
9175
9176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9178 if (!SWIG_IsOK(res1)) {
9179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9180 }
9181 arg1 = reinterpret_cast< wxWindow * >(argp1);
9182 if (obj1) {
9183 ecode2 = SWIG_AsVal_int(obj1, &val2);
9184 if (!SWIG_IsOK(ecode2)) {
9185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9186 }
9187 arg2 = static_cast< int >(val2);
9188 }
9189 if (obj2) {
9190 {
9191 arg3 = &temp3;
9192 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9193 }
9194 }
9195 if (obj3) {
9196 {
9197 arg4 = &temp4;
9198 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9199 }
9200 }
9201 if (obj4) {
9202 ecode5 = SWIG_AsVal_long(obj4, &val5);
9203 if (!SWIG_IsOK(ecode5)) {
9204 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9205 }
9206 arg5 = static_cast< long >(val5);
9207 }
9208 if (obj5) {
9209 {
9210 arg6 = wxString_in_helper(obj5);
9211 if (arg6 == NULL) SWIG_fail;
9212 temp6 = true;
9213 }
9214 }
9215 {
9216 if (!wxPyCheckForApp()) SWIG_fail;
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9223 {
9224 if (temp6)
9225 delete arg6;
9226 }
9227 return resultobj;
9228 fail:
9229 {
9230 if (temp6)
9231 delete arg6;
9232 }
9233 return NULL;
9234 }
9235
9236
9237 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9238 PyObject *resultobj = 0;
9239 wxSplitterWindow *result = 0 ;
9240
9241 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9242 {
9243 if (!wxPyCheckForApp()) SWIG_fail;
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 result = (wxSplitterWindow *)new wxSplitterWindow();
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9250 return resultobj;
9251 fail:
9252 return NULL;
9253 }
9254
9255
9256 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj = 0;
9258 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9259 wxWindow *arg2 = (wxWindow *) 0 ;
9260 int arg3 = (int) -1 ;
9261 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9262 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9263 wxSize const &arg5_defvalue = wxDefaultSize ;
9264 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9265 long arg6 = (long) wxSP_3D ;
9266 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9267 wxString *arg7 = (wxString *) &arg7_defvalue ;
9268 bool result;
9269 void *argp1 = 0 ;
9270 int res1 = 0 ;
9271 void *argp2 = 0 ;
9272 int res2 = 0 ;
9273 int val3 ;
9274 int ecode3 = 0 ;
9275 wxPoint temp4 ;
9276 wxSize temp5 ;
9277 long val6 ;
9278 int ecode6 = 0 ;
9279 bool temp7 = false ;
9280 PyObject * obj0 = 0 ;
9281 PyObject * obj1 = 0 ;
9282 PyObject * obj2 = 0 ;
9283 PyObject * obj3 = 0 ;
9284 PyObject * obj4 = 0 ;
9285 PyObject * obj5 = 0 ;
9286 PyObject * obj6 = 0 ;
9287 char * kwnames[] = {
9288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9289 };
9290
9291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9293 if (!SWIG_IsOK(res1)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9295 }
9296 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9297 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9298 if (!SWIG_IsOK(res2)) {
9299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9300 }
9301 arg2 = reinterpret_cast< wxWindow * >(argp2);
9302 if (obj2) {
9303 ecode3 = SWIG_AsVal_int(obj2, &val3);
9304 if (!SWIG_IsOK(ecode3)) {
9305 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9306 }
9307 arg3 = static_cast< int >(val3);
9308 }
9309 if (obj3) {
9310 {
9311 arg4 = &temp4;
9312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9313 }
9314 }
9315 if (obj4) {
9316 {
9317 arg5 = &temp5;
9318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9319 }
9320 }
9321 if (obj5) {
9322 ecode6 = SWIG_AsVal_long(obj5, &val6);
9323 if (!SWIG_IsOK(ecode6)) {
9324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9325 }
9326 arg6 = static_cast< long >(val6);
9327 }
9328 if (obj6) {
9329 {
9330 arg7 = wxString_in_helper(obj6);
9331 if (arg7 == NULL) SWIG_fail;
9332 temp7 = true;
9333 }
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 {
9342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9343 }
9344 {
9345 if (temp7)
9346 delete arg7;
9347 }
9348 return resultobj;
9349 fail:
9350 {
9351 if (temp7)
9352 delete arg7;
9353 }
9354 return NULL;
9355 }
9356
9357
9358 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9359 PyObject *resultobj = 0;
9360 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9361 wxWindow *result = 0 ;
9362 void *argp1 = 0 ;
9363 int res1 = 0 ;
9364 PyObject *swig_obj[1] ;
9365
9366 if (!args) SWIG_fail;
9367 swig_obj[0] = args;
9368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9369 if (!SWIG_IsOK(res1)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9371 }
9372 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 resultobj = wxPyMake_wxObject(result, 0);
9381 }
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9389 PyObject *resultobj = 0;
9390 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9391 wxWindow *result = 0 ;
9392 void *argp1 = 0 ;
9393 int res1 = 0 ;
9394 PyObject *swig_obj[1] ;
9395
9396 if (!args) SWIG_fail;
9397 swig_obj[0] = args;
9398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9399 if (!SWIG_IsOK(res1)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9401 }
9402 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 {
9410 resultobj = wxPyMake_wxObject(result, 0);
9411 }
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj = 0;
9420 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9421 int arg2 ;
9422 void *argp1 = 0 ;
9423 int res1 = 0 ;
9424 int val2 ;
9425 int ecode2 = 0 ;
9426 PyObject * obj0 = 0 ;
9427 PyObject * obj1 = 0 ;
9428 char * kwnames[] = {
9429 (char *) "self",(char *) "mode", NULL
9430 };
9431
9432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9434 if (!SWIG_IsOK(res1)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9436 }
9437 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9438 ecode2 = SWIG_AsVal_int(obj1, &val2);
9439 if (!SWIG_IsOK(ecode2)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9441 }
9442 arg2 = static_cast< int >(val2);
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 (arg1)->SetSplitMode(arg2);
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_Py_Void();
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9457 PyObject *resultobj = 0;
9458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9459 wxSplitMode result;
9460 void *argp1 = 0 ;
9461 int res1 = 0 ;
9462 PyObject *swig_obj[1] ;
9463
9464 if (!args) SWIG_fail;
9465 swig_obj[0] = args;
9466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9467 if (!SWIG_IsOK(res1)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9469 }
9470 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_From_int(static_cast< int >(result));
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj = 0;
9486 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9487 wxWindow *arg2 = (wxWindow *) 0 ;
9488 void *argp1 = 0 ;
9489 int res1 = 0 ;
9490 void *argp2 = 0 ;
9491 int res2 = 0 ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 char * kwnames[] = {
9495 (char *) "self",(char *) "window", NULL
9496 };
9497
9498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9500 if (!SWIG_IsOK(res1)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9502 }
9503 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9505 if (!SWIG_IsOK(res2)) {
9506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9507 }
9508 arg2 = reinterpret_cast< wxWindow * >(argp2);
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 (arg1)->Initialize(arg2);
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 resultobj = SWIG_Py_Void();
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj = 0;
9524 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9525 wxWindow *arg2 = (wxWindow *) 0 ;
9526 wxWindow *arg3 = (wxWindow *) 0 ;
9527 int arg4 = (int) 0 ;
9528 bool result;
9529 void *argp1 = 0 ;
9530 int res1 = 0 ;
9531 void *argp2 = 0 ;
9532 int res2 = 0 ;
9533 void *argp3 = 0 ;
9534 int res3 = 0 ;
9535 int val4 ;
9536 int ecode4 = 0 ;
9537 PyObject * obj0 = 0 ;
9538 PyObject * obj1 = 0 ;
9539 PyObject * obj2 = 0 ;
9540 PyObject * obj3 = 0 ;
9541 char * kwnames[] = {
9542 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9543 };
9544
9545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9547 if (!SWIG_IsOK(res1)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9549 }
9550 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9551 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9552 if (!SWIG_IsOK(res2)) {
9553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9554 }
9555 arg2 = reinterpret_cast< wxWindow * >(argp2);
9556 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9557 if (!SWIG_IsOK(res3)) {
9558 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9559 }
9560 arg3 = reinterpret_cast< wxWindow * >(argp3);
9561 if (obj3) {
9562 ecode4 = SWIG_AsVal_int(obj3, &val4);
9563 if (!SWIG_IsOK(ecode4)) {
9564 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9565 }
9566 arg4 = static_cast< int >(val4);
9567 }
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9571 wxPyEndAllowThreads(__tstate);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
9574 {
9575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9576 }
9577 return resultobj;
9578 fail:
9579 return NULL;
9580 }
9581
9582
9583 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj = 0;
9585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9586 wxWindow *arg2 = (wxWindow *) 0 ;
9587 wxWindow *arg3 = (wxWindow *) 0 ;
9588 int arg4 = (int) 0 ;
9589 bool result;
9590 void *argp1 = 0 ;
9591 int res1 = 0 ;
9592 void *argp2 = 0 ;
9593 int res2 = 0 ;
9594 void *argp3 = 0 ;
9595 int res3 = 0 ;
9596 int val4 ;
9597 int ecode4 = 0 ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 PyObject * obj2 = 0 ;
9601 PyObject * obj3 = 0 ;
9602 char * kwnames[] = {
9603 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9604 };
9605
9606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9608 if (!SWIG_IsOK(res1)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9610 }
9611 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9612 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9613 if (!SWIG_IsOK(res2)) {
9614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9615 }
9616 arg2 = reinterpret_cast< wxWindow * >(argp2);
9617 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9618 if (!SWIG_IsOK(res3)) {
9619 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9620 }
9621 arg3 = reinterpret_cast< wxWindow * >(argp3);
9622 if (obj3) {
9623 ecode4 = SWIG_AsVal_int(obj3, &val4);
9624 if (!SWIG_IsOK(ecode4)) {
9625 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9626 }
9627 arg4 = static_cast< int >(val4);
9628 }
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 {
9636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9637 }
9638 return resultobj;
9639 fail:
9640 return NULL;
9641 }
9642
9643
9644 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj = 0;
9646 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9647 wxWindow *arg2 = (wxWindow *) NULL ;
9648 bool result;
9649 void *argp1 = 0 ;
9650 int res1 = 0 ;
9651 void *argp2 = 0 ;
9652 int res2 = 0 ;
9653 PyObject * obj0 = 0 ;
9654 PyObject * obj1 = 0 ;
9655 char * kwnames[] = {
9656 (char *) "self",(char *) "toRemove", NULL
9657 };
9658
9659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9661 if (!SWIG_IsOK(res1)) {
9662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9663 }
9664 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9665 if (obj1) {
9666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9667 if (!SWIG_IsOK(res2)) {
9668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9669 }
9670 arg2 = reinterpret_cast< wxWindow * >(argp2);
9671 }
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (bool)(arg1)->Unsplit(arg2);
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 {
9679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9680 }
9681 return resultobj;
9682 fail:
9683 return NULL;
9684 }
9685
9686
9687 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj = 0;
9689 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9690 wxWindow *arg2 = (wxWindow *) 0 ;
9691 wxWindow *arg3 = (wxWindow *) 0 ;
9692 bool result;
9693 void *argp1 = 0 ;
9694 int res1 = 0 ;
9695 void *argp2 = 0 ;
9696 int res2 = 0 ;
9697 void *argp3 = 0 ;
9698 int res3 = 0 ;
9699 PyObject * obj0 = 0 ;
9700 PyObject * obj1 = 0 ;
9701 PyObject * obj2 = 0 ;
9702 char * kwnames[] = {
9703 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9704 };
9705
9706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9708 if (!SWIG_IsOK(res1)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9710 }
9711 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9713 if (!SWIG_IsOK(res2)) {
9714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9715 }
9716 arg2 = reinterpret_cast< wxWindow * >(argp2);
9717 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9718 if (!SWIG_IsOK(res3)) {
9719 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9720 }
9721 arg3 = reinterpret_cast< wxWindow * >(argp3);
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 {
9729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9730 }
9731 return resultobj;
9732 fail:
9733 return NULL;
9734 }
9735
9736
9737 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9738 PyObject *resultobj = 0;
9739 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9740 void *argp1 = 0 ;
9741 int res1 = 0 ;
9742 PyObject *swig_obj[1] ;
9743
9744 if (!args) SWIG_fail;
9745 swig_obj[0] = args;
9746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9749 }
9750 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 (arg1)->UpdateSize();
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = SWIG_Py_Void();
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9765 PyObject *resultobj = 0;
9766 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9767 bool result;
9768 void *argp1 = 0 ;
9769 int res1 = 0 ;
9770 PyObject *swig_obj[1] ;
9771
9772 if (!args) SWIG_fail;
9773 swig_obj[0] = args;
9774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9775 if (!SWIG_IsOK(res1)) {
9776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9777 }
9778 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 {
9786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9787 }
9788 return resultobj;
9789 fail:
9790 return NULL;
9791 }
9792
9793
9794 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj = 0;
9796 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9797 int arg2 ;
9798 void *argp1 = 0 ;
9799 int res1 = 0 ;
9800 int val2 ;
9801 int ecode2 = 0 ;
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 char * kwnames[] = {
9805 (char *) "self",(char *) "width", NULL
9806 };
9807
9808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9810 if (!SWIG_IsOK(res1)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9812 }
9813 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9814 ecode2 = SWIG_AsVal_int(obj1, &val2);
9815 if (!SWIG_IsOK(ecode2)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9817 }
9818 arg2 = static_cast< int >(val2);
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 (arg1)->SetSashSize(arg2);
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 resultobj = SWIG_Py_Void();
9826 return resultobj;
9827 fail:
9828 return NULL;
9829 }
9830
9831
9832 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj = 0;
9834 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9835 int arg2 ;
9836 void *argp1 = 0 ;
9837 int res1 = 0 ;
9838 int val2 ;
9839 int ecode2 = 0 ;
9840 PyObject * obj0 = 0 ;
9841 PyObject * obj1 = 0 ;
9842 char * kwnames[] = {
9843 (char *) "self",(char *) "width", NULL
9844 };
9845
9846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9848 if (!SWIG_IsOK(res1)) {
9849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9850 }
9851 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9852 ecode2 = SWIG_AsVal_int(obj1, &val2);
9853 if (!SWIG_IsOK(ecode2)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9855 }
9856 arg2 = static_cast< int >(val2);
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 (arg1)->SetBorderSize(arg2);
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 resultobj = SWIG_Py_Void();
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9871 PyObject *resultobj = 0;
9872 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9873 int result;
9874 void *argp1 = 0 ;
9875 int res1 = 0 ;
9876 PyObject *swig_obj[1] ;
9877
9878 if (!args) SWIG_fail;
9879 swig_obj[0] = args;
9880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9881 if (!SWIG_IsOK(res1)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9883 }
9884 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 resultobj = SWIG_From_int(static_cast< int >(result));
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9899 PyObject *resultobj = 0;
9900 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9901 int result;
9902 void *argp1 = 0 ;
9903 int res1 = 0 ;
9904 PyObject *swig_obj[1] ;
9905
9906 if (!args) SWIG_fail;
9907 swig_obj[0] = args;
9908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9909 if (!SWIG_IsOK(res1)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9911 }
9912 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
9919 resultobj = SWIG_From_int(static_cast< int >(result));
9920 return resultobj;
9921 fail:
9922 return NULL;
9923 }
9924
9925
9926 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj = 0;
9928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9929 int arg2 ;
9930 bool arg3 = (bool) true ;
9931 void *argp1 = 0 ;
9932 int res1 = 0 ;
9933 int val2 ;
9934 int ecode2 = 0 ;
9935 bool val3 ;
9936 int ecode3 = 0 ;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 PyObject * obj2 = 0 ;
9940 char * kwnames[] = {
9941 (char *) "self",(char *) "position",(char *) "redraw", NULL
9942 };
9943
9944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9946 if (!SWIG_IsOK(res1)) {
9947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9948 }
9949 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9950 ecode2 = SWIG_AsVal_int(obj1, &val2);
9951 if (!SWIG_IsOK(ecode2)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9953 }
9954 arg2 = static_cast< int >(val2);
9955 if (obj2) {
9956 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9957 if (!SWIG_IsOK(ecode3)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9959 }
9960 arg3 = static_cast< bool >(val3);
9961 }
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 (arg1)->SetSashPosition(arg2,arg3);
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 resultobj = SWIG_Py_Void();
9969 return resultobj;
9970 fail:
9971 return NULL;
9972 }
9973
9974
9975 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9976 PyObject *resultobj = 0;
9977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9978 int result;
9979 void *argp1 = 0 ;
9980 int res1 = 0 ;
9981 PyObject *swig_obj[1] ;
9982
9983 if (!args) SWIG_fail;
9984 swig_obj[0] = args;
9985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9986 if (!SWIG_IsOK(res1)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9988 }
9989 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = SWIG_From_int(static_cast< int >(result));
9997 return resultobj;
9998 fail:
9999 return NULL;
10000 }
10001
10002
10003 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj = 0;
10005 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10006 double arg2 ;
10007 void *argp1 = 0 ;
10008 int res1 = 0 ;
10009 double val2 ;
10010 int ecode2 = 0 ;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char * kwnames[] = {
10014 (char *) "self",(char *) "gravity", NULL
10015 };
10016
10017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10019 if (!SWIG_IsOK(res1)) {
10020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10021 }
10022 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10023 ecode2 = SWIG_AsVal_double(obj1, &val2);
10024 if (!SWIG_IsOK(ecode2)) {
10025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10026 }
10027 arg2 = static_cast< double >(val2);
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 (arg1)->SetSashGravity(arg2);
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = SWIG_Py_Void();
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10042 PyObject *resultobj = 0;
10043 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10044 double result;
10045 void *argp1 = 0 ;
10046 int res1 = 0 ;
10047 PyObject *swig_obj[1] ;
10048
10049 if (!args) SWIG_fail;
10050 swig_obj[0] = args;
10051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10052 if (!SWIG_IsOK(res1)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10054 }
10055 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 resultobj = SWIG_From_double(static_cast< double >(result));
10063 return resultobj;
10064 fail:
10065 return NULL;
10066 }
10067
10068
10069 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj = 0;
10071 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10072 int arg2 ;
10073 void *argp1 = 0 ;
10074 int res1 = 0 ;
10075 int val2 ;
10076 int ecode2 = 0 ;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 char * kwnames[] = {
10080 (char *) "self",(char *) "min", NULL
10081 };
10082
10083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10085 if (!SWIG_IsOK(res1)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10087 }
10088 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10089 ecode2 = SWIG_AsVal_int(obj1, &val2);
10090 if (!SWIG_IsOK(ecode2)) {
10091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10092 }
10093 arg2 = static_cast< int >(val2);
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->SetMinimumPaneSize(arg2);
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 resultobj = SWIG_Py_Void();
10101 return resultobj;
10102 fail:
10103 return NULL;
10104 }
10105
10106
10107 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10108 PyObject *resultobj = 0;
10109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10110 int result;
10111 void *argp1 = 0 ;
10112 int res1 = 0 ;
10113 PyObject *swig_obj[1] ;
10114
10115 if (!args) SWIG_fail;
10116 swig_obj[0] = args;
10117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10118 if (!SWIG_IsOK(res1)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10120 }
10121 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_From_int(static_cast< int >(result));
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj = 0;
10137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10138 int arg2 ;
10139 int arg3 ;
10140 int arg4 = (int) 5 ;
10141 bool result;
10142 void *argp1 = 0 ;
10143 int res1 = 0 ;
10144 int val2 ;
10145 int ecode2 = 0 ;
10146 int val3 ;
10147 int ecode3 = 0 ;
10148 int val4 ;
10149 int ecode4 = 0 ;
10150 PyObject * obj0 = 0 ;
10151 PyObject * obj1 = 0 ;
10152 PyObject * obj2 = 0 ;
10153 PyObject * obj3 = 0 ;
10154 char * kwnames[] = {
10155 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10156 };
10157
10158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10162 }
10163 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10164 ecode2 = SWIG_AsVal_int(obj1, &val2);
10165 if (!SWIG_IsOK(ecode2)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10167 }
10168 arg2 = static_cast< int >(val2);
10169 ecode3 = SWIG_AsVal_int(obj2, &val3);
10170 if (!SWIG_IsOK(ecode3)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10172 }
10173 arg3 = static_cast< int >(val3);
10174 if (obj3) {
10175 ecode4 = SWIG_AsVal_int(obj3, &val4);
10176 if (!SWIG_IsOK(ecode4)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10178 }
10179 arg4 = static_cast< int >(val4);
10180 }
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10184 wxPyEndAllowThreads(__tstate);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 {
10188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10189 }
10190 return resultobj;
10191 fail:
10192 return NULL;
10193 }
10194
10195
10196 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10197 PyObject *resultobj = 0;
10198 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10199 void *argp1 = 0 ;
10200 int res1 = 0 ;
10201 PyObject *swig_obj[1] ;
10202
10203 if (!args) SWIG_fail;
10204 swig_obj[0] = args;
10205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10206 if (!SWIG_IsOK(res1)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10208 }
10209 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 (arg1)->SizeWindows();
10213 wxPyEndAllowThreads(__tstate);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 resultobj = SWIG_Py_Void();
10217 return resultobj;
10218 fail:
10219 return NULL;
10220 }
10221
10222
10223 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj = 0;
10225 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10226 bool arg2 ;
10227 void *argp1 = 0 ;
10228 int res1 = 0 ;
10229 bool val2 ;
10230 int ecode2 = 0 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 char * kwnames[] = {
10234 (char *) "self",(char *) "needUpdating", NULL
10235 };
10236
10237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10239 if (!SWIG_IsOK(res1)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10241 }
10242 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10243 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10244 if (!SWIG_IsOK(ecode2)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10246 }
10247 arg2 = static_cast< bool >(val2);
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 (arg1)->SetNeedUpdating(arg2);
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = SWIG_Py_Void();
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10262 PyObject *resultobj = 0;
10263 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10264 bool result;
10265 void *argp1 = 0 ;
10266 int res1 = 0 ;
10267 PyObject *swig_obj[1] ;
10268
10269 if (!args) SWIG_fail;
10270 swig_obj[0] = args;
10271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10272 if (!SWIG_IsOK(res1)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10274 }
10275 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 {
10283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10284 }
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj = 0;
10293 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10294 SwigValueWrapper<wxVisualAttributes > result;
10295 int val1 ;
10296 int ecode1 = 0 ;
10297 PyObject * obj0 = 0 ;
10298 char * kwnames[] = {
10299 (char *) "variant", NULL
10300 };
10301
10302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10303 if (obj0) {
10304 ecode1 = SWIG_AsVal_int(obj0, &val1);
10305 if (!SWIG_IsOK(ecode1)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10307 }
10308 arg1 = static_cast< wxWindowVariant >(val1);
10309 }
10310 {
10311 if (!wxPyCheckForApp()) SWIG_fail;
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10325 PyObject *obj;
10326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10327 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10328 return SWIG_Py_Void();
10329 }
10330
10331 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 return SWIG_Python_InitShadowInstance(args);
10333 }
10334
10335 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj = 0;
10337 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10338 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10339 wxSplitterEvent *result = 0 ;
10340 int val1 ;
10341 int ecode1 = 0 ;
10342 void *argp2 = 0 ;
10343 int res2 = 0 ;
10344 PyObject * obj0 = 0 ;
10345 PyObject * obj1 = 0 ;
10346 char * kwnames[] = {
10347 (char *) "type",(char *) "splitter", NULL
10348 };
10349
10350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10351 if (obj0) {
10352 ecode1 = SWIG_AsVal_int(obj0, &val1);
10353 if (!SWIG_IsOK(ecode1)) {
10354 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10355 }
10356 arg1 = static_cast< wxEventType >(val1);
10357 }
10358 if (obj1) {
10359 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10360 if (!SWIG_IsOK(res2)) {
10361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10362 }
10363 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10364 }
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj = 0;
10380 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10381 int arg2 ;
10382 void *argp1 = 0 ;
10383 int res1 = 0 ;
10384 int val2 ;
10385 int ecode2 = 0 ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 char * kwnames[] = {
10389 (char *) "self",(char *) "pos", NULL
10390 };
10391
10392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10394 if (!SWIG_IsOK(res1)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10396 }
10397 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10398 ecode2 = SWIG_AsVal_int(obj1, &val2);
10399 if (!SWIG_IsOK(ecode2)) {
10400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10401 }
10402 arg2 = static_cast< int >(val2);
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 (arg1)->SetSashPosition(arg2);
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = SWIG_Py_Void();
10410 return resultobj;
10411 fail:
10412 return NULL;
10413 }
10414
10415
10416 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10417 PyObject *resultobj = 0;
10418 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10419 int result;
10420 void *argp1 = 0 ;
10421 int res1 = 0 ;
10422 PyObject *swig_obj[1] ;
10423
10424 if (!args) SWIG_fail;
10425 swig_obj[0] = args;
10426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10427 if (!SWIG_IsOK(res1)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10429 }
10430 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 resultobj = SWIG_From_int(static_cast< int >(result));
10438 return resultobj;
10439 fail:
10440 return NULL;
10441 }
10442
10443
10444 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10445 PyObject *resultobj = 0;
10446 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10447 wxWindow *result = 0 ;
10448 void *argp1 = 0 ;
10449 int res1 = 0 ;
10450 PyObject *swig_obj[1] ;
10451
10452 if (!args) SWIG_fail;
10453 swig_obj[0] = args;
10454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10455 if (!SWIG_IsOK(res1)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10457 }
10458 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 {
10466 resultobj = wxPyMake_wxObject(result, 0);
10467 }
10468 return resultobj;
10469 fail:
10470 return NULL;
10471 }
10472
10473
10474 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10475 PyObject *resultobj = 0;
10476 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10477 int result;
10478 void *argp1 = 0 ;
10479 int res1 = 0 ;
10480 PyObject *swig_obj[1] ;
10481
10482 if (!args) SWIG_fail;
10483 swig_obj[0] = args;
10484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10485 if (!SWIG_IsOK(res1)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10487 }
10488 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 resultobj = SWIG_From_int(static_cast< int >(result));
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10503 PyObject *resultobj = 0;
10504 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10505 int result;
10506 void *argp1 = 0 ;
10507 int res1 = 0 ;
10508 PyObject *swig_obj[1] ;
10509
10510 if (!args) SWIG_fail;
10511 swig_obj[0] = args;
10512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10513 if (!SWIG_IsOK(res1)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10515 }
10516 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 resultobj = SWIG_From_int(static_cast< int >(result));
10524 return resultobj;
10525 fail:
10526 return NULL;
10527 }
10528
10529
10530 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10531 PyObject *obj;
10532 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10533 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10534 return SWIG_Py_Void();
10535 }
10536
10537 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10538 return SWIG_Python_InitShadowInstance(args);
10539 }
10540
10541 SWIGINTERN int SashNameStr_set(PyObject *) {
10542 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10543 return 1;
10544 }
10545
10546
10547 SWIGINTERN PyObject *SashNameStr_get(void) {
10548 PyObject *pyobj = 0;
10549
10550 {
10551 #if wxUSE_UNICODE
10552 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10553 #else
10554 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10555 #endif
10556 }
10557 return pyobj;
10558 }
10559
10560
10561 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10562 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10563 return 1;
10564 }
10565
10566
10567 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10568 PyObject *pyobj = 0;
10569
10570 {
10571 #if wxUSE_UNICODE
10572 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10573 #else
10574 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10575 #endif
10576 }
10577 return pyobj;
10578 }
10579
10580
10581 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj = 0;
10583 wxWindow *arg1 = (wxWindow *) 0 ;
10584 int arg2 = (int) -1 ;
10585 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10586 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10587 wxSize const &arg4_defvalue = wxDefaultSize ;
10588 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10589 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10590 wxString const &arg6_defvalue = wxPySashNameStr ;
10591 wxString *arg6 = (wxString *) &arg6_defvalue ;
10592 wxSashWindow *result = 0 ;
10593 void *argp1 = 0 ;
10594 int res1 = 0 ;
10595 int val2 ;
10596 int ecode2 = 0 ;
10597 wxPoint temp3 ;
10598 wxSize temp4 ;
10599 long val5 ;
10600 int ecode5 = 0 ;
10601 bool temp6 = false ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 PyObject * obj2 = 0 ;
10605 PyObject * obj3 = 0 ;
10606 PyObject * obj4 = 0 ;
10607 PyObject * obj5 = 0 ;
10608 char * kwnames[] = {
10609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10610 };
10611
10612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10614 if (!SWIG_IsOK(res1)) {
10615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10616 }
10617 arg1 = reinterpret_cast< wxWindow * >(argp1);
10618 if (obj1) {
10619 ecode2 = SWIG_AsVal_int(obj1, &val2);
10620 if (!SWIG_IsOK(ecode2)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10622 }
10623 arg2 = static_cast< int >(val2);
10624 }
10625 if (obj2) {
10626 {
10627 arg3 = &temp3;
10628 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10629 }
10630 }
10631 if (obj3) {
10632 {
10633 arg4 = &temp4;
10634 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10635 }
10636 }
10637 if (obj4) {
10638 ecode5 = SWIG_AsVal_long(obj4, &val5);
10639 if (!SWIG_IsOK(ecode5)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10641 }
10642 arg5 = static_cast< long >(val5);
10643 }
10644 if (obj5) {
10645 {
10646 arg6 = wxString_in_helper(obj5);
10647 if (arg6 == NULL) SWIG_fail;
10648 temp6 = true;
10649 }
10650 }
10651 {
10652 if (!wxPyCheckForApp()) SWIG_fail;
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 }
10658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10659 {
10660 if (temp6)
10661 delete arg6;
10662 }
10663 return resultobj;
10664 fail:
10665 {
10666 if (temp6)
10667 delete arg6;
10668 }
10669 return NULL;
10670 }
10671
10672
10673 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10674 PyObject *resultobj = 0;
10675 wxSashWindow *result = 0 ;
10676
10677 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10678 {
10679 if (!wxPyCheckForApp()) SWIG_fail;
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 result = (wxSashWindow *)new wxSashWindow();
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10686 return resultobj;
10687 fail:
10688 return NULL;
10689 }
10690
10691
10692 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj = 0;
10694 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10695 wxWindow *arg2 = (wxWindow *) 0 ;
10696 int arg3 = (int) -1 ;
10697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10699 wxSize const &arg5_defvalue = wxDefaultSize ;
10700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10701 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10702 wxString const &arg7_defvalue = wxPySashNameStr ;
10703 wxString *arg7 = (wxString *) &arg7_defvalue ;
10704 bool result;
10705 void *argp1 = 0 ;
10706 int res1 = 0 ;
10707 void *argp2 = 0 ;
10708 int res2 = 0 ;
10709 int val3 ;
10710 int ecode3 = 0 ;
10711 wxPoint temp4 ;
10712 wxSize temp5 ;
10713 long val6 ;
10714 int ecode6 = 0 ;
10715 bool temp7 = false ;
10716 PyObject * obj0 = 0 ;
10717 PyObject * obj1 = 0 ;
10718 PyObject * obj2 = 0 ;
10719 PyObject * obj3 = 0 ;
10720 PyObject * obj4 = 0 ;
10721 PyObject * obj5 = 0 ;
10722 PyObject * obj6 = 0 ;
10723 char * kwnames[] = {
10724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10725 };
10726
10727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10729 if (!SWIG_IsOK(res1)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10731 }
10732 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10733 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10734 if (!SWIG_IsOK(res2)) {
10735 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10736 }
10737 arg2 = reinterpret_cast< wxWindow * >(argp2);
10738 if (obj2) {
10739 ecode3 = SWIG_AsVal_int(obj2, &val3);
10740 if (!SWIG_IsOK(ecode3)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10742 }
10743 arg3 = static_cast< int >(val3);
10744 }
10745 if (obj3) {
10746 {
10747 arg4 = &temp4;
10748 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10749 }
10750 }
10751 if (obj4) {
10752 {
10753 arg5 = &temp5;
10754 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10755 }
10756 }
10757 if (obj5) {
10758 ecode6 = SWIG_AsVal_long(obj5, &val6);
10759 if (!SWIG_IsOK(ecode6)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10761 }
10762 arg6 = static_cast< long >(val6);
10763 }
10764 if (obj6) {
10765 {
10766 arg7 = wxString_in_helper(obj6);
10767 if (arg7 == NULL) SWIG_fail;
10768 temp7 = true;
10769 }
10770 }
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 {
10778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10779 }
10780 {
10781 if (temp7)
10782 delete arg7;
10783 }
10784 return resultobj;
10785 fail:
10786 {
10787 if (temp7)
10788 delete arg7;
10789 }
10790 return NULL;
10791 }
10792
10793
10794 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj = 0;
10796 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10797 wxSashEdgePosition arg2 ;
10798 bool arg3 ;
10799 void *argp1 = 0 ;
10800 int res1 = 0 ;
10801 int val2 ;
10802 int ecode2 = 0 ;
10803 bool val3 ;
10804 int ecode3 = 0 ;
10805 PyObject * obj0 = 0 ;
10806 PyObject * obj1 = 0 ;
10807 PyObject * obj2 = 0 ;
10808 char * kwnames[] = {
10809 (char *) "self",(char *) "edge",(char *) "sash", NULL
10810 };
10811
10812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10814 if (!SWIG_IsOK(res1)) {
10815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10816 }
10817 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10818 ecode2 = SWIG_AsVal_int(obj1, &val2);
10819 if (!SWIG_IsOK(ecode2)) {
10820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10821 }
10822 arg2 = static_cast< wxSashEdgePosition >(val2);
10823 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10824 if (!SWIG_IsOK(ecode3)) {
10825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10826 }
10827 arg3 = static_cast< bool >(val3);
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 (arg1)->SetSashVisible(arg2,arg3);
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 resultobj = SWIG_Py_Void();
10835 return resultobj;
10836 fail:
10837 return NULL;
10838 }
10839
10840
10841 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10842 PyObject *resultobj = 0;
10843 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10844 wxSashEdgePosition arg2 ;
10845 bool result;
10846 void *argp1 = 0 ;
10847 int res1 = 0 ;
10848 int val2 ;
10849 int ecode2 = 0 ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 char * kwnames[] = {
10853 (char *) "self",(char *) "edge", NULL
10854 };
10855
10856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10858 if (!SWIG_IsOK(res1)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10860 }
10861 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10862 ecode2 = SWIG_AsVal_int(obj1, &val2);
10863 if (!SWIG_IsOK(ecode2)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10865 }
10866 arg2 = static_cast< wxSashEdgePosition >(val2);
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 {
10874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10875 }
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj = 0;
10884 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10885 wxSashEdgePosition arg2 ;
10886 bool arg3 ;
10887 void *argp1 = 0 ;
10888 int res1 = 0 ;
10889 int val2 ;
10890 int ecode2 = 0 ;
10891 bool val3 ;
10892 int ecode3 = 0 ;
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 PyObject * obj2 = 0 ;
10896 char * kwnames[] = {
10897 (char *) "self",(char *) "edge",(char *) "border", NULL
10898 };
10899
10900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10902 if (!SWIG_IsOK(res1)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10904 }
10905 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10906 ecode2 = SWIG_AsVal_int(obj1, &val2);
10907 if (!SWIG_IsOK(ecode2)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10909 }
10910 arg2 = static_cast< wxSashEdgePosition >(val2);
10911 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10912 if (!SWIG_IsOK(ecode3)) {
10913 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10914 }
10915 arg3 = static_cast< bool >(val3);
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetSashBorder(arg2,arg3);
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 resultobj = SWIG_Py_Void();
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj = 0;
10931 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10932 wxSashEdgePosition arg2 ;
10933 bool result;
10934 void *argp1 = 0 ;
10935 int res1 = 0 ;
10936 int val2 ;
10937 int ecode2 = 0 ;
10938 PyObject * obj0 = 0 ;
10939 PyObject * obj1 = 0 ;
10940 char * kwnames[] = {
10941 (char *) "self",(char *) "edge", NULL
10942 };
10943
10944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10946 if (!SWIG_IsOK(res1)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10948 }
10949 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10950 ecode2 = SWIG_AsVal_int(obj1, &val2);
10951 if (!SWIG_IsOK(ecode2)) {
10952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10953 }
10954 arg2 = static_cast< wxSashEdgePosition >(val2);
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
10961 {
10962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10963 }
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj = 0;
10972 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10973 wxSashEdgePosition arg2 ;
10974 int result;
10975 void *argp1 = 0 ;
10976 int res1 = 0 ;
10977 int val2 ;
10978 int ecode2 = 0 ;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 char * kwnames[] = {
10982 (char *) "self",(char *) "edge", NULL
10983 };
10984
10985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10987 if (!SWIG_IsOK(res1)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10989 }
10990 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10991 ecode2 = SWIG_AsVal_int(obj1, &val2);
10992 if (!SWIG_IsOK(ecode2)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10994 }
10995 arg2 = static_cast< wxSashEdgePosition >(val2);
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_From_int(static_cast< int >(result));
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj = 0;
11011 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11012 int arg2 ;
11013 void *argp1 = 0 ;
11014 int res1 = 0 ;
11015 int val2 ;
11016 int ecode2 = 0 ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char * kwnames[] = {
11020 (char *) "self",(char *) "width", NULL
11021 };
11022
11023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11025 if (!SWIG_IsOK(res1)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11027 }
11028 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11029 ecode2 = SWIG_AsVal_int(obj1, &val2);
11030 if (!SWIG_IsOK(ecode2)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11032 }
11033 arg2 = static_cast< int >(val2);
11034 {
11035 PyThreadState* __tstate = wxPyBeginAllowThreads();
11036 (arg1)->SetDefaultBorderSize(arg2);
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 resultobj = SWIG_Py_Void();
11041 return resultobj;
11042 fail:
11043 return NULL;
11044 }
11045
11046
11047 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11048 PyObject *resultobj = 0;
11049 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11050 int result;
11051 void *argp1 = 0 ;
11052 int res1 = 0 ;
11053 PyObject *swig_obj[1] ;
11054
11055 if (!args) SWIG_fail;
11056 swig_obj[0] = args;
11057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11058 if (!SWIG_IsOK(res1)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11060 }
11061 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11062 {
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 resultobj = SWIG_From_int(static_cast< int >(result));
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj = 0;
11077 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11078 int arg2 ;
11079 void *argp1 = 0 ;
11080 int res1 = 0 ;
11081 int val2 ;
11082 int ecode2 = 0 ;
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
11085 char * kwnames[] = {
11086 (char *) "self",(char *) "width", NULL
11087 };
11088
11089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11091 if (!SWIG_IsOK(res1)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11093 }
11094 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11095 ecode2 = SWIG_AsVal_int(obj1, &val2);
11096 if (!SWIG_IsOK(ecode2)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11098 }
11099 arg2 = static_cast< int >(val2);
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 (arg1)->SetExtraBorderSize(arg2);
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 resultobj = SWIG_Py_Void();
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11114 PyObject *resultobj = 0;
11115 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11116 int result;
11117 void *argp1 = 0 ;
11118 int res1 = 0 ;
11119 PyObject *swig_obj[1] ;
11120
11121 if (!args) SWIG_fail;
11122 swig_obj[0] = args;
11123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11124 if (!SWIG_IsOK(res1)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11126 }
11127 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 resultobj = SWIG_From_int(static_cast< int >(result));
11135 return resultobj;
11136 fail:
11137 return NULL;
11138 }
11139
11140
11141 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11142 PyObject *resultobj = 0;
11143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11144 int arg2 ;
11145 void *argp1 = 0 ;
11146 int res1 = 0 ;
11147 int val2 ;
11148 int ecode2 = 0 ;
11149 PyObject * obj0 = 0 ;
11150 PyObject * obj1 = 0 ;
11151 char * kwnames[] = {
11152 (char *) "self",(char *) "min", NULL
11153 };
11154
11155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11157 if (!SWIG_IsOK(res1)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11159 }
11160 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11161 ecode2 = SWIG_AsVal_int(obj1, &val2);
11162 if (!SWIG_IsOK(ecode2)) {
11163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11164 }
11165 arg2 = static_cast< int >(val2);
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 (arg1)->SetMinimumSizeX(arg2);
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 resultobj = SWIG_Py_Void();
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj = 0;
11181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11182 int arg2 ;
11183 void *argp1 = 0 ;
11184 int res1 = 0 ;
11185 int val2 ;
11186 int ecode2 = 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 char * kwnames[] = {
11190 (char *) "self",(char *) "min", NULL
11191 };
11192
11193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11195 if (!SWIG_IsOK(res1)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11197 }
11198 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11199 ecode2 = SWIG_AsVal_int(obj1, &val2);
11200 if (!SWIG_IsOK(ecode2)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11202 }
11203 arg2 = static_cast< int >(val2);
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetMinimumSizeY(arg2);
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = SWIG_Py_Void();
11211 return resultobj;
11212 fail:
11213 return NULL;
11214 }
11215
11216
11217 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11218 PyObject *resultobj = 0;
11219 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11220 int result;
11221 void *argp1 = 0 ;
11222 int res1 = 0 ;
11223 PyObject *swig_obj[1] ;
11224
11225 if (!args) SWIG_fail;
11226 swig_obj[0] = args;
11227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11230 }
11231 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = SWIG_From_int(static_cast< int >(result));
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11246 PyObject *resultobj = 0;
11247 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11248 int result;
11249 void *argp1 = 0 ;
11250 int res1 = 0 ;
11251 PyObject *swig_obj[1] ;
11252
11253 if (!args) SWIG_fail;
11254 swig_obj[0] = args;
11255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11256 if (!SWIG_IsOK(res1)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11258 }
11259 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 resultobj = SWIG_From_int(static_cast< int >(result));
11267 return resultobj;
11268 fail:
11269 return NULL;
11270 }
11271
11272
11273 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj = 0;
11275 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11276 int arg2 ;
11277 void *argp1 = 0 ;
11278 int res1 = 0 ;
11279 int val2 ;
11280 int ecode2 = 0 ;
11281 PyObject * obj0 = 0 ;
11282 PyObject * obj1 = 0 ;
11283 char * kwnames[] = {
11284 (char *) "self",(char *) "max", NULL
11285 };
11286
11287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11289 if (!SWIG_IsOK(res1)) {
11290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11291 }
11292 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11293 ecode2 = SWIG_AsVal_int(obj1, &val2);
11294 if (!SWIG_IsOK(ecode2)) {
11295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11296 }
11297 arg2 = static_cast< int >(val2);
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 (arg1)->SetMaximumSizeX(arg2);
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 resultobj = SWIG_Py_Void();
11305 return resultobj;
11306 fail:
11307 return NULL;
11308 }
11309
11310
11311 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj = 0;
11313 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11314 int arg2 ;
11315 void *argp1 = 0 ;
11316 int res1 = 0 ;
11317 int val2 ;
11318 int ecode2 = 0 ;
11319 PyObject * obj0 = 0 ;
11320 PyObject * obj1 = 0 ;
11321 char * kwnames[] = {
11322 (char *) "self",(char *) "max", NULL
11323 };
11324
11325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11327 if (!SWIG_IsOK(res1)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11329 }
11330 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11331 ecode2 = SWIG_AsVal_int(obj1, &val2);
11332 if (!SWIG_IsOK(ecode2)) {
11333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11334 }
11335 arg2 = static_cast< int >(val2);
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 (arg1)->SetMaximumSizeY(arg2);
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 resultobj = SWIG_Py_Void();
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11350 PyObject *resultobj = 0;
11351 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11352 int result;
11353 void *argp1 = 0 ;
11354 int res1 = 0 ;
11355 PyObject *swig_obj[1] ;
11356
11357 if (!args) SWIG_fail;
11358 swig_obj[0] = args;
11359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11360 if (!SWIG_IsOK(res1)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11362 }
11363 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 resultobj = SWIG_From_int(static_cast< int >(result));
11371 return resultobj;
11372 fail:
11373 return NULL;
11374 }
11375
11376
11377 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11378 PyObject *resultobj = 0;
11379 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11380 int result;
11381 void *argp1 = 0 ;
11382 int res1 = 0 ;
11383 PyObject *swig_obj[1] ;
11384
11385 if (!args) SWIG_fail;
11386 swig_obj[0] = args;
11387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11388 if (!SWIG_IsOK(res1)) {
11389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11390 }
11391 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 resultobj = SWIG_From_int(static_cast< int >(result));
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj = 0;
11407 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11408 int arg2 ;
11409 int arg3 ;
11410 int arg4 = (int) 2 ;
11411 wxSashEdgePosition result;
11412 void *argp1 = 0 ;
11413 int res1 = 0 ;
11414 int val2 ;
11415 int ecode2 = 0 ;
11416 int val3 ;
11417 int ecode3 = 0 ;
11418 int val4 ;
11419 int ecode4 = 0 ;
11420 PyObject * obj0 = 0 ;
11421 PyObject * obj1 = 0 ;
11422 PyObject * obj2 = 0 ;
11423 PyObject * obj3 = 0 ;
11424 char * kwnames[] = {
11425 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11426 };
11427
11428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11430 if (!SWIG_IsOK(res1)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11432 }
11433 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11434 ecode2 = SWIG_AsVal_int(obj1, &val2);
11435 if (!SWIG_IsOK(ecode2)) {
11436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11437 }
11438 arg2 = static_cast< int >(val2);
11439 ecode3 = SWIG_AsVal_int(obj2, &val3);
11440 if (!SWIG_IsOK(ecode3)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11442 }
11443 arg3 = static_cast< int >(val3);
11444 if (obj3) {
11445 ecode4 = SWIG_AsVal_int(obj3, &val4);
11446 if (!SWIG_IsOK(ecode4)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11448 }
11449 arg4 = static_cast< int >(val4);
11450 }
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = SWIG_From_int(static_cast< int >(result));
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11465 PyObject *resultobj = 0;
11466 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11467 void *argp1 = 0 ;
11468 int res1 = 0 ;
11469 PyObject *swig_obj[1] ;
11470
11471 if (!args) SWIG_fail;
11472 swig_obj[0] = args;
11473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11474 if (!SWIG_IsOK(res1)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11476 }
11477 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 (arg1)->SizeWindows();
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = SWIG_Py_Void();
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11492 PyObject *obj;
11493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11495 return SWIG_Py_Void();
11496 }
11497
11498 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11499 return SWIG_Python_InitShadowInstance(args);
11500 }
11501
11502 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11503 PyObject *resultobj = 0;
11504 int arg1 = (int) 0 ;
11505 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11506 wxSashEvent *result = 0 ;
11507 int val1 ;
11508 int ecode1 = 0 ;
11509 int val2 ;
11510 int ecode2 = 0 ;
11511 PyObject * obj0 = 0 ;
11512 PyObject * obj1 = 0 ;
11513 char * kwnames[] = {
11514 (char *) "id",(char *) "edge", NULL
11515 };
11516
11517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11518 if (obj0) {
11519 ecode1 = SWIG_AsVal_int(obj0, &val1);
11520 if (!SWIG_IsOK(ecode1)) {
11521 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11522 }
11523 arg1 = static_cast< int >(val1);
11524 }
11525 if (obj1) {
11526 ecode2 = SWIG_AsVal_int(obj1, &val2);
11527 if (!SWIG_IsOK(ecode2)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11529 }
11530 arg2 = static_cast< wxSashEdgePosition >(val2);
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11539 return resultobj;
11540 fail:
11541 return NULL;
11542 }
11543
11544
11545 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj = 0;
11547 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11548 wxSashEdgePosition arg2 ;
11549 void *argp1 = 0 ;
11550 int res1 = 0 ;
11551 int val2 ;
11552 int ecode2 = 0 ;
11553 PyObject * obj0 = 0 ;
11554 PyObject * obj1 = 0 ;
11555 char * kwnames[] = {
11556 (char *) "self",(char *) "edge", NULL
11557 };
11558
11559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11561 if (!SWIG_IsOK(res1)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11563 }
11564 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11565 ecode2 = SWIG_AsVal_int(obj1, &val2);
11566 if (!SWIG_IsOK(ecode2)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11568 }
11569 arg2 = static_cast< wxSashEdgePosition >(val2);
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 (arg1)->SetEdge(arg2);
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 resultobj = SWIG_Py_Void();
11577 return resultobj;
11578 fail:
11579 return NULL;
11580 }
11581
11582
11583 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11584 PyObject *resultobj = 0;
11585 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11586 wxSashEdgePosition result;
11587 void *argp1 = 0 ;
11588 int res1 = 0 ;
11589 PyObject *swig_obj[1] ;
11590
11591 if (!args) SWIG_fail;
11592 swig_obj[0] = args;
11593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11594 if (!SWIG_IsOK(res1)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11596 }
11597 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
11604 resultobj = SWIG_From_int(static_cast< int >(result));
11605 return resultobj;
11606 fail:
11607 return NULL;
11608 }
11609
11610
11611 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11612 PyObject *resultobj = 0;
11613 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11614 wxRect *arg2 = 0 ;
11615 void *argp1 = 0 ;
11616 int res1 = 0 ;
11617 wxRect temp2 ;
11618 PyObject * obj0 = 0 ;
11619 PyObject * obj1 = 0 ;
11620 char * kwnames[] = {
11621 (char *) "self",(char *) "rect", NULL
11622 };
11623
11624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11626 if (!SWIG_IsOK(res1)) {
11627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11628 }
11629 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11630 {
11631 arg2 = &temp2;
11632 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11633 }
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 (arg1)->SetDragRect((wxRect const &)*arg2);
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 resultobj = SWIG_Py_Void();
11641 return resultobj;
11642 fail:
11643 return NULL;
11644 }
11645
11646
11647 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11648 PyObject *resultobj = 0;
11649 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11650 wxRect result;
11651 void *argp1 = 0 ;
11652 int res1 = 0 ;
11653 PyObject *swig_obj[1] ;
11654
11655 if (!args) SWIG_fail;
11656 swig_obj[0] = args;
11657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11658 if (!SWIG_IsOK(res1)) {
11659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11660 }
11661 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 result = ((wxSashEvent const *)arg1)->GetDragRect();
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11669 return resultobj;
11670 fail:
11671 return NULL;
11672 }
11673
11674
11675 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11676 PyObject *resultobj = 0;
11677 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11678 wxSashDragStatus arg2 ;
11679 void *argp1 = 0 ;
11680 int res1 = 0 ;
11681 int val2 ;
11682 int ecode2 = 0 ;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char * kwnames[] = {
11686 (char *) "self",(char *) "status", NULL
11687 };
11688
11689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11691 if (!SWIG_IsOK(res1)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11693 }
11694 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11695 ecode2 = SWIG_AsVal_int(obj1, &val2);
11696 if (!SWIG_IsOK(ecode2)) {
11697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11698 }
11699 arg2 = static_cast< wxSashDragStatus >(val2);
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetDragStatus(arg2);
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 resultobj = SWIG_Py_Void();
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11714 PyObject *resultobj = 0;
11715 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11716 wxSashDragStatus result;
11717 void *argp1 = 0 ;
11718 int res1 = 0 ;
11719 PyObject *swig_obj[1] ;
11720
11721 if (!args) SWIG_fail;
11722 swig_obj[0] = args;
11723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11724 if (!SWIG_IsOK(res1)) {
11725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11726 }
11727 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 resultobj = SWIG_From_int(static_cast< int >(result));
11735 return resultobj;
11736 fail:
11737 return NULL;
11738 }
11739
11740
11741 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11742 PyObject *obj;
11743 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11744 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11745 return SWIG_Py_Void();
11746 }
11747
11748 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11749 return SWIG_Python_InitShadowInstance(args);
11750 }
11751
11752 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj = 0;
11754 int arg1 = (int) 0 ;
11755 wxQueryLayoutInfoEvent *result = 0 ;
11756 int val1 ;
11757 int ecode1 = 0 ;
11758 PyObject * obj0 = 0 ;
11759 char * kwnames[] = {
11760 (char *) "id", NULL
11761 };
11762
11763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11764 if (obj0) {
11765 ecode1 = SWIG_AsVal_int(obj0, &val1);
11766 if (!SWIG_IsOK(ecode1)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11768 }
11769 arg1 = static_cast< int >(val1);
11770 }
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj = 0;
11786 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11787 int arg2 ;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 int val2 ;
11791 int ecode2 = 0 ;
11792 PyObject * obj0 = 0 ;
11793 PyObject * obj1 = 0 ;
11794 char * kwnames[] = {
11795 (char *) "self",(char *) "length", NULL
11796 };
11797
11798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11800 if (!SWIG_IsOK(res1)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11802 }
11803 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11804 ecode2 = SWIG_AsVal_int(obj1, &val2);
11805 if (!SWIG_IsOK(ecode2)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11807 }
11808 arg2 = static_cast< int >(val2);
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->SetRequestedLength(arg2);
11812 wxPyEndAllowThreads(__tstate);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 }
11815 resultobj = SWIG_Py_Void();
11816 return resultobj;
11817 fail:
11818 return NULL;
11819 }
11820
11821
11822 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11823 PyObject *resultobj = 0;
11824 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11825 int result;
11826 void *argp1 = 0 ;
11827 int res1 = 0 ;
11828 PyObject *swig_obj[1] ;
11829
11830 if (!args) SWIG_fail;
11831 swig_obj[0] = args;
11832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11833 if (!SWIG_IsOK(res1)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11835 }
11836 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11840 wxPyEndAllowThreads(__tstate);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 resultobj = SWIG_From_int(static_cast< int >(result));
11844 return resultobj;
11845 fail:
11846 return NULL;
11847 }
11848
11849
11850 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj = 0;
11852 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11853 int arg2 ;
11854 void *argp1 = 0 ;
11855 int res1 = 0 ;
11856 int val2 ;
11857 int ecode2 = 0 ;
11858 PyObject * obj0 = 0 ;
11859 PyObject * obj1 = 0 ;
11860 char * kwnames[] = {
11861 (char *) "self",(char *) "flags", NULL
11862 };
11863
11864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11866 if (!SWIG_IsOK(res1)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11868 }
11869 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11870 ecode2 = SWIG_AsVal_int(obj1, &val2);
11871 if (!SWIG_IsOK(ecode2)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11873 }
11874 arg2 = static_cast< int >(val2);
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 (arg1)->SetFlags(arg2);
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 resultobj = SWIG_Py_Void();
11882 return resultobj;
11883 fail:
11884 return NULL;
11885 }
11886
11887
11888 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11889 PyObject *resultobj = 0;
11890 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11891 int result;
11892 void *argp1 = 0 ;
11893 int res1 = 0 ;
11894 PyObject *swig_obj[1] ;
11895
11896 if (!args) SWIG_fail;
11897 swig_obj[0] = args;
11898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11899 if (!SWIG_IsOK(res1)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11901 }
11902 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 resultobj = SWIG_From_int(static_cast< int >(result));
11910 return resultobj;
11911 fail:
11912 return NULL;
11913 }
11914
11915
11916 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj = 0;
11918 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11919 wxSize *arg2 = 0 ;
11920 void *argp1 = 0 ;
11921 int res1 = 0 ;
11922 wxSize temp2 ;
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
11925 char * kwnames[] = {
11926 (char *) "self",(char *) "size", NULL
11927 };
11928
11929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11931 if (!SWIG_IsOK(res1)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11933 }
11934 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11935 {
11936 arg2 = &temp2;
11937 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11938 }
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 (arg1)->SetSize((wxSize const &)*arg2);
11942 wxPyEndAllowThreads(__tstate);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 resultobj = SWIG_Py_Void();
11946 return resultobj;
11947 fail:
11948 return NULL;
11949 }
11950
11951
11952 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11953 PyObject *resultobj = 0;
11954 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11955 wxSize result;
11956 void *argp1 = 0 ;
11957 int res1 = 0 ;
11958 PyObject *swig_obj[1] ;
11959
11960 if (!args) SWIG_fail;
11961 swig_obj[0] = args;
11962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11963 if (!SWIG_IsOK(res1)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11965 }
11966 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11974 return resultobj;
11975 fail:
11976 return NULL;
11977 }
11978
11979
11980 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj = 0;
11982 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11983 wxLayoutOrientation arg2 ;
11984 void *argp1 = 0 ;
11985 int res1 = 0 ;
11986 int val2 ;
11987 int ecode2 = 0 ;
11988 PyObject * obj0 = 0 ;
11989 PyObject * obj1 = 0 ;
11990 char * kwnames[] = {
11991 (char *) "self",(char *) "orient", NULL
11992 };
11993
11994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
11995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11996 if (!SWIG_IsOK(res1)) {
11997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11998 }
11999 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12000 ecode2 = SWIG_AsVal_int(obj1, &val2);
12001 if (!SWIG_IsOK(ecode2)) {
12002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12003 }
12004 arg2 = static_cast< wxLayoutOrientation >(val2);
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 (arg1)->SetOrientation(arg2);
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 resultobj = SWIG_Py_Void();
12012 return resultobj;
12013 fail:
12014 return NULL;
12015 }
12016
12017
12018 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12019 PyObject *resultobj = 0;
12020 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12021 wxLayoutOrientation result;
12022 void *argp1 = 0 ;
12023 int res1 = 0 ;
12024 PyObject *swig_obj[1] ;
12025
12026 if (!args) SWIG_fail;
12027 swig_obj[0] = args;
12028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12029 if (!SWIG_IsOK(res1)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12031 }
12032 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 resultobj = SWIG_From_int(static_cast< int >(result));
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj = 0;
12048 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12049 wxLayoutAlignment arg2 ;
12050 void *argp1 = 0 ;
12051 int res1 = 0 ;
12052 int val2 ;
12053 int ecode2 = 0 ;
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
12056 char * kwnames[] = {
12057 (char *) "self",(char *) "align", NULL
12058 };
12059
12060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12062 if (!SWIG_IsOK(res1)) {
12063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12064 }
12065 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12066 ecode2 = SWIG_AsVal_int(obj1, &val2);
12067 if (!SWIG_IsOK(ecode2)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12069 }
12070 arg2 = static_cast< wxLayoutAlignment >(val2);
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->SetAlignment(arg2);
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 resultobj = SWIG_Py_Void();
12078 return resultobj;
12079 fail:
12080 return NULL;
12081 }
12082
12083
12084 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12085 PyObject *resultobj = 0;
12086 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12087 wxLayoutAlignment result;
12088 void *argp1 = 0 ;
12089 int res1 = 0 ;
12090 PyObject *swig_obj[1] ;
12091
12092 if (!args) SWIG_fail;
12093 swig_obj[0] = args;
12094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12095 if (!SWIG_IsOK(res1)) {
12096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12097 }
12098 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 resultobj = SWIG_From_int(static_cast< int >(result));
12106 return resultobj;
12107 fail:
12108 return NULL;
12109 }
12110
12111
12112 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12113 PyObject *obj;
12114 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12115 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12116 return SWIG_Py_Void();
12117 }
12118
12119 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12120 return SWIG_Python_InitShadowInstance(args);
12121 }
12122
12123 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj = 0;
12125 int arg1 = (int) 0 ;
12126 wxCalculateLayoutEvent *result = 0 ;
12127 int val1 ;
12128 int ecode1 = 0 ;
12129 PyObject * obj0 = 0 ;
12130 char * kwnames[] = {
12131 (char *) "id", NULL
12132 };
12133
12134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12135 if (obj0) {
12136 ecode1 = SWIG_AsVal_int(obj0, &val1);
12137 if (!SWIG_IsOK(ecode1)) {
12138 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12139 }
12140 arg1 = static_cast< int >(val1);
12141 }
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12149 return resultobj;
12150 fail:
12151 return NULL;
12152 }
12153
12154
12155 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12156 PyObject *resultobj = 0;
12157 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12158 int arg2 ;
12159 void *argp1 = 0 ;
12160 int res1 = 0 ;
12161 int val2 ;
12162 int ecode2 = 0 ;
12163 PyObject * obj0 = 0 ;
12164 PyObject * obj1 = 0 ;
12165 char * kwnames[] = {
12166 (char *) "self",(char *) "flags", NULL
12167 };
12168
12169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12171 if (!SWIG_IsOK(res1)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12173 }
12174 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12175 ecode2 = SWIG_AsVal_int(obj1, &val2);
12176 if (!SWIG_IsOK(ecode2)) {
12177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12178 }
12179 arg2 = static_cast< int >(val2);
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 (arg1)->SetFlags(arg2);
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 resultobj = SWIG_Py_Void();
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12194 PyObject *resultobj = 0;
12195 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12196 int result;
12197 void *argp1 = 0 ;
12198 int res1 = 0 ;
12199 PyObject *swig_obj[1] ;
12200
12201 if (!args) SWIG_fail;
12202 swig_obj[0] = args;
12203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12204 if (!SWIG_IsOK(res1)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12206 }
12207 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = SWIG_From_int(static_cast< int >(result));
12215 return resultobj;
12216 fail:
12217 return NULL;
12218 }
12219
12220
12221 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12222 PyObject *resultobj = 0;
12223 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12224 wxRect *arg2 = 0 ;
12225 void *argp1 = 0 ;
12226 int res1 = 0 ;
12227 wxRect temp2 ;
12228 PyObject * obj0 = 0 ;
12229 PyObject * obj1 = 0 ;
12230 char * kwnames[] = {
12231 (char *) "self",(char *) "rect", NULL
12232 };
12233
12234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12236 if (!SWIG_IsOK(res1)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12238 }
12239 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12240 {
12241 arg2 = &temp2;
12242 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12243 }
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 (arg1)->SetRect((wxRect const &)*arg2);
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 resultobj = SWIG_Py_Void();
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12258 PyObject *resultobj = 0;
12259 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12260 wxRect result;
12261 void *argp1 = 0 ;
12262 int res1 = 0 ;
12263 PyObject *swig_obj[1] ;
12264
12265 if (!args) SWIG_fail;
12266 swig_obj[0] = args;
12267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12268 if (!SWIG_IsOK(res1)) {
12269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12270 }
12271 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12286 PyObject *obj;
12287 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12288 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12289 return SWIG_Py_Void();
12290 }
12291
12292 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12293 return SWIG_Python_InitShadowInstance(args);
12294 }
12295
12296 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12297 PyObject *resultobj = 0;
12298 wxWindow *arg1 = (wxWindow *) 0 ;
12299 int arg2 = (int) -1 ;
12300 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12301 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12302 wxSize const &arg4_defvalue = wxDefaultSize ;
12303 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12304 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12305 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12306 wxString *arg6 = (wxString *) &arg6_defvalue ;
12307 wxSashLayoutWindow *result = 0 ;
12308 void *argp1 = 0 ;
12309 int res1 = 0 ;
12310 int val2 ;
12311 int ecode2 = 0 ;
12312 wxPoint temp3 ;
12313 wxSize temp4 ;
12314 long val5 ;
12315 int ecode5 = 0 ;
12316 bool temp6 = false ;
12317 PyObject * obj0 = 0 ;
12318 PyObject * obj1 = 0 ;
12319 PyObject * obj2 = 0 ;
12320 PyObject * obj3 = 0 ;
12321 PyObject * obj4 = 0 ;
12322 PyObject * obj5 = 0 ;
12323 char * kwnames[] = {
12324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12325 };
12326
12327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12329 if (!SWIG_IsOK(res1)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12331 }
12332 arg1 = reinterpret_cast< wxWindow * >(argp1);
12333 if (obj1) {
12334 ecode2 = SWIG_AsVal_int(obj1, &val2);
12335 if (!SWIG_IsOK(ecode2)) {
12336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12337 }
12338 arg2 = static_cast< int >(val2);
12339 }
12340 if (obj2) {
12341 {
12342 arg3 = &temp3;
12343 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12344 }
12345 }
12346 if (obj3) {
12347 {
12348 arg4 = &temp4;
12349 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12350 }
12351 }
12352 if (obj4) {
12353 ecode5 = SWIG_AsVal_long(obj4, &val5);
12354 if (!SWIG_IsOK(ecode5)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12356 }
12357 arg5 = static_cast< long >(val5);
12358 }
12359 if (obj5) {
12360 {
12361 arg6 = wxString_in_helper(obj5);
12362 if (arg6 == NULL) SWIG_fail;
12363 temp6 = true;
12364 }
12365 }
12366 {
12367 if (!wxPyCheckForApp()) SWIG_fail;
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12374 {
12375 if (temp6)
12376 delete arg6;
12377 }
12378 return resultobj;
12379 fail:
12380 {
12381 if (temp6)
12382 delete arg6;
12383 }
12384 return NULL;
12385 }
12386
12387
12388 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12389 PyObject *resultobj = 0;
12390 wxSashLayoutWindow *result = 0 ;
12391
12392 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12393 {
12394 if (!wxPyCheckForApp()) SWIG_fail;
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj = 0;
12409 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12410 wxWindow *arg2 = (wxWindow *) 0 ;
12411 int arg3 = (int) -1 ;
12412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12414 wxSize const &arg5_defvalue = wxDefaultSize ;
12415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12416 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12417 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12418 wxString *arg7 = (wxString *) &arg7_defvalue ;
12419 bool result;
12420 void *argp1 = 0 ;
12421 int res1 = 0 ;
12422 void *argp2 = 0 ;
12423 int res2 = 0 ;
12424 int val3 ;
12425 int ecode3 = 0 ;
12426 wxPoint temp4 ;
12427 wxSize temp5 ;
12428 long val6 ;
12429 int ecode6 = 0 ;
12430 bool temp7 = false ;
12431 PyObject * obj0 = 0 ;
12432 PyObject * obj1 = 0 ;
12433 PyObject * obj2 = 0 ;
12434 PyObject * obj3 = 0 ;
12435 PyObject * obj4 = 0 ;
12436 PyObject * obj5 = 0 ;
12437 PyObject * obj6 = 0 ;
12438 char * kwnames[] = {
12439 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12440 };
12441
12442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12444 if (!SWIG_IsOK(res1)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12446 }
12447 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12448 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12449 if (!SWIG_IsOK(res2)) {
12450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12451 }
12452 arg2 = reinterpret_cast< wxWindow * >(argp2);
12453 if (obj2) {
12454 ecode3 = SWIG_AsVal_int(obj2, &val3);
12455 if (!SWIG_IsOK(ecode3)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12457 }
12458 arg3 = static_cast< int >(val3);
12459 }
12460 if (obj3) {
12461 {
12462 arg4 = &temp4;
12463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12464 }
12465 }
12466 if (obj4) {
12467 {
12468 arg5 = &temp5;
12469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12470 }
12471 }
12472 if (obj5) {
12473 ecode6 = SWIG_AsVal_long(obj5, &val6);
12474 if (!SWIG_IsOK(ecode6)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12476 }
12477 arg6 = static_cast< long >(val6);
12478 }
12479 if (obj6) {
12480 {
12481 arg7 = wxString_in_helper(obj6);
12482 if (arg7 == NULL) SWIG_fail;
12483 temp7 = true;
12484 }
12485 }
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 {
12493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12494 }
12495 {
12496 if (temp7)
12497 delete arg7;
12498 }
12499 return resultobj;
12500 fail:
12501 {
12502 if (temp7)
12503 delete arg7;
12504 }
12505 return NULL;
12506 }
12507
12508
12509 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12510 PyObject *resultobj = 0;
12511 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12512 wxLayoutAlignment result;
12513 void *argp1 = 0 ;
12514 int res1 = 0 ;
12515 PyObject *swig_obj[1] ;
12516
12517 if (!args) SWIG_fail;
12518 swig_obj[0] = args;
12519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12520 if (!SWIG_IsOK(res1)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12522 }
12523 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_From_int(static_cast< int >(result));
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12538 PyObject *resultobj = 0;
12539 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12540 wxLayoutOrientation result;
12541 void *argp1 = 0 ;
12542 int res1 = 0 ;
12543 PyObject *swig_obj[1] ;
12544
12545 if (!args) SWIG_fail;
12546 swig_obj[0] = args;
12547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12548 if (!SWIG_IsOK(res1)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12550 }
12551 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = SWIG_From_int(static_cast< int >(result));
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj = 0;
12567 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12568 wxLayoutAlignment arg2 ;
12569 void *argp1 = 0 ;
12570 int res1 = 0 ;
12571 int val2 ;
12572 int ecode2 = 0 ;
12573 PyObject * obj0 = 0 ;
12574 PyObject * obj1 = 0 ;
12575 char * kwnames[] = {
12576 (char *) "self",(char *) "alignment", NULL
12577 };
12578
12579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12581 if (!SWIG_IsOK(res1)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12583 }
12584 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12585 ecode2 = SWIG_AsVal_int(obj1, &val2);
12586 if (!SWIG_IsOK(ecode2)) {
12587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12588 }
12589 arg2 = static_cast< wxLayoutAlignment >(val2);
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 (arg1)->SetAlignment(arg2);
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 resultobj = SWIG_Py_Void();
12597 return resultobj;
12598 fail:
12599 return NULL;
12600 }
12601
12602
12603 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12604 PyObject *resultobj = 0;
12605 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12606 wxSize *arg2 = 0 ;
12607 void *argp1 = 0 ;
12608 int res1 = 0 ;
12609 wxSize temp2 ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 char * kwnames[] = {
12613 (char *) "self",(char *) "size", NULL
12614 };
12615
12616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12620 }
12621 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12622 {
12623 arg2 = &temp2;
12624 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12625 }
12626 {
12627 PyThreadState* __tstate = wxPyBeginAllowThreads();
12628 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 resultobj = SWIG_Py_Void();
12633 return resultobj;
12634 fail:
12635 return NULL;
12636 }
12637
12638
12639 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12640 PyObject *resultobj = 0;
12641 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12642 wxLayoutOrientation arg2 ;
12643 void *argp1 = 0 ;
12644 int res1 = 0 ;
12645 int val2 ;
12646 int ecode2 = 0 ;
12647 PyObject * obj0 = 0 ;
12648 PyObject * obj1 = 0 ;
12649 char * kwnames[] = {
12650 (char *) "self",(char *) "orientation", NULL
12651 };
12652
12653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12655 if (!SWIG_IsOK(res1)) {
12656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12657 }
12658 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12659 ecode2 = SWIG_AsVal_int(obj1, &val2);
12660 if (!SWIG_IsOK(ecode2)) {
12661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12662 }
12663 arg2 = static_cast< wxLayoutOrientation >(val2);
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 (arg1)->SetOrientation(arg2);
12667 wxPyEndAllowThreads(__tstate);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 resultobj = SWIG_Py_Void();
12671 return resultobj;
12672 fail:
12673 return NULL;
12674 }
12675
12676
12677 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12678 PyObject *obj;
12679 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12680 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12681 return SWIG_Py_Void();
12682 }
12683
12684 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12685 return SWIG_Python_InitShadowInstance(args);
12686 }
12687
12688 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12689 PyObject *resultobj = 0;
12690 wxLayoutAlgorithm *result = 0 ;
12691
12692 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12707 PyObject *resultobj = 0;
12708 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12709 void *argp1 = 0 ;
12710 int res1 = 0 ;
12711 PyObject *swig_obj[1] ;
12712
12713 if (!args) SWIG_fail;
12714 swig_obj[0] = args;
12715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12716 if (!SWIG_IsOK(res1)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12718 }
12719 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 delete arg1;
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 resultobj = SWIG_Py_Void();
12728 return resultobj;
12729 fail:
12730 return NULL;
12731 }
12732
12733
12734 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12735 PyObject *resultobj = 0;
12736 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12737 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12738 wxRect *arg3 = (wxRect *) NULL ;
12739 bool result;
12740 void *argp1 = 0 ;
12741 int res1 = 0 ;
12742 void *argp2 = 0 ;
12743 int res2 = 0 ;
12744 void *argp3 = 0 ;
12745 int res3 = 0 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 PyObject * obj2 = 0 ;
12749 char * kwnames[] = {
12750 (char *) "self",(char *) "frame",(char *) "rect", NULL
12751 };
12752
12753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12755 if (!SWIG_IsOK(res1)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12757 }
12758 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12759 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12760 if (!SWIG_IsOK(res2)) {
12761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12762 }
12763 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12764 if (obj2) {
12765 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12766 if (!SWIG_IsOK(res3)) {
12767 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12768 }
12769 arg3 = reinterpret_cast< wxRect * >(argp3);
12770 }
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 {
12778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12779 }
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj = 0;
12788 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12789 wxFrame *arg2 = (wxFrame *) 0 ;
12790 wxWindow *arg3 = (wxWindow *) NULL ;
12791 bool result;
12792 void *argp1 = 0 ;
12793 int res1 = 0 ;
12794 void *argp2 = 0 ;
12795 int res2 = 0 ;
12796 void *argp3 = 0 ;
12797 int res3 = 0 ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 PyObject * obj2 = 0 ;
12801 char * kwnames[] = {
12802 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12803 };
12804
12805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12807 if (!SWIG_IsOK(res1)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12809 }
12810 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12812 if (!SWIG_IsOK(res2)) {
12813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12814 }
12815 arg2 = reinterpret_cast< wxFrame * >(argp2);
12816 if (obj2) {
12817 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12818 if (!SWIG_IsOK(res3)) {
12819 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12820 }
12821 arg3 = reinterpret_cast< wxWindow * >(argp3);
12822 }
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 {
12830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12831 }
12832 return resultobj;
12833 fail:
12834 return NULL;
12835 }
12836
12837
12838 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj = 0;
12840 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12841 wxWindow *arg2 = (wxWindow *) 0 ;
12842 wxWindow *arg3 = (wxWindow *) NULL ;
12843 bool result;
12844 void *argp1 = 0 ;
12845 int res1 = 0 ;
12846 void *argp2 = 0 ;
12847 int res2 = 0 ;
12848 void *argp3 = 0 ;
12849 int res3 = 0 ;
12850 PyObject * obj0 = 0 ;
12851 PyObject * obj1 = 0 ;
12852 PyObject * obj2 = 0 ;
12853 char * kwnames[] = {
12854 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12855 };
12856
12857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12859 if (!SWIG_IsOK(res1)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12861 }
12862 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12863 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12864 if (!SWIG_IsOK(res2)) {
12865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12866 }
12867 arg2 = reinterpret_cast< wxWindow * >(argp2);
12868 if (obj2) {
12869 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res3)) {
12871 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12872 }
12873 arg3 = reinterpret_cast< wxWindow * >(argp3);
12874 }
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 {
12882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12883 }
12884 return resultobj;
12885 fail:
12886 return NULL;
12887 }
12888
12889
12890 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12891 PyObject *obj;
12892 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12893 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12894 return SWIG_Py_Void();
12895 }
12896
12897 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12898 return SWIG_Python_InitShadowInstance(args);
12899 }
12900
12901 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj = 0;
12903 wxWindow *arg1 = (wxWindow *) 0 ;
12904 int arg2 = (int) wxBORDER_NONE ;
12905 wxPopupWindow *result = 0 ;
12906 void *argp1 = 0 ;
12907 int res1 = 0 ;
12908 int val2 ;
12909 int ecode2 = 0 ;
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj1 = 0 ;
12912 char * kwnames[] = {
12913 (char *) "parent",(char *) "flags", NULL
12914 };
12915
12916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12918 if (!SWIG_IsOK(res1)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12920 }
12921 arg1 = reinterpret_cast< wxWindow * >(argp1);
12922 if (obj1) {
12923 ecode2 = SWIG_AsVal_int(obj1, &val2);
12924 if (!SWIG_IsOK(ecode2)) {
12925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12926 }
12927 arg2 = static_cast< int >(val2);
12928 }
12929 {
12930 if (!wxPyCheckForApp()) SWIG_fail;
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12944 PyObject *resultobj = 0;
12945 wxPopupWindow *result = 0 ;
12946
12947 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12948 {
12949 if (!wxPyCheckForApp()) SWIG_fail;
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (wxPopupWindow *)new wxPopupWindow();
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj = 0;
12964 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12965 wxWindow *arg2 = (wxWindow *) 0 ;
12966 int arg3 = (int) wxBORDER_NONE ;
12967 bool result;
12968 void *argp1 = 0 ;
12969 int res1 = 0 ;
12970 void *argp2 = 0 ;
12971 int res2 = 0 ;
12972 int val3 ;
12973 int ecode3 = 0 ;
12974 PyObject * obj0 = 0 ;
12975 PyObject * obj1 = 0 ;
12976 PyObject * obj2 = 0 ;
12977 char * kwnames[] = {
12978 (char *) "self",(char *) "parent",(char *) "flags", NULL
12979 };
12980
12981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12983 if (!SWIG_IsOK(res1)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12985 }
12986 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12987 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12988 if (!SWIG_IsOK(res2)) {
12989 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12990 }
12991 arg2 = reinterpret_cast< wxWindow * >(argp2);
12992 if (obj2) {
12993 ecode3 = SWIG_AsVal_int(obj2, &val3);
12994 if (!SWIG_IsOK(ecode3)) {
12995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12996 }
12997 arg3 = static_cast< int >(val3);
12998 }
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (bool)(arg1)->Create(arg2,arg3);
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 {
13006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13007 }
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj = 0;
13016 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13017 wxPoint *arg2 = 0 ;
13018 wxSize *arg3 = 0 ;
13019 void *argp1 = 0 ;
13020 int res1 = 0 ;
13021 wxPoint temp2 ;
13022 wxSize temp3 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 PyObject * obj2 = 0 ;
13026 char * kwnames[] = {
13027 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13028 };
13029
13030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13032 if (!SWIG_IsOK(res1)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13034 }
13035 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13036 {
13037 arg2 = &temp2;
13038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13039 }
13040 {
13041 arg3 = &temp3;
13042 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13043 }
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 resultobj = SWIG_Py_Void();
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13058 PyObject *obj;
13059 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13060 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13061 return SWIG_Py_Void();
13062 }
13063
13064 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13065 return SWIG_Python_InitShadowInstance(args);
13066 }
13067
13068 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj = 0;
13070 wxWindow *arg1 = (wxWindow *) 0 ;
13071 int arg2 = (int) wxBORDER_NONE ;
13072 wxPyPopupTransientWindow *result = 0 ;
13073 void *argp1 = 0 ;
13074 int res1 = 0 ;
13075 int val2 ;
13076 int ecode2 = 0 ;
13077 PyObject * obj0 = 0 ;
13078 PyObject * obj1 = 0 ;
13079 char * kwnames[] = {
13080 (char *) "parent",(char *) "style", NULL
13081 };
13082
13083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13085 if (!SWIG_IsOK(res1)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13087 }
13088 arg1 = reinterpret_cast< wxWindow * >(argp1);
13089 if (obj1) {
13090 ecode2 = SWIG_AsVal_int(obj1, &val2);
13091 if (!SWIG_IsOK(ecode2)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13093 }
13094 arg2 = static_cast< int >(val2);
13095 }
13096 {
13097 if (!wxPyCheckForApp()) SWIG_fail;
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13111 PyObject *resultobj = 0;
13112 wxPyPopupTransientWindow *result = 0 ;
13113
13114 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13115 {
13116 if (!wxPyCheckForApp()) SWIG_fail;
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13123 return resultobj;
13124 fail:
13125 return NULL;
13126 }
13127
13128
13129 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj = 0;
13131 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13132 PyObject *arg2 = (PyObject *) 0 ;
13133 PyObject *arg3 = (PyObject *) 0 ;
13134 void *argp1 = 0 ;
13135 int res1 = 0 ;
13136 PyObject * obj0 = 0 ;
13137 PyObject * obj1 = 0 ;
13138 PyObject * obj2 = 0 ;
13139 char * kwnames[] = {
13140 (char *) "self",(char *) "self",(char *) "_class", NULL
13141 };
13142
13143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13145 if (!SWIG_IsOK(res1)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13147 }
13148 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13149 arg2 = obj1;
13150 arg3 = obj2;
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 (arg1)->_setCallbackInfo(arg2,arg3);
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 resultobj = SWIG_Py_Void();
13158 return resultobj;
13159 fail:
13160 return NULL;
13161 }
13162
13163
13164 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj = 0;
13166 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13167 wxWindow *arg2 = (wxWindow *) NULL ;
13168 void *argp1 = 0 ;
13169 int res1 = 0 ;
13170 void *argp2 = 0 ;
13171 int res2 = 0 ;
13172 PyObject * obj0 = 0 ;
13173 PyObject * obj1 = 0 ;
13174 char * kwnames[] = {
13175 (char *) "self",(char *) "focus", NULL
13176 };
13177
13178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13180 if (!SWIG_IsOK(res1)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13182 }
13183 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13184 if (obj1) {
13185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13186 if (!SWIG_IsOK(res2)) {
13187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13188 }
13189 arg2 = reinterpret_cast< wxWindow * >(argp2);
13190 }
13191 {
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 (arg1)->Popup(arg2);
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 resultobj = SWIG_Py_Void();
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13205 PyObject *resultobj = 0;
13206 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13207 void *argp1 = 0 ;
13208 int res1 = 0 ;
13209 PyObject *swig_obj[1] ;
13210
13211 if (!args) SWIG_fail;
13212 swig_obj[0] = args;
13213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13214 if (!SWIG_IsOK(res1)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13216 }
13217 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 (arg1)->Dismiss();
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 resultobj = SWIG_Py_Void();
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13232 PyObject *obj;
13233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13235 return SWIG_Py_Void();
13236 }
13237
13238 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13239 return SWIG_Python_InitShadowInstance(args);
13240 }
13241
13242 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj = 0;
13244 wxWindow *arg1 = (wxWindow *) 0 ;
13245 wxString *arg2 = 0 ;
13246 int arg3 = (int) 100 ;
13247 wxRect *arg4 = (wxRect *) NULL ;
13248 wxTipWindow *result = 0 ;
13249 void *argp1 = 0 ;
13250 int res1 = 0 ;
13251 bool temp2 = false ;
13252 int val3 ;
13253 int ecode3 = 0 ;
13254 void *argp4 = 0 ;
13255 int res4 = 0 ;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 PyObject * obj2 = 0 ;
13259 PyObject * obj3 = 0 ;
13260 char * kwnames[] = {
13261 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13262 };
13263
13264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13266 if (!SWIG_IsOK(res1)) {
13267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13268 }
13269 arg1 = reinterpret_cast< wxWindow * >(argp1);
13270 {
13271 arg2 = wxString_in_helper(obj1);
13272 if (arg2 == NULL) SWIG_fail;
13273 temp2 = true;
13274 }
13275 if (obj2) {
13276 ecode3 = SWIG_AsVal_int(obj2, &val3);
13277 if (!SWIG_IsOK(ecode3)) {
13278 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13279 }
13280 arg3 = static_cast< int >(val3);
13281 }
13282 if (obj3) {
13283 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13284 if (!SWIG_IsOK(res4)) {
13285 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13286 }
13287 arg4 = reinterpret_cast< wxRect * >(argp4);
13288 }
13289 {
13290 if (!wxPyCheckForApp()) SWIG_fail;
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13297 {
13298 if (temp2)
13299 delete arg2;
13300 }
13301 return resultobj;
13302 fail:
13303 {
13304 if (temp2)
13305 delete arg2;
13306 }
13307 return NULL;
13308 }
13309
13310
13311 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj = 0;
13313 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13314 wxRect *arg2 = 0 ;
13315 void *argp1 = 0 ;
13316 int res1 = 0 ;
13317 wxRect temp2 ;
13318 PyObject * obj0 = 0 ;
13319 PyObject * obj1 = 0 ;
13320 char * kwnames[] = {
13321 (char *) "self",(char *) "rectBound", NULL
13322 };
13323
13324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13326 if (!SWIG_IsOK(res1)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13328 }
13329 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13330 {
13331 arg2 = &temp2;
13332 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13333 }
13334 {
13335 PyThreadState* __tstate = wxPyBeginAllowThreads();
13336 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 resultobj = SWIG_Py_Void();
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13348 PyObject *resultobj = 0;
13349 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13350 void *argp1 = 0 ;
13351 int res1 = 0 ;
13352 PyObject *swig_obj[1] ;
13353
13354 if (!args) SWIG_fail;
13355 swig_obj[0] = args;
13356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13357 if (!SWIG_IsOK(res1)) {
13358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13359 }
13360 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 (arg1)->Close();
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = SWIG_Py_Void();
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13375 PyObject *obj;
13376 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13377 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13378 return SWIG_Py_Void();
13379 }
13380
13381 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13382 return SWIG_Python_InitShadowInstance(args);
13383 }
13384
13385 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj = 0;
13387 wxWindow *arg1 = (wxWindow *) 0 ;
13388 int arg2 = (int) wxID_ANY ;
13389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13391 wxSize const &arg4_defvalue = wxDefaultSize ;
13392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13393 long arg5 = (long) 0 ;
13394 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13395 wxString *arg6 = (wxString *) &arg6_defvalue ;
13396 wxPyVScrolledWindow *result = 0 ;
13397 void *argp1 = 0 ;
13398 int res1 = 0 ;
13399 int val2 ;
13400 int ecode2 = 0 ;
13401 wxPoint temp3 ;
13402 wxSize temp4 ;
13403 long val5 ;
13404 int ecode5 = 0 ;
13405 bool temp6 = false ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 PyObject * obj2 = 0 ;
13409 PyObject * obj3 = 0 ;
13410 PyObject * obj4 = 0 ;
13411 PyObject * obj5 = 0 ;
13412 char * kwnames[] = {
13413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13414 };
13415
13416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13418 if (!SWIG_IsOK(res1)) {
13419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13420 }
13421 arg1 = reinterpret_cast< wxWindow * >(argp1);
13422 if (obj1) {
13423 ecode2 = SWIG_AsVal_int(obj1, &val2);
13424 if (!SWIG_IsOK(ecode2)) {
13425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13426 }
13427 arg2 = static_cast< int >(val2);
13428 }
13429 if (obj2) {
13430 {
13431 arg3 = &temp3;
13432 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13433 }
13434 }
13435 if (obj3) {
13436 {
13437 arg4 = &temp4;
13438 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13439 }
13440 }
13441 if (obj4) {
13442 ecode5 = SWIG_AsVal_long(obj4, &val5);
13443 if (!SWIG_IsOK(ecode5)) {
13444 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13445 }
13446 arg5 = static_cast< long >(val5);
13447 }
13448 if (obj5) {
13449 {
13450 arg6 = wxString_in_helper(obj5);
13451 if (arg6 == NULL) SWIG_fail;
13452 temp6 = true;
13453 }
13454 }
13455 {
13456 if (!wxPyCheckForApp()) SWIG_fail;
13457 PyThreadState* __tstate = wxPyBeginAllowThreads();
13458 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13463 {
13464 if (temp6)
13465 delete arg6;
13466 }
13467 return resultobj;
13468 fail:
13469 {
13470 if (temp6)
13471 delete arg6;
13472 }
13473 return NULL;
13474 }
13475
13476
13477 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13478 PyObject *resultobj = 0;
13479 wxPyVScrolledWindow *result = 0 ;
13480
13481 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13482 {
13483 if (!wxPyCheckForApp()) SWIG_fail;
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13490 return resultobj;
13491 fail:
13492 return NULL;
13493 }
13494
13495
13496 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj = 0;
13498 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13499 PyObject *arg2 = (PyObject *) 0 ;
13500 PyObject *arg3 = (PyObject *) 0 ;
13501 void *argp1 = 0 ;
13502 int res1 = 0 ;
13503 PyObject * obj0 = 0 ;
13504 PyObject * obj1 = 0 ;
13505 PyObject * obj2 = 0 ;
13506 char * kwnames[] = {
13507 (char *) "self",(char *) "self",(char *) "_class", NULL
13508 };
13509
13510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13512 if (!SWIG_IsOK(res1)) {
13513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13514 }
13515 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13516 arg2 = obj1;
13517 arg3 = obj2;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 (arg1)->_setCallbackInfo(arg2,arg3);
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 resultobj = SWIG_Py_Void();
13525 return resultobj;
13526 fail:
13527 return NULL;
13528 }
13529
13530
13531 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj = 0;
13533 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13534 wxWindow *arg2 = (wxWindow *) 0 ;
13535 int arg3 = (int) wxID_ANY ;
13536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13538 wxSize const &arg5_defvalue = wxDefaultSize ;
13539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13540 long arg6 = (long) 0 ;
13541 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13542 wxString *arg7 = (wxString *) &arg7_defvalue ;
13543 bool result;
13544 void *argp1 = 0 ;
13545 int res1 = 0 ;
13546 void *argp2 = 0 ;
13547 int res2 = 0 ;
13548 int val3 ;
13549 int ecode3 = 0 ;
13550 wxPoint temp4 ;
13551 wxSize temp5 ;
13552 long val6 ;
13553 int ecode6 = 0 ;
13554 bool temp7 = false ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 PyObject * obj2 = 0 ;
13558 PyObject * obj3 = 0 ;
13559 PyObject * obj4 = 0 ;
13560 PyObject * obj5 = 0 ;
13561 PyObject * obj6 = 0 ;
13562 char * kwnames[] = {
13563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13564 };
13565
13566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13568 if (!SWIG_IsOK(res1)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13570 }
13571 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13572 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13573 if (!SWIG_IsOK(res2)) {
13574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13575 }
13576 arg2 = reinterpret_cast< wxWindow * >(argp2);
13577 if (obj2) {
13578 ecode3 = SWIG_AsVal_int(obj2, &val3);
13579 if (!SWIG_IsOK(ecode3)) {
13580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13581 }
13582 arg3 = static_cast< int >(val3);
13583 }
13584 if (obj3) {
13585 {
13586 arg4 = &temp4;
13587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13588 }
13589 }
13590 if (obj4) {
13591 {
13592 arg5 = &temp5;
13593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13594 }
13595 }
13596 if (obj5) {
13597 ecode6 = SWIG_AsVal_long(obj5, &val6);
13598 if (!SWIG_IsOK(ecode6)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13600 }
13601 arg6 = static_cast< long >(val6);
13602 }
13603 if (obj6) {
13604 {
13605 arg7 = wxString_in_helper(obj6);
13606 if (arg7 == NULL) SWIG_fail;
13607 temp7 = true;
13608 }
13609 }
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13618 }
13619 {
13620 if (temp7)
13621 delete arg7;
13622 }
13623 return resultobj;
13624 fail:
13625 {
13626 if (temp7)
13627 delete arg7;
13628 }
13629 return NULL;
13630 }
13631
13632
13633 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj = 0;
13635 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13636 size_t arg2 ;
13637 void *argp1 = 0 ;
13638 int res1 = 0 ;
13639 size_t val2 ;
13640 int ecode2 = 0 ;
13641 PyObject * obj0 = 0 ;
13642 PyObject * obj1 = 0 ;
13643 char * kwnames[] = {
13644 (char *) "self",(char *) "count", NULL
13645 };
13646
13647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13649 if (!SWIG_IsOK(res1)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13651 }
13652 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13653 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13654 if (!SWIG_IsOK(ecode2)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13656 }
13657 arg2 = static_cast< size_t >(val2);
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
13660 (arg1)->SetLineCount(arg2);
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 resultobj = SWIG_Py_Void();
13665 return resultobj;
13666 fail:
13667 return NULL;
13668 }
13669
13670
13671 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13672 PyObject *resultobj = 0;
13673 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13674 size_t arg2 ;
13675 bool result;
13676 void *argp1 = 0 ;
13677 int res1 = 0 ;
13678 size_t val2 ;
13679 int ecode2 = 0 ;
13680 PyObject * obj0 = 0 ;
13681 PyObject * obj1 = 0 ;
13682 char * kwnames[] = {
13683 (char *) "self",(char *) "line", NULL
13684 };
13685
13686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13688 if (!SWIG_IsOK(res1)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13690 }
13691 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13692 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13693 if (!SWIG_IsOK(ecode2)) {
13694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13695 }
13696 arg2 = static_cast< size_t >(val2);
13697 {
13698 PyThreadState* __tstate = wxPyBeginAllowThreads();
13699 result = (bool)(arg1)->ScrollToLine(arg2);
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 {
13704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13705 }
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj = 0;
13714 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13715 size_t arg2 ;
13716 void *argp1 = 0 ;
13717 int res1 = 0 ;
13718 size_t val2 ;
13719 int ecode2 = 0 ;
13720 PyObject * obj0 = 0 ;
13721 PyObject * obj1 = 0 ;
13722 char * kwnames[] = {
13723 (char *) "self",(char *) "line", NULL
13724 };
13725
13726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13728 if (!SWIG_IsOK(res1)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13730 }
13731 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13732 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13733 if (!SWIG_IsOK(ecode2)) {
13734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13735 }
13736 arg2 = static_cast< size_t >(val2);
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 (arg1)->RefreshLine(arg2);
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = SWIG_Py_Void();
13744 return resultobj;
13745 fail:
13746 return NULL;
13747 }
13748
13749
13750 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj = 0;
13752 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13753 size_t arg2 ;
13754 size_t arg3 ;
13755 void *argp1 = 0 ;
13756 int res1 = 0 ;
13757 size_t val2 ;
13758 int ecode2 = 0 ;
13759 size_t val3 ;
13760 int ecode3 = 0 ;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
13763 PyObject * obj2 = 0 ;
13764 char * kwnames[] = {
13765 (char *) "self",(char *) "_from",(char *) "to", NULL
13766 };
13767
13768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13770 if (!SWIG_IsOK(res1)) {
13771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13772 }
13773 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13774 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13775 if (!SWIG_IsOK(ecode2)) {
13776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13777 }
13778 arg2 = static_cast< size_t >(val2);
13779 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13780 if (!SWIG_IsOK(ecode3)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13782 }
13783 arg3 = static_cast< size_t >(val3);
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 (arg1)->RefreshLines(arg2,arg3);
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 resultobj = SWIG_Py_Void();
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj = 0;
13799 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13800 int arg2 ;
13801 int arg3 ;
13802 int result;
13803 void *argp1 = 0 ;
13804 int res1 = 0 ;
13805 int val2 ;
13806 int ecode2 = 0 ;
13807 int val3 ;
13808 int ecode3 = 0 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 PyObject * obj2 = 0 ;
13812 char * kwnames[] = {
13813 (char *) "self",(char *) "x",(char *) "y", NULL
13814 };
13815
13816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13818 if (!SWIG_IsOK(res1)) {
13819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13820 }
13821 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13822 ecode2 = SWIG_AsVal_int(obj1, &val2);
13823 if (!SWIG_IsOK(ecode2)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13825 }
13826 arg2 = static_cast< int >(val2);
13827 ecode3 = SWIG_AsVal_int(obj2, &val3);
13828 if (!SWIG_IsOK(ecode3)) {
13829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13830 }
13831 arg3 = static_cast< int >(val3);
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = SWIG_From_int(static_cast< int >(result));
13839 return resultobj;
13840 fail:
13841 return NULL;
13842 }
13843
13844
13845 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj = 0;
13847 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13848 wxPoint *arg2 = 0 ;
13849 int result;
13850 void *argp1 = 0 ;
13851 int res1 = 0 ;
13852 wxPoint temp2 ;
13853 PyObject * obj0 = 0 ;
13854 PyObject * obj1 = 0 ;
13855 char * kwnames[] = {
13856 (char *) "self",(char *) "pt", NULL
13857 };
13858
13859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13861 if (!SWIG_IsOK(res1)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13863 }
13864 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13865 {
13866 arg2 = &temp2;
13867 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13868 }
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 resultobj = SWIG_From_int(static_cast< int >(result));
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13883 PyObject *resultobj = 0;
13884 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13885 void *argp1 = 0 ;
13886 int res1 = 0 ;
13887 PyObject *swig_obj[1] ;
13888
13889 if (!args) SWIG_fail;
13890 swig_obj[0] = args;
13891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13892 if (!SWIG_IsOK(res1)) {
13893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13894 }
13895 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 (arg1)->RefreshAll();
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 resultobj = SWIG_Py_Void();
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13910 PyObject *resultobj = 0;
13911 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13912 size_t result;
13913 void *argp1 = 0 ;
13914 int res1 = 0 ;
13915 PyObject *swig_obj[1] ;
13916
13917 if (!args) SWIG_fail;
13918 swig_obj[0] = args;
13919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13920 if (!SWIG_IsOK(res1)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13922 }
13923 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13931 return resultobj;
13932 fail:
13933 return NULL;
13934 }
13935
13936
13937 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13938 PyObject *resultobj = 0;
13939 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13940 size_t result;
13941 void *argp1 = 0 ;
13942 int res1 = 0 ;
13943 PyObject *swig_obj[1] ;
13944
13945 if (!args) SWIG_fail;
13946 swig_obj[0] = args;
13947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13948 if (!SWIG_IsOK(res1)) {
13949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13950 }
13951 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13959 return resultobj;
13960 fail:
13961 return NULL;
13962 }
13963
13964
13965 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13966 PyObject *resultobj = 0;
13967 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13968 size_t result;
13969 void *argp1 = 0 ;
13970 int res1 = 0 ;
13971 PyObject *swig_obj[1] ;
13972
13973 if (!args) SWIG_fail;
13974 swig_obj[0] = args;
13975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13976 if (!SWIG_IsOK(res1)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13978 }
13979 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13987 return resultobj;
13988 fail:
13989 return NULL;
13990 }
13991
13992
13993 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13994 PyObject *resultobj = 0;
13995 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13996 size_t arg2 ;
13997 bool result;
13998 void *argp1 = 0 ;
13999 int res1 = 0 ;
14000 size_t val2 ;
14001 int ecode2 = 0 ;
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
14004 char * kwnames[] = {
14005 (char *) "self",(char *) "line", NULL
14006 };
14007
14008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14010 if (!SWIG_IsOK(res1)) {
14011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14012 }
14013 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14014 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14015 if (!SWIG_IsOK(ecode2)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14017 }
14018 arg2 = static_cast< size_t >(val2);
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 {
14026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14027 }
14028 return resultobj;
14029 fail:
14030 return NULL;
14031 }
14032
14033
14034 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14035 PyObject *resultobj = 0;
14036 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14037 size_t result;
14038 void *argp1 = 0 ;
14039 int res1 = 0 ;
14040 PyObject *swig_obj[1] ;
14041
14042 if (!args) SWIG_fail;
14043 swig_obj[0] = args;
14044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14045 if (!SWIG_IsOK(res1)) {
14046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14047 }
14048 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14063 PyObject *resultobj = 0;
14064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14065 size_t result;
14066 void *argp1 = 0 ;
14067 int res1 = 0 ;
14068 PyObject *swig_obj[1] ;
14069
14070 if (!args) SWIG_fail;
14071 swig_obj[0] = args;
14072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14073 if (!SWIG_IsOK(res1)) {
14074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14075 }
14076 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14084 return resultobj;
14085 fail:
14086 return NULL;
14087 }
14088
14089
14090 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj = 0;
14092 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14093 size_t arg2 ;
14094 bool arg3 = (bool) false ;
14095 size_t result;
14096 void *argp1 = 0 ;
14097 int res1 = 0 ;
14098 size_t val2 ;
14099 int ecode2 = 0 ;
14100 bool val3 ;
14101 int ecode3 = 0 ;
14102 PyObject * obj0 = 0 ;
14103 PyObject * obj1 = 0 ;
14104 PyObject * obj2 = 0 ;
14105 char * kwnames[] = {
14106 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14107 };
14108
14109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14111 if (!SWIG_IsOK(res1)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14113 }
14114 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14115 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14116 if (!SWIG_IsOK(ecode2)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14118 }
14119 arg2 = static_cast< size_t >(val2);
14120 if (obj2) {
14121 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14122 if (!SWIG_IsOK(ecode3)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14124 }
14125 arg3 = static_cast< bool >(val3);
14126 }
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14134 return resultobj;
14135 fail:
14136 return NULL;
14137 }
14138
14139
14140 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14141 PyObject *resultobj = 0;
14142 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14143 size_t arg2 ;
14144 size_t arg3 ;
14145 int result;
14146 void *argp1 = 0 ;
14147 int res1 = 0 ;
14148 size_t val2 ;
14149 int ecode2 = 0 ;
14150 size_t val3 ;
14151 int ecode3 = 0 ;
14152 PyObject * obj0 = 0 ;
14153 PyObject * obj1 = 0 ;
14154 PyObject * obj2 = 0 ;
14155 char * kwnames[] = {
14156 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14157 };
14158
14159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14161 if (!SWIG_IsOK(res1)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14163 }
14164 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14165 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14166 if (!SWIG_IsOK(ecode2)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14168 }
14169 arg2 = static_cast< size_t >(val2);
14170 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14171 if (!SWIG_IsOK(ecode3)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14173 }
14174 arg3 = static_cast< size_t >(val3);
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
14181 resultobj = SWIG_From_int(static_cast< int >(result));
14182 return resultobj;
14183 fail:
14184 return NULL;
14185 }
14186
14187
14188 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14189 PyObject *obj;
14190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14192 return SWIG_Py_Void();
14193 }
14194
14195 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14196 return SWIG_Python_InitShadowInstance(args);
14197 }
14198
14199 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14200 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14201 return 1;
14202 }
14203
14204
14205 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14206 PyObject *pyobj = 0;
14207
14208 {
14209 #if wxUSE_UNICODE
14210 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14211 #else
14212 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14213 #endif
14214 }
14215 return pyobj;
14216 }
14217
14218
14219 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj = 0;
14221 wxWindow *arg1 = (wxWindow *) 0 ;
14222 int arg2 = (int) wxID_ANY ;
14223 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14224 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14225 wxSize const &arg4_defvalue = wxDefaultSize ;
14226 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14227 long arg5 = (long) 0 ;
14228 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14229 wxString *arg6 = (wxString *) &arg6_defvalue ;
14230 wxPyVListBox *result = 0 ;
14231 void *argp1 = 0 ;
14232 int res1 = 0 ;
14233 int val2 ;
14234 int ecode2 = 0 ;
14235 wxPoint temp3 ;
14236 wxSize temp4 ;
14237 long val5 ;
14238 int ecode5 = 0 ;
14239 bool temp6 = false ;
14240 PyObject * obj0 = 0 ;
14241 PyObject * obj1 = 0 ;
14242 PyObject * obj2 = 0 ;
14243 PyObject * obj3 = 0 ;
14244 PyObject * obj4 = 0 ;
14245 PyObject * obj5 = 0 ;
14246 char * kwnames[] = {
14247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14248 };
14249
14250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14252 if (!SWIG_IsOK(res1)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14254 }
14255 arg1 = reinterpret_cast< wxWindow * >(argp1);
14256 if (obj1) {
14257 ecode2 = SWIG_AsVal_int(obj1, &val2);
14258 if (!SWIG_IsOK(ecode2)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14260 }
14261 arg2 = static_cast< int >(val2);
14262 }
14263 if (obj2) {
14264 {
14265 arg3 = &temp3;
14266 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14267 }
14268 }
14269 if (obj3) {
14270 {
14271 arg4 = &temp4;
14272 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14273 }
14274 }
14275 if (obj4) {
14276 ecode5 = SWIG_AsVal_long(obj4, &val5);
14277 if (!SWIG_IsOK(ecode5)) {
14278 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14279 }
14280 arg5 = static_cast< long >(val5);
14281 }
14282 if (obj5) {
14283 {
14284 arg6 = wxString_in_helper(obj5);
14285 if (arg6 == NULL) SWIG_fail;
14286 temp6 = true;
14287 }
14288 }
14289 {
14290 if (!wxPyCheckForApp()) SWIG_fail;
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14297 {
14298 if (temp6)
14299 delete arg6;
14300 }
14301 return resultobj;
14302 fail:
14303 {
14304 if (temp6)
14305 delete arg6;
14306 }
14307 return NULL;
14308 }
14309
14310
14311 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14312 PyObject *resultobj = 0;
14313 wxPyVListBox *result = 0 ;
14314
14315 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14316 {
14317 if (!wxPyCheckForApp()) SWIG_fail;
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (wxPyVListBox *)new wxPyVListBox();
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14324 return resultobj;
14325 fail:
14326 return NULL;
14327 }
14328
14329
14330 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj = 0;
14332 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14333 PyObject *arg2 = (PyObject *) 0 ;
14334 PyObject *arg3 = (PyObject *) 0 ;
14335 void *argp1 = 0 ;
14336 int res1 = 0 ;
14337 PyObject * obj0 = 0 ;
14338 PyObject * obj1 = 0 ;
14339 PyObject * obj2 = 0 ;
14340 char * kwnames[] = {
14341 (char *) "self",(char *) "self",(char *) "_class", NULL
14342 };
14343
14344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14346 if (!SWIG_IsOK(res1)) {
14347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14348 }
14349 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14350 arg2 = obj1;
14351 arg3 = obj2;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->_setCallbackInfo(arg2,arg3);
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_Py_Void();
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj = 0;
14367 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14368 wxWindow *arg2 = (wxWindow *) 0 ;
14369 int arg3 = (int) wxID_ANY ;
14370 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14371 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14372 wxSize const &arg5_defvalue = wxDefaultSize ;
14373 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14374 long arg6 = (long) 0 ;
14375 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14376 wxString *arg7 = (wxString *) &arg7_defvalue ;
14377 bool result;
14378 void *argp1 = 0 ;
14379 int res1 = 0 ;
14380 void *argp2 = 0 ;
14381 int res2 = 0 ;
14382 int val3 ;
14383 int ecode3 = 0 ;
14384 wxPoint temp4 ;
14385 wxSize temp5 ;
14386 long val6 ;
14387 int ecode6 = 0 ;
14388 bool temp7 = false ;
14389 PyObject * obj0 = 0 ;
14390 PyObject * obj1 = 0 ;
14391 PyObject * obj2 = 0 ;
14392 PyObject * obj3 = 0 ;
14393 PyObject * obj4 = 0 ;
14394 PyObject * obj5 = 0 ;
14395 PyObject * obj6 = 0 ;
14396 char * kwnames[] = {
14397 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14398 };
14399
14400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14402 if (!SWIG_IsOK(res1)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14404 }
14405 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14406 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14407 if (!SWIG_IsOK(res2)) {
14408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14409 }
14410 arg2 = reinterpret_cast< wxWindow * >(argp2);
14411 if (obj2) {
14412 ecode3 = SWIG_AsVal_int(obj2, &val3);
14413 if (!SWIG_IsOK(ecode3)) {
14414 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14415 }
14416 arg3 = static_cast< int >(val3);
14417 }
14418 if (obj3) {
14419 {
14420 arg4 = &temp4;
14421 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14422 }
14423 }
14424 if (obj4) {
14425 {
14426 arg5 = &temp5;
14427 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14428 }
14429 }
14430 if (obj5) {
14431 ecode6 = SWIG_AsVal_long(obj5, &val6);
14432 if (!SWIG_IsOK(ecode6)) {
14433 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14434 }
14435 arg6 = static_cast< long >(val6);
14436 }
14437 if (obj6) {
14438 {
14439 arg7 = wxString_in_helper(obj6);
14440 if (arg7 == NULL) SWIG_fail;
14441 temp7 = true;
14442 }
14443 }
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 {
14451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14452 }
14453 {
14454 if (temp7)
14455 delete arg7;
14456 }
14457 return resultobj;
14458 fail:
14459 {
14460 if (temp7)
14461 delete arg7;
14462 }
14463 return NULL;
14464 }
14465
14466
14467 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14468 PyObject *resultobj = 0;
14469 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14470 size_t result;
14471 void *argp1 = 0 ;
14472 int res1 = 0 ;
14473 PyObject *swig_obj[1] ;
14474
14475 if (!args) SWIG_fail;
14476 swig_obj[0] = args;
14477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14478 if (!SWIG_IsOK(res1)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14480 }
14481 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14496 PyObject *resultobj = 0;
14497 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14498 bool result;
14499 void *argp1 = 0 ;
14500 int res1 = 0 ;
14501 PyObject *swig_obj[1] ;
14502
14503 if (!args) SWIG_fail;
14504 swig_obj[0] = args;
14505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14506 if (!SWIG_IsOK(res1)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14508 }
14509 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 {
14517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14518 }
14519 return resultobj;
14520 fail:
14521 return NULL;
14522 }
14523
14524
14525 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14526 PyObject *resultobj = 0;
14527 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14528 int result;
14529 void *argp1 = 0 ;
14530 int res1 = 0 ;
14531 PyObject *swig_obj[1] ;
14532
14533 if (!args) SWIG_fail;
14534 swig_obj[0] = args;
14535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14536 if (!SWIG_IsOK(res1)) {
14537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14538 }
14539 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 resultobj = SWIG_From_int(static_cast< int >(result));
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj = 0;
14555 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14556 size_t arg2 ;
14557 bool result;
14558 void *argp1 = 0 ;
14559 int res1 = 0 ;
14560 size_t val2 ;
14561 int ecode2 = 0 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj1 = 0 ;
14564 char * kwnames[] = {
14565 (char *) "self",(char *) "item", NULL
14566 };
14567
14568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) 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_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14572 }
14573 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14574 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14575 if (!SWIG_IsOK(ecode2)) {
14576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14577 }
14578 arg2 = static_cast< size_t >(val2);
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 {
14586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14587 }
14588 return resultobj;
14589 fail:
14590 return NULL;
14591 }
14592
14593
14594 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14595 PyObject *resultobj = 0;
14596 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14597 size_t arg2 ;
14598 bool result;
14599 void *argp1 = 0 ;
14600 int res1 = 0 ;
14601 size_t val2 ;
14602 int ecode2 = 0 ;
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 char * kwnames[] = {
14606 (char *) "self",(char *) "item", NULL
14607 };
14608
14609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14611 if (!SWIG_IsOK(res1)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14613 }
14614 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14615 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14616 if (!SWIG_IsOK(ecode2)) {
14617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14618 }
14619 arg2 = static_cast< size_t >(val2);
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 {
14627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14628 }
14629 return resultobj;
14630 fail:
14631 return NULL;
14632 }
14633
14634
14635 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14636 PyObject *resultobj = 0;
14637 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14638 size_t result;
14639 void *argp1 = 0 ;
14640 int res1 = 0 ;
14641 PyObject *swig_obj[1] ;
14642
14643 if (!args) SWIG_fail;
14644 swig_obj[0] = args;
14645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14646 if (!SWIG_IsOK(res1)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14648 }
14649 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14664 PyObject *resultobj = 0;
14665 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14666 PyObject *result = 0 ;
14667 void *argp1 = 0 ;
14668 int res1 = 0 ;
14669 PyObject *swig_obj[1] ;
14670
14671 if (!args) SWIG_fail;
14672 swig_obj[0] = args;
14673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14674 if (!SWIG_IsOK(res1)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14676 }
14677 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 resultobj = result;
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj = 0;
14693 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14694 unsigned long arg2 ;
14695 PyObject *result = 0 ;
14696 void *argp1 = 0 ;
14697 int res1 = 0 ;
14698 unsigned long val2 ;
14699 int ecode2 = 0 ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 char * kwnames[] = {
14703 (char *) "self",(char *) "cookie", NULL
14704 };
14705
14706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14708 if (!SWIG_IsOK(res1)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14710 }
14711 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14712 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14713 if (!SWIG_IsOK(ecode2)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14715 }
14716 arg2 = static_cast< unsigned long >(val2);
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 resultobj = result;
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14731 PyObject *resultobj = 0;
14732 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14733 wxPoint result;
14734 void *argp1 = 0 ;
14735 int res1 = 0 ;
14736 PyObject *swig_obj[1] ;
14737
14738 if (!args) SWIG_fail;
14739 swig_obj[0] = args;
14740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14741 if (!SWIG_IsOK(res1)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14743 }
14744 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14745 {
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 result = ((wxPyVListBox const *)arg1)->GetMargins();
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14759 PyObject *resultobj = 0;
14760 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14761 wxColour *result = 0 ;
14762 void *argp1 = 0 ;
14763 int res1 = 0 ;
14764 PyObject *swig_obj[1] ;
14765
14766 if (!args) SWIG_fail;
14767 swig_obj[0] = args;
14768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14769 if (!SWIG_IsOK(res1)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14771 }
14772 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14773 {
14774 PyThreadState* __tstate = wxPyBeginAllowThreads();
14775 {
14776 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14777 result = (wxColour *) &_result_ref;
14778 }
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj = 0;
14791 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14792 size_t arg2 ;
14793 void *argp1 = 0 ;
14794 int res1 = 0 ;
14795 size_t val2 ;
14796 int ecode2 = 0 ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char * kwnames[] = {
14800 (char *) "self",(char *) "count", NULL
14801 };
14802
14803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14805 if (!SWIG_IsOK(res1)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14807 }
14808 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14809 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14810 if (!SWIG_IsOK(ecode2)) {
14811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14812 }
14813 arg2 = static_cast< size_t >(val2);
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 (arg1)->SetItemCount(arg2);
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 resultobj = SWIG_Py_Void();
14821 return resultobj;
14822 fail:
14823 return NULL;
14824 }
14825
14826
14827 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14828 PyObject *resultobj = 0;
14829 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14830 void *argp1 = 0 ;
14831 int res1 = 0 ;
14832 PyObject *swig_obj[1] ;
14833
14834 if (!args) SWIG_fail;
14835 swig_obj[0] = args;
14836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14837 if (!SWIG_IsOK(res1)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14839 }
14840 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14841 {
14842 PyThreadState* __tstate = wxPyBeginAllowThreads();
14843 (arg1)->Clear();
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 resultobj = SWIG_Py_Void();
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj = 0;
14856 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14857 int arg2 ;
14858 void *argp1 = 0 ;
14859 int res1 = 0 ;
14860 int val2 ;
14861 int ecode2 = 0 ;
14862 PyObject * obj0 = 0 ;
14863 PyObject * obj1 = 0 ;
14864 char * kwnames[] = {
14865 (char *) "self",(char *) "selection", NULL
14866 };
14867
14868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14870 if (!SWIG_IsOK(res1)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14872 }
14873 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14874 ecode2 = SWIG_AsVal_int(obj1, &val2);
14875 if (!SWIG_IsOK(ecode2)) {
14876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14877 }
14878 arg2 = static_cast< int >(val2);
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 (arg1)->SetSelection(arg2);
14882 wxPyEndAllowThreads(__tstate);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 }
14885 resultobj = SWIG_Py_Void();
14886 return resultobj;
14887 fail:
14888 return NULL;
14889 }
14890
14891
14892 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj = 0;
14894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14895 size_t arg2 ;
14896 bool arg3 = (bool) true ;
14897 bool result;
14898 void *argp1 = 0 ;
14899 int res1 = 0 ;
14900 size_t val2 ;
14901 int ecode2 = 0 ;
14902 bool val3 ;
14903 int ecode3 = 0 ;
14904 PyObject * obj0 = 0 ;
14905 PyObject * obj1 = 0 ;
14906 PyObject * obj2 = 0 ;
14907 char * kwnames[] = {
14908 (char *) "self",(char *) "item",(char *) "select", NULL
14909 };
14910
14911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14913 if (!SWIG_IsOK(res1)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14915 }
14916 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14917 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14918 if (!SWIG_IsOK(ecode2)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14920 }
14921 arg2 = static_cast< size_t >(val2);
14922 if (obj2) {
14923 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14924 if (!SWIG_IsOK(ecode3)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14926 }
14927 arg3 = static_cast< bool >(val3);
14928 }
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 result = (bool)(arg1)->Select(arg2,arg3);
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14937 }
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj = 0;
14946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14947 size_t arg2 ;
14948 size_t arg3 ;
14949 bool result;
14950 void *argp1 = 0 ;
14951 int res1 = 0 ;
14952 size_t val2 ;
14953 int ecode2 = 0 ;
14954 size_t val3 ;
14955 int ecode3 = 0 ;
14956 PyObject * obj0 = 0 ;
14957 PyObject * obj1 = 0 ;
14958 PyObject * obj2 = 0 ;
14959 char * kwnames[] = {
14960 (char *) "self",(char *) "_from",(char *) "to", NULL
14961 };
14962
14963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14965 if (!SWIG_IsOK(res1)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14967 }
14968 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14969 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14970 if (!SWIG_IsOK(ecode2)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14972 }
14973 arg2 = static_cast< size_t >(val2);
14974 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14975 if (!SWIG_IsOK(ecode3)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14977 }
14978 arg3 = static_cast< size_t >(val3);
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 result = (bool)(arg1)->SelectRange(arg2,arg3);
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 {
14986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14987 }
14988 return resultobj;
14989 fail:
14990 return NULL;
14991 }
14992
14993
14994 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj = 0;
14996 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14997 size_t arg2 ;
14998 void *argp1 = 0 ;
14999 int res1 = 0 ;
15000 size_t val2 ;
15001 int ecode2 = 0 ;
15002 PyObject * obj0 = 0 ;
15003 PyObject * obj1 = 0 ;
15004 char * kwnames[] = {
15005 (char *) "self",(char *) "item", NULL
15006 };
15007
15008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15010 if (!SWIG_IsOK(res1)) {
15011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15012 }
15013 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15014 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15015 if (!SWIG_IsOK(ecode2)) {
15016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15017 }
15018 arg2 = static_cast< size_t >(val2);
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 (arg1)->Toggle(arg2);
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 resultobj = SWIG_Py_Void();
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15033 PyObject *resultobj = 0;
15034 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15035 bool result;
15036 void *argp1 = 0 ;
15037 int res1 = 0 ;
15038 PyObject *swig_obj[1] ;
15039
15040 if (!args) SWIG_fail;
15041 swig_obj[0] = args;
15042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15043 if (!SWIG_IsOK(res1)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15045 }
15046 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 result = (bool)(arg1)->SelectAll();
15050 wxPyEndAllowThreads(__tstate);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 {
15054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15055 }
15056 return resultobj;
15057 fail:
15058 return NULL;
15059 }
15060
15061
15062 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15063 PyObject *resultobj = 0;
15064 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15065 bool result;
15066 void *argp1 = 0 ;
15067 int res1 = 0 ;
15068 PyObject *swig_obj[1] ;
15069
15070 if (!args) SWIG_fail;
15071 swig_obj[0] = args;
15072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15073 if (!SWIG_IsOK(res1)) {
15074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15075 }
15076 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15077 {
15078 PyThreadState* __tstate = wxPyBeginAllowThreads();
15079 result = (bool)(arg1)->DeselectAll();
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 {
15084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15085 }
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj = 0;
15094 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15095 wxPoint *arg2 = 0 ;
15096 void *argp1 = 0 ;
15097 int res1 = 0 ;
15098 wxPoint temp2 ;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 char * kwnames[] = {
15102 (char *) "self",(char *) "pt", NULL
15103 };
15104
15105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15107 if (!SWIG_IsOK(res1)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15109 }
15110 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15111 {
15112 arg2 = &temp2;
15113 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15114 }
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->SetMargins((wxPoint const &)*arg2);
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 resultobj = SWIG_Py_Void();
15122 return resultobj;
15123 fail:
15124 return NULL;
15125 }
15126
15127
15128 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj = 0;
15130 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15131 int arg2 ;
15132 int arg3 ;
15133 void *argp1 = 0 ;
15134 int res1 = 0 ;
15135 int val2 ;
15136 int ecode2 = 0 ;
15137 int val3 ;
15138 int ecode3 = 0 ;
15139 PyObject * obj0 = 0 ;
15140 PyObject * obj1 = 0 ;
15141 PyObject * obj2 = 0 ;
15142 char * kwnames[] = {
15143 (char *) "self",(char *) "x",(char *) "y", NULL
15144 };
15145
15146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15148 if (!SWIG_IsOK(res1)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15150 }
15151 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15152 ecode2 = SWIG_AsVal_int(obj1, &val2);
15153 if (!SWIG_IsOK(ecode2)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15155 }
15156 arg2 = static_cast< int >(val2);
15157 ecode3 = SWIG_AsVal_int(obj2, &val3);
15158 if (!SWIG_IsOK(ecode3)) {
15159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15160 }
15161 arg3 = static_cast< int >(val3);
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 (arg1)->SetMargins(arg2,arg3);
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 resultobj = SWIG_Py_Void();
15169 return resultobj;
15170 fail:
15171 return NULL;
15172 }
15173
15174
15175 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj = 0;
15177 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15178 wxColour *arg2 = 0 ;
15179 void *argp1 = 0 ;
15180 int res1 = 0 ;
15181 wxColour temp2 ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 char * kwnames[] = {
15185 (char *) "self",(char *) "col", NULL
15186 };
15187
15188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15190 if (!SWIG_IsOK(res1)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15192 }
15193 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15194 {
15195 arg2 = &temp2;
15196 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15197 }
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 resultobj = SWIG_Py_Void();
15205 return resultobj;
15206 fail:
15207 return NULL;
15208 }
15209
15210
15211 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15212 PyObject *obj;
15213 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15215 return SWIG_Py_Void();
15216 }
15217
15218 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15219 return SWIG_Python_InitShadowInstance(args);
15220 }
15221
15222 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj = 0;
15224 wxWindow *arg1 = (wxWindow *) 0 ;
15225 int arg2 = (int) wxID_ANY ;
15226 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15227 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15228 wxSize const &arg4_defvalue = wxDefaultSize ;
15229 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15230 long arg5 = (long) 0 ;
15231 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15232 wxString *arg6 = (wxString *) &arg6_defvalue ;
15233 wxPyHtmlListBox *result = 0 ;
15234 void *argp1 = 0 ;
15235 int res1 = 0 ;
15236 int val2 ;
15237 int ecode2 = 0 ;
15238 wxPoint temp3 ;
15239 wxSize temp4 ;
15240 long val5 ;
15241 int ecode5 = 0 ;
15242 bool temp6 = false ;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 PyObject * obj2 = 0 ;
15246 PyObject * obj3 = 0 ;
15247 PyObject * obj4 = 0 ;
15248 PyObject * obj5 = 0 ;
15249 char * kwnames[] = {
15250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15251 };
15252
15253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15255 if (!SWIG_IsOK(res1)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15257 }
15258 arg1 = reinterpret_cast< wxWindow * >(argp1);
15259 if (obj1) {
15260 ecode2 = SWIG_AsVal_int(obj1, &val2);
15261 if (!SWIG_IsOK(ecode2)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15263 }
15264 arg2 = static_cast< int >(val2);
15265 }
15266 if (obj2) {
15267 {
15268 arg3 = &temp3;
15269 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15270 }
15271 }
15272 if (obj3) {
15273 {
15274 arg4 = &temp4;
15275 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15276 }
15277 }
15278 if (obj4) {
15279 ecode5 = SWIG_AsVal_long(obj4, &val5);
15280 if (!SWIG_IsOK(ecode5)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15282 }
15283 arg5 = static_cast< long >(val5);
15284 }
15285 if (obj5) {
15286 {
15287 arg6 = wxString_in_helper(obj5);
15288 if (arg6 == NULL) SWIG_fail;
15289 temp6 = true;
15290 }
15291 }
15292 {
15293 if (!wxPyCheckForApp()) SWIG_fail;
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15300 {
15301 if (temp6)
15302 delete arg6;
15303 }
15304 return resultobj;
15305 fail:
15306 {
15307 if (temp6)
15308 delete arg6;
15309 }
15310 return NULL;
15311 }
15312
15313
15314 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15315 PyObject *resultobj = 0;
15316 wxPyHtmlListBox *result = 0 ;
15317
15318 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15319 {
15320 if (!wxPyCheckForApp()) SWIG_fail;
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15327 return resultobj;
15328 fail:
15329 return NULL;
15330 }
15331
15332
15333 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj = 0;
15335 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15336 PyObject *arg2 = (PyObject *) 0 ;
15337 PyObject *arg3 = (PyObject *) 0 ;
15338 void *argp1 = 0 ;
15339 int res1 = 0 ;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 PyObject * obj2 = 0 ;
15343 char * kwnames[] = {
15344 (char *) "self",(char *) "self",(char *) "_class", NULL
15345 };
15346
15347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15349 if (!SWIG_IsOK(res1)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15351 }
15352 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15353 arg2 = obj1;
15354 arg3 = obj2;
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 (arg1)->_setCallbackInfo(arg2,arg3);
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 resultobj = SWIG_Py_Void();
15362 return resultobj;
15363 fail:
15364 return NULL;
15365 }
15366
15367
15368 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj = 0;
15370 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15371 wxWindow *arg2 = (wxWindow *) 0 ;
15372 int arg3 = (int) wxID_ANY ;
15373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15375 wxSize const &arg5_defvalue = wxDefaultSize ;
15376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15377 long arg6 = (long) 0 ;
15378 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15379 wxString *arg7 = (wxString *) &arg7_defvalue ;
15380 bool result;
15381 void *argp1 = 0 ;
15382 int res1 = 0 ;
15383 void *argp2 = 0 ;
15384 int res2 = 0 ;
15385 int val3 ;
15386 int ecode3 = 0 ;
15387 wxPoint temp4 ;
15388 wxSize temp5 ;
15389 long val6 ;
15390 int ecode6 = 0 ;
15391 bool temp7 = false ;
15392 PyObject * obj0 = 0 ;
15393 PyObject * obj1 = 0 ;
15394 PyObject * obj2 = 0 ;
15395 PyObject * obj3 = 0 ;
15396 PyObject * obj4 = 0 ;
15397 PyObject * obj5 = 0 ;
15398 PyObject * obj6 = 0 ;
15399 char * kwnames[] = {
15400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15401 };
15402
15403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15405 if (!SWIG_IsOK(res1)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15407 }
15408 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15409 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15410 if (!SWIG_IsOK(res2)) {
15411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15412 }
15413 arg2 = reinterpret_cast< wxWindow * >(argp2);
15414 if (obj2) {
15415 ecode3 = SWIG_AsVal_int(obj2, &val3);
15416 if (!SWIG_IsOK(ecode3)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15418 }
15419 arg3 = static_cast< int >(val3);
15420 }
15421 if (obj3) {
15422 {
15423 arg4 = &temp4;
15424 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15425 }
15426 }
15427 if (obj4) {
15428 {
15429 arg5 = &temp5;
15430 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15431 }
15432 }
15433 if (obj5) {
15434 ecode6 = SWIG_AsVal_long(obj5, &val6);
15435 if (!SWIG_IsOK(ecode6)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15437 }
15438 arg6 = static_cast< long >(val6);
15439 }
15440 if (obj6) {
15441 {
15442 arg7 = wxString_in_helper(obj6);
15443 if (arg7 == NULL) SWIG_fail;
15444 temp7 = true;
15445 }
15446 }
15447 {
15448 PyThreadState* __tstate = wxPyBeginAllowThreads();
15449 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 {
15454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15455 }
15456 {
15457 if (temp7)
15458 delete arg7;
15459 }
15460 return resultobj;
15461 fail:
15462 {
15463 if (temp7)
15464 delete arg7;
15465 }
15466 return NULL;
15467 }
15468
15469
15470 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15471 PyObject *resultobj = 0;
15472 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15473 size_t arg2 ;
15474 void *argp1 = 0 ;
15475 int res1 = 0 ;
15476 size_t val2 ;
15477 int ecode2 = 0 ;
15478 PyObject * obj0 = 0 ;
15479 PyObject * obj1 = 0 ;
15480 char * kwnames[] = {
15481 (char *) "self",(char *) "count", NULL
15482 };
15483
15484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15486 if (!SWIG_IsOK(res1)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15488 }
15489 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15490 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15491 if (!SWIG_IsOK(ecode2)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15493 }
15494 arg2 = static_cast< size_t >(val2);
15495 {
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 (arg1)->SetItemCount(arg2);
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 resultobj = SWIG_Py_Void();
15502 return resultobj;
15503 fail:
15504 return NULL;
15505 }
15506
15507
15508 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15509 PyObject *resultobj = 0;
15510 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15511 wxFileSystem *result = 0 ;
15512 void *argp1 = 0 ;
15513 int res1 = 0 ;
15514 PyObject *swig_obj[1] ;
15515
15516 if (!args) SWIG_fail;
15517 swig_obj[0] = args;
15518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15519 if (!SWIG_IsOK(res1)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15521 }
15522 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 {
15526 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15527 result = (wxFileSystem *) &_result_ref;
15528 }
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15533 return resultobj;
15534 fail:
15535 return NULL;
15536 }
15537
15538
15539 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15540 PyObject *obj;
15541 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15543 return SWIG_Py_Void();
15544 }
15545
15546 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15547 return SWIG_Python_InitShadowInstance(args);
15548 }
15549
15550 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15551 PyObject *resultobj = 0;
15552 wxPyTaskBarIcon *result = 0 ;
15553
15554 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15555 {
15556 if (!wxPyCheckForApp()) SWIG_fail;
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15563 return resultobj;
15564 fail:
15565 return NULL;
15566 }
15567
15568
15569 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15570 PyObject *resultobj = 0;
15571 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15572 void *argp1 = 0 ;
15573 int res1 = 0 ;
15574 PyObject *swig_obj[1] ;
15575
15576 if (!args) SWIG_fail;
15577 swig_obj[0] = args;
15578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15579 if (!SWIG_IsOK(res1)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15581 }
15582 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 delete arg1;
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 resultobj = SWIG_Py_Void();
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj = 0;
15599 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15600 PyObject *arg2 = (PyObject *) 0 ;
15601 PyObject *arg3 = (PyObject *) 0 ;
15602 int arg4 ;
15603 void *argp1 = 0 ;
15604 int res1 = 0 ;
15605 int val4 ;
15606 int ecode4 = 0 ;
15607 PyObject * obj0 = 0 ;
15608 PyObject * obj1 = 0 ;
15609 PyObject * obj2 = 0 ;
15610 PyObject * obj3 = 0 ;
15611 char * kwnames[] = {
15612 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15613 };
15614
15615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15617 if (!SWIG_IsOK(res1)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15619 }
15620 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15621 arg2 = obj1;
15622 arg3 = obj2;
15623 ecode4 = SWIG_AsVal_int(obj3, &val4);
15624 if (!SWIG_IsOK(ecode4)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15626 }
15627 arg4 = static_cast< int >(val4);
15628 {
15629 PyThreadState* __tstate = wxPyBeginAllowThreads();
15630 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15631 wxPyEndAllowThreads(__tstate);
15632 if (PyErr_Occurred()) SWIG_fail;
15633 }
15634 resultobj = SWIG_Py_Void();
15635 return resultobj;
15636 fail:
15637 return NULL;
15638 }
15639
15640
15641 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15642 PyObject *resultobj = 0;
15643 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15644 void *argp1 = 0 ;
15645 int res1 = 0 ;
15646 PyObject *swig_obj[1] ;
15647
15648 if (!args) SWIG_fail;
15649 swig_obj[0] = args;
15650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15651 if (!SWIG_IsOK(res1)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15653 }
15654 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 wxPyTaskBarIcon_Destroy(arg1);
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 resultobj = SWIG_Py_Void();
15662 return resultobj;
15663 fail:
15664 return NULL;
15665 }
15666
15667
15668 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15669 PyObject *resultobj = 0;
15670 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15671 bool result;
15672 void *argp1 = 0 ;
15673 int res1 = 0 ;
15674 PyObject *swig_obj[1] ;
15675
15676 if (!args) SWIG_fail;
15677 swig_obj[0] = args;
15678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15679 if (!SWIG_IsOK(res1)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15681 }
15682 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 {
15690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15691 }
15692 return resultobj;
15693 fail:
15694 return NULL;
15695 }
15696
15697
15698 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15699 PyObject *resultobj = 0;
15700 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15701 bool result;
15702 void *argp1 = 0 ;
15703 int res1 = 0 ;
15704 PyObject *swig_obj[1] ;
15705
15706 if (!args) SWIG_fail;
15707 swig_obj[0] = args;
15708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15709 if (!SWIG_IsOK(res1)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15711 }
15712 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15713 {
15714 PyThreadState* __tstate = wxPyBeginAllowThreads();
15715 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15716 wxPyEndAllowThreads(__tstate);
15717 if (PyErr_Occurred()) SWIG_fail;
15718 }
15719 {
15720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15721 }
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj = 0;
15730 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15731 wxIcon *arg2 = 0 ;
15732 wxString const &arg3_defvalue = wxPyEmptyString ;
15733 wxString *arg3 = (wxString *) &arg3_defvalue ;
15734 bool result;
15735 void *argp1 = 0 ;
15736 int res1 = 0 ;
15737 void *argp2 = 0 ;
15738 int res2 = 0 ;
15739 bool temp3 = false ;
15740 PyObject * obj0 = 0 ;
15741 PyObject * obj1 = 0 ;
15742 PyObject * obj2 = 0 ;
15743 char * kwnames[] = {
15744 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15745 };
15746
15747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15749 if (!SWIG_IsOK(res1)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15751 }
15752 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15753 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15754 if (!SWIG_IsOK(res2)) {
15755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15756 }
15757 if (!argp2) {
15758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15759 }
15760 arg2 = reinterpret_cast< wxIcon * >(argp2);
15761 if (obj2) {
15762 {
15763 arg3 = wxString_in_helper(obj2);
15764 if (arg3 == NULL) SWIG_fail;
15765 temp3 = true;
15766 }
15767 }
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 {
15775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15776 }
15777 {
15778 if (temp3)
15779 delete arg3;
15780 }
15781 return resultobj;
15782 fail:
15783 {
15784 if (temp3)
15785 delete arg3;
15786 }
15787 return NULL;
15788 }
15789
15790
15791 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15792 PyObject *resultobj = 0;
15793 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15794 bool result;
15795 void *argp1 = 0 ;
15796 int res1 = 0 ;
15797 PyObject *swig_obj[1] ;
15798
15799 if (!args) SWIG_fail;
15800 swig_obj[0] = args;
15801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15802 if (!SWIG_IsOK(res1)) {
15803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15804 }
15805 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15806 {
15807 PyThreadState* __tstate = wxPyBeginAllowThreads();
15808 result = (bool)(arg1)->RemoveIcon();
15809 wxPyEndAllowThreads(__tstate);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 }
15812 {
15813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15814 }
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj = 0;
15823 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15824 wxMenu *arg2 = (wxMenu *) 0 ;
15825 bool result;
15826 void *argp1 = 0 ;
15827 int res1 = 0 ;
15828 void *argp2 = 0 ;
15829 int res2 = 0 ;
15830 PyObject * obj0 = 0 ;
15831 PyObject * obj1 = 0 ;
15832 char * kwnames[] = {
15833 (char *) "self",(char *) "menu", NULL
15834 };
15835
15836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15838 if (!SWIG_IsOK(res1)) {
15839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15840 }
15841 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15842 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15843 if (!SWIG_IsOK(res2)) {
15844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15845 }
15846 arg2 = reinterpret_cast< wxMenu * >(argp2);
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = (bool)(arg1)->PopupMenu(arg2);
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 {
15854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15855 }
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15863 PyObject *obj;
15864 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15866 return SWIG_Py_Void();
15867 }
15868
15869 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15870 return SWIG_Python_InitShadowInstance(args);
15871 }
15872
15873 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj = 0;
15875 wxEventType arg1 ;
15876 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15877 wxTaskBarIconEvent *result = 0 ;
15878 int val1 ;
15879 int ecode1 = 0 ;
15880 void *argp2 = 0 ;
15881 int res2 = 0 ;
15882 PyObject * obj0 = 0 ;
15883 PyObject * obj1 = 0 ;
15884 char * kwnames[] = {
15885 (char *) "evtType",(char *) "tbIcon", NULL
15886 };
15887
15888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15889 ecode1 = SWIG_AsVal_int(obj0, &val1);
15890 if (!SWIG_IsOK(ecode1)) {
15891 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15892 }
15893 arg1 = static_cast< wxEventType >(val1);
15894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15895 if (!SWIG_IsOK(res2)) {
15896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15897 }
15898 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15906 return resultobj;
15907 fail:
15908 return NULL;
15909 }
15910
15911
15912 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15913 PyObject *obj;
15914 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15915 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15916 return SWIG_Py_Void();
15917 }
15918
15919 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15920 return SWIG_Python_InitShadowInstance(args);
15921 }
15922
15923 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15924 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15925 return 1;
15926 }
15927
15928
15929 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15930 PyObject *pyobj = 0;
15931
15932 {
15933 #if wxUSE_UNICODE
15934 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15935 #else
15936 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15937 #endif
15938 }
15939 return pyobj;
15940 }
15941
15942
15943 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15944 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15945 return 1;
15946 }
15947
15948
15949 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15950 PyObject *pyobj = 0;
15951
15952 {
15953 #if wxUSE_UNICODE
15954 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15955 #else
15956 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15957 #endif
15958 }
15959 return pyobj;
15960 }
15961
15962
15963 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
15964 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
15965 return 1;
15966 }
15967
15968
15969 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
15970 PyObject *pyobj = 0;
15971
15972 {
15973 #if wxUSE_UNICODE
15974 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
15975 #else
15976 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
15977 #endif
15978 }
15979 return pyobj;
15980 }
15981
15982
15983 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
15984 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
15985 return 1;
15986 }
15987
15988
15989 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
15990 PyObject *pyobj = 0;
15991
15992 {
15993 #if wxUSE_UNICODE
15994 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
15995 #else
15996 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
15997 #endif
15998 }
15999 return pyobj;
16000 }
16001
16002
16003 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16004 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16005 return 1;
16006 }
16007
16008
16009 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16010 PyObject *pyobj = 0;
16011
16012 {
16013 #if wxUSE_UNICODE
16014 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16015 #else
16016 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16017 #endif
16018 }
16019 return pyobj;
16020 }
16021
16022
16023 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16024 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16025 return 1;
16026 }
16027
16028
16029 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16030 PyObject *pyobj = 0;
16031
16032 {
16033 #if wxUSE_UNICODE
16034 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16035 #else
16036 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16037 #endif
16038 }
16039 return pyobj;
16040 }
16041
16042
16043 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16044 PyObject *resultobj = 0;
16045 wxColourData *result = 0 ;
16046
16047 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (wxColourData *)new wxColourData();
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16062 PyObject *resultobj = 0;
16063 wxColourData *arg1 = (wxColourData *) 0 ;
16064 void *argp1 = 0 ;
16065 int res1 = 0 ;
16066 PyObject *swig_obj[1] ;
16067
16068 if (!args) SWIG_fail;
16069 swig_obj[0] = args;
16070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16071 if (!SWIG_IsOK(res1)) {
16072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16073 }
16074 arg1 = reinterpret_cast< wxColourData * >(argp1);
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 delete arg1;
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 resultobj = SWIG_Py_Void();
16083 return resultobj;
16084 fail:
16085 return NULL;
16086 }
16087
16088
16089 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16090 PyObject *resultobj = 0;
16091 wxColourData *arg1 = (wxColourData *) 0 ;
16092 bool result;
16093 void *argp1 = 0 ;
16094 int res1 = 0 ;
16095 PyObject *swig_obj[1] ;
16096
16097 if (!args) SWIG_fail;
16098 swig_obj[0] = args;
16099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16100 if (!SWIG_IsOK(res1)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16102 }
16103 arg1 = reinterpret_cast< wxColourData * >(argp1);
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = (bool)(arg1)->GetChooseFull();
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 {
16111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16112 }
16113 return resultobj;
16114 fail:
16115 return NULL;
16116 }
16117
16118
16119 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16120 PyObject *resultobj = 0;
16121 wxColourData *arg1 = (wxColourData *) 0 ;
16122 wxColour result;
16123 void *argp1 = 0 ;
16124 int res1 = 0 ;
16125 PyObject *swig_obj[1] ;
16126
16127 if (!args) SWIG_fail;
16128 swig_obj[0] = args;
16129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16130 if (!SWIG_IsOK(res1)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16132 }
16133 arg1 = reinterpret_cast< wxColourData * >(argp1);
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 result = (arg1)->GetColour();
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj = 0;
16149 wxColourData *arg1 = (wxColourData *) 0 ;
16150 int arg2 ;
16151 wxColour result;
16152 void *argp1 = 0 ;
16153 int res1 = 0 ;
16154 int val2 ;
16155 int ecode2 = 0 ;
16156 PyObject * obj0 = 0 ;
16157 PyObject * obj1 = 0 ;
16158 char * kwnames[] = {
16159 (char *) "self",(char *) "i", NULL
16160 };
16161
16162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16164 if (!SWIG_IsOK(res1)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16166 }
16167 arg1 = reinterpret_cast< wxColourData * >(argp1);
16168 ecode2 = SWIG_AsVal_int(obj1, &val2);
16169 if (!SWIG_IsOK(ecode2)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16171 }
16172 arg2 = static_cast< int >(val2);
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (arg1)->GetCustomColour(arg2);
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16180 return resultobj;
16181 fail:
16182 return NULL;
16183 }
16184
16185
16186 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16187 PyObject *resultobj = 0;
16188 wxColourData *arg1 = (wxColourData *) 0 ;
16189 int arg2 ;
16190 void *argp1 = 0 ;
16191 int res1 = 0 ;
16192 int val2 ;
16193 int ecode2 = 0 ;
16194 PyObject * obj0 = 0 ;
16195 PyObject * obj1 = 0 ;
16196 char * kwnames[] = {
16197 (char *) "self",(char *) "flag", NULL
16198 };
16199
16200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16202 if (!SWIG_IsOK(res1)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16204 }
16205 arg1 = reinterpret_cast< wxColourData * >(argp1);
16206 ecode2 = SWIG_AsVal_int(obj1, &val2);
16207 if (!SWIG_IsOK(ecode2)) {
16208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16209 }
16210 arg2 = static_cast< int >(val2);
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 (arg1)->SetChooseFull(arg2);
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 resultobj = SWIG_Py_Void();
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj = 0;
16226 wxColourData *arg1 = (wxColourData *) 0 ;
16227 wxColour *arg2 = 0 ;
16228 void *argp1 = 0 ;
16229 int res1 = 0 ;
16230 wxColour temp2 ;
16231 PyObject * obj0 = 0 ;
16232 PyObject * obj1 = 0 ;
16233 char * kwnames[] = {
16234 (char *) "self",(char *) "colour", NULL
16235 };
16236
16237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16239 if (!SWIG_IsOK(res1)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16241 }
16242 arg1 = reinterpret_cast< wxColourData * >(argp1);
16243 {
16244 arg2 = &temp2;
16245 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16246 }
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 (arg1)->SetColour((wxColour const &)*arg2);
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = SWIG_Py_Void();
16254 return resultobj;
16255 fail:
16256 return NULL;
16257 }
16258
16259
16260 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj = 0;
16262 wxColourData *arg1 = (wxColourData *) 0 ;
16263 int arg2 ;
16264 wxColour *arg3 = 0 ;
16265 void *argp1 = 0 ;
16266 int res1 = 0 ;
16267 int val2 ;
16268 int ecode2 = 0 ;
16269 wxColour temp3 ;
16270 PyObject * obj0 = 0 ;
16271 PyObject * obj1 = 0 ;
16272 PyObject * obj2 = 0 ;
16273 char * kwnames[] = {
16274 (char *) "self",(char *) "i",(char *) "colour", NULL
16275 };
16276
16277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16279 if (!SWIG_IsOK(res1)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16281 }
16282 arg1 = reinterpret_cast< wxColourData * >(argp1);
16283 ecode2 = SWIG_AsVal_int(obj1, &val2);
16284 if (!SWIG_IsOK(ecode2)) {
16285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16286 }
16287 arg2 = static_cast< int >(val2);
16288 {
16289 arg3 = &temp3;
16290 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16291 }
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 resultobj = SWIG_Py_Void();
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16306 PyObject *obj;
16307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16308 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16309 return SWIG_Py_Void();
16310 }
16311
16312 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16313 return SWIG_Python_InitShadowInstance(args);
16314 }
16315
16316 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj = 0;
16318 wxWindow *arg1 = (wxWindow *) 0 ;
16319 wxColourData *arg2 = (wxColourData *) NULL ;
16320 wxColourDialog *result = 0 ;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 void *argp2 = 0 ;
16324 int res2 = 0 ;
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 char * kwnames[] = {
16328 (char *) "parent",(char *) "data", NULL
16329 };
16330
16331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16333 if (!SWIG_IsOK(res1)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16335 }
16336 arg1 = reinterpret_cast< wxWindow * >(argp1);
16337 if (obj1) {
16338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16339 if (!SWIG_IsOK(res2)) {
16340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16341 }
16342 arg2 = reinterpret_cast< wxColourData * >(argp2);
16343 }
16344 {
16345 if (!wxPyCheckForApp()) SWIG_fail;
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16352 return resultobj;
16353 fail:
16354 return NULL;
16355 }
16356
16357
16358 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16359 PyObject *resultobj = 0;
16360 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16361 wxColourData *result = 0 ;
16362 void *argp1 = 0 ;
16363 int res1 = 0 ;
16364 PyObject *swig_obj[1] ;
16365
16366 if (!args) SWIG_fail;
16367 swig_obj[0] = args;
16368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16369 if (!SWIG_IsOK(res1)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16371 }
16372 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16373 {
16374 PyThreadState* __tstate = wxPyBeginAllowThreads();
16375 {
16376 wxColourData &_result_ref = (arg1)->GetColourData();
16377 result = (wxColourData *) &_result_ref;
16378 }
16379 wxPyEndAllowThreads(__tstate);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16390 PyObject *obj;
16391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16392 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16393 return SWIG_Py_Void();
16394 }
16395
16396 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16397 return SWIG_Python_InitShadowInstance(args);
16398 }
16399
16400 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj = 0;
16402 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16403 wxColour const &arg2_defvalue = wxNullColour ;
16404 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16405 wxString const &arg3_defvalue = wxPyEmptyString ;
16406 wxString *arg3 = (wxString *) &arg3_defvalue ;
16407 wxColour result;
16408 void *argp1 = 0 ;
16409 int res1 = 0 ;
16410 wxColour temp2 ;
16411 bool temp3 = false ;
16412 PyObject * obj0 = 0 ;
16413 PyObject * obj1 = 0 ;
16414 PyObject * obj2 = 0 ;
16415 char * kwnames[] = {
16416 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16417 };
16418
16419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16420 if (obj0) {
16421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16422 if (!SWIG_IsOK(res1)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16424 }
16425 arg1 = reinterpret_cast< wxWindow * >(argp1);
16426 }
16427 if (obj1) {
16428 {
16429 arg2 = &temp2;
16430 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16431 }
16432 }
16433 if (obj2) {
16434 {
16435 arg3 = wxString_in_helper(obj2);
16436 if (arg3 == NULL) SWIG_fail;
16437 temp3 = true;
16438 }
16439 }
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16447 {
16448 if (temp3)
16449 delete arg3;
16450 }
16451 return resultobj;
16452 fail:
16453 {
16454 if (temp3)
16455 delete arg3;
16456 }
16457 return NULL;
16458 }
16459
16460
16461 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16462 PyObject *resultobj = 0;
16463 wxWindow *arg1 = (wxWindow *) 0 ;
16464 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16465 wxString *arg2 = (wxString *) &arg2_defvalue ;
16466 wxString const &arg3_defvalue = wxPyEmptyString ;
16467 wxString *arg3 = (wxString *) &arg3_defvalue ;
16468 long arg4 = (long) 0 ;
16469 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16470 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16471 wxSize const &arg6_defvalue = wxDefaultSize ;
16472 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16473 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16474 wxString *arg7 = (wxString *) &arg7_defvalue ;
16475 wxDirDialog *result = 0 ;
16476 void *argp1 = 0 ;
16477 int res1 = 0 ;
16478 bool temp2 = false ;
16479 bool temp3 = false ;
16480 long val4 ;
16481 int ecode4 = 0 ;
16482 wxPoint temp5 ;
16483 wxSize temp6 ;
16484 bool temp7 = false ;
16485 PyObject * obj0 = 0 ;
16486 PyObject * obj1 = 0 ;
16487 PyObject * obj2 = 0 ;
16488 PyObject * obj3 = 0 ;
16489 PyObject * obj4 = 0 ;
16490 PyObject * obj5 = 0 ;
16491 PyObject * obj6 = 0 ;
16492 char * kwnames[] = {
16493 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16494 };
16495
16496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16498 if (!SWIG_IsOK(res1)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16500 }
16501 arg1 = reinterpret_cast< wxWindow * >(argp1);
16502 if (obj1) {
16503 {
16504 arg2 = wxString_in_helper(obj1);
16505 if (arg2 == NULL) SWIG_fail;
16506 temp2 = true;
16507 }
16508 }
16509 if (obj2) {
16510 {
16511 arg3 = wxString_in_helper(obj2);
16512 if (arg3 == NULL) SWIG_fail;
16513 temp3 = true;
16514 }
16515 }
16516 if (obj3) {
16517 ecode4 = SWIG_AsVal_long(obj3, &val4);
16518 if (!SWIG_IsOK(ecode4)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16520 }
16521 arg4 = static_cast< long >(val4);
16522 }
16523 if (obj4) {
16524 {
16525 arg5 = &temp5;
16526 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16527 }
16528 }
16529 if (obj5) {
16530 {
16531 arg6 = &temp6;
16532 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16533 }
16534 }
16535 if (obj6) {
16536 {
16537 arg7 = wxString_in_helper(obj6);
16538 if (arg7 == NULL) SWIG_fail;
16539 temp7 = true;
16540 }
16541 }
16542 {
16543 if (!wxPyCheckForApp()) SWIG_fail;
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16550 {
16551 if (temp2)
16552 delete arg2;
16553 }
16554 {
16555 if (temp3)
16556 delete arg3;
16557 }
16558 {
16559 if (temp7)
16560 delete arg7;
16561 }
16562 return resultobj;
16563 fail:
16564 {
16565 if (temp2)
16566 delete arg2;
16567 }
16568 {
16569 if (temp3)
16570 delete arg3;
16571 }
16572 {
16573 if (temp7)
16574 delete arg7;
16575 }
16576 return NULL;
16577 }
16578
16579
16580 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16581 PyObject *resultobj = 0;
16582 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16583 wxString result;
16584 void *argp1 = 0 ;
16585 int res1 = 0 ;
16586 PyObject *swig_obj[1] ;
16587
16588 if (!args) SWIG_fail;
16589 swig_obj[0] = args;
16590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16591 if (!SWIG_IsOK(res1)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16593 }
16594 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (arg1)->GetPath();
16598 wxPyEndAllowThreads(__tstate);
16599 if (PyErr_Occurred()) SWIG_fail;
16600 }
16601 {
16602 #if wxUSE_UNICODE
16603 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16604 #else
16605 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16606 #endif
16607 }
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16615 PyObject *resultobj = 0;
16616 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16617 wxString result;
16618 void *argp1 = 0 ;
16619 int res1 = 0 ;
16620 PyObject *swig_obj[1] ;
16621
16622 if (!args) SWIG_fail;
16623 swig_obj[0] = args;
16624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16625 if (!SWIG_IsOK(res1)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16627 }
16628 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = (arg1)->GetMessage();
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 {
16636 #if wxUSE_UNICODE
16637 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16638 #else
16639 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16640 #endif
16641 }
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16649 PyObject *resultobj = 0;
16650 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16651 long result;
16652 void *argp1 = 0 ;
16653 int res1 = 0 ;
16654 PyObject *swig_obj[1] ;
16655
16656 if (!args) SWIG_fail;
16657 swig_obj[0] = args;
16658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16659 if (!SWIG_IsOK(res1)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16661 }
16662 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16663 {
16664 PyThreadState* __tstate = wxPyBeginAllowThreads();
16665 result = (long)(arg1)->GetStyle();
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 resultobj = SWIG_From_long(static_cast< long >(result));
16670 return resultobj;
16671 fail:
16672 return NULL;
16673 }
16674
16675
16676 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj = 0;
16678 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16679 wxString *arg2 = 0 ;
16680 void *argp1 = 0 ;
16681 int res1 = 0 ;
16682 bool temp2 = false ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char * kwnames[] = {
16686 (char *) "self",(char *) "message", NULL
16687 };
16688
16689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16691 if (!SWIG_IsOK(res1)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16693 }
16694 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16695 {
16696 arg2 = wxString_in_helper(obj1);
16697 if (arg2 == NULL) SWIG_fail;
16698 temp2 = true;
16699 }
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 (arg1)->SetMessage((wxString const &)*arg2);
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 resultobj = SWIG_Py_Void();
16707 {
16708 if (temp2)
16709 delete arg2;
16710 }
16711 return resultobj;
16712 fail:
16713 {
16714 if (temp2)
16715 delete arg2;
16716 }
16717 return NULL;
16718 }
16719
16720
16721 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj = 0;
16723 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16724 wxString *arg2 = 0 ;
16725 void *argp1 = 0 ;
16726 int res1 = 0 ;
16727 bool temp2 = false ;
16728 PyObject * obj0 = 0 ;
16729 PyObject * obj1 = 0 ;
16730 char * kwnames[] = {
16731 (char *) "self",(char *) "path", NULL
16732 };
16733
16734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16736 if (!SWIG_IsOK(res1)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16738 }
16739 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16740 {
16741 arg2 = wxString_in_helper(obj1);
16742 if (arg2 == NULL) SWIG_fail;
16743 temp2 = true;
16744 }
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->SetPath((wxString const &)*arg2);
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 resultobj = SWIG_Py_Void();
16752 {
16753 if (temp2)
16754 delete arg2;
16755 }
16756 return resultobj;
16757 fail:
16758 {
16759 if (temp2)
16760 delete arg2;
16761 }
16762 return NULL;
16763 }
16764
16765
16766 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16767 PyObject *obj;
16768 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16769 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16770 return SWIG_Py_Void();
16771 }
16772
16773 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16774 return SWIG_Python_InitShadowInstance(args);
16775 }
16776
16777 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj = 0;
16779 wxWindow *arg1 = (wxWindow *) 0 ;
16780 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16781 wxString *arg2 = (wxString *) &arg2_defvalue ;
16782 wxString const &arg3_defvalue = wxPyEmptyString ;
16783 wxString *arg3 = (wxString *) &arg3_defvalue ;
16784 wxString const &arg4_defvalue = wxPyEmptyString ;
16785 wxString *arg4 = (wxString *) &arg4_defvalue ;
16786 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16787 wxString *arg5 = (wxString *) &arg5_defvalue ;
16788 long arg6 = (long) 0 ;
16789 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16790 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16791 wxFileDialog *result = 0 ;
16792 void *argp1 = 0 ;
16793 int res1 = 0 ;
16794 bool temp2 = false ;
16795 bool temp3 = false ;
16796 bool temp4 = false ;
16797 bool temp5 = false ;
16798 long val6 ;
16799 int ecode6 = 0 ;
16800 wxPoint temp7 ;
16801 PyObject * obj0 = 0 ;
16802 PyObject * obj1 = 0 ;
16803 PyObject * obj2 = 0 ;
16804 PyObject * obj3 = 0 ;
16805 PyObject * obj4 = 0 ;
16806 PyObject * obj5 = 0 ;
16807 PyObject * obj6 = 0 ;
16808 char * kwnames[] = {
16809 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16810 };
16811
16812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16814 if (!SWIG_IsOK(res1)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16816 }
16817 arg1 = reinterpret_cast< wxWindow * >(argp1);
16818 if (obj1) {
16819 {
16820 arg2 = wxString_in_helper(obj1);
16821 if (arg2 == NULL) SWIG_fail;
16822 temp2 = true;
16823 }
16824 }
16825 if (obj2) {
16826 {
16827 arg3 = wxString_in_helper(obj2);
16828 if (arg3 == NULL) SWIG_fail;
16829 temp3 = true;
16830 }
16831 }
16832 if (obj3) {
16833 {
16834 arg4 = wxString_in_helper(obj3);
16835 if (arg4 == NULL) SWIG_fail;
16836 temp4 = true;
16837 }
16838 }
16839 if (obj4) {
16840 {
16841 arg5 = wxString_in_helper(obj4);
16842 if (arg5 == NULL) SWIG_fail;
16843 temp5 = true;
16844 }
16845 }
16846 if (obj5) {
16847 ecode6 = SWIG_AsVal_long(obj5, &val6);
16848 if (!SWIG_IsOK(ecode6)) {
16849 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16850 }
16851 arg6 = static_cast< long >(val6);
16852 }
16853 if (obj6) {
16854 {
16855 arg7 = &temp7;
16856 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16857 }
16858 }
16859 {
16860 if (!wxPyCheckForApp()) SWIG_fail;
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16867 {
16868 if (temp2)
16869 delete arg2;
16870 }
16871 {
16872 if (temp3)
16873 delete arg3;
16874 }
16875 {
16876 if (temp4)
16877 delete arg4;
16878 }
16879 {
16880 if (temp5)
16881 delete arg5;
16882 }
16883 return resultobj;
16884 fail:
16885 {
16886 if (temp2)
16887 delete arg2;
16888 }
16889 {
16890 if (temp3)
16891 delete arg3;
16892 }
16893 {
16894 if (temp4)
16895 delete arg4;
16896 }
16897 {
16898 if (temp5)
16899 delete arg5;
16900 }
16901 return NULL;
16902 }
16903
16904
16905 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj = 0;
16907 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16908 wxString *arg2 = 0 ;
16909 void *argp1 = 0 ;
16910 int res1 = 0 ;
16911 bool temp2 = false ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char * kwnames[] = {
16915 (char *) "self",(char *) "message", NULL
16916 };
16917
16918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16920 if (!SWIG_IsOK(res1)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16922 }
16923 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16924 {
16925 arg2 = wxString_in_helper(obj1);
16926 if (arg2 == NULL) SWIG_fail;
16927 temp2 = true;
16928 }
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 (arg1)->SetMessage((wxString const &)*arg2);
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = SWIG_Py_Void();
16936 {
16937 if (temp2)
16938 delete arg2;
16939 }
16940 return resultobj;
16941 fail:
16942 {
16943 if (temp2)
16944 delete arg2;
16945 }
16946 return NULL;
16947 }
16948
16949
16950 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj = 0;
16952 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16953 wxString *arg2 = 0 ;
16954 void *argp1 = 0 ;
16955 int res1 = 0 ;
16956 bool temp2 = false ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char * kwnames[] = {
16960 (char *) "self",(char *) "path", NULL
16961 };
16962
16963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16965 if (!SWIG_IsOK(res1)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16967 }
16968 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16969 {
16970 arg2 = wxString_in_helper(obj1);
16971 if (arg2 == NULL) SWIG_fail;
16972 temp2 = true;
16973 }
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 (arg1)->SetPath((wxString const &)*arg2);
16977 wxPyEndAllowThreads(__tstate);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 resultobj = SWIG_Py_Void();
16981 {
16982 if (temp2)
16983 delete arg2;
16984 }
16985 return resultobj;
16986 fail:
16987 {
16988 if (temp2)
16989 delete arg2;
16990 }
16991 return NULL;
16992 }
16993
16994
16995 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj = 0;
16997 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16998 wxString *arg2 = 0 ;
16999 void *argp1 = 0 ;
17000 int res1 = 0 ;
17001 bool temp2 = false ;
17002 PyObject * obj0 = 0 ;
17003 PyObject * obj1 = 0 ;
17004 char * kwnames[] = {
17005 (char *) "self",(char *) "dir", NULL
17006 };
17007
17008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17010 if (!SWIG_IsOK(res1)) {
17011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17012 }
17013 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17014 {
17015 arg2 = wxString_in_helper(obj1);
17016 if (arg2 == NULL) SWIG_fail;
17017 temp2 = true;
17018 }
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 (arg1)->SetDirectory((wxString const &)*arg2);
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 resultobj = SWIG_Py_Void();
17026 {
17027 if (temp2)
17028 delete arg2;
17029 }
17030 return resultobj;
17031 fail:
17032 {
17033 if (temp2)
17034 delete arg2;
17035 }
17036 return NULL;
17037 }
17038
17039
17040 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17041 PyObject *resultobj = 0;
17042 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17043 wxString *arg2 = 0 ;
17044 void *argp1 = 0 ;
17045 int res1 = 0 ;
17046 bool temp2 = false ;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 char * kwnames[] = {
17050 (char *) "self",(char *) "name", NULL
17051 };
17052
17053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17055 if (!SWIG_IsOK(res1)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17057 }
17058 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17059 {
17060 arg2 = wxString_in_helper(obj1);
17061 if (arg2 == NULL) SWIG_fail;
17062 temp2 = true;
17063 }
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 (arg1)->SetFilename((wxString const &)*arg2);
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = SWIG_Py_Void();
17071 {
17072 if (temp2)
17073 delete arg2;
17074 }
17075 return resultobj;
17076 fail:
17077 {
17078 if (temp2)
17079 delete arg2;
17080 }
17081 return NULL;
17082 }
17083
17084
17085 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj = 0;
17087 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17088 wxString *arg2 = 0 ;
17089 void *argp1 = 0 ;
17090 int res1 = 0 ;
17091 bool temp2 = false ;
17092 PyObject * obj0 = 0 ;
17093 PyObject * obj1 = 0 ;
17094 char * kwnames[] = {
17095 (char *) "self",(char *) "wildCard", NULL
17096 };
17097
17098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17100 if (!SWIG_IsOK(res1)) {
17101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17102 }
17103 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17104 {
17105 arg2 = wxString_in_helper(obj1);
17106 if (arg2 == NULL) SWIG_fail;
17107 temp2 = true;
17108 }
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 (arg1)->SetWildcard((wxString const &)*arg2);
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 resultobj = SWIG_Py_Void();
17116 {
17117 if (temp2)
17118 delete arg2;
17119 }
17120 return resultobj;
17121 fail:
17122 {
17123 if (temp2)
17124 delete arg2;
17125 }
17126 return NULL;
17127 }
17128
17129
17130 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj = 0;
17132 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17133 long arg2 ;
17134 void *argp1 = 0 ;
17135 int res1 = 0 ;
17136 long val2 ;
17137 int ecode2 = 0 ;
17138 PyObject * obj0 = 0 ;
17139 PyObject * obj1 = 0 ;
17140 char * kwnames[] = {
17141 (char *) "self",(char *) "style", NULL
17142 };
17143
17144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17146 if (!SWIG_IsOK(res1)) {
17147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17148 }
17149 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17150 ecode2 = SWIG_AsVal_long(obj1, &val2);
17151 if (!SWIG_IsOK(ecode2)) {
17152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17153 }
17154 arg2 = static_cast< long >(val2);
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 (arg1)->SetStyle(arg2);
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 resultobj = SWIG_Py_Void();
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj = 0;
17170 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17171 int arg2 ;
17172 void *argp1 = 0 ;
17173 int res1 = 0 ;
17174 int val2 ;
17175 int ecode2 = 0 ;
17176 PyObject * obj0 = 0 ;
17177 PyObject * obj1 = 0 ;
17178 char * kwnames[] = {
17179 (char *) "self",(char *) "filterIndex", NULL
17180 };
17181
17182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17184 if (!SWIG_IsOK(res1)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17186 }
17187 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17188 ecode2 = SWIG_AsVal_int(obj1, &val2);
17189 if (!SWIG_IsOK(ecode2)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17191 }
17192 arg2 = static_cast< int >(val2);
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 (arg1)->SetFilterIndex(arg2);
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = SWIG_Py_Void();
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17207 PyObject *resultobj = 0;
17208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17209 wxString result;
17210 void *argp1 = 0 ;
17211 int res1 = 0 ;
17212 PyObject *swig_obj[1] ;
17213
17214 if (!args) SWIG_fail;
17215 swig_obj[0] = args;
17216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17217 if (!SWIG_IsOK(res1)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17219 }
17220 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 result = ((wxFileDialog const *)arg1)->GetMessage();
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 {
17228 #if wxUSE_UNICODE
17229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17230 #else
17231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17232 #endif
17233 }
17234 return resultobj;
17235 fail:
17236 return NULL;
17237 }
17238
17239
17240 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17241 PyObject *resultobj = 0;
17242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17243 wxString result;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 PyObject *swig_obj[1] ;
17247
17248 if (!args) SWIG_fail;
17249 swig_obj[0] = args;
17250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17251 if (!SWIG_IsOK(res1)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17253 }
17254 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = ((wxFileDialog const *)arg1)->GetPath();
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 {
17262 #if wxUSE_UNICODE
17263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17264 #else
17265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17266 #endif
17267 }
17268 return resultobj;
17269 fail:
17270 return NULL;
17271 }
17272
17273
17274 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17275 PyObject *resultobj = 0;
17276 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17277 wxString result;
17278 void *argp1 = 0 ;
17279 int res1 = 0 ;
17280 PyObject *swig_obj[1] ;
17281
17282 if (!args) SWIG_fail;
17283 swig_obj[0] = args;
17284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17285 if (!SWIG_IsOK(res1)) {
17286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17287 }
17288 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = ((wxFileDialog const *)arg1)->GetDirectory();
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 {
17296 #if wxUSE_UNICODE
17297 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17298 #else
17299 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17300 #endif
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17309 PyObject *resultobj = 0;
17310 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17311 wxString result;
17312 void *argp1 = 0 ;
17313 int res1 = 0 ;
17314 PyObject *swig_obj[1] ;
17315
17316 if (!args) SWIG_fail;
17317 swig_obj[0] = args;
17318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17319 if (!SWIG_IsOK(res1)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17321 }
17322 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 result = ((wxFileDialog const *)arg1)->GetFilename();
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 {
17330 #if wxUSE_UNICODE
17331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17332 #else
17333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17334 #endif
17335 }
17336 return resultobj;
17337 fail:
17338 return NULL;
17339 }
17340
17341
17342 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17343 PyObject *resultobj = 0;
17344 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17345 wxString result;
17346 void *argp1 = 0 ;
17347 int res1 = 0 ;
17348 PyObject *swig_obj[1] ;
17349
17350 if (!args) SWIG_fail;
17351 swig_obj[0] = args;
17352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17353 if (!SWIG_IsOK(res1)) {
17354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17355 }
17356 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 result = ((wxFileDialog const *)arg1)->GetWildcard();
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 {
17364 #if wxUSE_UNICODE
17365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17366 #else
17367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17368 #endif
17369 }
17370 return resultobj;
17371 fail:
17372 return NULL;
17373 }
17374
17375
17376 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17377 PyObject *resultobj = 0;
17378 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17379 long result;
17380 void *argp1 = 0 ;
17381 int res1 = 0 ;
17382 PyObject *swig_obj[1] ;
17383
17384 if (!args) SWIG_fail;
17385 swig_obj[0] = args;
17386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17387 if (!SWIG_IsOK(res1)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17389 }
17390 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 resultobj = SWIG_From_long(static_cast< long >(result));
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17405 PyObject *resultobj = 0;
17406 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17407 int result;
17408 void *argp1 = 0 ;
17409 int res1 = 0 ;
17410 PyObject *swig_obj[1] ;
17411
17412 if (!args) SWIG_fail;
17413 swig_obj[0] = args;
17414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17415 if (!SWIG_IsOK(res1)) {
17416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17417 }
17418 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17419 {
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 resultobj = SWIG_From_int(static_cast< int >(result));
17426 return resultobj;
17427 fail:
17428 return NULL;
17429 }
17430
17431
17432 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17433 PyObject *resultobj = 0;
17434 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17435 PyObject *result = 0 ;
17436 void *argp1 = 0 ;
17437 int res1 = 0 ;
17438 PyObject *swig_obj[1] ;
17439
17440 if (!args) SWIG_fail;
17441 swig_obj[0] = args;
17442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17443 if (!SWIG_IsOK(res1)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17445 }
17446 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = result;
17454 return resultobj;
17455 fail:
17456 return NULL;
17457 }
17458
17459
17460 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17461 PyObject *resultobj = 0;
17462 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17463 PyObject *result = 0 ;
17464 void *argp1 = 0 ;
17465 int res1 = 0 ;
17466 PyObject *swig_obj[1] ;
17467
17468 if (!args) SWIG_fail;
17469 swig_obj[0] = args;
17470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17471 if (!SWIG_IsOK(res1)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17473 }
17474 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
17477 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 resultobj = result;
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17489 PyObject *obj;
17490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17491 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17492 return SWIG_Py_Void();
17493 }
17494
17495 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17496 return SWIG_Python_InitShadowInstance(args);
17497 }
17498
17499 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj = 0;
17501 wxWindow *arg1 = (wxWindow *) 0 ;
17502 wxString *arg2 = 0 ;
17503 wxString *arg3 = 0 ;
17504 int arg4 = (int) 0 ;
17505 wxString *arg5 = (wxString *) NULL ;
17506 long arg6 = (long) wxCHOICEDLG_STYLE ;
17507 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17508 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17509 wxMultiChoiceDialog *result = 0 ;
17510 void *argp1 = 0 ;
17511 int res1 = 0 ;
17512 bool temp2 = false ;
17513 bool temp3 = false ;
17514 long val6 ;
17515 int ecode6 = 0 ;
17516 wxPoint temp7 ;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 PyObject * obj2 = 0 ;
17520 PyObject * obj3 = 0 ;
17521 PyObject * obj4 = 0 ;
17522 PyObject * obj5 = 0 ;
17523 char * kwnames[] = {
17524 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17525 };
17526
17527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17529 if (!SWIG_IsOK(res1)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17531 }
17532 arg1 = reinterpret_cast< wxWindow * >(argp1);
17533 {
17534 arg2 = wxString_in_helper(obj1);
17535 if (arg2 == NULL) SWIG_fail;
17536 temp2 = true;
17537 }
17538 {
17539 arg3 = wxString_in_helper(obj2);
17540 if (arg3 == NULL) SWIG_fail;
17541 temp3 = true;
17542 }
17543 if (obj3) {
17544 {
17545 arg4 = PyList_Size(obj3);
17546 arg5 = wxString_LIST_helper(obj3);
17547 if (arg5 == NULL) SWIG_fail;
17548 }
17549 }
17550 if (obj4) {
17551 ecode6 = SWIG_AsVal_long(obj4, &val6);
17552 if (!SWIG_IsOK(ecode6)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17554 }
17555 arg6 = static_cast< long >(val6);
17556 }
17557 if (obj5) {
17558 {
17559 arg7 = &temp7;
17560 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17561 }
17562 }
17563 {
17564 if (!wxPyCheckForApp()) SWIG_fail;
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17571 {
17572 if (temp2)
17573 delete arg2;
17574 }
17575 {
17576 if (temp3)
17577 delete arg3;
17578 }
17579 {
17580 if (arg5) delete [] arg5;
17581 }
17582 return resultobj;
17583 fail:
17584 {
17585 if (temp2)
17586 delete arg2;
17587 }
17588 {
17589 if (temp3)
17590 delete arg3;
17591 }
17592 {
17593 if (arg5) delete [] arg5;
17594 }
17595 return NULL;
17596 }
17597
17598
17599 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj = 0;
17601 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17602 wxArrayInt *arg2 = 0 ;
17603 void *argp1 = 0 ;
17604 int res1 = 0 ;
17605 bool temp2 = false ;
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 char * kwnames[] = {
17609 (char *) "self",(char *) "selections", NULL
17610 };
17611
17612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17614 if (!SWIG_IsOK(res1)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17616 }
17617 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17618 {
17619 if (! PySequence_Check(obj1)) {
17620 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17621 SWIG_fail;
17622 }
17623 arg2 = new wxArrayInt;
17624 temp2 = true;
17625 int i, len=PySequence_Length(obj1);
17626 for (i=0; i<len; i++) {
17627 PyObject* item = PySequence_GetItem(obj1, i);
17628 PyObject* number = PyNumber_Int(item);
17629 arg2->Add(PyInt_AS_LONG(number));
17630 Py_DECREF(item);
17631 Py_DECREF(number);
17632 }
17633 }
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 resultobj = SWIG_Py_Void();
17641 {
17642 if (temp2) delete arg2;
17643 }
17644 return resultobj;
17645 fail:
17646 {
17647 if (temp2) delete arg2;
17648 }
17649 return NULL;
17650 }
17651
17652
17653 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17654 PyObject *resultobj = 0;
17655 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17656 PyObject *result = 0 ;
17657 void *argp1 = 0 ;
17658 int res1 = 0 ;
17659 PyObject *swig_obj[1] ;
17660
17661 if (!args) SWIG_fail;
17662 swig_obj[0] = args;
17663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17664 if (!SWIG_IsOK(res1)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17666 }
17667 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = result;
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17682 PyObject *obj;
17683 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17684 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17685 return SWIG_Py_Void();
17686 }
17687
17688 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689 return SWIG_Python_InitShadowInstance(args);
17690 }
17691
17692 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17693 PyObject *resultobj = 0;
17694 wxWindow *arg1 = (wxWindow *) 0 ;
17695 wxString *arg2 = 0 ;
17696 wxString *arg3 = 0 ;
17697 int arg4 ;
17698 wxString *arg5 = (wxString *) 0 ;
17699 long arg6 = (long) wxCHOICEDLG_STYLE ;
17700 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17701 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17702 wxSingleChoiceDialog *result = 0 ;
17703 void *argp1 = 0 ;
17704 int res1 = 0 ;
17705 bool temp2 = false ;
17706 bool temp3 = false ;
17707 long val6 ;
17708 int ecode6 = 0 ;
17709 wxPoint temp7 ;
17710 PyObject * obj0 = 0 ;
17711 PyObject * obj1 = 0 ;
17712 PyObject * obj2 = 0 ;
17713 PyObject * obj3 = 0 ;
17714 PyObject * obj4 = 0 ;
17715 PyObject * obj5 = 0 ;
17716 char * kwnames[] = {
17717 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17718 };
17719
17720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17722 if (!SWIG_IsOK(res1)) {
17723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17724 }
17725 arg1 = reinterpret_cast< wxWindow * >(argp1);
17726 {
17727 arg2 = wxString_in_helper(obj1);
17728 if (arg2 == NULL) SWIG_fail;
17729 temp2 = true;
17730 }
17731 {
17732 arg3 = wxString_in_helper(obj2);
17733 if (arg3 == NULL) SWIG_fail;
17734 temp3 = true;
17735 }
17736 {
17737 arg4 = PyList_Size(obj3);
17738 arg5 = wxString_LIST_helper(obj3);
17739 if (arg5 == NULL) SWIG_fail;
17740 }
17741 if (obj4) {
17742 ecode6 = SWIG_AsVal_long(obj4, &val6);
17743 if (!SWIG_IsOK(ecode6)) {
17744 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17745 }
17746 arg6 = static_cast< long >(val6);
17747 }
17748 if (obj5) {
17749 {
17750 arg7 = &temp7;
17751 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17752 }
17753 }
17754 {
17755 if (!wxPyCheckForApp()) SWIG_fail;
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17762 {
17763 if (temp2)
17764 delete arg2;
17765 }
17766 {
17767 if (temp3)
17768 delete arg3;
17769 }
17770 {
17771 if (arg5) delete [] arg5;
17772 }
17773 return resultobj;
17774 fail:
17775 {
17776 if (temp2)
17777 delete arg2;
17778 }
17779 {
17780 if (temp3)
17781 delete arg3;
17782 }
17783 {
17784 if (arg5) delete [] arg5;
17785 }
17786 return NULL;
17787 }
17788
17789
17790 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17791 PyObject *resultobj = 0;
17792 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17793 int result;
17794 void *argp1 = 0 ;
17795 int res1 = 0 ;
17796 PyObject *swig_obj[1] ;
17797
17798 if (!args) SWIG_fail;
17799 swig_obj[0] = args;
17800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17801 if (!SWIG_IsOK(res1)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17803 }
17804 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 result = (int)(arg1)->GetSelection();
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 resultobj = SWIG_From_int(static_cast< int >(result));
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17819 PyObject *resultobj = 0;
17820 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17821 wxString result;
17822 void *argp1 = 0 ;
17823 int res1 = 0 ;
17824 PyObject *swig_obj[1] ;
17825
17826 if (!args) SWIG_fail;
17827 swig_obj[0] = args;
17828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17829 if (!SWIG_IsOK(res1)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17831 }
17832 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 result = (arg1)->GetStringSelection();
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 #if wxUSE_UNICODE
17841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17842 #else
17843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17844 #endif
17845 }
17846 return resultobj;
17847 fail:
17848 return NULL;
17849 }
17850
17851
17852 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17853 PyObject *resultobj = 0;
17854 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17855 int arg2 ;
17856 void *argp1 = 0 ;
17857 int res1 = 0 ;
17858 int val2 ;
17859 int ecode2 = 0 ;
17860 PyObject * obj0 = 0 ;
17861 PyObject * obj1 = 0 ;
17862 char * kwnames[] = {
17863 (char *) "self",(char *) "sel", NULL
17864 };
17865
17866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17868 if (!SWIG_IsOK(res1)) {
17869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17870 }
17871 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17872 ecode2 = SWIG_AsVal_int(obj1, &val2);
17873 if (!SWIG_IsOK(ecode2)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17875 }
17876 arg2 = static_cast< int >(val2);
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 (arg1)->SetSelection(arg2);
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 resultobj = SWIG_Py_Void();
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17891 PyObject *obj;
17892 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17893 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17894 return SWIG_Py_Void();
17895 }
17896
17897 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17898 return SWIG_Python_InitShadowInstance(args);
17899 }
17900
17901 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj = 0;
17903 wxWindow *arg1 = (wxWindow *) 0 ;
17904 wxString *arg2 = 0 ;
17905 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17906 wxString *arg3 = (wxString *) &arg3_defvalue ;
17907 wxString const &arg4_defvalue = wxPyEmptyString ;
17908 wxString *arg4 = (wxString *) &arg4_defvalue ;
17909 long arg5 = (long) wxTextEntryDialogStyle ;
17910 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17911 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17912 wxTextEntryDialog *result = 0 ;
17913 void *argp1 = 0 ;
17914 int res1 = 0 ;
17915 bool temp2 = false ;
17916 bool temp3 = false ;
17917 bool temp4 = false ;
17918 long val5 ;
17919 int ecode5 = 0 ;
17920 wxPoint temp6 ;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj1 = 0 ;
17923 PyObject * obj2 = 0 ;
17924 PyObject * obj3 = 0 ;
17925 PyObject * obj4 = 0 ;
17926 PyObject * obj5 = 0 ;
17927 char * kwnames[] = {
17928 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17929 };
17930
17931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17933 if (!SWIG_IsOK(res1)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17935 }
17936 arg1 = reinterpret_cast< wxWindow * >(argp1);
17937 {
17938 arg2 = wxString_in_helper(obj1);
17939 if (arg2 == NULL) SWIG_fail;
17940 temp2 = true;
17941 }
17942 if (obj2) {
17943 {
17944 arg3 = wxString_in_helper(obj2);
17945 if (arg3 == NULL) SWIG_fail;
17946 temp3 = true;
17947 }
17948 }
17949 if (obj3) {
17950 {
17951 arg4 = wxString_in_helper(obj3);
17952 if (arg4 == NULL) SWIG_fail;
17953 temp4 = true;
17954 }
17955 }
17956 if (obj4) {
17957 ecode5 = SWIG_AsVal_long(obj4, &val5);
17958 if (!SWIG_IsOK(ecode5)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17960 }
17961 arg5 = static_cast< long >(val5);
17962 }
17963 if (obj5) {
17964 {
17965 arg6 = &temp6;
17966 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17967 }
17968 }
17969 {
17970 if (!wxPyCheckForApp()) SWIG_fail;
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17977 {
17978 if (temp2)
17979 delete arg2;
17980 }
17981 {
17982 if (temp3)
17983 delete arg3;
17984 }
17985 {
17986 if (temp4)
17987 delete arg4;
17988 }
17989 return resultobj;
17990 fail:
17991 {
17992 if (temp2)
17993 delete arg2;
17994 }
17995 {
17996 if (temp3)
17997 delete arg3;
17998 }
17999 {
18000 if (temp4)
18001 delete arg4;
18002 }
18003 return NULL;
18004 }
18005
18006
18007 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18008 PyObject *resultobj = 0;
18009 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18010 wxString result;
18011 void *argp1 = 0 ;
18012 int res1 = 0 ;
18013 PyObject *swig_obj[1] ;
18014
18015 if (!args) SWIG_fail;
18016 swig_obj[0] = args;
18017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18018 if (!SWIG_IsOK(res1)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18020 }
18021 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 result = (arg1)->GetValue();
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 {
18029 #if wxUSE_UNICODE
18030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18031 #else
18032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18033 #endif
18034 }
18035 return resultobj;
18036 fail:
18037 return NULL;
18038 }
18039
18040
18041 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18042 PyObject *resultobj = 0;
18043 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18044 wxString *arg2 = 0 ;
18045 void *argp1 = 0 ;
18046 int res1 = 0 ;
18047 bool temp2 = false ;
18048 PyObject * obj0 = 0 ;
18049 PyObject * obj1 = 0 ;
18050 char * kwnames[] = {
18051 (char *) "self",(char *) "value", NULL
18052 };
18053
18054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18056 if (!SWIG_IsOK(res1)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18058 }
18059 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18060 {
18061 arg2 = wxString_in_helper(obj1);
18062 if (arg2 == NULL) SWIG_fail;
18063 temp2 = true;
18064 }
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 (arg1)->SetValue((wxString const &)*arg2);
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 resultobj = SWIG_Py_Void();
18072 {
18073 if (temp2)
18074 delete arg2;
18075 }
18076 return resultobj;
18077 fail:
18078 {
18079 if (temp2)
18080 delete arg2;
18081 }
18082 return NULL;
18083 }
18084
18085
18086 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18087 PyObject *obj;
18088 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18089 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18090 return SWIG_Py_Void();
18091 }
18092
18093 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18094 return SWIG_Python_InitShadowInstance(args);
18095 }
18096
18097 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18098 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18099 return 1;
18100 }
18101
18102
18103 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18104 PyObject *pyobj = 0;
18105
18106 {
18107 #if wxUSE_UNICODE
18108 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18109 #else
18110 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18111 #endif
18112 }
18113 return pyobj;
18114 }
18115
18116
18117 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj = 0;
18119 wxWindow *arg1 = (wxWindow *) 0 ;
18120 wxString *arg2 = 0 ;
18121 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18122 wxString *arg3 = (wxString *) &arg3_defvalue ;
18123 wxString const &arg4_defvalue = wxPyEmptyString ;
18124 wxString *arg4 = (wxString *) &arg4_defvalue ;
18125 long arg5 = (long) wxTextEntryDialogStyle ;
18126 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18127 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18128 wxPasswordEntryDialog *result = 0 ;
18129 void *argp1 = 0 ;
18130 int res1 = 0 ;
18131 bool temp2 = false ;
18132 bool temp3 = false ;
18133 bool temp4 = false ;
18134 long val5 ;
18135 int ecode5 = 0 ;
18136 wxPoint temp6 ;
18137 PyObject * obj0 = 0 ;
18138 PyObject * obj1 = 0 ;
18139 PyObject * obj2 = 0 ;
18140 PyObject * obj3 = 0 ;
18141 PyObject * obj4 = 0 ;
18142 PyObject * obj5 = 0 ;
18143 char * kwnames[] = {
18144 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18145 };
18146
18147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18149 if (!SWIG_IsOK(res1)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18151 }
18152 arg1 = reinterpret_cast< wxWindow * >(argp1);
18153 {
18154 arg2 = wxString_in_helper(obj1);
18155 if (arg2 == NULL) SWIG_fail;
18156 temp2 = true;
18157 }
18158 if (obj2) {
18159 {
18160 arg3 = wxString_in_helper(obj2);
18161 if (arg3 == NULL) SWIG_fail;
18162 temp3 = true;
18163 }
18164 }
18165 if (obj3) {
18166 {
18167 arg4 = wxString_in_helper(obj3);
18168 if (arg4 == NULL) SWIG_fail;
18169 temp4 = true;
18170 }
18171 }
18172 if (obj4) {
18173 ecode5 = SWIG_AsVal_long(obj4, &val5);
18174 if (!SWIG_IsOK(ecode5)) {
18175 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18176 }
18177 arg5 = static_cast< long >(val5);
18178 }
18179 if (obj5) {
18180 {
18181 arg6 = &temp6;
18182 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18183 }
18184 }
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18192 {
18193 if (temp2)
18194 delete arg2;
18195 }
18196 {
18197 if (temp3)
18198 delete arg3;
18199 }
18200 {
18201 if (temp4)
18202 delete arg4;
18203 }
18204 return resultobj;
18205 fail:
18206 {
18207 if (temp2)
18208 delete arg2;
18209 }
18210 {
18211 if (temp3)
18212 delete arg3;
18213 }
18214 {
18215 if (temp4)
18216 delete arg4;
18217 }
18218 return NULL;
18219 }
18220
18221
18222 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18223 PyObject *obj;
18224 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18226 return SWIG_Py_Void();
18227 }
18228
18229 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18230 return SWIG_Python_InitShadowInstance(args);
18231 }
18232
18233 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18234 PyObject *resultobj = 0;
18235 wxFontData *result = 0 ;
18236
18237 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (wxFontData *)new wxFontData();
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18252 PyObject *resultobj = 0;
18253 wxFontData *arg1 = (wxFontData *) 0 ;
18254 void *argp1 = 0 ;
18255 int res1 = 0 ;
18256 PyObject *swig_obj[1] ;
18257
18258 if (!args) SWIG_fail;
18259 swig_obj[0] = args;
18260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18261 if (!SWIG_IsOK(res1)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18263 }
18264 arg1 = reinterpret_cast< wxFontData * >(argp1);
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 delete arg1;
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 resultobj = SWIG_Py_Void();
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj = 0;
18281 wxFontData *arg1 = (wxFontData *) 0 ;
18282 bool arg2 ;
18283 void *argp1 = 0 ;
18284 int res1 = 0 ;
18285 bool val2 ;
18286 int ecode2 = 0 ;
18287 PyObject * obj0 = 0 ;
18288 PyObject * obj1 = 0 ;
18289 char * kwnames[] = {
18290 (char *) "self",(char *) "enable", NULL
18291 };
18292
18293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18295 if (!SWIG_IsOK(res1)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18297 }
18298 arg1 = reinterpret_cast< wxFontData * >(argp1);
18299 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18300 if (!SWIG_IsOK(ecode2)) {
18301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18302 }
18303 arg2 = static_cast< bool >(val2);
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 (arg1)->EnableEffects(arg2);
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 resultobj = SWIG_Py_Void();
18311 return resultobj;
18312 fail:
18313 return NULL;
18314 }
18315
18316
18317 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18318 PyObject *resultobj = 0;
18319 wxFontData *arg1 = (wxFontData *) 0 ;
18320 bool result;
18321 void *argp1 = 0 ;
18322 int res1 = 0 ;
18323 PyObject *swig_obj[1] ;
18324
18325 if (!args) SWIG_fail;
18326 swig_obj[0] = args;
18327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18328 if (!SWIG_IsOK(res1)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18330 }
18331 arg1 = reinterpret_cast< wxFontData * >(argp1);
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (bool)(arg1)->GetAllowSymbols();
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 {
18339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18340 }
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18348 PyObject *resultobj = 0;
18349 wxFontData *arg1 = (wxFontData *) 0 ;
18350 wxColour result;
18351 void *argp1 = 0 ;
18352 int res1 = 0 ;
18353 PyObject *swig_obj[1] ;
18354
18355 if (!args) SWIG_fail;
18356 swig_obj[0] = args;
18357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18358 if (!SWIG_IsOK(res1)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18360 }
18361 arg1 = reinterpret_cast< wxFontData * >(argp1);
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 result = (arg1)->GetColour();
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18376 PyObject *resultobj = 0;
18377 wxFontData *arg1 = (wxFontData *) 0 ;
18378 wxFont result;
18379 void *argp1 = 0 ;
18380 int res1 = 0 ;
18381 PyObject *swig_obj[1] ;
18382
18383 if (!args) SWIG_fail;
18384 swig_obj[0] = args;
18385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18386 if (!SWIG_IsOK(res1)) {
18387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18388 }
18389 arg1 = reinterpret_cast< wxFontData * >(argp1);
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (arg1)->GetChosenFont();
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18404 PyObject *resultobj = 0;
18405 wxFontData *arg1 = (wxFontData *) 0 ;
18406 bool result;
18407 void *argp1 = 0 ;
18408 int res1 = 0 ;
18409 PyObject *swig_obj[1] ;
18410
18411 if (!args) SWIG_fail;
18412 swig_obj[0] = args;
18413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18414 if (!SWIG_IsOK(res1)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18416 }
18417 arg1 = reinterpret_cast< wxFontData * >(argp1);
18418 {
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 result = (bool)(arg1)->GetEnableEffects();
18421 wxPyEndAllowThreads(__tstate);
18422 if (PyErr_Occurred()) SWIG_fail;
18423 }
18424 {
18425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18426 }
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18434 PyObject *resultobj = 0;
18435 wxFontData *arg1 = (wxFontData *) 0 ;
18436 wxFont result;
18437 void *argp1 = 0 ;
18438 int res1 = 0 ;
18439 PyObject *swig_obj[1] ;
18440
18441 if (!args) SWIG_fail;
18442 swig_obj[0] = args;
18443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18444 if (!SWIG_IsOK(res1)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18446 }
18447 arg1 = reinterpret_cast< wxFontData * >(argp1);
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (arg1)->GetInitialFont();
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18462 PyObject *resultobj = 0;
18463 wxFontData *arg1 = (wxFontData *) 0 ;
18464 bool result;
18465 void *argp1 = 0 ;
18466 int res1 = 0 ;
18467 PyObject *swig_obj[1] ;
18468
18469 if (!args) SWIG_fail;
18470 swig_obj[0] = args;
18471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18472 if (!SWIG_IsOK(res1)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18474 }
18475 arg1 = reinterpret_cast< wxFontData * >(argp1);
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (bool)(arg1)->GetShowHelp();
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 {
18483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18484 }
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18492 PyObject *resultobj = 0;
18493 wxFontData *arg1 = (wxFontData *) 0 ;
18494 bool arg2 ;
18495 void *argp1 = 0 ;
18496 int res1 = 0 ;
18497 bool val2 ;
18498 int ecode2 = 0 ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char * kwnames[] = {
18502 (char *) "self",(char *) "allowSymbols", NULL
18503 };
18504
18505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18507 if (!SWIG_IsOK(res1)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18509 }
18510 arg1 = reinterpret_cast< wxFontData * >(argp1);
18511 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18512 if (!SWIG_IsOK(ecode2)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18514 }
18515 arg2 = static_cast< bool >(val2);
18516 {
18517 PyThreadState* __tstate = wxPyBeginAllowThreads();
18518 (arg1)->SetAllowSymbols(arg2);
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 resultobj = SWIG_Py_Void();
18523 return resultobj;
18524 fail:
18525 return NULL;
18526 }
18527
18528
18529 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18530 PyObject *resultobj = 0;
18531 wxFontData *arg1 = (wxFontData *) 0 ;
18532 wxFont *arg2 = 0 ;
18533 void *argp1 = 0 ;
18534 int res1 = 0 ;
18535 void *argp2 = 0 ;
18536 int res2 = 0 ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 char * kwnames[] = {
18540 (char *) "self",(char *) "font", NULL
18541 };
18542
18543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18545 if (!SWIG_IsOK(res1)) {
18546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18547 }
18548 arg1 = reinterpret_cast< wxFontData * >(argp1);
18549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18550 if (!SWIG_IsOK(res2)) {
18551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18552 }
18553 if (!argp2) {
18554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18555 }
18556 arg2 = reinterpret_cast< wxFont * >(argp2);
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 (arg1)->SetChosenFont((wxFont const &)*arg2);
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 resultobj = SWIG_Py_Void();
18564 return resultobj;
18565 fail:
18566 return NULL;
18567 }
18568
18569
18570 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18571 PyObject *resultobj = 0;
18572 wxFontData *arg1 = (wxFontData *) 0 ;
18573 wxColour *arg2 = 0 ;
18574 void *argp1 = 0 ;
18575 int res1 = 0 ;
18576 wxColour temp2 ;
18577 PyObject * obj0 = 0 ;
18578 PyObject * obj1 = 0 ;
18579 char * kwnames[] = {
18580 (char *) "self",(char *) "colour", NULL
18581 };
18582
18583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18585 if (!SWIG_IsOK(res1)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18587 }
18588 arg1 = reinterpret_cast< wxFontData * >(argp1);
18589 {
18590 arg2 = &temp2;
18591 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18592 }
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->SetColour((wxColour const &)*arg2);
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = SWIG_Py_Void();
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj = 0;
18608 wxFontData *arg1 = (wxFontData *) 0 ;
18609 wxFont *arg2 = 0 ;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 void *argp2 = 0 ;
18613 int res2 = 0 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char * kwnames[] = {
18617 (char *) "self",(char *) "font", NULL
18618 };
18619
18620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18622 if (!SWIG_IsOK(res1)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18624 }
18625 arg1 = reinterpret_cast< wxFontData * >(argp1);
18626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18627 if (!SWIG_IsOK(res2)) {
18628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18629 }
18630 if (!argp2) {
18631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18632 }
18633 arg2 = reinterpret_cast< wxFont * >(argp2);
18634 {
18635 PyThreadState* __tstate = wxPyBeginAllowThreads();
18636 (arg1)->SetInitialFont((wxFont const &)*arg2);
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = SWIG_Py_Void();
18641 return resultobj;
18642 fail:
18643 return NULL;
18644 }
18645
18646
18647 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj = 0;
18649 wxFontData *arg1 = (wxFontData *) 0 ;
18650 int arg2 ;
18651 int arg3 ;
18652 void *argp1 = 0 ;
18653 int res1 = 0 ;
18654 int val2 ;
18655 int ecode2 = 0 ;
18656 int val3 ;
18657 int ecode3 = 0 ;
18658 PyObject * obj0 = 0 ;
18659 PyObject * obj1 = 0 ;
18660 PyObject * obj2 = 0 ;
18661 char * kwnames[] = {
18662 (char *) "self",(char *) "min",(char *) "max", NULL
18663 };
18664
18665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18667 if (!SWIG_IsOK(res1)) {
18668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18669 }
18670 arg1 = reinterpret_cast< wxFontData * >(argp1);
18671 ecode2 = SWIG_AsVal_int(obj1, &val2);
18672 if (!SWIG_IsOK(ecode2)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18674 }
18675 arg2 = static_cast< int >(val2);
18676 ecode3 = SWIG_AsVal_int(obj2, &val3);
18677 if (!SWIG_IsOK(ecode3)) {
18678 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18679 }
18680 arg3 = static_cast< int >(val3);
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 (arg1)->SetRange(arg2,arg3);
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 resultobj = SWIG_Py_Void();
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj = 0;
18696 wxFontData *arg1 = (wxFontData *) 0 ;
18697 bool arg2 ;
18698 void *argp1 = 0 ;
18699 int res1 = 0 ;
18700 bool val2 ;
18701 int ecode2 = 0 ;
18702 PyObject * obj0 = 0 ;
18703 PyObject * obj1 = 0 ;
18704 char * kwnames[] = {
18705 (char *) "self",(char *) "showHelp", NULL
18706 };
18707
18708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18710 if (!SWIG_IsOK(res1)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18712 }
18713 arg1 = reinterpret_cast< wxFontData * >(argp1);
18714 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18715 if (!SWIG_IsOK(ecode2)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18717 }
18718 arg2 = static_cast< bool >(val2);
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->SetShowHelp(arg2);
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 resultobj = SWIG_Py_Void();
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18733 PyObject *obj;
18734 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18735 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18736 return SWIG_Py_Void();
18737 }
18738
18739 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18740 return SWIG_Python_InitShadowInstance(args);
18741 }
18742
18743 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj = 0;
18745 wxWindow *arg1 = (wxWindow *) 0 ;
18746 wxFontData *arg2 = 0 ;
18747 wxFontDialog *result = 0 ;
18748 void *argp1 = 0 ;
18749 int res1 = 0 ;
18750 void *argp2 = 0 ;
18751 int res2 = 0 ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char * kwnames[] = {
18755 (char *) "parent",(char *) "data", NULL
18756 };
18757
18758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18760 if (!SWIG_IsOK(res1)) {
18761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18762 }
18763 arg1 = reinterpret_cast< wxWindow * >(argp1);
18764 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18765 if (!SWIG_IsOK(res2)) {
18766 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18767 }
18768 if (!argp2) {
18769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18770 }
18771 arg2 = reinterpret_cast< wxFontData * >(argp2);
18772 {
18773 if (!wxPyCheckForApp()) SWIG_fail;
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18787 PyObject *resultobj = 0;
18788 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18789 wxFontData *result = 0 ;
18790 void *argp1 = 0 ;
18791 int res1 = 0 ;
18792 PyObject *swig_obj[1] ;
18793
18794 if (!args) SWIG_fail;
18795 swig_obj[0] = args;
18796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18797 if (!SWIG_IsOK(res1)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18799 }
18800 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 {
18804 wxFontData &_result_ref = (arg1)->GetFontData();
18805 result = (wxFontData *) &_result_ref;
18806 }
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18818 PyObject *obj;
18819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18821 return SWIG_Py_Void();
18822 }
18823
18824 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 return SWIG_Python_InitShadowInstance(args);
18826 }
18827
18828 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj = 0;
18830 wxWindow *arg1 = (wxWindow *) NULL ;
18831 wxFont const &arg2_defvalue = wxNullFont ;
18832 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18833 wxString const &arg3_defvalue = wxPyEmptyString ;
18834 wxString *arg3 = (wxString *) &arg3_defvalue ;
18835 wxFont result;
18836 void *argp1 = 0 ;
18837 int res1 = 0 ;
18838 void *argp2 = 0 ;
18839 int res2 = 0 ;
18840 bool temp3 = false ;
18841 PyObject * obj0 = 0 ;
18842 PyObject * obj1 = 0 ;
18843 PyObject * obj2 = 0 ;
18844 char * kwnames[] = {
18845 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18846 };
18847
18848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18849 if (obj0) {
18850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18851 if (!SWIG_IsOK(res1)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18853 }
18854 arg1 = reinterpret_cast< wxWindow * >(argp1);
18855 }
18856 if (obj1) {
18857 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18858 if (!SWIG_IsOK(res2)) {
18859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18860 }
18861 if (!argp2) {
18862 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18863 }
18864 arg2 = reinterpret_cast< wxFont * >(argp2);
18865 }
18866 if (obj2) {
18867 {
18868 arg3 = wxString_in_helper(obj2);
18869 if (arg3 == NULL) SWIG_fail;
18870 temp3 = true;
18871 }
18872 }
18873 {
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18880 {
18881 if (temp3)
18882 delete arg3;
18883 }
18884 return resultobj;
18885 fail:
18886 {
18887 if (temp3)
18888 delete arg3;
18889 }
18890 return NULL;
18891 }
18892
18893
18894 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18895 PyObject *resultobj = 0;
18896 wxWindow *arg1 = (wxWindow *) 0 ;
18897 wxString *arg2 = 0 ;
18898 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18899 wxString *arg3 = (wxString *) &arg3_defvalue ;
18900 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18901 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18902 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18903 wxMessageDialog *result = 0 ;
18904 void *argp1 = 0 ;
18905 int res1 = 0 ;
18906 bool temp2 = false ;
18907 bool temp3 = false ;
18908 long val4 ;
18909 int ecode4 = 0 ;
18910 wxPoint temp5 ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj1 = 0 ;
18913 PyObject * obj2 = 0 ;
18914 PyObject * obj3 = 0 ;
18915 PyObject * obj4 = 0 ;
18916 char * kwnames[] = {
18917 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18918 };
18919
18920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18922 if (!SWIG_IsOK(res1)) {
18923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18924 }
18925 arg1 = reinterpret_cast< wxWindow * >(argp1);
18926 {
18927 arg2 = wxString_in_helper(obj1);
18928 if (arg2 == NULL) SWIG_fail;
18929 temp2 = true;
18930 }
18931 if (obj2) {
18932 {
18933 arg3 = wxString_in_helper(obj2);
18934 if (arg3 == NULL) SWIG_fail;
18935 temp3 = true;
18936 }
18937 }
18938 if (obj3) {
18939 ecode4 = SWIG_AsVal_long(obj3, &val4);
18940 if (!SWIG_IsOK(ecode4)) {
18941 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18942 }
18943 arg4 = static_cast< long >(val4);
18944 }
18945 if (obj4) {
18946 {
18947 arg5 = &temp5;
18948 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18949 }
18950 }
18951 {
18952 if (!wxPyCheckForApp()) SWIG_fail;
18953 PyThreadState* __tstate = wxPyBeginAllowThreads();
18954 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
18958 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
18959 {
18960 if (temp2)
18961 delete arg2;
18962 }
18963 {
18964 if (temp3)
18965 delete arg3;
18966 }
18967 return resultobj;
18968 fail:
18969 {
18970 if (temp2)
18971 delete arg2;
18972 }
18973 {
18974 if (temp3)
18975 delete arg3;
18976 }
18977 return NULL;
18978 }
18979
18980
18981 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18982 PyObject *obj;
18983 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18984 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
18985 return SWIG_Py_Void();
18986 }
18987
18988 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18989 return SWIG_Python_InitShadowInstance(args);
18990 }
18991
18992 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj = 0;
18994 wxString *arg1 = 0 ;
18995 wxString *arg2 = 0 ;
18996 int arg3 = (int) 100 ;
18997 wxWindow *arg4 = (wxWindow *) NULL ;
18998 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
18999 wxProgressDialog *result = 0 ;
19000 bool temp1 = false ;
19001 bool temp2 = false ;
19002 int val3 ;
19003 int ecode3 = 0 ;
19004 void *argp4 = 0 ;
19005 int res4 = 0 ;
19006 int val5 ;
19007 int ecode5 = 0 ;
19008 PyObject * obj0 = 0 ;
19009 PyObject * obj1 = 0 ;
19010 PyObject * obj2 = 0 ;
19011 PyObject * obj3 = 0 ;
19012 PyObject * obj4 = 0 ;
19013 char * kwnames[] = {
19014 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19015 };
19016
19017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19018 {
19019 arg1 = wxString_in_helper(obj0);
19020 if (arg1 == NULL) SWIG_fail;
19021 temp1 = true;
19022 }
19023 {
19024 arg2 = wxString_in_helper(obj1);
19025 if (arg2 == NULL) SWIG_fail;
19026 temp2 = true;
19027 }
19028 if (obj2) {
19029 ecode3 = SWIG_AsVal_int(obj2, &val3);
19030 if (!SWIG_IsOK(ecode3)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19032 }
19033 arg3 = static_cast< int >(val3);
19034 }
19035 if (obj3) {
19036 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19037 if (!SWIG_IsOK(res4)) {
19038 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19039 }
19040 arg4 = reinterpret_cast< wxWindow * >(argp4);
19041 }
19042 if (obj4) {
19043 ecode5 = SWIG_AsVal_int(obj4, &val5);
19044 if (!SWIG_IsOK(ecode5)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19046 }
19047 arg5 = static_cast< int >(val5);
19048 }
19049 {
19050 if (!wxPyCheckForApp()) SWIG_fail;
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19053 wxPyEndAllowThreads(__tstate);
19054 if (PyErr_Occurred()) SWIG_fail;
19055 }
19056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19057 {
19058 if (temp1)
19059 delete arg1;
19060 }
19061 {
19062 if (temp2)
19063 delete arg2;
19064 }
19065 return resultobj;
19066 fail:
19067 {
19068 if (temp1)
19069 delete arg1;
19070 }
19071 {
19072 if (temp2)
19073 delete arg2;
19074 }
19075 return NULL;
19076 }
19077
19078
19079 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj = 0;
19081 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19082 int arg2 ;
19083 wxString const &arg3_defvalue = wxPyEmptyString ;
19084 wxString *arg3 = (wxString *) &arg3_defvalue ;
19085 bool result;
19086 void *argp1 = 0 ;
19087 int res1 = 0 ;
19088 int val2 ;
19089 int ecode2 = 0 ;
19090 bool temp3 = false ;
19091 PyObject * obj0 = 0 ;
19092 PyObject * obj1 = 0 ;
19093 PyObject * obj2 = 0 ;
19094 char * kwnames[] = {
19095 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19096 };
19097
19098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19100 if (!SWIG_IsOK(res1)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19102 }
19103 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19104 ecode2 = SWIG_AsVal_int(obj1, &val2);
19105 if (!SWIG_IsOK(ecode2)) {
19106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19107 }
19108 arg2 = static_cast< int >(val2);
19109 if (obj2) {
19110 {
19111 arg3 = wxString_in_helper(obj2);
19112 if (arg3 == NULL) SWIG_fail;
19113 temp3 = true;
19114 }
19115 }
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 {
19123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19124 }
19125 {
19126 if (temp3)
19127 delete arg3;
19128 }
19129 return resultobj;
19130 fail:
19131 {
19132 if (temp3)
19133 delete arg3;
19134 }
19135 return NULL;
19136 }
19137
19138
19139 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19140 PyObject *resultobj = 0;
19141 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19142 void *argp1 = 0 ;
19143 int res1 = 0 ;
19144 PyObject *swig_obj[1] ;
19145
19146 if (!args) SWIG_fail;
19147 swig_obj[0] = args;
19148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19149 if (!SWIG_IsOK(res1)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19151 }
19152 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 (arg1)->Resume();
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 resultobj = SWIG_Py_Void();
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19167 PyObject *obj;
19168 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19169 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19170 return SWIG_Py_Void();
19171 }
19172
19173 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19174 return SWIG_Python_InitShadowInstance(args);
19175 }
19176
19177 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19178 PyObject *resultobj = 0;
19179 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19180 int arg2 = (int) 0 ;
19181 wxFindDialogEvent *result = 0 ;
19182 int val1 ;
19183 int ecode1 = 0 ;
19184 int val2 ;
19185 int ecode2 = 0 ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char * kwnames[] = {
19189 (char *) "commandType",(char *) "id", NULL
19190 };
19191
19192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19193 if (obj0) {
19194 ecode1 = SWIG_AsVal_int(obj0, &val1);
19195 if (!SWIG_IsOK(ecode1)) {
19196 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19197 }
19198 arg1 = static_cast< wxEventType >(val1);
19199 }
19200 if (obj1) {
19201 ecode2 = SWIG_AsVal_int(obj1, &val2);
19202 if (!SWIG_IsOK(ecode2)) {
19203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19204 }
19205 arg2 = static_cast< int >(val2);
19206 }
19207 {
19208 PyThreadState* __tstate = wxPyBeginAllowThreads();
19209 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19221 PyObject *resultobj = 0;
19222 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19223 int result;
19224 void *argp1 = 0 ;
19225 int res1 = 0 ;
19226 PyObject *swig_obj[1] ;
19227
19228 if (!args) SWIG_fail;
19229 swig_obj[0] = args;
19230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19231 if (!SWIG_IsOK(res1)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19233 }
19234 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 result = (int)(arg1)->GetFlags();
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 resultobj = SWIG_From_int(static_cast< int >(result));
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19249 PyObject *resultobj = 0;
19250 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19251 wxString *result = 0 ;
19252 void *argp1 = 0 ;
19253 int res1 = 0 ;
19254 PyObject *swig_obj[1] ;
19255
19256 if (!args) SWIG_fail;
19257 swig_obj[0] = args;
19258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19259 if (!SWIG_IsOK(res1)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19261 }
19262 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 {
19266 wxString const &_result_ref = (arg1)->GetFindString();
19267 result = (wxString *) &_result_ref;
19268 }
19269 wxPyEndAllowThreads(__tstate);
19270 if (PyErr_Occurred()) SWIG_fail;
19271 }
19272 {
19273 #if wxUSE_UNICODE
19274 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19275 #else
19276 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19277 #endif
19278 }
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19286 PyObject *resultobj = 0;
19287 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19288 wxString *result = 0 ;
19289 void *argp1 = 0 ;
19290 int res1 = 0 ;
19291 PyObject *swig_obj[1] ;
19292
19293 if (!args) SWIG_fail;
19294 swig_obj[0] = args;
19295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19296 if (!SWIG_IsOK(res1)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19298 }
19299 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 {
19303 wxString const &_result_ref = (arg1)->GetReplaceString();
19304 result = (wxString *) &_result_ref;
19305 }
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 {
19310 #if wxUSE_UNICODE
19311 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19312 #else
19313 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19314 #endif
19315 }
19316 return resultobj;
19317 fail:
19318 return NULL;
19319 }
19320
19321
19322 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19323 PyObject *resultobj = 0;
19324 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19325 wxFindReplaceDialog *result = 0 ;
19326 void *argp1 = 0 ;
19327 int res1 = 0 ;
19328 PyObject *swig_obj[1] ;
19329
19330 if (!args) SWIG_fail;
19331 swig_obj[0] = args;
19332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19333 if (!SWIG_IsOK(res1)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19335 }
19336 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19344 return resultobj;
19345 fail:
19346 return NULL;
19347 }
19348
19349
19350 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj = 0;
19352 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19353 int arg2 ;
19354 void *argp1 = 0 ;
19355 int res1 = 0 ;
19356 int val2 ;
19357 int ecode2 = 0 ;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 char * kwnames[] = {
19361 (char *) "self",(char *) "flags", NULL
19362 };
19363
19364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19366 if (!SWIG_IsOK(res1)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19368 }
19369 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19370 ecode2 = SWIG_AsVal_int(obj1, &val2);
19371 if (!SWIG_IsOK(ecode2)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19373 }
19374 arg2 = static_cast< int >(val2);
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 (arg1)->SetFlags(arg2);
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 resultobj = SWIG_Py_Void();
19382 return resultobj;
19383 fail:
19384 return NULL;
19385 }
19386
19387
19388 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj = 0;
19390 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19391 wxString *arg2 = 0 ;
19392 void *argp1 = 0 ;
19393 int res1 = 0 ;
19394 bool temp2 = false ;
19395 PyObject * obj0 = 0 ;
19396 PyObject * obj1 = 0 ;
19397 char * kwnames[] = {
19398 (char *) "self",(char *) "str", NULL
19399 };
19400
19401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19403 if (!SWIG_IsOK(res1)) {
19404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19405 }
19406 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19407 {
19408 arg2 = wxString_in_helper(obj1);
19409 if (arg2 == NULL) SWIG_fail;
19410 temp2 = true;
19411 }
19412 {
19413 PyThreadState* __tstate = wxPyBeginAllowThreads();
19414 (arg1)->SetFindString((wxString const &)*arg2);
19415 wxPyEndAllowThreads(__tstate);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 resultobj = SWIG_Py_Void();
19419 {
19420 if (temp2)
19421 delete arg2;
19422 }
19423 return resultobj;
19424 fail:
19425 {
19426 if (temp2)
19427 delete arg2;
19428 }
19429 return NULL;
19430 }
19431
19432
19433 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj = 0;
19435 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19436 wxString *arg2 = 0 ;
19437 void *argp1 = 0 ;
19438 int res1 = 0 ;
19439 bool temp2 = false ;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 char * kwnames[] = {
19443 (char *) "self",(char *) "str", NULL
19444 };
19445
19446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19448 if (!SWIG_IsOK(res1)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19450 }
19451 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19452 {
19453 arg2 = wxString_in_helper(obj1);
19454 if (arg2 == NULL) SWIG_fail;
19455 temp2 = true;
19456 }
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->SetReplaceString((wxString const &)*arg2);
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 resultobj = SWIG_Py_Void();
19464 {
19465 if (temp2)
19466 delete arg2;
19467 }
19468 return resultobj;
19469 fail:
19470 {
19471 if (temp2)
19472 delete arg2;
19473 }
19474 return NULL;
19475 }
19476
19477
19478 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19479 PyObject *obj;
19480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19481 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19482 return SWIG_Py_Void();
19483 }
19484
19485 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19486 return SWIG_Python_InitShadowInstance(args);
19487 }
19488
19489 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj = 0;
19491 int arg1 = (int) 0 ;
19492 wxFindReplaceData *result = 0 ;
19493 int val1 ;
19494 int ecode1 = 0 ;
19495 PyObject * obj0 = 0 ;
19496 char * kwnames[] = {
19497 (char *) "flags", NULL
19498 };
19499
19500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19501 if (obj0) {
19502 ecode1 = SWIG_AsVal_int(obj0, &val1);
19503 if (!SWIG_IsOK(ecode1)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19505 }
19506 arg1 = static_cast< int >(val1);
19507 }
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19515 return resultobj;
19516 fail:
19517 return NULL;
19518 }
19519
19520
19521 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19522 PyObject *resultobj = 0;
19523 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19524 void *argp1 = 0 ;
19525 int res1 = 0 ;
19526 PyObject *swig_obj[1] ;
19527
19528 if (!args) SWIG_fail;
19529 swig_obj[0] = args;
19530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19531 if (!SWIG_IsOK(res1)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19533 }
19534 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 delete arg1;
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 resultobj = SWIG_Py_Void();
19543 return resultobj;
19544 fail:
19545 return NULL;
19546 }
19547
19548
19549 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19550 PyObject *resultobj = 0;
19551 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19552 wxString *result = 0 ;
19553 void *argp1 = 0 ;
19554 int res1 = 0 ;
19555 PyObject *swig_obj[1] ;
19556
19557 if (!args) SWIG_fail;
19558 swig_obj[0] = args;
19559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19560 if (!SWIG_IsOK(res1)) {
19561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19562 }
19563 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 {
19567 wxString const &_result_ref = (arg1)->GetFindString();
19568 result = (wxString *) &_result_ref;
19569 }
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 {
19574 #if wxUSE_UNICODE
19575 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19576 #else
19577 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19578 #endif
19579 }
19580 return resultobj;
19581 fail:
19582 return NULL;
19583 }
19584
19585
19586 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19587 PyObject *resultobj = 0;
19588 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19589 wxString *result = 0 ;
19590 void *argp1 = 0 ;
19591 int res1 = 0 ;
19592 PyObject *swig_obj[1] ;
19593
19594 if (!args) SWIG_fail;
19595 swig_obj[0] = args;
19596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19597 if (!SWIG_IsOK(res1)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19599 }
19600 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19601 {
19602 PyThreadState* __tstate = wxPyBeginAllowThreads();
19603 {
19604 wxString const &_result_ref = (arg1)->GetReplaceString();
19605 result = (wxString *) &_result_ref;
19606 }
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
19610 {
19611 #if wxUSE_UNICODE
19612 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19613 #else
19614 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19615 #endif
19616 }
19617 return resultobj;
19618 fail:
19619 return NULL;
19620 }
19621
19622
19623 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19624 PyObject *resultobj = 0;
19625 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19626 int result;
19627 void *argp1 = 0 ;
19628 int res1 = 0 ;
19629 PyObject *swig_obj[1] ;
19630
19631 if (!args) SWIG_fail;
19632 swig_obj[0] = args;
19633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19634 if (!SWIG_IsOK(res1)) {
19635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19636 }
19637 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 result = (int)(arg1)->GetFlags();
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 resultobj = SWIG_From_int(static_cast< int >(result));
19645 return resultobj;
19646 fail:
19647 return NULL;
19648 }
19649
19650
19651 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19652 PyObject *resultobj = 0;
19653 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19654 int arg2 ;
19655 void *argp1 = 0 ;
19656 int res1 = 0 ;
19657 int val2 ;
19658 int ecode2 = 0 ;
19659 PyObject * obj0 = 0 ;
19660 PyObject * obj1 = 0 ;
19661 char * kwnames[] = {
19662 (char *) "self",(char *) "flags", NULL
19663 };
19664
19665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19667 if (!SWIG_IsOK(res1)) {
19668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19669 }
19670 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19671 ecode2 = SWIG_AsVal_int(obj1, &val2);
19672 if (!SWIG_IsOK(ecode2)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19674 }
19675 arg2 = static_cast< int >(val2);
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->SetFlags(arg2);
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = SWIG_Py_Void();
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj = 0;
19691 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19692 wxString *arg2 = 0 ;
19693 void *argp1 = 0 ;
19694 int res1 = 0 ;
19695 bool temp2 = false ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 char * kwnames[] = {
19699 (char *) "self",(char *) "str", NULL
19700 };
19701
19702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19704 if (!SWIG_IsOK(res1)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19706 }
19707 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19708 {
19709 arg2 = wxString_in_helper(obj1);
19710 if (arg2 == NULL) SWIG_fail;
19711 temp2 = true;
19712 }
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 (arg1)->SetFindString((wxString const &)*arg2);
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_Py_Void();
19720 {
19721 if (temp2)
19722 delete arg2;
19723 }
19724 return resultobj;
19725 fail:
19726 {
19727 if (temp2)
19728 delete arg2;
19729 }
19730 return NULL;
19731 }
19732
19733
19734 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj = 0;
19736 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19737 wxString *arg2 = 0 ;
19738 void *argp1 = 0 ;
19739 int res1 = 0 ;
19740 bool temp2 = false ;
19741 PyObject * obj0 = 0 ;
19742 PyObject * obj1 = 0 ;
19743 char * kwnames[] = {
19744 (char *) "self",(char *) "str", NULL
19745 };
19746
19747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19749 if (!SWIG_IsOK(res1)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19751 }
19752 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19753 {
19754 arg2 = wxString_in_helper(obj1);
19755 if (arg2 == NULL) SWIG_fail;
19756 temp2 = true;
19757 }
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 (arg1)->SetReplaceString((wxString const &)*arg2);
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 resultobj = SWIG_Py_Void();
19765 {
19766 if (temp2)
19767 delete arg2;
19768 }
19769 return resultobj;
19770 fail:
19771 {
19772 if (temp2)
19773 delete arg2;
19774 }
19775 return NULL;
19776 }
19777
19778
19779 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19780 PyObject *obj;
19781 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19782 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19783 return SWIG_Py_Void();
19784 }
19785
19786 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19787 return SWIG_Python_InitShadowInstance(args);
19788 }
19789
19790 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj = 0;
19792 wxWindow *arg1 = (wxWindow *) 0 ;
19793 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19794 wxString *arg3 = 0 ;
19795 int arg4 = (int) 0 ;
19796 wxFindReplaceDialog *result = 0 ;
19797 void *argp1 = 0 ;
19798 int res1 = 0 ;
19799 void *argp2 = 0 ;
19800 int res2 = 0 ;
19801 bool temp3 = false ;
19802 int val4 ;
19803 int ecode4 = 0 ;
19804 PyObject * obj0 = 0 ;
19805 PyObject * obj1 = 0 ;
19806 PyObject * obj2 = 0 ;
19807 PyObject * obj3 = 0 ;
19808 char * kwnames[] = {
19809 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19810 };
19811
19812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19814 if (!SWIG_IsOK(res1)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19816 }
19817 arg1 = reinterpret_cast< wxWindow * >(argp1);
19818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19819 if (!SWIG_IsOK(res2)) {
19820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19821 }
19822 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19823 {
19824 arg3 = wxString_in_helper(obj2);
19825 if (arg3 == NULL) SWIG_fail;
19826 temp3 = true;
19827 }
19828 if (obj3) {
19829 ecode4 = SWIG_AsVal_int(obj3, &val4);
19830 if (!SWIG_IsOK(ecode4)) {
19831 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19832 }
19833 arg4 = static_cast< int >(val4);
19834 }
19835 {
19836 if (!wxPyCheckForApp()) SWIG_fail;
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19843 {
19844 if (temp3)
19845 delete arg3;
19846 }
19847 return resultobj;
19848 fail:
19849 {
19850 if (temp3)
19851 delete arg3;
19852 }
19853 return NULL;
19854 }
19855
19856
19857 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19858 PyObject *resultobj = 0;
19859 wxFindReplaceDialog *result = 0 ;
19860
19861 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19862 {
19863 if (!wxPyCheckForApp()) SWIG_fail;
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj = 0;
19878 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19879 wxWindow *arg2 = (wxWindow *) 0 ;
19880 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19881 wxString *arg4 = 0 ;
19882 int arg5 = (int) 0 ;
19883 bool result;
19884 void *argp1 = 0 ;
19885 int res1 = 0 ;
19886 void *argp2 = 0 ;
19887 int res2 = 0 ;
19888 void *argp3 = 0 ;
19889 int res3 = 0 ;
19890 bool temp4 = false ;
19891 int val5 ;
19892 int ecode5 = 0 ;
19893 PyObject * obj0 = 0 ;
19894 PyObject * obj1 = 0 ;
19895 PyObject * obj2 = 0 ;
19896 PyObject * obj3 = 0 ;
19897 PyObject * obj4 = 0 ;
19898 char * kwnames[] = {
19899 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19900 };
19901
19902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19904 if (!SWIG_IsOK(res1)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19906 }
19907 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19908 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19909 if (!SWIG_IsOK(res2)) {
19910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19911 }
19912 arg2 = reinterpret_cast< wxWindow * >(argp2);
19913 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19914 if (!SWIG_IsOK(res3)) {
19915 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19916 }
19917 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19918 {
19919 arg4 = wxString_in_helper(obj3);
19920 if (arg4 == NULL) SWIG_fail;
19921 temp4 = true;
19922 }
19923 if (obj4) {
19924 ecode5 = SWIG_AsVal_int(obj4, &val5);
19925 if (!SWIG_IsOK(ecode5)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19927 }
19928 arg5 = static_cast< int >(val5);
19929 }
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 {
19937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19938 }
19939 {
19940 if (temp4)
19941 delete arg4;
19942 }
19943 return resultobj;
19944 fail:
19945 {
19946 if (temp4)
19947 delete arg4;
19948 }
19949 return NULL;
19950 }
19951
19952
19953 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19954 PyObject *resultobj = 0;
19955 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19956 wxFindReplaceData *result = 0 ;
19957 void *argp1 = 0 ;
19958 int res1 = 0 ;
19959 PyObject *swig_obj[1] ;
19960
19961 if (!args) SWIG_fail;
19962 swig_obj[0] = args;
19963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19964 if (!SWIG_IsOK(res1)) {
19965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19966 }
19967 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (wxFindReplaceData *)(arg1)->GetData();
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19975 return resultobj;
19976 fail:
19977 return NULL;
19978 }
19979
19980
19981 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19982 PyObject *resultobj = 0;
19983 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19984 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19985 void *argp1 = 0 ;
19986 int res1 = 0 ;
19987 void *argp2 = 0 ;
19988 int res2 = 0 ;
19989 PyObject * obj0 = 0 ;
19990 PyObject * obj1 = 0 ;
19991 char * kwnames[] = {
19992 (char *) "self",(char *) "data", NULL
19993 };
19994
19995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
19996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19997 if (!SWIG_IsOK(res1)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19999 }
20000 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20002 if (!SWIG_IsOK(res2)) {
20003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20004 }
20005 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 (arg1)->SetData(arg2);
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 resultobj = SWIG_Py_Void();
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20020 PyObject *obj;
20021 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20022 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20023 return SWIG_Py_Void();
20024 }
20025
20026 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20027 return SWIG_Python_InitShadowInstance(args);
20028 }
20029
20030 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj = 0;
20032 wxWindow *arg1 = (wxWindow *) 0 ;
20033 int arg2 = (int) (int)-1 ;
20034 wxString const &arg3_defvalue = wxPyEmptyString ;
20035 wxString *arg3 = (wxString *) &arg3_defvalue ;
20036 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20037 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20038 wxSize const &arg5_defvalue = wxDefaultSize ;
20039 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20040 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20041 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20042 wxString *arg7 = (wxString *) &arg7_defvalue ;
20043 wxMDIParentFrame *result = 0 ;
20044 void *argp1 = 0 ;
20045 int res1 = 0 ;
20046 int val2 ;
20047 int ecode2 = 0 ;
20048 bool temp3 = false ;
20049 wxPoint temp4 ;
20050 wxSize temp5 ;
20051 long val6 ;
20052 int ecode6 = 0 ;
20053 bool temp7 = false ;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 PyObject * obj2 = 0 ;
20057 PyObject * obj3 = 0 ;
20058 PyObject * obj4 = 0 ;
20059 PyObject * obj5 = 0 ;
20060 PyObject * obj6 = 0 ;
20061 char * kwnames[] = {
20062 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20063 };
20064
20065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20067 if (!SWIG_IsOK(res1)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20069 }
20070 arg1 = reinterpret_cast< wxWindow * >(argp1);
20071 if (obj1) {
20072 ecode2 = SWIG_AsVal_int(obj1, &val2);
20073 if (!SWIG_IsOK(ecode2)) {
20074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20075 }
20076 arg2 = static_cast< int >(val2);
20077 }
20078 if (obj2) {
20079 {
20080 arg3 = wxString_in_helper(obj2);
20081 if (arg3 == NULL) SWIG_fail;
20082 temp3 = true;
20083 }
20084 }
20085 if (obj3) {
20086 {
20087 arg4 = &temp4;
20088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20089 }
20090 }
20091 if (obj4) {
20092 {
20093 arg5 = &temp5;
20094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20095 }
20096 }
20097 if (obj5) {
20098 ecode6 = SWIG_AsVal_long(obj5, &val6);
20099 if (!SWIG_IsOK(ecode6)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20101 }
20102 arg6 = static_cast< long >(val6);
20103 }
20104 if (obj6) {
20105 {
20106 arg7 = wxString_in_helper(obj6);
20107 if (arg7 == NULL) SWIG_fail;
20108 temp7 = true;
20109 }
20110 }
20111 {
20112 if (!wxPyCheckForApp()) SWIG_fail;
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20119 {
20120 if (temp3)
20121 delete arg3;
20122 }
20123 {
20124 if (temp7)
20125 delete arg7;
20126 }
20127 return resultobj;
20128 fail:
20129 {
20130 if (temp3)
20131 delete arg3;
20132 }
20133 {
20134 if (temp7)
20135 delete arg7;
20136 }
20137 return NULL;
20138 }
20139
20140
20141 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20142 PyObject *resultobj = 0;
20143 wxMDIParentFrame *result = 0 ;
20144
20145 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20146 {
20147 if (!wxPyCheckForApp()) SWIG_fail;
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj = 0;
20162 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20163 wxWindow *arg2 = (wxWindow *) 0 ;
20164 int arg3 = (int) (int)-1 ;
20165 wxString const &arg4_defvalue = wxPyEmptyString ;
20166 wxString *arg4 = (wxString *) &arg4_defvalue ;
20167 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20168 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20169 wxSize const &arg6_defvalue = wxDefaultSize ;
20170 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20171 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20172 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20173 wxString *arg8 = (wxString *) &arg8_defvalue ;
20174 bool result;
20175 void *argp1 = 0 ;
20176 int res1 = 0 ;
20177 void *argp2 = 0 ;
20178 int res2 = 0 ;
20179 int val3 ;
20180 int ecode3 = 0 ;
20181 bool temp4 = false ;
20182 wxPoint temp5 ;
20183 wxSize temp6 ;
20184 long val7 ;
20185 int ecode7 = 0 ;
20186 bool temp8 = false ;
20187 PyObject * obj0 = 0 ;
20188 PyObject * obj1 = 0 ;
20189 PyObject * obj2 = 0 ;
20190 PyObject * obj3 = 0 ;
20191 PyObject * obj4 = 0 ;
20192 PyObject * obj5 = 0 ;
20193 PyObject * obj6 = 0 ;
20194 PyObject * obj7 = 0 ;
20195 char * kwnames[] = {
20196 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20197 };
20198
20199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20201 if (!SWIG_IsOK(res1)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20203 }
20204 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20205 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20206 if (!SWIG_IsOK(res2)) {
20207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20208 }
20209 arg2 = reinterpret_cast< wxWindow * >(argp2);
20210 if (obj2) {
20211 ecode3 = SWIG_AsVal_int(obj2, &val3);
20212 if (!SWIG_IsOK(ecode3)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20214 }
20215 arg3 = static_cast< int >(val3);
20216 }
20217 if (obj3) {
20218 {
20219 arg4 = wxString_in_helper(obj3);
20220 if (arg4 == NULL) SWIG_fail;
20221 temp4 = true;
20222 }
20223 }
20224 if (obj4) {
20225 {
20226 arg5 = &temp5;
20227 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20228 }
20229 }
20230 if (obj5) {
20231 {
20232 arg6 = &temp6;
20233 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20234 }
20235 }
20236 if (obj6) {
20237 ecode7 = SWIG_AsVal_long(obj6, &val7);
20238 if (!SWIG_IsOK(ecode7)) {
20239 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20240 }
20241 arg7 = static_cast< long >(val7);
20242 }
20243 if (obj7) {
20244 {
20245 arg8 = wxString_in_helper(obj7);
20246 if (arg8 == NULL) SWIG_fail;
20247 temp8 = true;
20248 }
20249 }
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 {
20257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20258 }
20259 {
20260 if (temp4)
20261 delete arg4;
20262 }
20263 {
20264 if (temp8)
20265 delete arg8;
20266 }
20267 return resultobj;
20268 fail:
20269 {
20270 if (temp4)
20271 delete arg4;
20272 }
20273 {
20274 if (temp8)
20275 delete arg8;
20276 }
20277 return NULL;
20278 }
20279
20280
20281 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20282 PyObject *resultobj = 0;
20283 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20284 void *argp1 = 0 ;
20285 int res1 = 0 ;
20286 PyObject *swig_obj[1] ;
20287
20288 if (!args) SWIG_fail;
20289 swig_obj[0] = args;
20290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20291 if (!SWIG_IsOK(res1)) {
20292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20293 }
20294 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 (arg1)->ActivateNext();
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 resultobj = SWIG_Py_Void();
20302 return resultobj;
20303 fail:
20304 return NULL;
20305 }
20306
20307
20308 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20309 PyObject *resultobj = 0;
20310 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20311 void *argp1 = 0 ;
20312 int res1 = 0 ;
20313 PyObject *swig_obj[1] ;
20314
20315 if (!args) SWIG_fail;
20316 swig_obj[0] = args;
20317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20318 if (!SWIG_IsOK(res1)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20320 }
20321 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 (arg1)->ActivatePrevious();
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 resultobj = SWIG_Py_Void();
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20336 PyObject *resultobj = 0;
20337 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20338 void *argp1 = 0 ;
20339 int res1 = 0 ;
20340 PyObject *swig_obj[1] ;
20341
20342 if (!args) SWIG_fail;
20343 swig_obj[0] = args;
20344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20345 if (!SWIG_IsOK(res1)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20347 }
20348 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 (arg1)->ArrangeIcons();
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = SWIG_Py_Void();
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20363 PyObject *resultobj = 0;
20364 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20365 void *argp1 = 0 ;
20366 int res1 = 0 ;
20367 PyObject *swig_obj[1] ;
20368
20369 if (!args) SWIG_fail;
20370 swig_obj[0] = args;
20371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20372 if (!SWIG_IsOK(res1)) {
20373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20374 }
20375 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 (arg1)->Cascade();
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = SWIG_Py_Void();
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20390 PyObject *resultobj = 0;
20391 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20392 wxMDIChildFrame *result = 0 ;
20393 void *argp1 = 0 ;
20394 int res1 = 0 ;
20395 PyObject *swig_obj[1] ;
20396
20397 if (!args) SWIG_fail;
20398 swig_obj[0] = args;
20399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20400 if (!SWIG_IsOK(res1)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20402 }
20403 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20407 wxPyEndAllowThreads(__tstate);
20408 if (PyErr_Occurred()) SWIG_fail;
20409 }
20410 {
20411 resultobj = wxPyMake_wxObject(result, (bool)0);
20412 }
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20420 PyObject *resultobj = 0;
20421 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20422 wxMDIClientWindow *result = 0 ;
20423 void *argp1 = 0 ;
20424 int res1 = 0 ;
20425 PyObject *swig_obj[1] ;
20426
20427 if (!args) SWIG_fail;
20428 swig_obj[0] = args;
20429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20430 if (!SWIG_IsOK(res1)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20432 }
20433 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 {
20441 resultobj = wxPyMake_wxObject(result, (bool)0);
20442 }
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20450 PyObject *resultobj = 0;
20451 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20452 wxWindow *result = 0 ;
20453 void *argp1 = 0 ;
20454 int res1 = 0 ;
20455 PyObject *swig_obj[1] ;
20456
20457 if (!args) SWIG_fail;
20458 swig_obj[0] = args;
20459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20460 if (!SWIG_IsOK(res1)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20462 }
20463 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 result = (wxWindow *)(arg1)->GetToolBar();
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 {
20471 resultobj = wxPyMake_wxObject(result, 0);
20472 }
20473 return resultobj;
20474 fail:
20475 return NULL;
20476 }
20477
20478
20479 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20480 PyObject *resultobj = 0;
20481 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20482 wxMenu *result = 0 ;
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_wxMDIParentFrame, 0 | 0 );
20490 if (!SWIG_IsOK(res1)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20492 }
20493 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
20496 result = (wxMenu *)(arg1)->GetWindowMenu();
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 {
20501 resultobj = wxPyMake_wxObject(result, 0);
20502 }
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj = 0;
20511 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20512 wxMenu *arg2 = (wxMenu *) 0 ;
20513 void *argp1 = 0 ;
20514 int res1 = 0 ;
20515 void *argp2 = 0 ;
20516 int res2 = 0 ;
20517 PyObject * obj0 = 0 ;
20518 PyObject * obj1 = 0 ;
20519 char * kwnames[] = {
20520 (char *) "self",(char *) "menu", NULL
20521 };
20522
20523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20525 if (!SWIG_IsOK(res1)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20527 }
20528 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20530 if (!SWIG_IsOK(res2)) {
20531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20532 }
20533 arg2 = reinterpret_cast< wxMenu * >(argp2);
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 (arg1)->SetWindowMenu(arg2);
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 resultobj = SWIG_Py_Void();
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj = 0;
20549 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20550 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20551 void *argp1 = 0 ;
20552 int res1 = 0 ;
20553 int val2 ;
20554 int ecode2 = 0 ;
20555 PyObject * obj0 = 0 ;
20556 PyObject * obj1 = 0 ;
20557 char * kwnames[] = {
20558 (char *) "self",(char *) "orient", NULL
20559 };
20560
20561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20563 if (!SWIG_IsOK(res1)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20565 }
20566 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20567 if (obj1) {
20568 ecode2 = SWIG_AsVal_int(obj1, &val2);
20569 if (!SWIG_IsOK(ecode2)) {
20570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20571 }
20572 arg2 = static_cast< wxOrientation >(val2);
20573 }
20574 {
20575 PyThreadState* __tstate = wxPyBeginAllowThreads();
20576 (arg1)->Tile(arg2);
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 resultobj = SWIG_Py_Void();
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20588 PyObject *obj;
20589 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20590 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20591 return SWIG_Py_Void();
20592 }
20593
20594 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20595 return SWIG_Python_InitShadowInstance(args);
20596 }
20597
20598 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj = 0;
20600 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20601 int arg2 = (int) (int)-1 ;
20602 wxString const &arg3_defvalue = wxPyEmptyString ;
20603 wxString *arg3 = (wxString *) &arg3_defvalue ;
20604 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20605 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20606 wxSize const &arg5_defvalue = wxDefaultSize ;
20607 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20608 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20609 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20610 wxString *arg7 = (wxString *) &arg7_defvalue ;
20611 wxMDIChildFrame *result = 0 ;
20612 void *argp1 = 0 ;
20613 int res1 = 0 ;
20614 int val2 ;
20615 int ecode2 = 0 ;
20616 bool temp3 = false ;
20617 wxPoint temp4 ;
20618 wxSize temp5 ;
20619 long val6 ;
20620 int ecode6 = 0 ;
20621 bool temp7 = false ;
20622 PyObject * obj0 = 0 ;
20623 PyObject * obj1 = 0 ;
20624 PyObject * obj2 = 0 ;
20625 PyObject * obj3 = 0 ;
20626 PyObject * obj4 = 0 ;
20627 PyObject * obj5 = 0 ;
20628 PyObject * obj6 = 0 ;
20629 char * kwnames[] = {
20630 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20631 };
20632
20633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20635 if (!SWIG_IsOK(res1)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20637 }
20638 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20639 if (obj1) {
20640 ecode2 = SWIG_AsVal_int(obj1, &val2);
20641 if (!SWIG_IsOK(ecode2)) {
20642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20643 }
20644 arg2 = static_cast< int >(val2);
20645 }
20646 if (obj2) {
20647 {
20648 arg3 = wxString_in_helper(obj2);
20649 if (arg3 == NULL) SWIG_fail;
20650 temp3 = true;
20651 }
20652 }
20653 if (obj3) {
20654 {
20655 arg4 = &temp4;
20656 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20657 }
20658 }
20659 if (obj4) {
20660 {
20661 arg5 = &temp5;
20662 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20663 }
20664 }
20665 if (obj5) {
20666 ecode6 = SWIG_AsVal_long(obj5, &val6);
20667 if (!SWIG_IsOK(ecode6)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20669 }
20670 arg6 = static_cast< long >(val6);
20671 }
20672 if (obj6) {
20673 {
20674 arg7 = wxString_in_helper(obj6);
20675 if (arg7 == NULL) SWIG_fail;
20676 temp7 = true;
20677 }
20678 }
20679 {
20680 if (!wxPyCheckForApp()) SWIG_fail;
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20687 {
20688 if (temp3)
20689 delete arg3;
20690 }
20691 {
20692 if (temp7)
20693 delete arg7;
20694 }
20695 return resultobj;
20696 fail:
20697 {
20698 if (temp3)
20699 delete arg3;
20700 }
20701 {
20702 if (temp7)
20703 delete arg7;
20704 }
20705 return NULL;
20706 }
20707
20708
20709 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20710 PyObject *resultobj = 0;
20711 wxMDIChildFrame *result = 0 ;
20712
20713 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20714 {
20715 if (!wxPyCheckForApp()) SWIG_fail;
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj = 0;
20730 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20731 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20732 int arg3 = (int) (int)-1 ;
20733 wxString const &arg4_defvalue = wxPyEmptyString ;
20734 wxString *arg4 = (wxString *) &arg4_defvalue ;
20735 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20736 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20737 wxSize const &arg6_defvalue = wxDefaultSize ;
20738 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20739 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20740 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20741 wxString *arg8 = (wxString *) &arg8_defvalue ;
20742 bool result;
20743 void *argp1 = 0 ;
20744 int res1 = 0 ;
20745 void *argp2 = 0 ;
20746 int res2 = 0 ;
20747 int val3 ;
20748 int ecode3 = 0 ;
20749 bool temp4 = false ;
20750 wxPoint temp5 ;
20751 wxSize temp6 ;
20752 long val7 ;
20753 int ecode7 = 0 ;
20754 bool temp8 = false ;
20755 PyObject * obj0 = 0 ;
20756 PyObject * obj1 = 0 ;
20757 PyObject * obj2 = 0 ;
20758 PyObject * obj3 = 0 ;
20759 PyObject * obj4 = 0 ;
20760 PyObject * obj5 = 0 ;
20761 PyObject * obj6 = 0 ;
20762 PyObject * obj7 = 0 ;
20763 char * kwnames[] = {
20764 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20765 };
20766
20767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20769 if (!SWIG_IsOK(res1)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20771 }
20772 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20774 if (!SWIG_IsOK(res2)) {
20775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20776 }
20777 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20778 if (obj2) {
20779 ecode3 = SWIG_AsVal_int(obj2, &val3);
20780 if (!SWIG_IsOK(ecode3)) {
20781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20782 }
20783 arg3 = static_cast< int >(val3);
20784 }
20785 if (obj3) {
20786 {
20787 arg4 = wxString_in_helper(obj3);
20788 if (arg4 == NULL) SWIG_fail;
20789 temp4 = true;
20790 }
20791 }
20792 if (obj4) {
20793 {
20794 arg5 = &temp5;
20795 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20796 }
20797 }
20798 if (obj5) {
20799 {
20800 arg6 = &temp6;
20801 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20802 }
20803 }
20804 if (obj6) {
20805 ecode7 = SWIG_AsVal_long(obj6, &val7);
20806 if (!SWIG_IsOK(ecode7)) {
20807 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20808 }
20809 arg7 = static_cast< long >(val7);
20810 }
20811 if (obj7) {
20812 {
20813 arg8 = wxString_in_helper(obj7);
20814 if (arg8 == NULL) SWIG_fail;
20815 temp8 = true;
20816 }
20817 }
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 {
20825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20826 }
20827 {
20828 if (temp4)
20829 delete arg4;
20830 }
20831 {
20832 if (temp8)
20833 delete arg8;
20834 }
20835 return resultobj;
20836 fail:
20837 {
20838 if (temp4)
20839 delete arg4;
20840 }
20841 {
20842 if (temp8)
20843 delete arg8;
20844 }
20845 return NULL;
20846 }
20847
20848
20849 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20850 PyObject *resultobj = 0;
20851 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20852 void *argp1 = 0 ;
20853 int res1 = 0 ;
20854 PyObject *swig_obj[1] ;
20855
20856 if (!args) SWIG_fail;
20857 swig_obj[0] = args;
20858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20859 if (!SWIG_IsOK(res1)) {
20860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20861 }
20862 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 (arg1)->Activate();
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_Py_Void();
20870 return resultobj;
20871 fail:
20872 return NULL;
20873 }
20874
20875
20876 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20877 PyObject *obj;
20878 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20879 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20880 return SWIG_Py_Void();
20881 }
20882
20883 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20884 return SWIG_Python_InitShadowInstance(args);
20885 }
20886
20887 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj = 0;
20889 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20890 long arg2 = (long) 0 ;
20891 wxMDIClientWindow *result = 0 ;
20892 void *argp1 = 0 ;
20893 int res1 = 0 ;
20894 long val2 ;
20895 int ecode2 = 0 ;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 char * kwnames[] = {
20899 (char *) "parent",(char *) "style", NULL
20900 };
20901
20902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20904 if (!SWIG_IsOK(res1)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20906 }
20907 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20908 if (obj1) {
20909 ecode2 = SWIG_AsVal_long(obj1, &val2);
20910 if (!SWIG_IsOK(ecode2)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20912 }
20913 arg2 = static_cast< long >(val2);
20914 }
20915 {
20916 if (!wxPyCheckForApp()) SWIG_fail;
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20923 return resultobj;
20924 fail:
20925 return NULL;
20926 }
20927
20928
20929 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20930 PyObject *resultobj = 0;
20931 wxMDIClientWindow *result = 0 ;
20932
20933 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20934 {
20935 if (!wxPyCheckForApp()) SWIG_fail;
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj = 0;
20950 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20951 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20952 long arg3 = (long) 0 ;
20953 bool result;
20954 void *argp1 = 0 ;
20955 int res1 = 0 ;
20956 void *argp2 = 0 ;
20957 int res2 = 0 ;
20958 long val3 ;
20959 int ecode3 = 0 ;
20960 PyObject * obj0 = 0 ;
20961 PyObject * obj1 = 0 ;
20962 PyObject * obj2 = 0 ;
20963 char * kwnames[] = {
20964 (char *) "self",(char *) "parent",(char *) "style", NULL
20965 };
20966
20967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20969 if (!SWIG_IsOK(res1)) {
20970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20971 }
20972 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20974 if (!SWIG_IsOK(res2)) {
20975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20976 }
20977 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20978 if (obj2) {
20979 ecode3 = SWIG_AsVal_long(obj2, &val3);
20980 if (!SWIG_IsOK(ecode3)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20982 }
20983 arg3 = static_cast< long >(val3);
20984 }
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 result = (bool)(arg1)->Create(arg2,arg3);
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20993 }
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21001 PyObject *obj;
21002 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21003 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21004 return SWIG_Py_Void();
21005 }
21006
21007 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21008 return SWIG_Python_InitShadowInstance(args);
21009 }
21010
21011 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj = 0;
21013 wxWindow *arg1 = (wxWindow *) 0 ;
21014 int arg2 = (int) (int)-1 ;
21015 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21016 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21017 wxSize const &arg4_defvalue = wxDefaultSize ;
21018 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21019 long arg5 = (long) 0 ;
21020 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21021 wxString *arg6 = (wxString *) &arg6_defvalue ;
21022 wxPyWindow *result = 0 ;
21023 void *argp1 = 0 ;
21024 int res1 = 0 ;
21025 int val2 ;
21026 int ecode2 = 0 ;
21027 wxPoint temp3 ;
21028 wxSize temp4 ;
21029 long val5 ;
21030 int ecode5 = 0 ;
21031 bool temp6 = false ;
21032 PyObject * obj0 = 0 ;
21033 PyObject * obj1 = 0 ;
21034 PyObject * obj2 = 0 ;
21035 PyObject * obj3 = 0 ;
21036 PyObject * obj4 = 0 ;
21037 PyObject * obj5 = 0 ;
21038 char * kwnames[] = {
21039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21040 };
21041
21042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21044 if (!SWIG_IsOK(res1)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21046 }
21047 arg1 = reinterpret_cast< wxWindow * >(argp1);
21048 if (obj1) {
21049 ecode2 = SWIG_AsVal_int(obj1, &val2);
21050 if (!SWIG_IsOK(ecode2)) {
21051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21052 }
21053 arg2 = static_cast< int >(val2);
21054 }
21055 if (obj2) {
21056 {
21057 arg3 = &temp3;
21058 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21059 }
21060 }
21061 if (obj3) {
21062 {
21063 arg4 = &temp4;
21064 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21065 }
21066 }
21067 if (obj4) {
21068 ecode5 = SWIG_AsVal_long(obj4, &val5);
21069 if (!SWIG_IsOK(ecode5)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21071 }
21072 arg5 = static_cast< long >(val5);
21073 }
21074 if (obj5) {
21075 {
21076 arg6 = wxString_in_helper(obj5);
21077 if (arg6 == NULL) SWIG_fail;
21078 temp6 = true;
21079 }
21080 }
21081 {
21082 if (!wxPyCheckForApp()) SWIG_fail;
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21089 {
21090 if (temp6)
21091 delete arg6;
21092 }
21093 return resultobj;
21094 fail:
21095 {
21096 if (temp6)
21097 delete arg6;
21098 }
21099 return NULL;
21100 }
21101
21102
21103 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21104 PyObject *resultobj = 0;
21105 wxPyWindow *result = 0 ;
21106
21107 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21108 {
21109 if (!wxPyCheckForApp()) SWIG_fail;
21110 PyThreadState* __tstate = wxPyBeginAllowThreads();
21111 result = (wxPyWindow *)new wxPyWindow();
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21116 return resultobj;
21117 fail:
21118 return NULL;
21119 }
21120
21121
21122 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj = 0;
21124 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21125 PyObject *arg2 = (PyObject *) 0 ;
21126 PyObject *arg3 = (PyObject *) 0 ;
21127 void *argp1 = 0 ;
21128 int res1 = 0 ;
21129 PyObject * obj0 = 0 ;
21130 PyObject * obj1 = 0 ;
21131 PyObject * obj2 = 0 ;
21132 char * kwnames[] = {
21133 (char *) "self",(char *) "self",(char *) "_class", NULL
21134 };
21135
21136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21138 if (!SWIG_IsOK(res1)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21140 }
21141 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21142 arg2 = obj1;
21143 arg3 = obj2;
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 (arg1)->_setCallbackInfo(arg2,arg3);
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 resultobj = SWIG_Py_Void();
21151 return resultobj;
21152 fail:
21153 return NULL;
21154 }
21155
21156
21157 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21158 PyObject *resultobj = 0;
21159 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21160 wxSize *arg2 = 0 ;
21161 void *argp1 = 0 ;
21162 int res1 = 0 ;
21163 wxSize temp2 ;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 char * kwnames[] = {
21167 (char *) "self",(char *) "size", NULL
21168 };
21169
21170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21172 if (!SWIG_IsOK(res1)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21174 }
21175 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21176 {
21177 arg2 = &temp2;
21178 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21179 }
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 (arg1)->SetBestSize((wxSize const &)*arg2);
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 resultobj = SWIG_Py_Void();
21187 return resultobj;
21188 fail:
21189 return NULL;
21190 }
21191
21192
21193 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj = 0;
21195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21196 wxDC *arg2 = (wxDC *) 0 ;
21197 bool result;
21198 void *argp1 = 0 ;
21199 int res1 = 0 ;
21200 void *argp2 = 0 ;
21201 int res2 = 0 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 char * kwnames[] = {
21205 (char *) "self",(char *) "dc", NULL
21206 };
21207
21208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21210 if (!SWIG_IsOK(res1)) {
21211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21212 }
21213 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21215 if (!SWIG_IsOK(res2)) {
21216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21217 }
21218 arg2 = reinterpret_cast< wxDC * >(argp2);
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 result = (bool)(arg1)->DoEraseBackground(arg2);
21222 wxPyEndAllowThreads(__tstate);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 }
21225 {
21226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21227 }
21228 return resultobj;
21229 fail:
21230 return NULL;
21231 }
21232
21233
21234 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj = 0;
21236 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21237 int arg2 ;
21238 int arg3 ;
21239 int arg4 ;
21240 int arg5 ;
21241 void *argp1 = 0 ;
21242 int res1 = 0 ;
21243 int val2 ;
21244 int ecode2 = 0 ;
21245 int val3 ;
21246 int ecode3 = 0 ;
21247 int val4 ;
21248 int ecode4 = 0 ;
21249 int val5 ;
21250 int ecode5 = 0 ;
21251 PyObject * obj0 = 0 ;
21252 PyObject * obj1 = 0 ;
21253 PyObject * obj2 = 0 ;
21254 PyObject * obj3 = 0 ;
21255 PyObject * obj4 = 0 ;
21256 char * kwnames[] = {
21257 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21258 };
21259
21260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21262 if (!SWIG_IsOK(res1)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21264 }
21265 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21266 ecode2 = SWIG_AsVal_int(obj1, &val2);
21267 if (!SWIG_IsOK(ecode2)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21269 }
21270 arg2 = static_cast< int >(val2);
21271 ecode3 = SWIG_AsVal_int(obj2, &val3);
21272 if (!SWIG_IsOK(ecode3)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21274 }
21275 arg3 = static_cast< int >(val3);
21276 ecode4 = SWIG_AsVal_int(obj3, &val4);
21277 if (!SWIG_IsOK(ecode4)) {
21278 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21279 }
21280 arg4 = static_cast< int >(val4);
21281 ecode5 = SWIG_AsVal_int(obj4, &val5);
21282 if (!SWIG_IsOK(ecode5)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21284 }
21285 arg5 = static_cast< int >(val5);
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21289 wxPyEndAllowThreads(__tstate);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 }
21292 resultobj = SWIG_Py_Void();
21293 return resultobj;
21294 fail:
21295 return NULL;
21296 }
21297
21298
21299 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj = 0;
21301 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21302 int arg2 ;
21303 int arg3 ;
21304 int arg4 ;
21305 int arg5 ;
21306 int arg6 = (int) wxSIZE_AUTO ;
21307 void *argp1 = 0 ;
21308 int res1 = 0 ;
21309 int val2 ;
21310 int ecode2 = 0 ;
21311 int val3 ;
21312 int ecode3 = 0 ;
21313 int val4 ;
21314 int ecode4 = 0 ;
21315 int val5 ;
21316 int ecode5 = 0 ;
21317 int val6 ;
21318 int ecode6 = 0 ;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 PyObject * obj2 = 0 ;
21322 PyObject * obj3 = 0 ;
21323 PyObject * obj4 = 0 ;
21324 PyObject * obj5 = 0 ;
21325 char * kwnames[] = {
21326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21327 };
21328
21329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21331 if (!SWIG_IsOK(res1)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21333 }
21334 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21335 ecode2 = SWIG_AsVal_int(obj1, &val2);
21336 if (!SWIG_IsOK(ecode2)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21338 }
21339 arg2 = static_cast< int >(val2);
21340 ecode3 = SWIG_AsVal_int(obj2, &val3);
21341 if (!SWIG_IsOK(ecode3)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21343 }
21344 arg3 = static_cast< int >(val3);
21345 ecode4 = SWIG_AsVal_int(obj3, &val4);
21346 if (!SWIG_IsOK(ecode4)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21348 }
21349 arg4 = static_cast< int >(val4);
21350 ecode5 = SWIG_AsVal_int(obj4, &val5);
21351 if (!SWIG_IsOK(ecode5)) {
21352 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21353 }
21354 arg5 = static_cast< int >(val5);
21355 if (obj5) {
21356 ecode6 = SWIG_AsVal_int(obj5, &val6);
21357 if (!SWIG_IsOK(ecode6)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21359 }
21360 arg6 = static_cast< int >(val6);
21361 }
21362 {
21363 PyThreadState* __tstate = wxPyBeginAllowThreads();
21364 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 resultobj = SWIG_Py_Void();
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj = 0;
21377 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21378 int arg2 ;
21379 int arg3 ;
21380 void *argp1 = 0 ;
21381 int res1 = 0 ;
21382 int val2 ;
21383 int ecode2 = 0 ;
21384 int val3 ;
21385 int ecode3 = 0 ;
21386 PyObject * obj0 = 0 ;
21387 PyObject * obj1 = 0 ;
21388 PyObject * obj2 = 0 ;
21389 char * kwnames[] = {
21390 (char *) "self",(char *) "width",(char *) "height", NULL
21391 };
21392
21393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21395 if (!SWIG_IsOK(res1)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21397 }
21398 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21399 ecode2 = SWIG_AsVal_int(obj1, &val2);
21400 if (!SWIG_IsOK(ecode2)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21402 }
21403 arg2 = static_cast< int >(val2);
21404 ecode3 = SWIG_AsVal_int(obj2, &val3);
21405 if (!SWIG_IsOK(ecode3)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21407 }
21408 arg3 = static_cast< int >(val3);
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->DoSetClientSize(arg2,arg3);
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 resultobj = SWIG_Py_Void();
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj = 0;
21424 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21425 int arg2 ;
21426 int arg3 ;
21427 void *argp1 = 0 ;
21428 int res1 = 0 ;
21429 int val2 ;
21430 int ecode2 = 0 ;
21431 int val3 ;
21432 int ecode3 = 0 ;
21433 PyObject * obj0 = 0 ;
21434 PyObject * obj1 = 0 ;
21435 PyObject * obj2 = 0 ;
21436 char * kwnames[] = {
21437 (char *) "self",(char *) "x",(char *) "y", NULL
21438 };
21439
21440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21442 if (!SWIG_IsOK(res1)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21444 }
21445 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21446 ecode2 = SWIG_AsVal_int(obj1, &val2);
21447 if (!SWIG_IsOK(ecode2)) {
21448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21449 }
21450 arg2 = static_cast< int >(val2);
21451 ecode3 = SWIG_AsVal_int(obj2, &val3);
21452 if (!SWIG_IsOK(ecode3)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21454 }
21455 arg3 = static_cast< int >(val3);
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 (arg1)->DoSetVirtualSize(arg2,arg3);
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 resultobj = SWIG_Py_Void();
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21470 PyObject *resultobj = 0;
21471 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21472 int *arg2 = (int *) 0 ;
21473 int *arg3 = (int *) 0 ;
21474 void *argp1 = 0 ;
21475 int res1 = 0 ;
21476 int temp2 ;
21477 int res2 = SWIG_TMPOBJ ;
21478 int temp3 ;
21479 int res3 = SWIG_TMPOBJ ;
21480 PyObject *swig_obj[1] ;
21481
21482 arg2 = &temp2;
21483 arg3 = &temp3;
21484 if (!args) SWIG_fail;
21485 swig_obj[0] = args;
21486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21487 if (!SWIG_IsOK(res1)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21489 }
21490 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21491 {
21492 PyThreadState* __tstate = wxPyBeginAllowThreads();
21493 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21494 wxPyEndAllowThreads(__tstate);
21495 if (PyErr_Occurred()) SWIG_fail;
21496 }
21497 resultobj = SWIG_Py_Void();
21498 if (SWIG_IsTmpObj(res2)) {
21499 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21500 } else {
21501 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21502 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21503 }
21504 if (SWIG_IsTmpObj(res3)) {
21505 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21506 } else {
21507 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21508 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21509 }
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21517 PyObject *resultobj = 0;
21518 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21519 int *arg2 = (int *) 0 ;
21520 int *arg3 = (int *) 0 ;
21521 void *argp1 = 0 ;
21522 int res1 = 0 ;
21523 int temp2 ;
21524 int res2 = SWIG_TMPOBJ ;
21525 int temp3 ;
21526 int res3 = SWIG_TMPOBJ ;
21527 PyObject *swig_obj[1] ;
21528
21529 arg2 = &temp2;
21530 arg3 = &temp3;
21531 if (!args) SWIG_fail;
21532 swig_obj[0] = args;
21533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21534 if (!SWIG_IsOK(res1)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21536 }
21537 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
21544 resultobj = SWIG_Py_Void();
21545 if (SWIG_IsTmpObj(res2)) {
21546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21547 } else {
21548 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21550 }
21551 if (SWIG_IsTmpObj(res3)) {
21552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21553 } else {
21554 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21556 }
21557 return resultobj;
21558 fail:
21559 return NULL;
21560 }
21561
21562
21563 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21564 PyObject *resultobj = 0;
21565 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21566 int *arg2 = (int *) 0 ;
21567 int *arg3 = (int *) 0 ;
21568 void *argp1 = 0 ;
21569 int res1 = 0 ;
21570 int temp2 ;
21571 int res2 = SWIG_TMPOBJ ;
21572 int temp3 ;
21573 int res3 = SWIG_TMPOBJ ;
21574 PyObject *swig_obj[1] ;
21575
21576 arg2 = &temp2;
21577 arg3 = &temp3;
21578 if (!args) SWIG_fail;
21579 swig_obj[0] = args;
21580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21581 if (!SWIG_IsOK(res1)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21583 }
21584 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 resultobj = SWIG_Py_Void();
21592 if (SWIG_IsTmpObj(res2)) {
21593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21594 } else {
21595 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21596 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21597 }
21598 if (SWIG_IsTmpObj(res3)) {
21599 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21600 } else {
21601 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21611 PyObject *resultobj = 0;
21612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21613 wxSize result;
21614 void *argp1 = 0 ;
21615 int res1 = 0 ;
21616 PyObject *swig_obj[1] ;
21617
21618 if (!args) SWIG_fail;
21619 swig_obj[0] = args;
21620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21621 if (!SWIG_IsOK(res1)) {
21622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21623 }
21624 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21632 return resultobj;
21633 fail:
21634 return NULL;
21635 }
21636
21637
21638 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21639 PyObject *resultobj = 0;
21640 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21641 wxSize result;
21642 void *argp1 = 0 ;
21643 int res1 = 0 ;
21644 PyObject *swig_obj[1] ;
21645
21646 if (!args) SWIG_fail;
21647 swig_obj[0] = args;
21648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21649 if (!SWIG_IsOK(res1)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21651 }
21652 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21667 PyObject *resultobj = 0;
21668 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21669 SwigValueWrapper<wxVisualAttributes > result;
21670 void *argp1 = 0 ;
21671 int res1 = 0 ;
21672 PyObject *swig_obj[1] ;
21673
21674 if (!args) SWIG_fail;
21675 swig_obj[0] = args;
21676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21677 if (!SWIG_IsOK(res1)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21679 }
21680 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (arg1)->GetDefaultAttributes();
21684 wxPyEndAllowThreads(__tstate);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21695 PyObject *resultobj = 0;
21696 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21697 void *argp1 = 0 ;
21698 int res1 = 0 ;
21699 PyObject *swig_obj[1] ;
21700
21701 if (!args) SWIG_fail;
21702 swig_obj[0] = args;
21703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21704 if (!SWIG_IsOK(res1)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21706 }
21707 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 (arg1)->OnInternalIdle();
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 resultobj = SWIG_Py_Void();
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21722 PyObject *obj;
21723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21724 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21725 return SWIG_Py_Void();
21726 }
21727
21728 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21729 return SWIG_Python_InitShadowInstance(args);
21730 }
21731
21732 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj = 0;
21734 wxWindow *arg1 = (wxWindow *) 0 ;
21735 int arg2 = (int) (int)-1 ;
21736 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21737 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21738 wxSize const &arg4_defvalue = wxDefaultSize ;
21739 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21740 long arg5 = (long) 0 ;
21741 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21742 wxString *arg6 = (wxString *) &arg6_defvalue ;
21743 wxPyPanel *result = 0 ;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 int val2 ;
21747 int ecode2 = 0 ;
21748 wxPoint temp3 ;
21749 wxSize temp4 ;
21750 long val5 ;
21751 int ecode5 = 0 ;
21752 bool temp6 = false ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 PyObject * obj2 = 0 ;
21756 PyObject * obj3 = 0 ;
21757 PyObject * obj4 = 0 ;
21758 PyObject * obj5 = 0 ;
21759 char * kwnames[] = {
21760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21761 };
21762
21763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21765 if (!SWIG_IsOK(res1)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21767 }
21768 arg1 = reinterpret_cast< wxWindow * >(argp1);
21769 if (obj1) {
21770 ecode2 = SWIG_AsVal_int(obj1, &val2);
21771 if (!SWIG_IsOK(ecode2)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21773 }
21774 arg2 = static_cast< int >(val2);
21775 }
21776 if (obj2) {
21777 {
21778 arg3 = &temp3;
21779 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21780 }
21781 }
21782 if (obj3) {
21783 {
21784 arg4 = &temp4;
21785 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21786 }
21787 }
21788 if (obj4) {
21789 ecode5 = SWIG_AsVal_long(obj4, &val5);
21790 if (!SWIG_IsOK(ecode5)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21792 }
21793 arg5 = static_cast< long >(val5);
21794 }
21795 if (obj5) {
21796 {
21797 arg6 = wxString_in_helper(obj5);
21798 if (arg6 == NULL) SWIG_fail;
21799 temp6 = true;
21800 }
21801 }
21802 {
21803 if (!wxPyCheckForApp()) SWIG_fail;
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21810 {
21811 if (temp6)
21812 delete arg6;
21813 }
21814 return resultobj;
21815 fail:
21816 {
21817 if (temp6)
21818 delete arg6;
21819 }
21820 return NULL;
21821 }
21822
21823
21824 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21825 PyObject *resultobj = 0;
21826 wxPyPanel *result = 0 ;
21827
21828 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21829 {
21830 if (!wxPyCheckForApp()) SWIG_fail;
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (wxPyPanel *)new wxPyPanel();
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21837 return resultobj;
21838 fail:
21839 return NULL;
21840 }
21841
21842
21843 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21844 PyObject *resultobj = 0;
21845 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21846 PyObject *arg2 = (PyObject *) 0 ;
21847 PyObject *arg3 = (PyObject *) 0 ;
21848 void *argp1 = 0 ;
21849 int res1 = 0 ;
21850 PyObject * obj0 = 0 ;
21851 PyObject * obj1 = 0 ;
21852 PyObject * obj2 = 0 ;
21853 char * kwnames[] = {
21854 (char *) "self",(char *) "self",(char *) "_class", NULL
21855 };
21856
21857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21859 if (!SWIG_IsOK(res1)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21861 }
21862 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21863 arg2 = obj1;
21864 arg3 = obj2;
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 (arg1)->_setCallbackInfo(arg2,arg3);
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 resultobj = SWIG_Py_Void();
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj = 0;
21880 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21881 wxSize *arg2 = 0 ;
21882 void *argp1 = 0 ;
21883 int res1 = 0 ;
21884 wxSize temp2 ;
21885 PyObject * obj0 = 0 ;
21886 PyObject * obj1 = 0 ;
21887 char * kwnames[] = {
21888 (char *) "self",(char *) "size", NULL
21889 };
21890
21891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21893 if (!SWIG_IsOK(res1)) {
21894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21895 }
21896 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21897 {
21898 arg2 = &temp2;
21899 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 (arg1)->SetBestSize((wxSize const &)*arg2);
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 resultobj = SWIG_Py_Void();
21908 return resultobj;
21909 fail:
21910 return NULL;
21911 }
21912
21913
21914 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21915 PyObject *resultobj = 0;
21916 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21917 wxDC *arg2 = (wxDC *) 0 ;
21918 bool result;
21919 void *argp1 = 0 ;
21920 int res1 = 0 ;
21921 void *argp2 = 0 ;
21922 int res2 = 0 ;
21923 PyObject * obj0 = 0 ;
21924 PyObject * obj1 = 0 ;
21925 char * kwnames[] = {
21926 (char *) "self",(char *) "dc", NULL
21927 };
21928
21929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21931 if (!SWIG_IsOK(res1)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21933 }
21934 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21935 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21936 if (!SWIG_IsOK(res2)) {
21937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21938 }
21939 arg2 = reinterpret_cast< wxDC * >(argp2);
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 result = (bool)(arg1)->DoEraseBackground(arg2);
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21948 }
21949 return resultobj;
21950 fail:
21951 return NULL;
21952 }
21953
21954
21955 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj = 0;
21957 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21958 int arg2 ;
21959 int arg3 ;
21960 int arg4 ;
21961 int arg5 ;
21962 void *argp1 = 0 ;
21963 int res1 = 0 ;
21964 int val2 ;
21965 int ecode2 = 0 ;
21966 int val3 ;
21967 int ecode3 = 0 ;
21968 int val4 ;
21969 int ecode4 = 0 ;
21970 int val5 ;
21971 int ecode5 = 0 ;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 PyObject * obj2 = 0 ;
21975 PyObject * obj3 = 0 ;
21976 PyObject * obj4 = 0 ;
21977 char * kwnames[] = {
21978 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21979 };
21980
21981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21983 if (!SWIG_IsOK(res1)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21985 }
21986 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21987 ecode2 = SWIG_AsVal_int(obj1, &val2);
21988 if (!SWIG_IsOK(ecode2)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21990 }
21991 arg2 = static_cast< int >(val2);
21992 ecode3 = SWIG_AsVal_int(obj2, &val3);
21993 if (!SWIG_IsOK(ecode3)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21995 }
21996 arg3 = static_cast< int >(val3);
21997 ecode4 = SWIG_AsVal_int(obj3, &val4);
21998 if (!SWIG_IsOK(ecode4)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22000 }
22001 arg4 = static_cast< int >(val4);
22002 ecode5 = SWIG_AsVal_int(obj4, &val5);
22003 if (!SWIG_IsOK(ecode5)) {
22004 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22005 }
22006 arg5 = static_cast< int >(val5);
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 resultobj = SWIG_Py_Void();
22014 return resultobj;
22015 fail:
22016 return NULL;
22017 }
22018
22019
22020 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22021 PyObject *resultobj = 0;
22022 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22023 int arg2 ;
22024 int arg3 ;
22025 int arg4 ;
22026 int arg5 ;
22027 int arg6 = (int) wxSIZE_AUTO ;
22028 void *argp1 = 0 ;
22029 int res1 = 0 ;
22030 int val2 ;
22031 int ecode2 = 0 ;
22032 int val3 ;
22033 int ecode3 = 0 ;
22034 int val4 ;
22035 int ecode4 = 0 ;
22036 int val5 ;
22037 int ecode5 = 0 ;
22038 int val6 ;
22039 int ecode6 = 0 ;
22040 PyObject * obj0 = 0 ;
22041 PyObject * obj1 = 0 ;
22042 PyObject * obj2 = 0 ;
22043 PyObject * obj3 = 0 ;
22044 PyObject * obj4 = 0 ;
22045 PyObject * obj5 = 0 ;
22046 char * kwnames[] = {
22047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22048 };
22049
22050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22052 if (!SWIG_IsOK(res1)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22054 }
22055 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22056 ecode2 = SWIG_AsVal_int(obj1, &val2);
22057 if (!SWIG_IsOK(ecode2)) {
22058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22059 }
22060 arg2 = static_cast< int >(val2);
22061 ecode3 = SWIG_AsVal_int(obj2, &val3);
22062 if (!SWIG_IsOK(ecode3)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22064 }
22065 arg3 = static_cast< int >(val3);
22066 ecode4 = SWIG_AsVal_int(obj3, &val4);
22067 if (!SWIG_IsOK(ecode4)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22069 }
22070 arg4 = static_cast< int >(val4);
22071 ecode5 = SWIG_AsVal_int(obj4, &val5);
22072 if (!SWIG_IsOK(ecode5)) {
22073 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22074 }
22075 arg5 = static_cast< int >(val5);
22076 if (obj5) {
22077 ecode6 = SWIG_AsVal_int(obj5, &val6);
22078 if (!SWIG_IsOK(ecode6)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22080 }
22081 arg6 = static_cast< int >(val6);
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22086 wxPyEndAllowThreads(__tstate);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
22089 resultobj = SWIG_Py_Void();
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj = 0;
22098 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22099 int arg2 ;
22100 int arg3 ;
22101 void *argp1 = 0 ;
22102 int res1 = 0 ;
22103 int val2 ;
22104 int ecode2 = 0 ;
22105 int val3 ;
22106 int ecode3 = 0 ;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 PyObject * obj2 = 0 ;
22110 char * kwnames[] = {
22111 (char *) "self",(char *) "width",(char *) "height", NULL
22112 };
22113
22114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22116 if (!SWIG_IsOK(res1)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22118 }
22119 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22120 ecode2 = SWIG_AsVal_int(obj1, &val2);
22121 if (!SWIG_IsOK(ecode2)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22123 }
22124 arg2 = static_cast< int >(val2);
22125 ecode3 = SWIG_AsVal_int(obj2, &val3);
22126 if (!SWIG_IsOK(ecode3)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22128 }
22129 arg3 = static_cast< int >(val3);
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 (arg1)->DoSetClientSize(arg2,arg3);
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 resultobj = SWIG_Py_Void();
22137 return resultobj;
22138 fail:
22139 return NULL;
22140 }
22141
22142
22143 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj = 0;
22145 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22146 int arg2 ;
22147 int arg3 ;
22148 void *argp1 = 0 ;
22149 int res1 = 0 ;
22150 int val2 ;
22151 int ecode2 = 0 ;
22152 int val3 ;
22153 int ecode3 = 0 ;
22154 PyObject * obj0 = 0 ;
22155 PyObject * obj1 = 0 ;
22156 PyObject * obj2 = 0 ;
22157 char * kwnames[] = {
22158 (char *) "self",(char *) "x",(char *) "y", NULL
22159 };
22160
22161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22163 if (!SWIG_IsOK(res1)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22165 }
22166 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22167 ecode2 = SWIG_AsVal_int(obj1, &val2);
22168 if (!SWIG_IsOK(ecode2)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22170 }
22171 arg2 = static_cast< int >(val2);
22172 ecode3 = SWIG_AsVal_int(obj2, &val3);
22173 if (!SWIG_IsOK(ecode3)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22175 }
22176 arg3 = static_cast< int >(val3);
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->DoSetVirtualSize(arg2,arg3);
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 resultobj = SWIG_Py_Void();
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22191 PyObject *resultobj = 0;
22192 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22193 int *arg2 = (int *) 0 ;
22194 int *arg3 = (int *) 0 ;
22195 void *argp1 = 0 ;
22196 int res1 = 0 ;
22197 int temp2 ;
22198 int res2 = SWIG_TMPOBJ ;
22199 int temp3 ;
22200 int res3 = SWIG_TMPOBJ ;
22201 PyObject *swig_obj[1] ;
22202
22203 arg2 = &temp2;
22204 arg3 = &temp3;
22205 if (!args) SWIG_fail;
22206 swig_obj[0] = args;
22207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22208 if (!SWIG_IsOK(res1)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22210 }
22211 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 resultobj = SWIG_Py_Void();
22219 if (SWIG_IsTmpObj(res2)) {
22220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22221 } else {
22222 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22224 }
22225 if (SWIG_IsTmpObj(res3)) {
22226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22227 } else {
22228 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22230 }
22231 return resultobj;
22232 fail:
22233 return NULL;
22234 }
22235
22236
22237 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22238 PyObject *resultobj = 0;
22239 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22240 int *arg2 = (int *) 0 ;
22241 int *arg3 = (int *) 0 ;
22242 void *argp1 = 0 ;
22243 int res1 = 0 ;
22244 int temp2 ;
22245 int res2 = SWIG_TMPOBJ ;
22246 int temp3 ;
22247 int res3 = SWIG_TMPOBJ ;
22248 PyObject *swig_obj[1] ;
22249
22250 arg2 = &temp2;
22251 arg3 = &temp3;
22252 if (!args) SWIG_fail;
22253 swig_obj[0] = args;
22254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22255 if (!SWIG_IsOK(res1)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22257 }
22258 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 resultobj = SWIG_Py_Void();
22266 if (SWIG_IsTmpObj(res2)) {
22267 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22268 } else {
22269 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22270 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22271 }
22272 if (SWIG_IsTmpObj(res3)) {
22273 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22274 } else {
22275 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22277 }
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22285 PyObject *resultobj = 0;
22286 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22287 int *arg2 = (int *) 0 ;
22288 int *arg3 = (int *) 0 ;
22289 void *argp1 = 0 ;
22290 int res1 = 0 ;
22291 int temp2 ;
22292 int res2 = SWIG_TMPOBJ ;
22293 int temp3 ;
22294 int res3 = SWIG_TMPOBJ ;
22295 PyObject *swig_obj[1] ;
22296
22297 arg2 = &temp2;
22298 arg3 = &temp3;
22299 if (!args) SWIG_fail;
22300 swig_obj[0] = args;
22301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22302 if (!SWIG_IsOK(res1)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22304 }
22305 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 resultobj = SWIG_Py_Void();
22313 if (SWIG_IsTmpObj(res2)) {
22314 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22315 } else {
22316 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22317 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22318 }
22319 if (SWIG_IsTmpObj(res3)) {
22320 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22321 } else {
22322 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22323 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22324 }
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22332 PyObject *resultobj = 0;
22333 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22334 wxSize result;
22335 void *argp1 = 0 ;
22336 int res1 = 0 ;
22337 PyObject *swig_obj[1] ;
22338
22339 if (!args) SWIG_fail;
22340 swig_obj[0] = args;
22341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22342 if (!SWIG_IsOK(res1)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22344 }
22345 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22360 PyObject *resultobj = 0;
22361 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22362 wxSize result;
22363 void *argp1 = 0 ;
22364 int res1 = 0 ;
22365 PyObject *swig_obj[1] ;
22366
22367 if (!args) SWIG_fail;
22368 swig_obj[0] = args;
22369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22370 if (!SWIG_IsOK(res1)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22372 }
22373 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22388 PyObject *resultobj = 0;
22389 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22390 SwigValueWrapper<wxVisualAttributes > result;
22391 void *argp1 = 0 ;
22392 int res1 = 0 ;
22393 PyObject *swig_obj[1] ;
22394
22395 if (!args) SWIG_fail;
22396 swig_obj[0] = args;
22397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22398 if (!SWIG_IsOK(res1)) {
22399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22400 }
22401 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22402 {
22403 PyThreadState* __tstate = wxPyBeginAllowThreads();
22404 result = (arg1)->GetDefaultAttributes();
22405 wxPyEndAllowThreads(__tstate);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 }
22408 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22409 return resultobj;
22410 fail:
22411 return NULL;
22412 }
22413
22414
22415 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22416 PyObject *resultobj = 0;
22417 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22418 void *argp1 = 0 ;
22419 int res1 = 0 ;
22420 PyObject *swig_obj[1] ;
22421
22422 if (!args) SWIG_fail;
22423 swig_obj[0] = args;
22424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22425 if (!SWIG_IsOK(res1)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22427 }
22428 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 (arg1)->OnInternalIdle();
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 resultobj = SWIG_Py_Void();
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22443 PyObject *obj;
22444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22446 return SWIG_Py_Void();
22447 }
22448
22449 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22450 return SWIG_Python_InitShadowInstance(args);
22451 }
22452
22453 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22454 PyObject *resultobj = 0;
22455 wxWindow *arg1 = (wxWindow *) 0 ;
22456 int arg2 = (int) (int)-1 ;
22457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22459 wxSize const &arg4_defvalue = wxDefaultSize ;
22460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22461 long arg5 = (long) 0 ;
22462 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22463 wxString *arg6 = (wxString *) &arg6_defvalue ;
22464 wxPyScrolledWindow *result = 0 ;
22465 void *argp1 = 0 ;
22466 int res1 = 0 ;
22467 int val2 ;
22468 int ecode2 = 0 ;
22469 wxPoint temp3 ;
22470 wxSize temp4 ;
22471 long val5 ;
22472 int ecode5 = 0 ;
22473 bool temp6 = false ;
22474 PyObject * obj0 = 0 ;
22475 PyObject * obj1 = 0 ;
22476 PyObject * obj2 = 0 ;
22477 PyObject * obj3 = 0 ;
22478 PyObject * obj4 = 0 ;
22479 PyObject * obj5 = 0 ;
22480 char * kwnames[] = {
22481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22482 };
22483
22484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22486 if (!SWIG_IsOK(res1)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22488 }
22489 arg1 = reinterpret_cast< wxWindow * >(argp1);
22490 if (obj1) {
22491 ecode2 = SWIG_AsVal_int(obj1, &val2);
22492 if (!SWIG_IsOK(ecode2)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22494 }
22495 arg2 = static_cast< int >(val2);
22496 }
22497 if (obj2) {
22498 {
22499 arg3 = &temp3;
22500 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22501 }
22502 }
22503 if (obj3) {
22504 {
22505 arg4 = &temp4;
22506 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22507 }
22508 }
22509 if (obj4) {
22510 ecode5 = SWIG_AsVal_long(obj4, &val5);
22511 if (!SWIG_IsOK(ecode5)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22513 }
22514 arg5 = static_cast< long >(val5);
22515 }
22516 if (obj5) {
22517 {
22518 arg6 = wxString_in_helper(obj5);
22519 if (arg6 == NULL) SWIG_fail;
22520 temp6 = true;
22521 }
22522 }
22523 {
22524 if (!wxPyCheckForApp()) SWIG_fail;
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22531 {
22532 if (temp6)
22533 delete arg6;
22534 }
22535 return resultobj;
22536 fail:
22537 {
22538 if (temp6)
22539 delete arg6;
22540 }
22541 return NULL;
22542 }
22543
22544
22545 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22546 PyObject *resultobj = 0;
22547 wxPyScrolledWindow *result = 0 ;
22548
22549 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22550 {
22551 if (!wxPyCheckForApp()) SWIG_fail;
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22558 return resultobj;
22559 fail:
22560 return NULL;
22561 }
22562
22563
22564 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj = 0;
22566 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22567 PyObject *arg2 = (PyObject *) 0 ;
22568 PyObject *arg3 = (PyObject *) 0 ;
22569 void *argp1 = 0 ;
22570 int res1 = 0 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 PyObject * obj2 = 0 ;
22574 char * kwnames[] = {
22575 (char *) "self",(char *) "self",(char *) "_class", NULL
22576 };
22577
22578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22580 if (!SWIG_IsOK(res1)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22582 }
22583 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22584 arg2 = obj1;
22585 arg3 = obj2;
22586 {
22587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22588 (arg1)->_setCallbackInfo(arg2,arg3);
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 resultobj = SWIG_Py_Void();
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj = 0;
22601 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22602 wxSize *arg2 = 0 ;
22603 void *argp1 = 0 ;
22604 int res1 = 0 ;
22605 wxSize temp2 ;
22606 PyObject * obj0 = 0 ;
22607 PyObject * obj1 = 0 ;
22608 char * kwnames[] = {
22609 (char *) "self",(char *) "size", NULL
22610 };
22611
22612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22614 if (!SWIG_IsOK(res1)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22616 }
22617 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22618 {
22619 arg2 = &temp2;
22620 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22621 }
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 (arg1)->SetBestSize((wxSize const &)*arg2);
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 resultobj = SWIG_Py_Void();
22629 return resultobj;
22630 fail:
22631 return NULL;
22632 }
22633
22634
22635 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj = 0;
22637 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22638 wxDC *arg2 = (wxDC *) 0 ;
22639 bool result;
22640 void *argp1 = 0 ;
22641 int res1 = 0 ;
22642 void *argp2 = 0 ;
22643 int res2 = 0 ;
22644 PyObject * obj0 = 0 ;
22645 PyObject * obj1 = 0 ;
22646 char * kwnames[] = {
22647 (char *) "self",(char *) "dc", NULL
22648 };
22649
22650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22652 if (!SWIG_IsOK(res1)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22654 }
22655 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22656 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22657 if (!SWIG_IsOK(res2)) {
22658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22659 }
22660 arg2 = reinterpret_cast< wxDC * >(argp2);
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 result = (bool)(arg1)->DoEraseBackground(arg2);
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 {
22668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22669 }
22670 return resultobj;
22671 fail:
22672 return NULL;
22673 }
22674
22675
22676 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22677 PyObject *resultobj = 0;
22678 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22679 int arg2 ;
22680 int arg3 ;
22681 int arg4 ;
22682 int arg5 ;
22683 void *argp1 = 0 ;
22684 int res1 = 0 ;
22685 int val2 ;
22686 int ecode2 = 0 ;
22687 int val3 ;
22688 int ecode3 = 0 ;
22689 int val4 ;
22690 int ecode4 = 0 ;
22691 int val5 ;
22692 int ecode5 = 0 ;
22693 PyObject * obj0 = 0 ;
22694 PyObject * obj1 = 0 ;
22695 PyObject * obj2 = 0 ;
22696 PyObject * obj3 = 0 ;
22697 PyObject * obj4 = 0 ;
22698 char * kwnames[] = {
22699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22700 };
22701
22702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22704 if (!SWIG_IsOK(res1)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22706 }
22707 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22708 ecode2 = SWIG_AsVal_int(obj1, &val2);
22709 if (!SWIG_IsOK(ecode2)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22711 }
22712 arg2 = static_cast< int >(val2);
22713 ecode3 = SWIG_AsVal_int(obj2, &val3);
22714 if (!SWIG_IsOK(ecode3)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22716 }
22717 arg3 = static_cast< int >(val3);
22718 ecode4 = SWIG_AsVal_int(obj3, &val4);
22719 if (!SWIG_IsOK(ecode4)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22721 }
22722 arg4 = static_cast< int >(val4);
22723 ecode5 = SWIG_AsVal_int(obj4, &val5);
22724 if (!SWIG_IsOK(ecode5)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22726 }
22727 arg5 = static_cast< int >(val5);
22728 {
22729 PyThreadState* __tstate = wxPyBeginAllowThreads();
22730 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22731 wxPyEndAllowThreads(__tstate);
22732 if (PyErr_Occurred()) SWIG_fail;
22733 }
22734 resultobj = SWIG_Py_Void();
22735 return resultobj;
22736 fail:
22737 return NULL;
22738 }
22739
22740
22741 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22742 PyObject *resultobj = 0;
22743 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22744 int arg2 ;
22745 int arg3 ;
22746 int arg4 ;
22747 int arg5 ;
22748 int arg6 = (int) wxSIZE_AUTO ;
22749 void *argp1 = 0 ;
22750 int res1 = 0 ;
22751 int val2 ;
22752 int ecode2 = 0 ;
22753 int val3 ;
22754 int ecode3 = 0 ;
22755 int val4 ;
22756 int ecode4 = 0 ;
22757 int val5 ;
22758 int ecode5 = 0 ;
22759 int val6 ;
22760 int ecode6 = 0 ;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 PyObject * obj2 = 0 ;
22764 PyObject * obj3 = 0 ;
22765 PyObject * obj4 = 0 ;
22766 PyObject * obj5 = 0 ;
22767 char * kwnames[] = {
22768 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22769 };
22770
22771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22773 if (!SWIG_IsOK(res1)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22775 }
22776 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22777 ecode2 = SWIG_AsVal_int(obj1, &val2);
22778 if (!SWIG_IsOK(ecode2)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22780 }
22781 arg2 = static_cast< int >(val2);
22782 ecode3 = SWIG_AsVal_int(obj2, &val3);
22783 if (!SWIG_IsOK(ecode3)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22785 }
22786 arg3 = static_cast< int >(val3);
22787 ecode4 = SWIG_AsVal_int(obj3, &val4);
22788 if (!SWIG_IsOK(ecode4)) {
22789 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22790 }
22791 arg4 = static_cast< int >(val4);
22792 ecode5 = SWIG_AsVal_int(obj4, &val5);
22793 if (!SWIG_IsOK(ecode5)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22795 }
22796 arg5 = static_cast< int >(val5);
22797 if (obj5) {
22798 ecode6 = SWIG_AsVal_int(obj5, &val6);
22799 if (!SWIG_IsOK(ecode6)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22801 }
22802 arg6 = static_cast< int >(val6);
22803 }
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 resultobj = SWIG_Py_Void();
22811 return resultobj;
22812 fail:
22813 return NULL;
22814 }
22815
22816
22817 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj = 0;
22819 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22820 int arg2 ;
22821 int arg3 ;
22822 void *argp1 = 0 ;
22823 int res1 = 0 ;
22824 int val2 ;
22825 int ecode2 = 0 ;
22826 int val3 ;
22827 int ecode3 = 0 ;
22828 PyObject * obj0 = 0 ;
22829 PyObject * obj1 = 0 ;
22830 PyObject * obj2 = 0 ;
22831 char * kwnames[] = {
22832 (char *) "self",(char *) "width",(char *) "height", NULL
22833 };
22834
22835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22837 if (!SWIG_IsOK(res1)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22839 }
22840 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22841 ecode2 = SWIG_AsVal_int(obj1, &val2);
22842 if (!SWIG_IsOK(ecode2)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22844 }
22845 arg2 = static_cast< int >(val2);
22846 ecode3 = SWIG_AsVal_int(obj2, &val3);
22847 if (!SWIG_IsOK(ecode3)) {
22848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22849 }
22850 arg3 = static_cast< int >(val3);
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->DoSetClientSize(arg2,arg3);
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 resultobj = SWIG_Py_Void();
22858 return resultobj;
22859 fail:
22860 return NULL;
22861 }
22862
22863
22864 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22865 PyObject *resultobj = 0;
22866 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22867 int arg2 ;
22868 int arg3 ;
22869 void *argp1 = 0 ;
22870 int res1 = 0 ;
22871 int val2 ;
22872 int ecode2 = 0 ;
22873 int val3 ;
22874 int ecode3 = 0 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 PyObject * obj2 = 0 ;
22878 char * kwnames[] = {
22879 (char *) "self",(char *) "x",(char *) "y", NULL
22880 };
22881
22882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22884 if (!SWIG_IsOK(res1)) {
22885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22886 }
22887 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22888 ecode2 = SWIG_AsVal_int(obj1, &val2);
22889 if (!SWIG_IsOK(ecode2)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22891 }
22892 arg2 = static_cast< int >(val2);
22893 ecode3 = SWIG_AsVal_int(obj2, &val3);
22894 if (!SWIG_IsOK(ecode3)) {
22895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22896 }
22897 arg3 = static_cast< int >(val3);
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 (arg1)->DoSetVirtualSize(arg2,arg3);
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = SWIG_Py_Void();
22905 return resultobj;
22906 fail:
22907 return NULL;
22908 }
22909
22910
22911 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22912 PyObject *resultobj = 0;
22913 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22914 int *arg2 = (int *) 0 ;
22915 int *arg3 = (int *) 0 ;
22916 void *argp1 = 0 ;
22917 int res1 = 0 ;
22918 int temp2 ;
22919 int res2 = SWIG_TMPOBJ ;
22920 int temp3 ;
22921 int res3 = SWIG_TMPOBJ ;
22922 PyObject *swig_obj[1] ;
22923
22924 arg2 = &temp2;
22925 arg3 = &temp3;
22926 if (!args) SWIG_fail;
22927 swig_obj[0] = args;
22928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22929 if (!SWIG_IsOK(res1)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22931 }
22932 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 resultobj = SWIG_Py_Void();
22940 if (SWIG_IsTmpObj(res2)) {
22941 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22942 } else {
22943 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22944 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22945 }
22946 if (SWIG_IsTmpObj(res3)) {
22947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22948 } else {
22949 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22951 }
22952 return resultobj;
22953 fail:
22954 return NULL;
22955 }
22956
22957
22958 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22959 PyObject *resultobj = 0;
22960 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22961 int *arg2 = (int *) 0 ;
22962 int *arg3 = (int *) 0 ;
22963 void *argp1 = 0 ;
22964 int res1 = 0 ;
22965 int temp2 ;
22966 int res2 = SWIG_TMPOBJ ;
22967 int temp3 ;
22968 int res3 = SWIG_TMPOBJ ;
22969 PyObject *swig_obj[1] ;
22970
22971 arg2 = &temp2;
22972 arg3 = &temp3;
22973 if (!args) SWIG_fail;
22974 swig_obj[0] = args;
22975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22976 if (!SWIG_IsOK(res1)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22978 }
22979 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 resultobj = SWIG_Py_Void();
22987 if (SWIG_IsTmpObj(res2)) {
22988 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22989 } else {
22990 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22991 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22992 }
22993 if (SWIG_IsTmpObj(res3)) {
22994 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22995 } else {
22996 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22997 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22998 }
22999 return resultobj;
23000 fail:
23001 return NULL;
23002 }
23003
23004
23005 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23006 PyObject *resultobj = 0;
23007 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23008 int *arg2 = (int *) 0 ;
23009 int *arg3 = (int *) 0 ;
23010 void *argp1 = 0 ;
23011 int res1 = 0 ;
23012 int temp2 ;
23013 int res2 = SWIG_TMPOBJ ;
23014 int temp3 ;
23015 int res3 = SWIG_TMPOBJ ;
23016 PyObject *swig_obj[1] ;
23017
23018 arg2 = &temp2;
23019 arg3 = &temp3;
23020 if (!args) SWIG_fail;
23021 swig_obj[0] = args;
23022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23023 if (!SWIG_IsOK(res1)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23025 }
23026 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 resultobj = SWIG_Py_Void();
23034 if (SWIG_IsTmpObj(res2)) {
23035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23036 } else {
23037 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23038 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23039 }
23040 if (SWIG_IsTmpObj(res3)) {
23041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23042 } else {
23043 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23045 }
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23053 PyObject *resultobj = 0;
23054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23055 wxSize result;
23056 void *argp1 = 0 ;
23057 int res1 = 0 ;
23058 PyObject *swig_obj[1] ;
23059
23060 if (!args) SWIG_fail;
23061 swig_obj[0] = args;
23062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23063 if (!SWIG_IsOK(res1)) {
23064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23065 }
23066 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23081 PyObject *resultobj = 0;
23082 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23083 wxSize result;
23084 void *argp1 = 0 ;
23085 int res1 = 0 ;
23086 PyObject *swig_obj[1] ;
23087
23088 if (!args) SWIG_fail;
23089 swig_obj[0] = args;
23090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23091 if (!SWIG_IsOK(res1)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23093 }
23094 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23109 PyObject *resultobj = 0;
23110 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23111 SwigValueWrapper<wxVisualAttributes > result;
23112 void *argp1 = 0 ;
23113 int res1 = 0 ;
23114 PyObject *swig_obj[1] ;
23115
23116 if (!args) SWIG_fail;
23117 swig_obj[0] = args;
23118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23119 if (!SWIG_IsOK(res1)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23121 }
23122 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (arg1)->GetDefaultAttributes();
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23137 PyObject *resultobj = 0;
23138 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23139 void *argp1 = 0 ;
23140 int res1 = 0 ;
23141 PyObject *swig_obj[1] ;
23142
23143 if (!args) SWIG_fail;
23144 swig_obj[0] = args;
23145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23146 if (!SWIG_IsOK(res1)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23148 }
23149 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->OnInternalIdle();
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 resultobj = SWIG_Py_Void();
23157 return resultobj;
23158 fail:
23159 return NULL;
23160 }
23161
23162
23163 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23164 PyObject *obj;
23165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23167 return SWIG_Py_Void();
23168 }
23169
23170 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23171 return SWIG_Python_InitShadowInstance(args);
23172 }
23173
23174 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23175 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23176 return 1;
23177 }
23178
23179
23180 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23181 PyObject *pyobj = 0;
23182
23183 {
23184 #if wxUSE_UNICODE
23185 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23186 #else
23187 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23188 #endif
23189 }
23190 return pyobj;
23191 }
23192
23193
23194 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23195 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23196 return 1;
23197 }
23198
23199
23200 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23201 PyObject *pyobj = 0;
23202
23203 {
23204 #if wxUSE_UNICODE
23205 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23206 #else
23207 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23208 #endif
23209 }
23210 return pyobj;
23211 }
23212
23213
23214 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23215 PyObject *resultobj = 0;
23216 wxPrintData *result = 0 ;
23217
23218 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23219 {
23220 PyThreadState* __tstate = wxPyBeginAllowThreads();
23221 result = (wxPrintData *)new wxPrintData();
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23226 return resultobj;
23227 fail:
23228 return NULL;
23229 }
23230
23231
23232 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23233 PyObject *resultobj = 0;
23234 wxPrintData *arg1 = 0 ;
23235 wxPrintData *result = 0 ;
23236 void *argp1 = 0 ;
23237 int res1 = 0 ;
23238
23239 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23241 if (!SWIG_IsOK(res1)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23243 }
23244 if (!argp1) {
23245 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23246 }
23247 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23262 int argc;
23263 PyObject *argv[2];
23264
23265 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23266 --argc;
23267 if (argc == 0) {
23268 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23269 }
23270 if (argc == 1) {
23271 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23272 }
23273
23274 fail:
23275 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23276 return NULL;
23277 }
23278
23279
23280 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23281 PyObject *resultobj = 0;
23282 wxPrintData *arg1 = (wxPrintData *) 0 ;
23283 void *argp1 = 0 ;
23284 int res1 = 0 ;
23285 PyObject *swig_obj[1] ;
23286
23287 if (!args) SWIG_fail;
23288 swig_obj[0] = args;
23289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23290 if (!SWIG_IsOK(res1)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23292 }
23293 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 delete arg1;
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 resultobj = SWIG_Py_Void();
23302 return resultobj;
23303 fail:
23304 return NULL;
23305 }
23306
23307
23308 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23309 PyObject *resultobj = 0;
23310 wxPrintData *arg1 = (wxPrintData *) 0 ;
23311 int result;
23312 void *argp1 = 0 ;
23313 int res1 = 0 ;
23314 PyObject *swig_obj[1] ;
23315
23316 if (!args) SWIG_fail;
23317 swig_obj[0] = args;
23318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23319 if (!SWIG_IsOK(res1)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23321 }
23322 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (int)(arg1)->GetNoCopies();
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
23329 resultobj = SWIG_From_int(static_cast< int >(result));
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23337 PyObject *resultobj = 0;
23338 wxPrintData *arg1 = (wxPrintData *) 0 ;
23339 bool result;
23340 void *argp1 = 0 ;
23341 int res1 = 0 ;
23342 PyObject *swig_obj[1] ;
23343
23344 if (!args) SWIG_fail;
23345 swig_obj[0] = args;
23346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23347 if (!SWIG_IsOK(res1)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23349 }
23350 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 result = (bool)(arg1)->GetCollate();
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 {
23358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23359 }
23360 return resultobj;
23361 fail:
23362 return NULL;
23363 }
23364
23365
23366 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23367 PyObject *resultobj = 0;
23368 wxPrintData *arg1 = (wxPrintData *) 0 ;
23369 int result;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 PyObject *swig_obj[1] ;
23373
23374 if (!args) SWIG_fail;
23375 swig_obj[0] = args;
23376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23377 if (!SWIG_IsOK(res1)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23379 }
23380 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (int)(arg1)->GetOrientation();
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 resultobj = SWIG_From_int(static_cast< int >(result));
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23395 PyObject *resultobj = 0;
23396 wxPrintData *arg1 = (wxPrintData *) 0 ;
23397 bool result;
23398 void *argp1 = 0 ;
23399 int res1 = 0 ;
23400 PyObject *swig_obj[1] ;
23401
23402 if (!args) SWIG_fail;
23403 swig_obj[0] = args;
23404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23405 if (!SWIG_IsOK(res1)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23407 }
23408 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (bool)(arg1)->Ok();
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 {
23416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23417 }
23418 return resultobj;
23419 fail:
23420 return NULL;
23421 }
23422
23423
23424 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23425 PyObject *resultobj = 0;
23426 wxPrintData *arg1 = (wxPrintData *) 0 ;
23427 wxString *result = 0 ;
23428 void *argp1 = 0 ;
23429 int res1 = 0 ;
23430 PyObject *swig_obj[1] ;
23431
23432 if (!args) SWIG_fail;
23433 swig_obj[0] = args;
23434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23435 if (!SWIG_IsOK(res1)) {
23436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23437 }
23438 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 {
23442 wxString const &_result_ref = (arg1)->GetPrinterName();
23443 result = (wxString *) &_result_ref;
23444 }
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 {
23449 #if wxUSE_UNICODE
23450 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23451 #else
23452 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23453 #endif
23454 }
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23462 PyObject *resultobj = 0;
23463 wxPrintData *arg1 = (wxPrintData *) 0 ;
23464 bool result;
23465 void *argp1 = 0 ;
23466 int res1 = 0 ;
23467 PyObject *swig_obj[1] ;
23468
23469 if (!args) SWIG_fail;
23470 swig_obj[0] = args;
23471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23472 if (!SWIG_IsOK(res1)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23474 }
23475 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 result = (bool)(arg1)->GetColour();
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 {
23483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23484 }
23485 return resultobj;
23486 fail:
23487 return NULL;
23488 }
23489
23490
23491 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23492 PyObject *resultobj = 0;
23493 wxPrintData *arg1 = (wxPrintData *) 0 ;
23494 wxDuplexMode result;
23495 void *argp1 = 0 ;
23496 int res1 = 0 ;
23497 PyObject *swig_obj[1] ;
23498
23499 if (!args) SWIG_fail;
23500 swig_obj[0] = args;
23501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23502 if (!SWIG_IsOK(res1)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23504 }
23505 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = (wxDuplexMode)(arg1)->GetDuplex();
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = SWIG_From_int(static_cast< int >(result));
23513 return resultobj;
23514 fail:
23515 return NULL;
23516 }
23517
23518
23519 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23520 PyObject *resultobj = 0;
23521 wxPrintData *arg1 = (wxPrintData *) 0 ;
23522 wxPaperSize result;
23523 void *argp1 = 0 ;
23524 int res1 = 0 ;
23525 PyObject *swig_obj[1] ;
23526
23527 if (!args) SWIG_fail;
23528 swig_obj[0] = args;
23529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23530 if (!SWIG_IsOK(res1)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23532 }
23533 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = (wxPaperSize)(arg1)->GetPaperId();
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 resultobj = SWIG_From_int(static_cast< int >(result));
23541 return resultobj;
23542 fail:
23543 return NULL;
23544 }
23545
23546
23547 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23548 PyObject *resultobj = 0;
23549 wxPrintData *arg1 = (wxPrintData *) 0 ;
23550 wxSize *result = 0 ;
23551 void *argp1 = 0 ;
23552 int res1 = 0 ;
23553 PyObject *swig_obj[1] ;
23554
23555 if (!args) SWIG_fail;
23556 swig_obj[0] = args;
23557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23558 if (!SWIG_IsOK(res1)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23560 }
23561 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 {
23565 wxSize const &_result_ref = (arg1)->GetPaperSize();
23566 result = (wxSize *) &_result_ref;
23567 }
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23579 PyObject *resultobj = 0;
23580 wxPrintData *arg1 = (wxPrintData *) 0 ;
23581 int result;
23582 void *argp1 = 0 ;
23583 int res1 = 0 ;
23584 PyObject *swig_obj[1] ;
23585
23586 if (!args) SWIG_fail;
23587 swig_obj[0] = args;
23588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23589 if (!SWIG_IsOK(res1)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23591 }
23592 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = (int)(arg1)->GetQuality();
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 resultobj = SWIG_From_int(static_cast< int >(result));
23600 return resultobj;
23601 fail:
23602 return NULL;
23603 }
23604
23605
23606 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23607 PyObject *resultobj = 0;
23608 wxPrintData *arg1 = (wxPrintData *) 0 ;
23609 wxPrintBin result;
23610 void *argp1 = 0 ;
23611 int res1 = 0 ;
23612 PyObject *swig_obj[1] ;
23613
23614 if (!args) SWIG_fail;
23615 swig_obj[0] = args;
23616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23617 if (!SWIG_IsOK(res1)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23619 }
23620 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
23623 result = (wxPrintBin)(arg1)->GetBin();
23624 wxPyEndAllowThreads(__tstate);
23625 if (PyErr_Occurred()) SWIG_fail;
23626 }
23627 resultobj = SWIG_From_int(static_cast< int >(result));
23628 return resultobj;
23629 fail:
23630 return NULL;
23631 }
23632
23633
23634 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23635 PyObject *resultobj = 0;
23636 wxPrintData *arg1 = (wxPrintData *) 0 ;
23637 wxPrintMode result;
23638 void *argp1 = 0 ;
23639 int res1 = 0 ;
23640 PyObject *swig_obj[1] ;
23641
23642 if (!args) SWIG_fail;
23643 swig_obj[0] = args;
23644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23645 if (!SWIG_IsOK(res1)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23647 }
23648 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 resultobj = SWIG_From_int(static_cast< int >(result));
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj = 0;
23664 wxPrintData *arg1 = (wxPrintData *) 0 ;
23665 int arg2 ;
23666 void *argp1 = 0 ;
23667 int res1 = 0 ;
23668 int val2 ;
23669 int ecode2 = 0 ;
23670 PyObject * obj0 = 0 ;
23671 PyObject * obj1 = 0 ;
23672 char * kwnames[] = {
23673 (char *) "self",(char *) "v", NULL
23674 };
23675
23676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23678 if (!SWIG_IsOK(res1)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23680 }
23681 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23682 ecode2 = SWIG_AsVal_int(obj1, &val2);
23683 if (!SWIG_IsOK(ecode2)) {
23684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23685 }
23686 arg2 = static_cast< int >(val2);
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 (arg1)->SetNoCopies(arg2);
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 resultobj = SWIG_Py_Void();
23694 return resultobj;
23695 fail:
23696 return NULL;
23697 }
23698
23699
23700 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23701 PyObject *resultobj = 0;
23702 wxPrintData *arg1 = (wxPrintData *) 0 ;
23703 bool arg2 ;
23704 void *argp1 = 0 ;
23705 int res1 = 0 ;
23706 bool val2 ;
23707 int ecode2 = 0 ;
23708 PyObject * obj0 = 0 ;
23709 PyObject * obj1 = 0 ;
23710 char * kwnames[] = {
23711 (char *) "self",(char *) "flag", NULL
23712 };
23713
23714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23716 if (!SWIG_IsOK(res1)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23718 }
23719 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23720 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23721 if (!SWIG_IsOK(ecode2)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23723 }
23724 arg2 = static_cast< bool >(val2);
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 (arg1)->SetCollate(arg2);
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 resultobj = SWIG_Py_Void();
23732 return resultobj;
23733 fail:
23734 return NULL;
23735 }
23736
23737
23738 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23739 PyObject *resultobj = 0;
23740 wxPrintData *arg1 = (wxPrintData *) 0 ;
23741 int arg2 ;
23742 void *argp1 = 0 ;
23743 int res1 = 0 ;
23744 int val2 ;
23745 int ecode2 = 0 ;
23746 PyObject * obj0 = 0 ;
23747 PyObject * obj1 = 0 ;
23748 char * kwnames[] = {
23749 (char *) "self",(char *) "orient", NULL
23750 };
23751
23752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23754 if (!SWIG_IsOK(res1)) {
23755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23756 }
23757 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23758 ecode2 = SWIG_AsVal_int(obj1, &val2);
23759 if (!SWIG_IsOK(ecode2)) {
23760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23761 }
23762 arg2 = static_cast< int >(val2);
23763 {
23764 PyThreadState* __tstate = wxPyBeginAllowThreads();
23765 (arg1)->SetOrientation(arg2);
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 resultobj = SWIG_Py_Void();
23770 return resultobj;
23771 fail:
23772 return NULL;
23773 }
23774
23775
23776 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23777 PyObject *resultobj = 0;
23778 wxPrintData *arg1 = (wxPrintData *) 0 ;
23779 wxString *arg2 = 0 ;
23780 void *argp1 = 0 ;
23781 int res1 = 0 ;
23782 bool temp2 = false ;
23783 PyObject * obj0 = 0 ;
23784 PyObject * obj1 = 0 ;
23785 char * kwnames[] = {
23786 (char *) "self",(char *) "name", NULL
23787 };
23788
23789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23791 if (!SWIG_IsOK(res1)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23793 }
23794 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23795 {
23796 arg2 = wxString_in_helper(obj1);
23797 if (arg2 == NULL) SWIG_fail;
23798 temp2 = true;
23799 }
23800 {
23801 PyThreadState* __tstate = wxPyBeginAllowThreads();
23802 (arg1)->SetPrinterName((wxString const &)*arg2);
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 resultobj = SWIG_Py_Void();
23807 {
23808 if (temp2)
23809 delete arg2;
23810 }
23811 return resultobj;
23812 fail:
23813 {
23814 if (temp2)
23815 delete arg2;
23816 }
23817 return NULL;
23818 }
23819
23820
23821 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj = 0;
23823 wxPrintData *arg1 = (wxPrintData *) 0 ;
23824 bool arg2 ;
23825 void *argp1 = 0 ;
23826 int res1 = 0 ;
23827 bool val2 ;
23828 int ecode2 = 0 ;
23829 PyObject * obj0 = 0 ;
23830 PyObject * obj1 = 0 ;
23831 char * kwnames[] = {
23832 (char *) "self",(char *) "colour", NULL
23833 };
23834
23835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23837 if (!SWIG_IsOK(res1)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 }
23840 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23841 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23842 if (!SWIG_IsOK(ecode2)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23844 }
23845 arg2 = static_cast< bool >(val2);
23846 {
23847 PyThreadState* __tstate = wxPyBeginAllowThreads();
23848 (arg1)->SetColour(arg2);
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 resultobj = SWIG_Py_Void();
23853 return resultobj;
23854 fail:
23855 return NULL;
23856 }
23857
23858
23859 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23860 PyObject *resultobj = 0;
23861 wxPrintData *arg1 = (wxPrintData *) 0 ;
23862 wxDuplexMode arg2 ;
23863 void *argp1 = 0 ;
23864 int res1 = 0 ;
23865 int val2 ;
23866 int ecode2 = 0 ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 char * kwnames[] = {
23870 (char *) "self",(char *) "duplex", NULL
23871 };
23872
23873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23875 if (!SWIG_IsOK(res1)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 }
23878 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23879 ecode2 = SWIG_AsVal_int(obj1, &val2);
23880 if (!SWIG_IsOK(ecode2)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23882 }
23883 arg2 = static_cast< wxDuplexMode >(val2);
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 (arg1)->SetDuplex(arg2);
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 resultobj = SWIG_Py_Void();
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj = 0;
23899 wxPrintData *arg1 = (wxPrintData *) 0 ;
23900 wxPaperSize arg2 ;
23901 void *argp1 = 0 ;
23902 int res1 = 0 ;
23903 int val2 ;
23904 int ecode2 = 0 ;
23905 PyObject * obj0 = 0 ;
23906 PyObject * obj1 = 0 ;
23907 char * kwnames[] = {
23908 (char *) "self",(char *) "sizeId", NULL
23909 };
23910
23911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23913 if (!SWIG_IsOK(res1)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23915 }
23916 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23917 ecode2 = SWIG_AsVal_int(obj1, &val2);
23918 if (!SWIG_IsOK(ecode2)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23920 }
23921 arg2 = static_cast< wxPaperSize >(val2);
23922 {
23923 PyThreadState* __tstate = wxPyBeginAllowThreads();
23924 (arg1)->SetPaperId(arg2);
23925 wxPyEndAllowThreads(__tstate);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 }
23928 resultobj = SWIG_Py_Void();
23929 return resultobj;
23930 fail:
23931 return NULL;
23932 }
23933
23934
23935 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj = 0;
23937 wxPrintData *arg1 = (wxPrintData *) 0 ;
23938 wxSize *arg2 = 0 ;
23939 void *argp1 = 0 ;
23940 int res1 = 0 ;
23941 wxSize temp2 ;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char * kwnames[] = {
23945 (char *) "self",(char *) "sz", NULL
23946 };
23947
23948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23950 if (!SWIG_IsOK(res1)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23952 }
23953 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23954 {
23955 arg2 = &temp2;
23956 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23957 }
23958 {
23959 PyThreadState* __tstate = wxPyBeginAllowThreads();
23960 (arg1)->SetPaperSize((wxSize const &)*arg2);
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 resultobj = SWIG_Py_Void();
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj = 0;
23973 wxPrintData *arg1 = (wxPrintData *) 0 ;
23974 int arg2 ;
23975 void *argp1 = 0 ;
23976 int res1 = 0 ;
23977 int val2 ;
23978 int ecode2 = 0 ;
23979 PyObject * obj0 = 0 ;
23980 PyObject * obj1 = 0 ;
23981 char * kwnames[] = {
23982 (char *) "self",(char *) "quality", NULL
23983 };
23984
23985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23987 if (!SWIG_IsOK(res1)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23989 }
23990 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23991 ecode2 = SWIG_AsVal_int(obj1, &val2);
23992 if (!SWIG_IsOK(ecode2)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23994 }
23995 arg2 = static_cast< int >(val2);
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->SetQuality(arg2);
23999 wxPyEndAllowThreads(__tstate);
24000 if (PyErr_Occurred()) SWIG_fail;
24001 }
24002 resultobj = SWIG_Py_Void();
24003 return resultobj;
24004 fail:
24005 return NULL;
24006 }
24007
24008
24009 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj = 0;
24011 wxPrintData *arg1 = (wxPrintData *) 0 ;
24012 wxPrintBin arg2 ;
24013 void *argp1 = 0 ;
24014 int res1 = 0 ;
24015 int val2 ;
24016 int ecode2 = 0 ;
24017 PyObject * obj0 = 0 ;
24018 PyObject * obj1 = 0 ;
24019 char * kwnames[] = {
24020 (char *) "self",(char *) "bin", NULL
24021 };
24022
24023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24025 if (!SWIG_IsOK(res1)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24027 }
24028 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24029 ecode2 = SWIG_AsVal_int(obj1, &val2);
24030 if (!SWIG_IsOK(ecode2)) {
24031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24032 }
24033 arg2 = static_cast< wxPrintBin >(val2);
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 (arg1)->SetBin(arg2);
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 resultobj = SWIG_Py_Void();
24041 return resultobj;
24042 fail:
24043 return NULL;
24044 }
24045
24046
24047 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24048 PyObject *resultobj = 0;
24049 wxPrintData *arg1 = (wxPrintData *) 0 ;
24050 wxPrintMode arg2 ;
24051 void *argp1 = 0 ;
24052 int res1 = 0 ;
24053 int val2 ;
24054 int ecode2 = 0 ;
24055 PyObject * obj0 = 0 ;
24056 PyObject * obj1 = 0 ;
24057 char * kwnames[] = {
24058 (char *) "self",(char *) "printMode", NULL
24059 };
24060
24061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24063 if (!SWIG_IsOK(res1)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24065 }
24066 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24067 ecode2 = SWIG_AsVal_int(obj1, &val2);
24068 if (!SWIG_IsOK(ecode2)) {
24069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24070 }
24071 arg2 = static_cast< wxPrintMode >(val2);
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 (arg1)->SetPrintMode(arg2);
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 resultobj = SWIG_Py_Void();
24079 return resultobj;
24080 fail:
24081 return NULL;
24082 }
24083
24084
24085 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24086 PyObject *resultobj = 0;
24087 wxPrintData *arg1 = (wxPrintData *) 0 ;
24088 wxString result;
24089 void *argp1 = 0 ;
24090 int res1 = 0 ;
24091 PyObject *swig_obj[1] ;
24092
24093 if (!args) SWIG_fail;
24094 swig_obj[0] = args;
24095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24096 if (!SWIG_IsOK(res1)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24098 }
24099 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 result = ((wxPrintData const *)arg1)->GetFilename();
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 {
24107 #if wxUSE_UNICODE
24108 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24109 #else
24110 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24111 #endif
24112 }
24113 return resultobj;
24114 fail:
24115 return NULL;
24116 }
24117
24118
24119 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj = 0;
24121 wxPrintData *arg1 = (wxPrintData *) 0 ;
24122 wxString *arg2 = 0 ;
24123 void *argp1 = 0 ;
24124 int res1 = 0 ;
24125 bool temp2 = false ;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
24128 char * kwnames[] = {
24129 (char *) "self",(char *) "filename", NULL
24130 };
24131
24132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24134 if (!SWIG_IsOK(res1)) {
24135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24136 }
24137 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24138 {
24139 arg2 = wxString_in_helper(obj1);
24140 if (arg2 == NULL) SWIG_fail;
24141 temp2 = true;
24142 }
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 (arg1)->SetFilename((wxString const &)*arg2);
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 resultobj = SWIG_Py_Void();
24150 {
24151 if (temp2)
24152 delete arg2;
24153 }
24154 return resultobj;
24155 fail:
24156 {
24157 if (temp2)
24158 delete arg2;
24159 }
24160 return NULL;
24161 }
24162
24163
24164 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24165 PyObject *resultobj = 0;
24166 wxPrintData *arg1 = (wxPrintData *) 0 ;
24167 PyObject *result = 0 ;
24168 void *argp1 = 0 ;
24169 int res1 = 0 ;
24170 PyObject *swig_obj[1] ;
24171
24172 if (!args) SWIG_fail;
24173 swig_obj[0] = args;
24174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24175 if (!SWIG_IsOK(res1)) {
24176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24177 }
24178 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 resultobj = result;
24186 return resultobj;
24187 fail:
24188 return NULL;
24189 }
24190
24191
24192 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24193 PyObject *resultobj = 0;
24194 wxPrintData *arg1 = (wxPrintData *) 0 ;
24195 PyObject *arg2 = (PyObject *) 0 ;
24196 void *argp1 = 0 ;
24197 int res1 = 0 ;
24198 PyObject * obj0 = 0 ;
24199 PyObject * obj1 = 0 ;
24200 char * kwnames[] = {
24201 (char *) "self",(char *) "data", NULL
24202 };
24203
24204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24206 if (!SWIG_IsOK(res1)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24208 }
24209 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24210 arg2 = obj1;
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 wxPrintData_SetPrivData(arg1,arg2);
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 resultobj = SWIG_Py_Void();
24218 return resultobj;
24219 fail:
24220 return NULL;
24221 }
24222
24223
24224 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24225 PyObject *obj;
24226 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24227 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24228 return SWIG_Py_Void();
24229 }
24230
24231 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24232 return SWIG_Python_InitShadowInstance(args);
24233 }
24234
24235 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24236 PyObject *resultobj = 0;
24237 wxPageSetupDialogData *result = 0 ;
24238
24239 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24254 PyObject *resultobj = 0;
24255 wxPageSetupDialogData *arg1 = 0 ;
24256 wxPageSetupDialogData *result = 0 ;
24257 void *argp1 = 0 ;
24258 int res1 = 0 ;
24259
24260 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24262 if (!SWIG_IsOK(res1)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24264 }
24265 if (!argp1) {
24266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24267 }
24268 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24276 return resultobj;
24277 fail:
24278 return NULL;
24279 }
24280
24281
24282 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24283 PyObject *resultobj = 0;
24284 wxPrintData *arg1 = 0 ;
24285 wxPageSetupDialogData *result = 0 ;
24286 void *argp1 = 0 ;
24287 int res1 = 0 ;
24288
24289 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24291 if (!SWIG_IsOK(res1)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24293 }
24294 if (!argp1) {
24295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24296 }
24297 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24305 return resultobj;
24306 fail:
24307 return NULL;
24308 }
24309
24310
24311 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24312 int argc;
24313 PyObject *argv[2];
24314
24315 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24316 --argc;
24317 if (argc == 0) {
24318 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24319 }
24320 if (argc == 1) {
24321 int _v = 0;
24322 {
24323 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24324 _v = SWIG_CheckState(res);
24325 }
24326 if (!_v) goto check_2;
24327 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24328 }
24329 check_2:
24330
24331 if (argc == 1) {
24332 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24333 }
24334
24335 fail:
24336 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24337 return NULL;
24338 }
24339
24340
24341 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24342 PyObject *resultobj = 0;
24343 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24344 void *argp1 = 0 ;
24345 int res1 = 0 ;
24346 PyObject *swig_obj[1] ;
24347
24348 if (!args) SWIG_fail;
24349 swig_obj[0] = args;
24350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24351 if (!SWIG_IsOK(res1)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24353 }
24354 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 delete arg1;
24358
24359 wxPyEndAllowThreads(__tstate);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
24362 resultobj = SWIG_Py_Void();
24363 return resultobj;
24364 fail:
24365 return NULL;
24366 }
24367
24368
24369 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24370 PyObject *resultobj = 0;
24371 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24372 bool arg2 ;
24373 void *argp1 = 0 ;
24374 int res1 = 0 ;
24375 bool val2 ;
24376 int ecode2 = 0 ;
24377 PyObject * obj0 = 0 ;
24378 PyObject * obj1 = 0 ;
24379 char * kwnames[] = {
24380 (char *) "self",(char *) "flag", NULL
24381 };
24382
24383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24385 if (!SWIG_IsOK(res1)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24387 }
24388 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24390 if (!SWIG_IsOK(ecode2)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24392 }
24393 arg2 = static_cast< bool >(val2);
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 (arg1)->EnableHelp(arg2);
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 resultobj = SWIG_Py_Void();
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj = 0;
24409 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24410 bool arg2 ;
24411 void *argp1 = 0 ;
24412 int res1 = 0 ;
24413 bool val2 ;
24414 int ecode2 = 0 ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char * kwnames[] = {
24418 (char *) "self",(char *) "flag", NULL
24419 };
24420
24421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24423 if (!SWIG_IsOK(res1)) {
24424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24425 }
24426 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24427 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24428 if (!SWIG_IsOK(ecode2)) {
24429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24430 }
24431 arg2 = static_cast< bool >(val2);
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 (arg1)->EnableMargins(arg2);
24435 wxPyEndAllowThreads(__tstate);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 resultobj = SWIG_Py_Void();
24439 return resultobj;
24440 fail:
24441 return NULL;
24442 }
24443
24444
24445 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24446 PyObject *resultobj = 0;
24447 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24448 bool arg2 ;
24449 void *argp1 = 0 ;
24450 int res1 = 0 ;
24451 bool val2 ;
24452 int ecode2 = 0 ;
24453 PyObject * obj0 = 0 ;
24454 PyObject * obj1 = 0 ;
24455 char * kwnames[] = {
24456 (char *) "self",(char *) "flag", NULL
24457 };
24458
24459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24461 if (!SWIG_IsOK(res1)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24463 }
24464 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24465 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24466 if (!SWIG_IsOK(ecode2)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24468 }
24469 arg2 = static_cast< bool >(val2);
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 (arg1)->EnableOrientation(arg2);
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 resultobj = SWIG_Py_Void();
24477 return resultobj;
24478 fail:
24479 return NULL;
24480 }
24481
24482
24483 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj = 0;
24485 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24486 bool arg2 ;
24487 void *argp1 = 0 ;
24488 int res1 = 0 ;
24489 bool val2 ;
24490 int ecode2 = 0 ;
24491 PyObject * obj0 = 0 ;
24492 PyObject * obj1 = 0 ;
24493 char * kwnames[] = {
24494 (char *) "self",(char *) "flag", NULL
24495 };
24496
24497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24499 if (!SWIG_IsOK(res1)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24501 }
24502 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24503 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24504 if (!SWIG_IsOK(ecode2)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24506 }
24507 arg2 = static_cast< bool >(val2);
24508 {
24509 PyThreadState* __tstate = wxPyBeginAllowThreads();
24510 (arg1)->EnablePaper(arg2);
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
24514 resultobj = SWIG_Py_Void();
24515 return resultobj;
24516 fail:
24517 return NULL;
24518 }
24519
24520
24521 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj = 0;
24523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24524 bool arg2 ;
24525 void *argp1 = 0 ;
24526 int res1 = 0 ;
24527 bool val2 ;
24528 int ecode2 = 0 ;
24529 PyObject * obj0 = 0 ;
24530 PyObject * obj1 = 0 ;
24531 char * kwnames[] = {
24532 (char *) "self",(char *) "flag", NULL
24533 };
24534
24535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24537 if (!SWIG_IsOK(res1)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24539 }
24540 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24541 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24542 if (!SWIG_IsOK(ecode2)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24544 }
24545 arg2 = static_cast< bool >(val2);
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
24548 (arg1)->EnablePrinter(arg2);
24549 wxPyEndAllowThreads(__tstate);
24550 if (PyErr_Occurred()) SWIG_fail;
24551 }
24552 resultobj = SWIG_Py_Void();
24553 return resultobj;
24554 fail:
24555 return NULL;
24556 }
24557
24558
24559 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24560 PyObject *resultobj = 0;
24561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24562 bool result;
24563 void *argp1 = 0 ;
24564 int res1 = 0 ;
24565 PyObject *swig_obj[1] ;
24566
24567 if (!args) SWIG_fail;
24568 swig_obj[0] = args;
24569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24570 if (!SWIG_IsOK(res1)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24572 }
24573 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24574 {
24575 PyThreadState* __tstate = wxPyBeginAllowThreads();
24576 result = (bool)(arg1)->GetDefaultMinMargins();
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 {
24581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24582 }
24583 return resultobj;
24584 fail:
24585 return NULL;
24586 }
24587
24588
24589 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24590 PyObject *resultobj = 0;
24591 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24592 bool result;
24593 void *argp1 = 0 ;
24594 int res1 = 0 ;
24595 PyObject *swig_obj[1] ;
24596
24597 if (!args) SWIG_fail;
24598 swig_obj[0] = args;
24599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24600 if (!SWIG_IsOK(res1)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24602 }
24603 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24604 {
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 result = (bool)(arg1)->GetEnableMargins();
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 {
24611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24612 }
24613 return resultobj;
24614 fail:
24615 return NULL;
24616 }
24617
24618
24619 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24620 PyObject *resultobj = 0;
24621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24622 bool result;
24623 void *argp1 = 0 ;
24624 int res1 = 0 ;
24625 PyObject *swig_obj[1] ;
24626
24627 if (!args) SWIG_fail;
24628 swig_obj[0] = args;
24629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24630 if (!SWIG_IsOK(res1)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24632 }
24633 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = (bool)(arg1)->GetEnableOrientation();
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 {
24641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24642 }
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24650 PyObject *resultobj = 0;
24651 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24652 bool result;
24653 void *argp1 = 0 ;
24654 int res1 = 0 ;
24655 PyObject *swig_obj[1] ;
24656
24657 if (!args) SWIG_fail;
24658 swig_obj[0] = args;
24659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24660 if (!SWIG_IsOK(res1)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24662 }
24663 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 result = (bool)(arg1)->GetEnablePaper();
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 {
24671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24672 }
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24680 PyObject *resultobj = 0;
24681 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24682 bool result;
24683 void *argp1 = 0 ;
24684 int res1 = 0 ;
24685 PyObject *swig_obj[1] ;
24686
24687 if (!args) SWIG_fail;
24688 swig_obj[0] = args;
24689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24690 if (!SWIG_IsOK(res1)) {
24691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24692 }
24693 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (bool)(arg1)->GetEnablePrinter();
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 {
24701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24702 }
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24710 PyObject *resultobj = 0;
24711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24712 bool result;
24713 void *argp1 = 0 ;
24714 int res1 = 0 ;
24715 PyObject *swig_obj[1] ;
24716
24717 if (!args) SWIG_fail;
24718 swig_obj[0] = args;
24719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24720 if (!SWIG_IsOK(res1)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24722 }
24723 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 result = (bool)(arg1)->GetEnableHelp();
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 {
24731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24732 }
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24740 PyObject *resultobj = 0;
24741 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24742 bool result;
24743 void *argp1 = 0 ;
24744 int res1 = 0 ;
24745 PyObject *swig_obj[1] ;
24746
24747 if (!args) SWIG_fail;
24748 swig_obj[0] = args;
24749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24750 if (!SWIG_IsOK(res1)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24752 }
24753 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (bool)(arg1)->GetDefaultInfo();
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24762 }
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24770 PyObject *resultobj = 0;
24771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24772 wxPoint result;
24773 void *argp1 = 0 ;
24774 int res1 = 0 ;
24775 PyObject *swig_obj[1] ;
24776
24777 if (!args) SWIG_fail;
24778 swig_obj[0] = args;
24779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24780 if (!SWIG_IsOK(res1)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24782 }
24783 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24784 {
24785 PyThreadState* __tstate = wxPyBeginAllowThreads();
24786 result = (arg1)->GetMarginTopLeft();
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24791 return resultobj;
24792 fail:
24793 return NULL;
24794 }
24795
24796
24797 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24798 PyObject *resultobj = 0;
24799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24800 wxPoint result;
24801 void *argp1 = 0 ;
24802 int res1 = 0 ;
24803 PyObject *swig_obj[1] ;
24804
24805 if (!args) SWIG_fail;
24806 swig_obj[0] = args;
24807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24808 if (!SWIG_IsOK(res1)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24810 }
24811 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (arg1)->GetMarginBottomRight();
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24819 return resultobj;
24820 fail:
24821 return NULL;
24822 }
24823
24824
24825 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24826 PyObject *resultobj = 0;
24827 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24828 wxPoint result;
24829 void *argp1 = 0 ;
24830 int res1 = 0 ;
24831 PyObject *swig_obj[1] ;
24832
24833 if (!args) SWIG_fail;
24834 swig_obj[0] = args;
24835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24836 if (!SWIG_IsOK(res1)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24838 }
24839 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = (arg1)->GetMinMarginTopLeft();
24843 wxPyEndAllowThreads(__tstate);
24844 if (PyErr_Occurred()) SWIG_fail;
24845 }
24846 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24847 return resultobj;
24848 fail:
24849 return NULL;
24850 }
24851
24852
24853 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24854 PyObject *resultobj = 0;
24855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24856 wxPoint result;
24857 void *argp1 = 0 ;
24858 int res1 = 0 ;
24859 PyObject *swig_obj[1] ;
24860
24861 if (!args) SWIG_fail;
24862 swig_obj[0] = args;
24863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24864 if (!SWIG_IsOK(res1)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24866 }
24867 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (arg1)->GetMinMarginBottomRight();
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24882 PyObject *resultobj = 0;
24883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24884 wxPaperSize result;
24885 void *argp1 = 0 ;
24886 int res1 = 0 ;
24887 PyObject *swig_obj[1] ;
24888
24889 if (!args) SWIG_fail;
24890 swig_obj[0] = args;
24891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24892 if (!SWIG_IsOK(res1)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24894 }
24895 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (wxPaperSize)(arg1)->GetPaperId();
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 resultobj = SWIG_From_int(static_cast< int >(result));
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24910 PyObject *resultobj = 0;
24911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24912 wxSize result;
24913 void *argp1 = 0 ;
24914 int res1 = 0 ;
24915 PyObject *swig_obj[1] ;
24916
24917 if (!args) SWIG_fail;
24918 swig_obj[0] = args;
24919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24920 if (!SWIG_IsOK(res1)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24922 }
24923 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 result = (arg1)->GetPaperSize();
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24938 PyObject *resultobj = 0;
24939 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24940 wxPrintData *result = 0 ;
24941 void *argp1 = 0 ;
24942 int res1 = 0 ;
24943 PyObject *swig_obj[1] ;
24944
24945 if (!args) SWIG_fail;
24946 swig_obj[0] = args;
24947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24948 if (!SWIG_IsOK(res1)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24950 }
24951 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 {
24955 wxPrintData &_result_ref = (arg1)->GetPrintData();
24956 result = (wxPrintData *) &_result_ref;
24957 }
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24962 return resultobj;
24963 fail:
24964 return NULL;
24965 }
24966
24967
24968 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24969 PyObject *resultobj = 0;
24970 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24971 bool result;
24972 void *argp1 = 0 ;
24973 int res1 = 0 ;
24974 PyObject *swig_obj[1] ;
24975
24976 if (!args) SWIG_fail;
24977 swig_obj[0] = args;
24978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24979 if (!SWIG_IsOK(res1)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24981 }
24982 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (bool)(arg1)->Ok();
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 {
24990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24991 }
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj = 0;
25000 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25001 bool arg2 ;
25002 void *argp1 = 0 ;
25003 int res1 = 0 ;
25004 bool val2 ;
25005 int ecode2 = 0 ;
25006 PyObject * obj0 = 0 ;
25007 PyObject * obj1 = 0 ;
25008 char * kwnames[] = {
25009 (char *) "self",(char *) "flag", NULL
25010 };
25011
25012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25014 if (!SWIG_IsOK(res1)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25016 }
25017 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25018 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25019 if (!SWIG_IsOK(ecode2)) {
25020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25021 }
25022 arg2 = static_cast< bool >(val2);
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 (arg1)->SetDefaultInfo(arg2);
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 resultobj = SWIG_Py_Void();
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj = 0;
25038 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25039 bool arg2 ;
25040 void *argp1 = 0 ;
25041 int res1 = 0 ;
25042 bool val2 ;
25043 int ecode2 = 0 ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char * kwnames[] = {
25047 (char *) "self",(char *) "flag", NULL
25048 };
25049
25050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25052 if (!SWIG_IsOK(res1)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25054 }
25055 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25056 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25057 if (!SWIG_IsOK(ecode2)) {
25058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25059 }
25060 arg2 = static_cast< bool >(val2);
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 (arg1)->SetDefaultMinMargins(arg2);
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 resultobj = SWIG_Py_Void();
25068 return resultobj;
25069 fail:
25070 return NULL;
25071 }
25072
25073
25074 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj = 0;
25076 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25077 wxPoint *arg2 = 0 ;
25078 void *argp1 = 0 ;
25079 int res1 = 0 ;
25080 wxPoint temp2 ;
25081 PyObject * obj0 = 0 ;
25082 PyObject * obj1 = 0 ;
25083 char * kwnames[] = {
25084 (char *) "self",(char *) "pt", NULL
25085 };
25086
25087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25089 if (!SWIG_IsOK(res1)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25091 }
25092 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25093 {
25094 arg2 = &temp2;
25095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25096 }
25097 {
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 resultobj = SWIG_Py_Void();
25104 return resultobj;
25105 fail:
25106 return NULL;
25107 }
25108
25109
25110 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj = 0;
25112 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25113 wxPoint *arg2 = 0 ;
25114 void *argp1 = 0 ;
25115 int res1 = 0 ;
25116 wxPoint temp2 ;
25117 PyObject * obj0 = 0 ;
25118 PyObject * obj1 = 0 ;
25119 char * kwnames[] = {
25120 (char *) "self",(char *) "pt", NULL
25121 };
25122
25123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25125 if (!SWIG_IsOK(res1)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25127 }
25128 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25129 {
25130 arg2 = &temp2;
25131 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25132 }
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 resultobj = SWIG_Py_Void();
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25147 PyObject *resultobj = 0;
25148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25149 wxPoint *arg2 = 0 ;
25150 void *argp1 = 0 ;
25151 int res1 = 0 ;
25152 wxPoint temp2 ;
25153 PyObject * obj0 = 0 ;
25154 PyObject * obj1 = 0 ;
25155 char * kwnames[] = {
25156 (char *) "self",(char *) "pt", NULL
25157 };
25158
25159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25161 if (!SWIG_IsOK(res1)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25163 }
25164 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25165 {
25166 arg2 = &temp2;
25167 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25168 }
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
25171 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 resultobj = SWIG_Py_Void();
25176 return resultobj;
25177 fail:
25178 return NULL;
25179 }
25180
25181
25182 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25183 PyObject *resultobj = 0;
25184 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25185 wxPoint *arg2 = 0 ;
25186 void *argp1 = 0 ;
25187 int res1 = 0 ;
25188 wxPoint temp2 ;
25189 PyObject * obj0 = 0 ;
25190 PyObject * obj1 = 0 ;
25191 char * kwnames[] = {
25192 (char *) "self",(char *) "pt", NULL
25193 };
25194
25195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25197 if (!SWIG_IsOK(res1)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25199 }
25200 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25201 {
25202 arg2 = &temp2;
25203 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25204 }
25205 {
25206 PyThreadState* __tstate = wxPyBeginAllowThreads();
25207 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25208 wxPyEndAllowThreads(__tstate);
25209 if (PyErr_Occurred()) SWIG_fail;
25210 }
25211 resultobj = SWIG_Py_Void();
25212 return resultobj;
25213 fail:
25214 return NULL;
25215 }
25216
25217
25218 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25219 PyObject *resultobj = 0;
25220 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25221 wxPaperSize arg2 ;
25222 void *argp1 = 0 ;
25223 int res1 = 0 ;
25224 int val2 ;
25225 int ecode2 = 0 ;
25226 PyObject * obj0 = 0 ;
25227 PyObject * obj1 = 0 ;
25228 char * kwnames[] = {
25229 (char *) "self",(char *) "id", NULL
25230 };
25231
25232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25234 if (!SWIG_IsOK(res1)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25236 }
25237 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25238 ecode2 = SWIG_AsVal_int(obj1, &val2);
25239 if (!SWIG_IsOK(ecode2)) {
25240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25241 }
25242 arg2 = static_cast< wxPaperSize >(val2);
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->SetPaperId(arg2);
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 resultobj = SWIG_Py_Void();
25250 return resultobj;
25251 fail:
25252 return NULL;
25253 }
25254
25255
25256 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25257 PyObject *resultobj = 0;
25258 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25259 wxSize *arg2 = 0 ;
25260 void *argp1 = 0 ;
25261 int res1 = 0 ;
25262 wxSize temp2 ;
25263 PyObject * obj0 = 0 ;
25264 PyObject * obj1 = 0 ;
25265 char * kwnames[] = {
25266 (char *) "self",(char *) "size", NULL
25267 };
25268
25269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25271 if (!SWIG_IsOK(res1)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25273 }
25274 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25275 {
25276 arg2 = &temp2;
25277 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25278 }
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 (arg1)->SetPaperSize((wxSize const &)*arg2);
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 resultobj = SWIG_Py_Void();
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj = 0;
25294 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25295 wxPrintData *arg2 = 0 ;
25296 void *argp1 = 0 ;
25297 int res1 = 0 ;
25298 void *argp2 = 0 ;
25299 int res2 = 0 ;
25300 PyObject * obj0 = 0 ;
25301 PyObject * obj1 = 0 ;
25302 char * kwnames[] = {
25303 (char *) "self",(char *) "printData", NULL
25304 };
25305
25306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25308 if (!SWIG_IsOK(res1)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25310 }
25311 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25312 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25313 if (!SWIG_IsOK(res2)) {
25314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25315 }
25316 if (!argp2) {
25317 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25318 }
25319 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25320 {
25321 PyThreadState* __tstate = wxPyBeginAllowThreads();
25322 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 resultobj = SWIG_Py_Void();
25327 return resultobj;
25328 fail:
25329 return NULL;
25330 }
25331
25332
25333 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25334 PyObject *resultobj = 0;
25335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25336 void *argp1 = 0 ;
25337 int res1 = 0 ;
25338 PyObject *swig_obj[1] ;
25339
25340 if (!args) SWIG_fail;
25341 swig_obj[0] = args;
25342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25343 if (!SWIG_IsOK(res1)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25345 }
25346 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->CalculateIdFromPaperSize();
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 resultobj = SWIG_Py_Void();
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25361 PyObject *resultobj = 0;
25362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25363 void *argp1 = 0 ;
25364 int res1 = 0 ;
25365 PyObject *swig_obj[1] ;
25366
25367 if (!args) SWIG_fail;
25368 swig_obj[0] = args;
25369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 }
25373 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 (arg1)->CalculatePaperSizeFromId();
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 resultobj = SWIG_Py_Void();
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25388 PyObject *obj;
25389 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25390 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25391 return SWIG_Py_Void();
25392 }
25393
25394 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25395 return SWIG_Python_InitShadowInstance(args);
25396 }
25397
25398 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25399 PyObject *resultobj = 0;
25400 wxWindow *arg1 = (wxWindow *) 0 ;
25401 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25402 wxPageSetupDialog *result = 0 ;
25403 void *argp1 = 0 ;
25404 int res1 = 0 ;
25405 void *argp2 = 0 ;
25406 int res2 = 0 ;
25407 PyObject * obj0 = 0 ;
25408 PyObject * obj1 = 0 ;
25409 char * kwnames[] = {
25410 (char *) "parent",(char *) "data", NULL
25411 };
25412
25413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25415 if (!SWIG_IsOK(res1)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25417 }
25418 arg1 = reinterpret_cast< wxWindow * >(argp1);
25419 if (obj1) {
25420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25421 if (!SWIG_IsOK(res2)) {
25422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25423 }
25424 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25425 }
25426 {
25427 if (!wxPyCheckForApp()) SWIG_fail;
25428 PyThreadState* __tstate = wxPyBeginAllowThreads();
25429 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25434 return resultobj;
25435 fail:
25436 return NULL;
25437 }
25438
25439
25440 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25441 PyObject *resultobj = 0;
25442 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25443 wxPageSetupDialogData *result = 0 ;
25444 void *argp1 = 0 ;
25445 int res1 = 0 ;
25446 PyObject *swig_obj[1] ;
25447
25448 if (!args) SWIG_fail;
25449 swig_obj[0] = args;
25450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25451 if (!SWIG_IsOK(res1)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25453 }
25454 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 {
25458 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25459 result = (wxPageSetupDialogData *) &_result_ref;
25460 }
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25472 PyObject *resultobj = 0;
25473 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25474 wxPageSetupDialogData *result = 0 ;
25475 void *argp1 = 0 ;
25476 int res1 = 0 ;
25477 PyObject *swig_obj[1] ;
25478
25479 if (!args) SWIG_fail;
25480 swig_obj[0] = args;
25481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25482 if (!SWIG_IsOK(res1)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25484 }
25485 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 {
25489 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25490 result = (wxPageSetupDialogData *) &_result_ref;
25491 }
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25496 return resultobj;
25497 fail:
25498 return NULL;
25499 }
25500
25501
25502 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25503 PyObject *resultobj = 0;
25504 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25505 int result;
25506 void *argp1 = 0 ;
25507 int res1 = 0 ;
25508 PyObject *swig_obj[1] ;
25509
25510 if (!args) SWIG_fail;
25511 swig_obj[0] = args;
25512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25513 if (!SWIG_IsOK(res1)) {
25514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25515 }
25516 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25517 {
25518 PyThreadState* __tstate = wxPyBeginAllowThreads();
25519 result = (int)(arg1)->ShowModal();
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = SWIG_From_int(static_cast< int >(result));
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25531 PyObject *obj;
25532 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25533 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25534 return SWIG_Py_Void();
25535 }
25536
25537 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25538 return SWIG_Python_InitShadowInstance(args);
25539 }
25540
25541 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25542 PyObject *resultobj = 0;
25543 wxPrintDialogData *result = 0 ;
25544
25545 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (wxPrintDialogData *)new wxPrintDialogData();
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25553 return resultobj;
25554 fail:
25555 return NULL;
25556 }
25557
25558
25559 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25560 PyObject *resultobj = 0;
25561 wxPrintData *arg1 = 0 ;
25562 wxPrintDialogData *result = 0 ;
25563 void *argp1 = 0 ;
25564 int res1 = 0 ;
25565
25566 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25568 if (!SWIG_IsOK(res1)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25570 }
25571 if (!argp1) {
25572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25573 }
25574 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25582 return resultobj;
25583 fail:
25584 return NULL;
25585 }
25586
25587
25588 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25589 PyObject *resultobj = 0;
25590 wxPrintDialogData *arg1 = 0 ;
25591 wxPrintDialogData *result = 0 ;
25592 void *argp1 = 0 ;
25593 int res1 = 0 ;
25594
25595 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25597 if (!SWIG_IsOK(res1)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25599 }
25600 if (!argp1) {
25601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25602 }
25603 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25604 {
25605 PyThreadState* __tstate = wxPyBeginAllowThreads();
25606 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25607 wxPyEndAllowThreads(__tstate);
25608 if (PyErr_Occurred()) SWIG_fail;
25609 }
25610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25611 return resultobj;
25612 fail:
25613 return NULL;
25614 }
25615
25616
25617 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25618 int argc;
25619 PyObject *argv[2];
25620
25621 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25622 --argc;
25623 if (argc == 0) {
25624 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25625 }
25626 if (argc == 1) {
25627 int _v = 0;
25628 {
25629 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25630 _v = SWIG_CheckState(res);
25631 }
25632 if (!_v) goto check_2;
25633 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25634 }
25635 check_2:
25636
25637 if (argc == 1) {
25638 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25639 }
25640
25641 fail:
25642 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25643 return NULL;
25644 }
25645
25646
25647 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25648 PyObject *resultobj = 0;
25649 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25650 void *argp1 = 0 ;
25651 int res1 = 0 ;
25652 PyObject *swig_obj[1] ;
25653
25654 if (!args) SWIG_fail;
25655 swig_obj[0] = args;
25656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25657 if (!SWIG_IsOK(res1)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25659 }
25660 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 delete arg1;
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
25668 resultobj = SWIG_Py_Void();
25669 return resultobj;
25670 fail:
25671 return NULL;
25672 }
25673
25674
25675 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25676 PyObject *resultobj = 0;
25677 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25678 int result;
25679 void *argp1 = 0 ;
25680 int res1 = 0 ;
25681 PyObject *swig_obj[1] ;
25682
25683 if (!args) SWIG_fail;
25684 swig_obj[0] = args;
25685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25686 if (!SWIG_IsOK(res1)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25688 }
25689 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25690 {
25691 PyThreadState* __tstate = wxPyBeginAllowThreads();
25692 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 resultobj = SWIG_From_int(static_cast< int >(result));
25697 return resultobj;
25698 fail:
25699 return NULL;
25700 }
25701
25702
25703 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25704 PyObject *resultobj = 0;
25705 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25706 int result;
25707 void *argp1 = 0 ;
25708 int res1 = 0 ;
25709 PyObject *swig_obj[1] ;
25710
25711 if (!args) SWIG_fail;
25712 swig_obj[0] = args;
25713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25714 if (!SWIG_IsOK(res1)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25716 }
25717 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25718 {
25719 PyThreadState* __tstate = wxPyBeginAllowThreads();
25720 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 resultobj = SWIG_From_int(static_cast< int >(result));
25725 return resultobj;
25726 fail:
25727 return NULL;
25728 }
25729
25730
25731 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25732 PyObject *resultobj = 0;
25733 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25734 int result;
25735 void *argp1 = 0 ;
25736 int res1 = 0 ;
25737 PyObject *swig_obj[1] ;
25738
25739 if (!args) SWIG_fail;
25740 swig_obj[0] = args;
25741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25742 if (!SWIG_IsOK(res1)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25744 }
25745 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25746 {
25747 PyThreadState* __tstate = wxPyBeginAllowThreads();
25748 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25749 wxPyEndAllowThreads(__tstate);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 resultobj = SWIG_From_int(static_cast< int >(result));
25753 return resultobj;
25754 fail:
25755 return NULL;
25756 }
25757
25758
25759 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25760 PyObject *resultobj = 0;
25761 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25762 int result;
25763 void *argp1 = 0 ;
25764 int res1 = 0 ;
25765 PyObject *swig_obj[1] ;
25766
25767 if (!args) SWIG_fail;
25768 swig_obj[0] = args;
25769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25770 if (!SWIG_IsOK(res1)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25772 }
25773 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25774 {
25775 PyThreadState* __tstate = wxPyBeginAllowThreads();
25776 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25777 wxPyEndAllowThreads(__tstate);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 }
25780 resultobj = SWIG_From_int(static_cast< int >(result));
25781 return resultobj;
25782 fail:
25783 return NULL;
25784 }
25785
25786
25787 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25788 PyObject *resultobj = 0;
25789 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25790 int result;
25791 void *argp1 = 0 ;
25792 int res1 = 0 ;
25793 PyObject *swig_obj[1] ;
25794
25795 if (!args) SWIG_fail;
25796 swig_obj[0] = args;
25797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25798 if (!SWIG_IsOK(res1)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25800 }
25801 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25802 {
25803 PyThreadState* __tstate = wxPyBeginAllowThreads();
25804 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 resultobj = SWIG_From_int(static_cast< int >(result));
25809 return resultobj;
25810 fail:
25811 return NULL;
25812 }
25813
25814
25815 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25816 PyObject *resultobj = 0;
25817 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25818 bool result;
25819 void *argp1 = 0 ;
25820 int res1 = 0 ;
25821 PyObject *swig_obj[1] ;
25822
25823 if (!args) SWIG_fail;
25824 swig_obj[0] = args;
25825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25826 if (!SWIG_IsOK(res1)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25828 }
25829 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 {
25837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25838 }
25839 return resultobj;
25840 fail:
25841 return NULL;
25842 }
25843
25844
25845 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25846 PyObject *resultobj = 0;
25847 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25848 bool result;
25849 void *argp1 = 0 ;
25850 int res1 = 0 ;
25851 PyObject *swig_obj[1] ;
25852
25853 if (!args) SWIG_fail;
25854 swig_obj[0] = args;
25855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25858 }
25859 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25863 wxPyEndAllowThreads(__tstate);
25864 if (PyErr_Occurred()) SWIG_fail;
25865 }
25866 {
25867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25868 }
25869 return resultobj;
25870 fail:
25871 return NULL;
25872 }
25873
25874
25875 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25876 PyObject *resultobj = 0;
25877 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25878 bool result;
25879 void *argp1 = 0 ;
25880 int res1 = 0 ;
25881 PyObject *swig_obj[1] ;
25882
25883 if (!args) SWIG_fail;
25884 swig_obj[0] = args;
25885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25886 if (!SWIG_IsOK(res1)) {
25887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25888 }
25889 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 {
25897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25898 }
25899 return resultobj;
25900 fail:
25901 return NULL;
25902 }
25903
25904
25905 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25906 PyObject *resultobj = 0;
25907 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25908 bool result;
25909 void *argp1 = 0 ;
25910 int res1 = 0 ;
25911 PyObject *swig_obj[1] ;
25912
25913 if (!args) SWIG_fail;
25914 swig_obj[0] = args;
25915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25916 if (!SWIG_IsOK(res1)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25918 }
25919 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 {
25927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25928 }
25929 return resultobj;
25930 fail:
25931 return NULL;
25932 }
25933
25934
25935 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25936 PyObject *resultobj = 0;
25937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25938 int arg2 ;
25939 void *argp1 = 0 ;
25940 int res1 = 0 ;
25941 int val2 ;
25942 int ecode2 = 0 ;
25943 PyObject * obj0 = 0 ;
25944 PyObject * obj1 = 0 ;
25945 char * kwnames[] = {
25946 (char *) "self",(char *) "v", NULL
25947 };
25948
25949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25951 if (!SWIG_IsOK(res1)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25953 }
25954 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25955 ecode2 = SWIG_AsVal_int(obj1, &val2);
25956 if (!SWIG_IsOK(ecode2)) {
25957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25958 }
25959 arg2 = static_cast< int >(val2);
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 (arg1)->SetFromPage(arg2);
25963 wxPyEndAllowThreads(__tstate);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 resultobj = SWIG_Py_Void();
25967 return resultobj;
25968 fail:
25969 return NULL;
25970 }
25971
25972
25973 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25974 PyObject *resultobj = 0;
25975 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25976 int arg2 ;
25977 void *argp1 = 0 ;
25978 int res1 = 0 ;
25979 int val2 ;
25980 int ecode2 = 0 ;
25981 PyObject * obj0 = 0 ;
25982 PyObject * obj1 = 0 ;
25983 char * kwnames[] = {
25984 (char *) "self",(char *) "v", NULL
25985 };
25986
25987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25989 if (!SWIG_IsOK(res1)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25991 }
25992 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25993 ecode2 = SWIG_AsVal_int(obj1, &val2);
25994 if (!SWIG_IsOK(ecode2)) {
25995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25996 }
25997 arg2 = static_cast< int >(val2);
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 (arg1)->SetToPage(arg2);
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 resultobj = SWIG_Py_Void();
26005 return resultobj;
26006 fail:
26007 return NULL;
26008 }
26009
26010
26011 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26012 PyObject *resultobj = 0;
26013 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26014 int arg2 ;
26015 void *argp1 = 0 ;
26016 int res1 = 0 ;
26017 int val2 ;
26018 int ecode2 = 0 ;
26019 PyObject * obj0 = 0 ;
26020 PyObject * obj1 = 0 ;
26021 char * kwnames[] = {
26022 (char *) "self",(char *) "v", NULL
26023 };
26024
26025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26027 if (!SWIG_IsOK(res1)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26029 }
26030 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26031 ecode2 = SWIG_AsVal_int(obj1, &val2);
26032 if (!SWIG_IsOK(ecode2)) {
26033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26034 }
26035 arg2 = static_cast< int >(val2);
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 (arg1)->SetMinPage(arg2);
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 resultobj = SWIG_Py_Void();
26043 return resultobj;
26044 fail:
26045 return NULL;
26046 }
26047
26048
26049 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26050 PyObject *resultobj = 0;
26051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26052 int arg2 ;
26053 void *argp1 = 0 ;
26054 int res1 = 0 ;
26055 int val2 ;
26056 int ecode2 = 0 ;
26057 PyObject * obj0 = 0 ;
26058 PyObject * obj1 = 0 ;
26059 char * kwnames[] = {
26060 (char *) "self",(char *) "v", NULL
26061 };
26062
26063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26065 if (!SWIG_IsOK(res1)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26067 }
26068 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26069 ecode2 = SWIG_AsVal_int(obj1, &val2);
26070 if (!SWIG_IsOK(ecode2)) {
26071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26072 }
26073 arg2 = static_cast< int >(val2);
26074 {
26075 PyThreadState* __tstate = wxPyBeginAllowThreads();
26076 (arg1)->SetMaxPage(arg2);
26077 wxPyEndAllowThreads(__tstate);
26078 if (PyErr_Occurred()) SWIG_fail;
26079 }
26080 resultobj = SWIG_Py_Void();
26081 return resultobj;
26082 fail:
26083 return NULL;
26084 }
26085
26086
26087 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26088 PyObject *resultobj = 0;
26089 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26090 int arg2 ;
26091 void *argp1 = 0 ;
26092 int res1 = 0 ;
26093 int val2 ;
26094 int ecode2 = 0 ;
26095 PyObject * obj0 = 0 ;
26096 PyObject * obj1 = 0 ;
26097 char * kwnames[] = {
26098 (char *) "self",(char *) "v", NULL
26099 };
26100
26101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26103 if (!SWIG_IsOK(res1)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26105 }
26106 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26107 ecode2 = SWIG_AsVal_int(obj1, &val2);
26108 if (!SWIG_IsOK(ecode2)) {
26109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26110 }
26111 arg2 = static_cast< int >(val2);
26112 {
26113 PyThreadState* __tstate = wxPyBeginAllowThreads();
26114 (arg1)->SetNoCopies(arg2);
26115 wxPyEndAllowThreads(__tstate);
26116 if (PyErr_Occurred()) SWIG_fail;
26117 }
26118 resultobj = SWIG_Py_Void();
26119 return resultobj;
26120 fail:
26121 return NULL;
26122 }
26123
26124
26125 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26126 PyObject *resultobj = 0;
26127 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26128 bool arg2 ;
26129 void *argp1 = 0 ;
26130 int res1 = 0 ;
26131 bool val2 ;
26132 int ecode2 = 0 ;
26133 PyObject * obj0 = 0 ;
26134 PyObject * obj1 = 0 ;
26135 char * kwnames[] = {
26136 (char *) "self",(char *) "flag", NULL
26137 };
26138
26139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26141 if (!SWIG_IsOK(res1)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26143 }
26144 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26145 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26146 if (!SWIG_IsOK(ecode2)) {
26147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26148 }
26149 arg2 = static_cast< bool >(val2);
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 (arg1)->SetAllPages(arg2);
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 resultobj = SWIG_Py_Void();
26157 return resultobj;
26158 fail:
26159 return NULL;
26160 }
26161
26162
26163 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26164 PyObject *resultobj = 0;
26165 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26166 bool arg2 ;
26167 void *argp1 = 0 ;
26168 int res1 = 0 ;
26169 bool val2 ;
26170 int ecode2 = 0 ;
26171 PyObject * obj0 = 0 ;
26172 PyObject * obj1 = 0 ;
26173 char * kwnames[] = {
26174 (char *) "self",(char *) "flag", NULL
26175 };
26176
26177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26179 if (!SWIG_IsOK(res1)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26181 }
26182 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26183 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26184 if (!SWIG_IsOK(ecode2)) {
26185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26186 }
26187 arg2 = static_cast< bool >(val2);
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 (arg1)->SetSelection(arg2);
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 resultobj = SWIG_Py_Void();
26195 return resultobj;
26196 fail:
26197 return NULL;
26198 }
26199
26200
26201 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj = 0;
26203 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26204 bool arg2 ;
26205 void *argp1 = 0 ;
26206 int res1 = 0 ;
26207 bool val2 ;
26208 int ecode2 = 0 ;
26209 PyObject * obj0 = 0 ;
26210 PyObject * obj1 = 0 ;
26211 char * kwnames[] = {
26212 (char *) "self",(char *) "flag", NULL
26213 };
26214
26215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26217 if (!SWIG_IsOK(res1)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26219 }
26220 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26221 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26222 if (!SWIG_IsOK(ecode2)) {
26223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26224 }
26225 arg2 = static_cast< bool >(val2);
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 (arg1)->SetCollate(arg2);
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 resultobj = SWIG_Py_Void();
26233 return resultobj;
26234 fail:
26235 return NULL;
26236 }
26237
26238
26239 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26240 PyObject *resultobj = 0;
26241 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26242 bool arg2 ;
26243 void *argp1 = 0 ;
26244 int res1 = 0 ;
26245 bool val2 ;
26246 int ecode2 = 0 ;
26247 PyObject * obj0 = 0 ;
26248 PyObject * obj1 = 0 ;
26249 char * kwnames[] = {
26250 (char *) "self",(char *) "flag", NULL
26251 };
26252
26253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26255 if (!SWIG_IsOK(res1)) {
26256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26257 }
26258 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26259 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26260 if (!SWIG_IsOK(ecode2)) {
26261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26262 }
26263 arg2 = static_cast< bool >(val2);
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 (arg1)->SetPrintToFile(arg2);
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 resultobj = SWIG_Py_Void();
26271 return resultobj;
26272 fail:
26273 return NULL;
26274 }
26275
26276
26277 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26278 PyObject *resultobj = 0;
26279 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26280 bool arg2 ;
26281 void *argp1 = 0 ;
26282 int res1 = 0 ;
26283 bool val2 ;
26284 int ecode2 = 0 ;
26285 PyObject * obj0 = 0 ;
26286 PyObject * obj1 = 0 ;
26287 char * kwnames[] = {
26288 (char *) "self",(char *) "flag", NULL
26289 };
26290
26291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26293 if (!SWIG_IsOK(res1)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26295 }
26296 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26297 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26298 if (!SWIG_IsOK(ecode2)) {
26299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26300 }
26301 arg2 = static_cast< bool >(val2);
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 (arg1)->EnablePrintToFile(arg2);
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 resultobj = SWIG_Py_Void();
26309 return resultobj;
26310 fail:
26311 return NULL;
26312 }
26313
26314
26315 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26316 PyObject *resultobj = 0;
26317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26318 bool arg2 ;
26319 void *argp1 = 0 ;
26320 int res1 = 0 ;
26321 bool val2 ;
26322 int ecode2 = 0 ;
26323 PyObject * obj0 = 0 ;
26324 PyObject * obj1 = 0 ;
26325 char * kwnames[] = {
26326 (char *) "self",(char *) "flag", NULL
26327 };
26328
26329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26331 if (!SWIG_IsOK(res1)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26333 }
26334 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26336 if (!SWIG_IsOK(ecode2)) {
26337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26338 }
26339 arg2 = static_cast< bool >(val2);
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 (arg1)->EnableSelection(arg2);
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
26346 resultobj = SWIG_Py_Void();
26347 return resultobj;
26348 fail:
26349 return NULL;
26350 }
26351
26352
26353 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26354 PyObject *resultobj = 0;
26355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26356 bool arg2 ;
26357 void *argp1 = 0 ;
26358 int res1 = 0 ;
26359 bool val2 ;
26360 int ecode2 = 0 ;
26361 PyObject * obj0 = 0 ;
26362 PyObject * obj1 = 0 ;
26363 char * kwnames[] = {
26364 (char *) "self",(char *) "flag", NULL
26365 };
26366
26367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26369 if (!SWIG_IsOK(res1)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26371 }
26372 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26373 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26374 if (!SWIG_IsOK(ecode2)) {
26375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26376 }
26377 arg2 = static_cast< bool >(val2);
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 (arg1)->EnablePageNumbers(arg2);
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 resultobj = SWIG_Py_Void();
26385 return resultobj;
26386 fail:
26387 return NULL;
26388 }
26389
26390
26391 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26392 PyObject *resultobj = 0;
26393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26394 bool arg2 ;
26395 void *argp1 = 0 ;
26396 int res1 = 0 ;
26397 bool val2 ;
26398 int ecode2 = 0 ;
26399 PyObject * obj0 = 0 ;
26400 PyObject * obj1 = 0 ;
26401 char * kwnames[] = {
26402 (char *) "self",(char *) "flag", NULL
26403 };
26404
26405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26407 if (!SWIG_IsOK(res1)) {
26408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26409 }
26410 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26411 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26412 if (!SWIG_IsOK(ecode2)) {
26413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26414 }
26415 arg2 = static_cast< bool >(val2);
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 (arg1)->EnableHelp(arg2);
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 resultobj = SWIG_Py_Void();
26423 return resultobj;
26424 fail:
26425 return NULL;
26426 }
26427
26428
26429 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26430 PyObject *resultobj = 0;
26431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26432 bool result;
26433 void *argp1 = 0 ;
26434 int res1 = 0 ;
26435 PyObject *swig_obj[1] ;
26436
26437 if (!args) SWIG_fail;
26438 swig_obj[0] = args;
26439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26440 if (!SWIG_IsOK(res1)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26442 }
26443 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26444 {
26445 PyThreadState* __tstate = wxPyBeginAllowThreads();
26446 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26447 wxPyEndAllowThreads(__tstate);
26448 if (PyErr_Occurred()) SWIG_fail;
26449 }
26450 {
26451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26452 }
26453 return resultobj;
26454 fail:
26455 return NULL;
26456 }
26457
26458
26459 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26460 PyObject *resultobj = 0;
26461 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26462 bool result;
26463 void *argp1 = 0 ;
26464 int res1 = 0 ;
26465 PyObject *swig_obj[1] ;
26466
26467 if (!args) SWIG_fail;
26468 swig_obj[0] = args;
26469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26470 if (!SWIG_IsOK(res1)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26472 }
26473 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26474 {
26475 PyThreadState* __tstate = wxPyBeginAllowThreads();
26476 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 {
26481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26482 }
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26490 PyObject *resultobj = 0;
26491 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26492 bool result;
26493 void *argp1 = 0 ;
26494 int res1 = 0 ;
26495 PyObject *swig_obj[1] ;
26496
26497 if (!args) SWIG_fail;
26498 swig_obj[0] = args;
26499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26500 if (!SWIG_IsOK(res1)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26502 }
26503 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26507 wxPyEndAllowThreads(__tstate);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 }
26510 {
26511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26512 }
26513 return resultobj;
26514 fail:
26515 return NULL;
26516 }
26517
26518
26519 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26520 PyObject *resultobj = 0;
26521 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26522 bool result;
26523 void *argp1 = 0 ;
26524 int res1 = 0 ;
26525 PyObject *swig_obj[1] ;
26526
26527 if (!args) SWIG_fail;
26528 swig_obj[0] = args;
26529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26530 if (!SWIG_IsOK(res1)) {
26531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26532 }
26533 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 {
26541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26542 }
26543 return resultobj;
26544 fail:
26545 return NULL;
26546 }
26547
26548
26549 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26550 PyObject *resultobj = 0;
26551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26552 bool result;
26553 void *argp1 = 0 ;
26554 int res1 = 0 ;
26555 PyObject *swig_obj[1] ;
26556
26557 if (!args) SWIG_fail;
26558 swig_obj[0] = args;
26559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26560 if (!SWIG_IsOK(res1)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26562 }
26563 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26564 {
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26567 wxPyEndAllowThreads(__tstate);
26568 if (PyErr_Occurred()) SWIG_fail;
26569 }
26570 {
26571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26572 }
26573 return resultobj;
26574 fail:
26575 return NULL;
26576 }
26577
26578
26579 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26580 PyObject *resultobj = 0;
26581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26582 wxPrintData *result = 0 ;
26583 void *argp1 = 0 ;
26584 int res1 = 0 ;
26585 PyObject *swig_obj[1] ;
26586
26587 if (!args) SWIG_fail;
26588 swig_obj[0] = args;
26589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26590 if (!SWIG_IsOK(res1)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26592 }
26593 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 {
26597 wxPrintData &_result_ref = (arg1)->GetPrintData();
26598 result = (wxPrintData *) &_result_ref;
26599 }
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26604 return resultobj;
26605 fail:
26606 return NULL;
26607 }
26608
26609
26610 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26611 PyObject *resultobj = 0;
26612 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26613 wxPrintData *arg2 = 0 ;
26614 void *argp1 = 0 ;
26615 int res1 = 0 ;
26616 void *argp2 = 0 ;
26617 int res2 = 0 ;
26618 PyObject * obj0 = 0 ;
26619 PyObject * obj1 = 0 ;
26620 char * kwnames[] = {
26621 (char *) "self",(char *) "printData", NULL
26622 };
26623
26624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26626 if (!SWIG_IsOK(res1)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26628 }
26629 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26631 if (!SWIG_IsOK(res2)) {
26632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26633 }
26634 if (!argp2) {
26635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26636 }
26637 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 resultobj = SWIG_Py_Void();
26645 return resultobj;
26646 fail:
26647 return NULL;
26648 }
26649
26650
26651 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26652 PyObject *obj;
26653 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26654 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26655 return SWIG_Py_Void();
26656 }
26657
26658 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26659 return SWIG_Python_InitShadowInstance(args);
26660 }
26661
26662 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj = 0;
26664 wxWindow *arg1 = (wxWindow *) 0 ;
26665 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26666 wxPrintDialog *result = 0 ;
26667 void *argp1 = 0 ;
26668 int res1 = 0 ;
26669 void *argp2 = 0 ;
26670 int res2 = 0 ;
26671 PyObject * obj0 = 0 ;
26672 PyObject * obj1 = 0 ;
26673 char * kwnames[] = {
26674 (char *) "parent",(char *) "data", NULL
26675 };
26676
26677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26679 if (!SWIG_IsOK(res1)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26681 }
26682 arg1 = reinterpret_cast< wxWindow * >(argp1);
26683 if (obj1) {
26684 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26685 if (!SWIG_IsOK(res2)) {
26686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26687 }
26688 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26689 }
26690 {
26691 if (!wxPyCheckForApp()) SWIG_fail;
26692 PyThreadState* __tstate = wxPyBeginAllowThreads();
26693 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26694 wxPyEndAllowThreads(__tstate);
26695 if (PyErr_Occurred()) SWIG_fail;
26696 }
26697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26698 return resultobj;
26699 fail:
26700 return NULL;
26701 }
26702
26703
26704 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26705 PyObject *resultobj = 0;
26706 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26707 int result;
26708 void *argp1 = 0 ;
26709 int res1 = 0 ;
26710 PyObject *swig_obj[1] ;
26711
26712 if (!args) SWIG_fail;
26713 swig_obj[0] = args;
26714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26715 if (!SWIG_IsOK(res1)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26717 }
26718 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = (int)(arg1)->ShowModal();
26722 wxPyEndAllowThreads(__tstate);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 }
26725 resultobj = SWIG_From_int(static_cast< int >(result));
26726 return resultobj;
26727 fail:
26728 return NULL;
26729 }
26730
26731
26732 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26733 PyObject *resultobj = 0;
26734 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26735 wxPrintDialogData *result = 0 ;
26736 void *argp1 = 0 ;
26737 int res1 = 0 ;
26738 PyObject *swig_obj[1] ;
26739
26740 if (!args) SWIG_fail;
26741 swig_obj[0] = args;
26742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26743 if (!SWIG_IsOK(res1)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26745 }
26746 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 {
26750 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26751 result = (wxPrintDialogData *) &_result_ref;
26752 }
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26764 PyObject *resultobj = 0;
26765 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26766 wxPrintData *result = 0 ;
26767 void *argp1 = 0 ;
26768 int res1 = 0 ;
26769 PyObject *swig_obj[1] ;
26770
26771 if (!args) SWIG_fail;
26772 swig_obj[0] = args;
26773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26774 if (!SWIG_IsOK(res1)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26776 }
26777 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 {
26781 wxPrintData &_result_ref = (arg1)->GetPrintData();
26782 result = (wxPrintData *) &_result_ref;
26783 }
26784 wxPyEndAllowThreads(__tstate);
26785 if (PyErr_Occurred()) SWIG_fail;
26786 }
26787 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26788 return resultobj;
26789 fail:
26790 return NULL;
26791 }
26792
26793
26794 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26795 PyObject *resultobj = 0;
26796 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26797 wxDC *result = 0 ;
26798 void *argp1 = 0 ;
26799 int res1 = 0 ;
26800 PyObject *swig_obj[1] ;
26801
26802 if (!args) SWIG_fail;
26803 swig_obj[0] = args;
26804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26805 if (!SWIG_IsOK(res1)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26807 }
26808 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26809 {
26810 PyThreadState* __tstate = wxPyBeginAllowThreads();
26811 result = (wxDC *)(arg1)->GetPrintDC();
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 {
26816 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26817 }
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26825 PyObject *obj;
26826 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26828 return SWIG_Py_Void();
26829 }
26830
26831 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26832 return SWIG_Python_InitShadowInstance(args);
26833 }
26834
26835 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26836 PyObject *resultobj = 0;
26837 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26838 wxPrinter *result = 0 ;
26839 void *argp1 = 0 ;
26840 int res1 = 0 ;
26841 PyObject * obj0 = 0 ;
26842 char * kwnames[] = {
26843 (char *) "data", NULL
26844 };
26845
26846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26847 if (obj0) {
26848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26849 if (!SWIG_IsOK(res1)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26851 }
26852 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26853 }
26854 {
26855 if (!wxPyCheckForApp()) SWIG_fail;
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 result = (wxPrinter *)new wxPrinter(arg1);
26858 wxPyEndAllowThreads(__tstate);
26859 if (PyErr_Occurred()) SWIG_fail;
26860 }
26861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26862 return resultobj;
26863 fail:
26864 return NULL;
26865 }
26866
26867
26868 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26869 PyObject *resultobj = 0;
26870 wxPrinter *arg1 = (wxPrinter *) 0 ;
26871 void *argp1 = 0 ;
26872 int res1 = 0 ;
26873 PyObject *swig_obj[1] ;
26874
26875 if (!args) SWIG_fail;
26876 swig_obj[0] = args;
26877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26878 if (!SWIG_IsOK(res1)) {
26879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26880 }
26881 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 delete arg1;
26885
26886 wxPyEndAllowThreads(__tstate);
26887 if (PyErr_Occurred()) SWIG_fail;
26888 }
26889 resultobj = SWIG_Py_Void();
26890 return resultobj;
26891 fail:
26892 return NULL;
26893 }
26894
26895
26896 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26897 PyObject *resultobj = 0;
26898 wxPrinter *arg1 = (wxPrinter *) 0 ;
26899 wxWindow *arg2 = (wxWindow *) 0 ;
26900 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26901 wxWindow *result = 0 ;
26902 void *argp1 = 0 ;
26903 int res1 = 0 ;
26904 void *argp2 = 0 ;
26905 int res2 = 0 ;
26906 void *argp3 = 0 ;
26907 int res3 = 0 ;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 PyObject * obj2 = 0 ;
26911 char * kwnames[] = {
26912 (char *) "self",(char *) "parent",(char *) "printout", NULL
26913 };
26914
26915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26917 if (!SWIG_IsOK(res1)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26919 }
26920 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26921 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26922 if (!SWIG_IsOK(res2)) {
26923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26924 }
26925 arg2 = reinterpret_cast< wxWindow * >(argp2);
26926 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26927 if (!SWIG_IsOK(res3)) {
26928 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26929 }
26930 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26931 {
26932 PyThreadState* __tstate = wxPyBeginAllowThreads();
26933 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26934 wxPyEndAllowThreads(__tstate);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 }
26937 {
26938 resultobj = wxPyMake_wxObject(result, 0);
26939 }
26940 return resultobj;
26941 fail:
26942 return NULL;
26943 }
26944
26945
26946 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26947 PyObject *resultobj = 0;
26948 wxPrinter *arg1 = (wxPrinter *) 0 ;
26949 wxWindow *arg2 = (wxWindow *) 0 ;
26950 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26951 wxString *arg4 = 0 ;
26952 void *argp1 = 0 ;
26953 int res1 = 0 ;
26954 void *argp2 = 0 ;
26955 int res2 = 0 ;
26956 void *argp3 = 0 ;
26957 int res3 = 0 ;
26958 bool temp4 = false ;
26959 PyObject * obj0 = 0 ;
26960 PyObject * obj1 = 0 ;
26961 PyObject * obj2 = 0 ;
26962 PyObject * obj3 = 0 ;
26963 char * kwnames[] = {
26964 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26965 };
26966
26967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26969 if (!SWIG_IsOK(res1)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26971 }
26972 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26974 if (!SWIG_IsOK(res2)) {
26975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26976 }
26977 arg2 = reinterpret_cast< wxWindow * >(argp2);
26978 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26979 if (!SWIG_IsOK(res3)) {
26980 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26981 }
26982 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26983 {
26984 arg4 = wxString_in_helper(obj3);
26985 if (arg4 == NULL) SWIG_fail;
26986 temp4 = true;
26987 }
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 resultobj = SWIG_Py_Void();
26995 {
26996 if (temp4)
26997 delete arg4;
26998 }
26999 return resultobj;
27000 fail:
27001 {
27002 if (temp4)
27003 delete arg4;
27004 }
27005 return NULL;
27006 }
27007
27008
27009 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj = 0;
27011 wxPrinter *arg1 = (wxPrinter *) 0 ;
27012 wxWindow *arg2 = (wxWindow *) 0 ;
27013 bool result;
27014 void *argp1 = 0 ;
27015 int res1 = 0 ;
27016 void *argp2 = 0 ;
27017 int res2 = 0 ;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 char * kwnames[] = {
27021 (char *) "self",(char *) "parent", NULL
27022 };
27023
27024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27026 if (!SWIG_IsOK(res1)) {
27027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27028 }
27029 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27030 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27031 if (!SWIG_IsOK(res2)) {
27032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27033 }
27034 arg2 = reinterpret_cast< wxWindow * >(argp2);
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 result = (bool)(arg1)->Setup(arg2);
27038 wxPyEndAllowThreads(__tstate);
27039 if (PyErr_Occurred()) SWIG_fail;
27040 }
27041 {
27042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27043 }
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27051 PyObject *resultobj = 0;
27052 wxPrinter *arg1 = (wxPrinter *) 0 ;
27053 wxWindow *arg2 = (wxWindow *) 0 ;
27054 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27055 bool arg4 = (bool) true ;
27056 bool result;
27057 void *argp1 = 0 ;
27058 int res1 = 0 ;
27059 void *argp2 = 0 ;
27060 int res2 = 0 ;
27061 void *argp3 = 0 ;
27062 int res3 = 0 ;
27063 bool val4 ;
27064 int ecode4 = 0 ;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 PyObject * obj2 = 0 ;
27068 PyObject * obj3 = 0 ;
27069 char * kwnames[] = {
27070 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27071 };
27072
27073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27075 if (!SWIG_IsOK(res1)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27077 }
27078 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27079 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27080 if (!SWIG_IsOK(res2)) {
27081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27082 }
27083 arg2 = reinterpret_cast< wxWindow * >(argp2);
27084 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27085 if (!SWIG_IsOK(res3)) {
27086 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27087 }
27088 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27089 if (obj3) {
27090 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27091 if (!SWIG_IsOK(ecode4)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27093 }
27094 arg4 = static_cast< bool >(val4);
27095 }
27096 {
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27099 wxPyEndAllowThreads(__tstate);
27100 if (PyErr_Occurred()) SWIG_fail;
27101 }
27102 {
27103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27104 }
27105 return resultobj;
27106 fail:
27107 return NULL;
27108 }
27109
27110
27111 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj = 0;
27113 wxPrinter *arg1 = (wxPrinter *) 0 ;
27114 wxWindow *arg2 = (wxWindow *) 0 ;
27115 wxDC *result = 0 ;
27116 void *argp1 = 0 ;
27117 int res1 = 0 ;
27118 void *argp2 = 0 ;
27119 int res2 = 0 ;
27120 PyObject * obj0 = 0 ;
27121 PyObject * obj1 = 0 ;
27122 char * kwnames[] = {
27123 (char *) "self",(char *) "parent", NULL
27124 };
27125
27126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27128 if (!SWIG_IsOK(res1)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27130 }
27131 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27132 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27133 if (!SWIG_IsOK(res2)) {
27134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27135 }
27136 arg2 = reinterpret_cast< wxWindow * >(argp2);
27137 {
27138 PyThreadState* __tstate = wxPyBeginAllowThreads();
27139 result = (wxDC *)(arg1)->PrintDialog(arg2);
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 {
27144 resultobj = wxPyMake_wxObject(result, (bool)0);
27145 }
27146 return resultobj;
27147 fail:
27148 return NULL;
27149 }
27150
27151
27152 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27153 PyObject *resultobj = 0;
27154 wxPrinter *arg1 = (wxPrinter *) 0 ;
27155 wxPrintDialogData *result = 0 ;
27156 void *argp1 = 0 ;
27157 int res1 = 0 ;
27158 PyObject *swig_obj[1] ;
27159
27160 if (!args) SWIG_fail;
27161 swig_obj[0] = args;
27162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27163 if (!SWIG_IsOK(res1)) {
27164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27165 }
27166 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 {
27170 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27171 result = (wxPrintDialogData *) &_result_ref;
27172 }
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27177 return resultobj;
27178 fail:
27179 return NULL;
27180 }
27181
27182
27183 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27184 PyObject *resultobj = 0;
27185 wxPrinter *arg1 = (wxPrinter *) 0 ;
27186 bool result;
27187 void *argp1 = 0 ;
27188 int res1 = 0 ;
27189 PyObject *swig_obj[1] ;
27190
27191 if (!args) SWIG_fail;
27192 swig_obj[0] = args;
27193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27194 if (!SWIG_IsOK(res1)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27196 }
27197 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27198 {
27199 PyThreadState* __tstate = wxPyBeginAllowThreads();
27200 result = (bool)(arg1)->GetAbort();
27201 wxPyEndAllowThreads(__tstate);
27202 if (PyErr_Occurred()) SWIG_fail;
27203 }
27204 {
27205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27206 }
27207 return resultobj;
27208 fail:
27209 return NULL;
27210 }
27211
27212
27213 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27214 PyObject *resultobj = 0;
27215 wxPrinterError result;
27216
27217 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 result = (wxPrinterError)wxPrinter::GetLastError();
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 resultobj = SWIG_From_int(static_cast< int >(result));
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27232 PyObject *obj;
27233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27235 return SWIG_Py_Void();
27236 }
27237
27238 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27239 return SWIG_Python_InitShadowInstance(args);
27240 }
27241
27242 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj = 0;
27244 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27245 wxString *arg1 = (wxString *) &arg1_defvalue ;
27246 wxPyPrintout *result = 0 ;
27247 bool temp1 = false ;
27248 PyObject * obj0 = 0 ;
27249 char * kwnames[] = {
27250 (char *) "title", NULL
27251 };
27252
27253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27254 if (obj0) {
27255 {
27256 arg1 = wxString_in_helper(obj0);
27257 if (arg1 == NULL) SWIG_fail;
27258 temp1 = true;
27259 }
27260 }
27261 {
27262 if (!wxPyCheckForApp()) SWIG_fail;
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27269 {
27270 if (temp1)
27271 delete arg1;
27272 }
27273 return resultobj;
27274 fail:
27275 {
27276 if (temp1)
27277 delete arg1;
27278 }
27279 return NULL;
27280 }
27281
27282
27283 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27284 PyObject *resultobj = 0;
27285 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27286 void *argp1 = 0 ;
27287 int res1 = 0 ;
27288 PyObject *swig_obj[1] ;
27289
27290 if (!args) SWIG_fail;
27291 swig_obj[0] = args;
27292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27293 if (!SWIG_IsOK(res1)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27295 }
27296 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27297 {
27298 PyThreadState* __tstate = wxPyBeginAllowThreads();
27299 delete arg1;
27300
27301 wxPyEndAllowThreads(__tstate);
27302 if (PyErr_Occurred()) SWIG_fail;
27303 }
27304 resultobj = SWIG_Py_Void();
27305 return resultobj;
27306 fail:
27307 return NULL;
27308 }
27309
27310
27311 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27312 PyObject *resultobj = 0;
27313 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27314 PyObject *arg2 = (PyObject *) 0 ;
27315 PyObject *arg3 = (PyObject *) 0 ;
27316 void *argp1 = 0 ;
27317 int res1 = 0 ;
27318 PyObject * obj0 = 0 ;
27319 PyObject * obj1 = 0 ;
27320 PyObject * obj2 = 0 ;
27321 char * kwnames[] = {
27322 (char *) "self",(char *) "self",(char *) "_class", NULL
27323 };
27324
27325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27327 if (!SWIG_IsOK(res1)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27329 }
27330 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27331 arg2 = obj1;
27332 arg3 = obj2;
27333 {
27334 PyThreadState* __tstate = wxPyBeginAllowThreads();
27335 (arg1)->_setCallbackInfo(arg2,arg3);
27336 wxPyEndAllowThreads(__tstate);
27337 if (PyErr_Occurred()) SWIG_fail;
27338 }
27339 resultobj = SWIG_Py_Void();
27340 return resultobj;
27341 fail:
27342 return NULL;
27343 }
27344
27345
27346 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27347 PyObject *resultobj = 0;
27348 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27349 wxString result;
27350 void *argp1 = 0 ;
27351 int res1 = 0 ;
27352 PyObject *swig_obj[1] ;
27353
27354 if (!args) SWIG_fail;
27355 swig_obj[0] = args;
27356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27357 if (!SWIG_IsOK(res1)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27359 }
27360 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27361 {
27362 PyThreadState* __tstate = wxPyBeginAllowThreads();
27363 result = ((wxPyPrintout const *)arg1)->GetTitle();
27364 wxPyEndAllowThreads(__tstate);
27365 if (PyErr_Occurred()) SWIG_fail;
27366 }
27367 {
27368 #if wxUSE_UNICODE
27369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27370 #else
27371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27372 #endif
27373 }
27374 return resultobj;
27375 fail:
27376 return NULL;
27377 }
27378
27379
27380 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27381 PyObject *resultobj = 0;
27382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27383 wxDC *result = 0 ;
27384 void *argp1 = 0 ;
27385 int res1 = 0 ;
27386 PyObject *swig_obj[1] ;
27387
27388 if (!args) SWIG_fail;
27389 swig_obj[0] = args;
27390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27391 if (!SWIG_IsOK(res1)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27393 }
27394 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27395 {
27396 PyThreadState* __tstate = wxPyBeginAllowThreads();
27397 result = (wxDC *)(arg1)->GetDC();
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 {
27402 resultobj = wxPyMake_wxObject(result, (bool)0);
27403 }
27404 return resultobj;
27405 fail:
27406 return NULL;
27407 }
27408
27409
27410 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27411 PyObject *resultobj = 0;
27412 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27413 wxDC *arg2 = (wxDC *) 0 ;
27414 void *argp1 = 0 ;
27415 int res1 = 0 ;
27416 void *argp2 = 0 ;
27417 int res2 = 0 ;
27418 PyObject * obj0 = 0 ;
27419 PyObject * obj1 = 0 ;
27420 char * kwnames[] = {
27421 (char *) "self",(char *) "dc", NULL
27422 };
27423
27424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27426 if (!SWIG_IsOK(res1)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27428 }
27429 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27431 if (!SWIG_IsOK(res2)) {
27432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27433 }
27434 arg2 = reinterpret_cast< wxDC * >(argp2);
27435 {
27436 PyThreadState* __tstate = wxPyBeginAllowThreads();
27437 (arg1)->SetDC(arg2);
27438 wxPyEndAllowThreads(__tstate);
27439 if (PyErr_Occurred()) SWIG_fail;
27440 }
27441 resultobj = SWIG_Py_Void();
27442 return resultobj;
27443 fail:
27444 return NULL;
27445 }
27446
27447
27448 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27449 PyObject *resultobj = 0;
27450 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27451 int arg2 ;
27452 int arg3 ;
27453 void *argp1 = 0 ;
27454 int res1 = 0 ;
27455 int val2 ;
27456 int ecode2 = 0 ;
27457 int val3 ;
27458 int ecode3 = 0 ;
27459 PyObject * obj0 = 0 ;
27460 PyObject * obj1 = 0 ;
27461 PyObject * obj2 = 0 ;
27462 char * kwnames[] = {
27463 (char *) "self",(char *) "w",(char *) "h", NULL
27464 };
27465
27466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27468 if (!SWIG_IsOK(res1)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27470 }
27471 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27472 ecode2 = SWIG_AsVal_int(obj1, &val2);
27473 if (!SWIG_IsOK(ecode2)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27475 }
27476 arg2 = static_cast< int >(val2);
27477 ecode3 = SWIG_AsVal_int(obj2, &val3);
27478 if (!SWIG_IsOK(ecode3)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27480 }
27481 arg3 = static_cast< int >(val3);
27482 {
27483 PyThreadState* __tstate = wxPyBeginAllowThreads();
27484 (arg1)->SetPageSizePixels(arg2,arg3);
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 resultobj = SWIG_Py_Void();
27489 return resultobj;
27490 fail:
27491 return NULL;
27492 }
27493
27494
27495 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27496 PyObject *resultobj = 0;
27497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27498 int *arg2 = (int *) 0 ;
27499 int *arg3 = (int *) 0 ;
27500 void *argp1 = 0 ;
27501 int res1 = 0 ;
27502 int temp2 ;
27503 int res2 = SWIG_TMPOBJ ;
27504 int temp3 ;
27505 int res3 = SWIG_TMPOBJ ;
27506 PyObject *swig_obj[1] ;
27507
27508 arg2 = &temp2;
27509 arg3 = &temp3;
27510 if (!args) SWIG_fail;
27511 swig_obj[0] = args;
27512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27513 if (!SWIG_IsOK(res1)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27515 }
27516 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27517 {
27518 PyThreadState* __tstate = wxPyBeginAllowThreads();
27519 (arg1)->GetPageSizePixels(arg2,arg3);
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 resultobj = SWIG_Py_Void();
27524 if (SWIG_IsTmpObj(res2)) {
27525 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27526 } else {
27527 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27528 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27529 }
27530 if (SWIG_IsTmpObj(res3)) {
27531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27532 } else {
27533 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27535 }
27536 return resultobj;
27537 fail:
27538 return NULL;
27539 }
27540
27541
27542 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27543 PyObject *resultobj = 0;
27544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27545 int arg2 ;
27546 int arg3 ;
27547 void *argp1 = 0 ;
27548 int res1 = 0 ;
27549 int val2 ;
27550 int ecode2 = 0 ;
27551 int val3 ;
27552 int ecode3 = 0 ;
27553 PyObject * obj0 = 0 ;
27554 PyObject * obj1 = 0 ;
27555 PyObject * obj2 = 0 ;
27556 char * kwnames[] = {
27557 (char *) "self",(char *) "w",(char *) "h", NULL
27558 };
27559
27560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27562 if (!SWIG_IsOK(res1)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27564 }
27565 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27566 ecode2 = SWIG_AsVal_int(obj1, &val2);
27567 if (!SWIG_IsOK(ecode2)) {
27568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27569 }
27570 arg2 = static_cast< int >(val2);
27571 ecode3 = SWIG_AsVal_int(obj2, &val3);
27572 if (!SWIG_IsOK(ecode3)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27574 }
27575 arg3 = static_cast< int >(val3);
27576 {
27577 PyThreadState* __tstate = wxPyBeginAllowThreads();
27578 (arg1)->SetPageSizeMM(arg2,arg3);
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 resultobj = SWIG_Py_Void();
27583 return resultobj;
27584 fail:
27585 return NULL;
27586 }
27587
27588
27589 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27590 PyObject *resultobj = 0;
27591 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27592 int *arg2 = (int *) 0 ;
27593 int *arg3 = (int *) 0 ;
27594 void *argp1 = 0 ;
27595 int res1 = 0 ;
27596 int temp2 ;
27597 int res2 = SWIG_TMPOBJ ;
27598 int temp3 ;
27599 int res3 = SWIG_TMPOBJ ;
27600 PyObject *swig_obj[1] ;
27601
27602 arg2 = &temp2;
27603 arg3 = &temp3;
27604 if (!args) SWIG_fail;
27605 swig_obj[0] = args;
27606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27607 if (!SWIG_IsOK(res1)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27609 }
27610 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27611 {
27612 PyThreadState* __tstate = wxPyBeginAllowThreads();
27613 (arg1)->GetPageSizeMM(arg2,arg3);
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 resultobj = SWIG_Py_Void();
27618 if (SWIG_IsTmpObj(res2)) {
27619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27620 } else {
27621 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27623 }
27624 if (SWIG_IsTmpObj(res3)) {
27625 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27626 } else {
27627 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27628 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27629 }
27630 return resultobj;
27631 fail:
27632 return NULL;
27633 }
27634
27635
27636 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27637 PyObject *resultobj = 0;
27638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27639 int arg2 ;
27640 int arg3 ;
27641 void *argp1 = 0 ;
27642 int res1 = 0 ;
27643 int val2 ;
27644 int ecode2 = 0 ;
27645 int val3 ;
27646 int ecode3 = 0 ;
27647 PyObject * obj0 = 0 ;
27648 PyObject * obj1 = 0 ;
27649 PyObject * obj2 = 0 ;
27650 char * kwnames[] = {
27651 (char *) "self",(char *) "x",(char *) "y", NULL
27652 };
27653
27654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27656 if (!SWIG_IsOK(res1)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27658 }
27659 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27660 ecode2 = SWIG_AsVal_int(obj1, &val2);
27661 if (!SWIG_IsOK(ecode2)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27663 }
27664 arg2 = static_cast< int >(val2);
27665 ecode3 = SWIG_AsVal_int(obj2, &val3);
27666 if (!SWIG_IsOK(ecode3)) {
27667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27668 }
27669 arg3 = static_cast< int >(val3);
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 (arg1)->SetPPIScreen(arg2,arg3);
27673 wxPyEndAllowThreads(__tstate);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 resultobj = SWIG_Py_Void();
27677 return resultobj;
27678 fail:
27679 return NULL;
27680 }
27681
27682
27683 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27684 PyObject *resultobj = 0;
27685 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27686 int *arg2 = (int *) 0 ;
27687 int *arg3 = (int *) 0 ;
27688 void *argp1 = 0 ;
27689 int res1 = 0 ;
27690 int temp2 ;
27691 int res2 = SWIG_TMPOBJ ;
27692 int temp3 ;
27693 int res3 = SWIG_TMPOBJ ;
27694 PyObject *swig_obj[1] ;
27695
27696 arg2 = &temp2;
27697 arg3 = &temp3;
27698 if (!args) SWIG_fail;
27699 swig_obj[0] = args;
27700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27701 if (!SWIG_IsOK(res1)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27703 }
27704 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27705 {
27706 PyThreadState* __tstate = wxPyBeginAllowThreads();
27707 (arg1)->GetPPIScreen(arg2,arg3);
27708 wxPyEndAllowThreads(__tstate);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 resultobj = SWIG_Py_Void();
27712 if (SWIG_IsTmpObj(res2)) {
27713 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27714 } else {
27715 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27716 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27717 }
27718 if (SWIG_IsTmpObj(res3)) {
27719 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27720 } else {
27721 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27722 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27723 }
27724 return resultobj;
27725 fail:
27726 return NULL;
27727 }
27728
27729
27730 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27731 PyObject *resultobj = 0;
27732 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27733 int arg2 ;
27734 int arg3 ;
27735 void *argp1 = 0 ;
27736 int res1 = 0 ;
27737 int val2 ;
27738 int ecode2 = 0 ;
27739 int val3 ;
27740 int ecode3 = 0 ;
27741 PyObject * obj0 = 0 ;
27742 PyObject * obj1 = 0 ;
27743 PyObject * obj2 = 0 ;
27744 char * kwnames[] = {
27745 (char *) "self",(char *) "x",(char *) "y", NULL
27746 };
27747
27748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27750 if (!SWIG_IsOK(res1)) {
27751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27752 }
27753 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27754 ecode2 = SWIG_AsVal_int(obj1, &val2);
27755 if (!SWIG_IsOK(ecode2)) {
27756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27757 }
27758 arg2 = static_cast< int >(val2);
27759 ecode3 = SWIG_AsVal_int(obj2, &val3);
27760 if (!SWIG_IsOK(ecode3)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27762 }
27763 arg3 = static_cast< int >(val3);
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 (arg1)->SetPPIPrinter(arg2,arg3);
27767 wxPyEndAllowThreads(__tstate);
27768 if (PyErr_Occurred()) SWIG_fail;
27769 }
27770 resultobj = SWIG_Py_Void();
27771 return resultobj;
27772 fail:
27773 return NULL;
27774 }
27775
27776
27777 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27778 PyObject *resultobj = 0;
27779 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27780 int *arg2 = (int *) 0 ;
27781 int *arg3 = (int *) 0 ;
27782 void *argp1 = 0 ;
27783 int res1 = 0 ;
27784 int temp2 ;
27785 int res2 = SWIG_TMPOBJ ;
27786 int temp3 ;
27787 int res3 = SWIG_TMPOBJ ;
27788 PyObject *swig_obj[1] ;
27789
27790 arg2 = &temp2;
27791 arg3 = &temp3;
27792 if (!args) SWIG_fail;
27793 swig_obj[0] = args;
27794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27795 if (!SWIG_IsOK(res1)) {
27796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27797 }
27798 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27799 {
27800 PyThreadState* __tstate = wxPyBeginAllowThreads();
27801 (arg1)->GetPPIPrinter(arg2,arg3);
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 resultobj = SWIG_Py_Void();
27806 if (SWIG_IsTmpObj(res2)) {
27807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27808 } else {
27809 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27810 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27811 }
27812 if (SWIG_IsTmpObj(res3)) {
27813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27814 } else {
27815 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27817 }
27818 return resultobj;
27819 fail:
27820 return NULL;
27821 }
27822
27823
27824 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27825 PyObject *resultobj = 0;
27826 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27827 bool result;
27828 void *argp1 = 0 ;
27829 int res1 = 0 ;
27830 PyObject *swig_obj[1] ;
27831
27832 if (!args) SWIG_fail;
27833 swig_obj[0] = args;
27834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27835 if (!SWIG_IsOK(res1)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27837 }
27838 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27839 {
27840 PyThreadState* __tstate = wxPyBeginAllowThreads();
27841 result = (bool)(arg1)->IsPreview();
27842 wxPyEndAllowThreads(__tstate);
27843 if (PyErr_Occurred()) SWIG_fail;
27844 }
27845 {
27846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27847 }
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27855 PyObject *resultobj = 0;
27856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27857 bool arg2 ;
27858 void *argp1 = 0 ;
27859 int res1 = 0 ;
27860 bool val2 ;
27861 int ecode2 = 0 ;
27862 PyObject * obj0 = 0 ;
27863 PyObject * obj1 = 0 ;
27864 char * kwnames[] = {
27865 (char *) "self",(char *) "p", NULL
27866 };
27867
27868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27870 if (!SWIG_IsOK(res1)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27872 }
27873 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27874 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27875 if (!SWIG_IsOK(ecode2)) {
27876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27877 }
27878 arg2 = static_cast< bool >(val2);
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 (arg1)->SetIsPreview(arg2);
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 resultobj = SWIG_Py_Void();
27886 return resultobj;
27887 fail:
27888 return NULL;
27889 }
27890
27891
27892 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj = 0;
27894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27895 int arg2 ;
27896 int arg3 ;
27897 bool result;
27898 void *argp1 = 0 ;
27899 int res1 = 0 ;
27900 int val2 ;
27901 int ecode2 = 0 ;
27902 int val3 ;
27903 int ecode3 = 0 ;
27904 PyObject * obj0 = 0 ;
27905 PyObject * obj1 = 0 ;
27906 PyObject * obj2 = 0 ;
27907 char * kwnames[] = {
27908 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27909 };
27910
27911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27913 if (!SWIG_IsOK(res1)) {
27914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27915 }
27916 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27917 ecode2 = SWIG_AsVal_int(obj1, &val2);
27918 if (!SWIG_IsOK(ecode2)) {
27919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27920 }
27921 arg2 = static_cast< int >(val2);
27922 ecode3 = SWIG_AsVal_int(obj2, &val3);
27923 if (!SWIG_IsOK(ecode3)) {
27924 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27925 }
27926 arg3 = static_cast< int >(val3);
27927 {
27928 PyThreadState* __tstate = wxPyBeginAllowThreads();
27929 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27930 wxPyEndAllowThreads(__tstate);
27931 if (PyErr_Occurred()) SWIG_fail;
27932 }
27933 {
27934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27935 }
27936 return resultobj;
27937 fail:
27938 return NULL;
27939 }
27940
27941
27942 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27943 PyObject *resultobj = 0;
27944 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27945 void *argp1 = 0 ;
27946 int res1 = 0 ;
27947 PyObject *swig_obj[1] ;
27948
27949 if (!args) SWIG_fail;
27950 swig_obj[0] = args;
27951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27952 if (!SWIG_IsOK(res1)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27954 }
27955 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27956 {
27957 PyThreadState* __tstate = wxPyBeginAllowThreads();
27958 (arg1)->OnEndDocument();
27959 wxPyEndAllowThreads(__tstate);
27960 if (PyErr_Occurred()) SWIG_fail;
27961 }
27962 resultobj = SWIG_Py_Void();
27963 return resultobj;
27964 fail:
27965 return NULL;
27966 }
27967
27968
27969 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27970 PyObject *resultobj = 0;
27971 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27972 void *argp1 = 0 ;
27973 int res1 = 0 ;
27974 PyObject *swig_obj[1] ;
27975
27976 if (!args) SWIG_fail;
27977 swig_obj[0] = args;
27978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27979 if (!SWIG_IsOK(res1)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27981 }
27982 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 (arg1)->OnBeginPrinting();
27986 wxPyEndAllowThreads(__tstate);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 }
27989 resultobj = SWIG_Py_Void();
27990 return resultobj;
27991 fail:
27992 return NULL;
27993 }
27994
27995
27996 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27997 PyObject *resultobj = 0;
27998 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27999 void *argp1 = 0 ;
28000 int res1 = 0 ;
28001 PyObject *swig_obj[1] ;
28002
28003 if (!args) SWIG_fail;
28004 swig_obj[0] = args;
28005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28006 if (!SWIG_IsOK(res1)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28008 }
28009 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 (arg1)->OnEndPrinting();
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 resultobj = SWIG_Py_Void();
28017 return resultobj;
28018 fail:
28019 return NULL;
28020 }
28021
28022
28023 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28024 PyObject *resultobj = 0;
28025 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28026 void *argp1 = 0 ;
28027 int res1 = 0 ;
28028 PyObject *swig_obj[1] ;
28029
28030 if (!args) SWIG_fail;
28031 swig_obj[0] = args;
28032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28033 if (!SWIG_IsOK(res1)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28035 }
28036 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 (arg1)->OnPreparePrinting();
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 resultobj = SWIG_Py_Void();
28044 return resultobj;
28045 fail:
28046 return NULL;
28047 }
28048
28049
28050 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28051 PyObject *resultobj = 0;
28052 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28053 int arg2 ;
28054 bool result;
28055 void *argp1 = 0 ;
28056 int res1 = 0 ;
28057 int val2 ;
28058 int ecode2 = 0 ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 char * kwnames[] = {
28062 (char *) "self",(char *) "page", NULL
28063 };
28064
28065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28067 if (!SWIG_IsOK(res1)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 }
28070 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28071 ecode2 = SWIG_AsVal_int(obj1, &val2);
28072 if (!SWIG_IsOK(ecode2)) {
28073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28074 }
28075 arg2 = static_cast< int >(val2);
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 result = (bool)(arg1)->HasPage(arg2);
28079 wxPyEndAllowThreads(__tstate);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 {
28083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28084 }
28085 return resultobj;
28086 fail:
28087 return NULL;
28088 }
28089
28090
28091 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28092 PyObject *resultobj = 0;
28093 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28094 int *arg2 = (int *) 0 ;
28095 int *arg3 = (int *) 0 ;
28096 int *arg4 = (int *) 0 ;
28097 int *arg5 = (int *) 0 ;
28098 void *argp1 = 0 ;
28099 int res1 = 0 ;
28100 int temp2 ;
28101 int res2 = SWIG_TMPOBJ ;
28102 int temp3 ;
28103 int res3 = SWIG_TMPOBJ ;
28104 int temp4 ;
28105 int res4 = SWIG_TMPOBJ ;
28106 int temp5 ;
28107 int res5 = SWIG_TMPOBJ ;
28108 PyObject *swig_obj[1] ;
28109
28110 arg2 = &temp2;
28111 arg3 = &temp3;
28112 arg4 = &temp4;
28113 arg5 = &temp5;
28114 if (!args) SWIG_fail;
28115 swig_obj[0] = args;
28116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28117 if (!SWIG_IsOK(res1)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28119 }
28120 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28124 wxPyEndAllowThreads(__tstate);
28125 if (PyErr_Occurred()) SWIG_fail;
28126 }
28127 resultobj = SWIG_Py_Void();
28128 if (SWIG_IsTmpObj(res2)) {
28129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28130 } else {
28131 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28133 }
28134 if (SWIG_IsTmpObj(res3)) {
28135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28136 } else {
28137 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28139 }
28140 if (SWIG_IsTmpObj(res4)) {
28141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28142 } else {
28143 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28144 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28145 }
28146 if (SWIG_IsTmpObj(res5)) {
28147 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28148 } else {
28149 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28150 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28151 }
28152 return resultobj;
28153 fail:
28154 return NULL;
28155 }
28156
28157
28158 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28159 PyObject *obj;
28160 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28162 return SWIG_Py_Void();
28163 }
28164
28165 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28166 return SWIG_Python_InitShadowInstance(args);
28167 }
28168
28169 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj = 0;
28171 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28172 wxWindow *arg2 = (wxWindow *) 0 ;
28173 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28174 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28175 wxSize const &arg4_defvalue = wxDefaultSize ;
28176 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28177 long arg5 = (long) 0 ;
28178 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28179 wxString *arg6 = (wxString *) &arg6_defvalue ;
28180 wxPreviewCanvas *result = 0 ;
28181 void *argp1 = 0 ;
28182 int res1 = 0 ;
28183 void *argp2 = 0 ;
28184 int res2 = 0 ;
28185 wxPoint temp3 ;
28186 wxSize temp4 ;
28187 long val5 ;
28188 int ecode5 = 0 ;
28189 bool temp6 = false ;
28190 PyObject * obj0 = 0 ;
28191 PyObject * obj1 = 0 ;
28192 PyObject * obj2 = 0 ;
28193 PyObject * obj3 = 0 ;
28194 PyObject * obj4 = 0 ;
28195 PyObject * obj5 = 0 ;
28196 char * kwnames[] = {
28197 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28198 };
28199
28200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28202 if (!SWIG_IsOK(res1)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28204 }
28205 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28206 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28207 if (!SWIG_IsOK(res2)) {
28208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28209 }
28210 arg2 = reinterpret_cast< wxWindow * >(argp2);
28211 if (obj2) {
28212 {
28213 arg3 = &temp3;
28214 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28215 }
28216 }
28217 if (obj3) {
28218 {
28219 arg4 = &temp4;
28220 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28221 }
28222 }
28223 if (obj4) {
28224 ecode5 = SWIG_AsVal_long(obj4, &val5);
28225 if (!SWIG_IsOK(ecode5)) {
28226 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28227 }
28228 arg5 = static_cast< long >(val5);
28229 }
28230 if (obj5) {
28231 {
28232 arg6 = wxString_in_helper(obj5);
28233 if (arg6 == NULL) SWIG_fail;
28234 temp6 = true;
28235 }
28236 }
28237 {
28238 if (!wxPyCheckForApp()) SWIG_fail;
28239 PyThreadState* __tstate = wxPyBeginAllowThreads();
28240 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28241 wxPyEndAllowThreads(__tstate);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 }
28244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28245 {
28246 if (temp6)
28247 delete arg6;
28248 }
28249 return resultobj;
28250 fail:
28251 {
28252 if (temp6)
28253 delete arg6;
28254 }
28255 return NULL;
28256 }
28257
28258
28259 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28260 PyObject *obj;
28261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28262 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28263 return SWIG_Py_Void();
28264 }
28265
28266 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28267 return SWIG_Python_InitShadowInstance(args);
28268 }
28269
28270 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28271 PyObject *resultobj = 0;
28272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28273 wxFrame *arg2 = (wxFrame *) 0 ;
28274 wxString *arg3 = 0 ;
28275 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28276 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28277 wxSize const &arg5_defvalue = wxDefaultSize ;
28278 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28279 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28280 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28281 wxString *arg7 = (wxString *) &arg7_defvalue ;
28282 wxPreviewFrame *result = 0 ;
28283 int res1 = 0 ;
28284 void *argp2 = 0 ;
28285 int res2 = 0 ;
28286 bool temp3 = false ;
28287 wxPoint temp4 ;
28288 wxSize temp5 ;
28289 long val6 ;
28290 int ecode6 = 0 ;
28291 bool temp7 = false ;
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 PyObject * obj2 = 0 ;
28295 PyObject * obj3 = 0 ;
28296 PyObject * obj4 = 0 ;
28297 PyObject * obj5 = 0 ;
28298 PyObject * obj6 = 0 ;
28299 char * kwnames[] = {
28300 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28301 };
28302
28303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28304 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28305 if (!SWIG_IsOK(res1)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28307 }
28308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28309 if (!SWIG_IsOK(res2)) {
28310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28311 }
28312 arg2 = reinterpret_cast< wxFrame * >(argp2);
28313 {
28314 arg3 = wxString_in_helper(obj2);
28315 if (arg3 == NULL) SWIG_fail;
28316 temp3 = true;
28317 }
28318 if (obj3) {
28319 {
28320 arg4 = &temp4;
28321 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28322 }
28323 }
28324 if (obj4) {
28325 {
28326 arg5 = &temp5;
28327 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28328 }
28329 }
28330 if (obj5) {
28331 ecode6 = SWIG_AsVal_long(obj5, &val6);
28332 if (!SWIG_IsOK(ecode6)) {
28333 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28334 }
28335 arg6 = static_cast< long >(val6);
28336 }
28337 if (obj6) {
28338 {
28339 arg7 = wxString_in_helper(obj6);
28340 if (arg7 == NULL) SWIG_fail;
28341 temp7 = true;
28342 }
28343 }
28344 {
28345 if (!wxPyCheckForApp()) SWIG_fail;
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28352 {
28353 if (temp3)
28354 delete arg3;
28355 }
28356 {
28357 if (temp7)
28358 delete arg7;
28359 }
28360 return resultobj;
28361 fail:
28362 {
28363 if (temp3)
28364 delete arg3;
28365 }
28366 {
28367 if (temp7)
28368 delete arg7;
28369 }
28370 return NULL;
28371 }
28372
28373
28374 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28375 PyObject *resultobj = 0;
28376 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28377 void *argp1 = 0 ;
28378 int res1 = 0 ;
28379 PyObject *swig_obj[1] ;
28380
28381 if (!args) SWIG_fail;
28382 swig_obj[0] = args;
28383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28384 if (!SWIG_IsOK(res1)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28386 }
28387 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 (arg1)->Initialize();
28391 wxPyEndAllowThreads(__tstate);
28392 if (PyErr_Occurred()) SWIG_fail;
28393 }
28394 resultobj = SWIG_Py_Void();
28395 return resultobj;
28396 fail:
28397 return NULL;
28398 }
28399
28400
28401 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28402 PyObject *resultobj = 0;
28403 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28404 void *argp1 = 0 ;
28405 int res1 = 0 ;
28406 PyObject *swig_obj[1] ;
28407
28408 if (!args) SWIG_fail;
28409 swig_obj[0] = args;
28410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28411 if (!SWIG_IsOK(res1)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28413 }
28414 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28415 {
28416 PyThreadState* __tstate = wxPyBeginAllowThreads();
28417 (arg1)->CreateControlBar();
28418 wxPyEndAllowThreads(__tstate);
28419 if (PyErr_Occurred()) SWIG_fail;
28420 }
28421 resultobj = SWIG_Py_Void();
28422 return resultobj;
28423 fail:
28424 return NULL;
28425 }
28426
28427
28428 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28429 PyObject *resultobj = 0;
28430 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28431 void *argp1 = 0 ;
28432 int res1 = 0 ;
28433 PyObject *swig_obj[1] ;
28434
28435 if (!args) SWIG_fail;
28436 swig_obj[0] = args;
28437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28438 if (!SWIG_IsOK(res1)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28440 }
28441 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 (arg1)->CreateCanvas();
28445 wxPyEndAllowThreads(__tstate);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 resultobj = SWIG_Py_Void();
28449 return resultobj;
28450 fail:
28451 return NULL;
28452 }
28453
28454
28455 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28456 PyObject *resultobj = 0;
28457 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28458 wxPreviewControlBar *result = 0 ;
28459 void *argp1 = 0 ;
28460 int res1 = 0 ;
28461 PyObject *swig_obj[1] ;
28462
28463 if (!args) SWIG_fail;
28464 swig_obj[0] = args;
28465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28466 if (!SWIG_IsOK(res1)) {
28467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28468 }
28469 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28470 {
28471 PyThreadState* __tstate = wxPyBeginAllowThreads();
28472 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28477 return resultobj;
28478 fail:
28479 return NULL;
28480 }
28481
28482
28483 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28484 PyObject *obj;
28485 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28486 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28487 return SWIG_Py_Void();
28488 }
28489
28490 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28491 return SWIG_Python_InitShadowInstance(args);
28492 }
28493
28494 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28495 PyObject *resultobj = 0;
28496 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28497 long arg2 ;
28498 wxWindow *arg3 = (wxWindow *) 0 ;
28499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28501 wxSize const &arg5_defvalue = wxDefaultSize ;
28502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28503 long arg6 = (long) wxTAB_TRAVERSAL ;
28504 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28505 wxString *arg7 = (wxString *) &arg7_defvalue ;
28506 wxPreviewControlBar *result = 0 ;
28507 void *argp1 = 0 ;
28508 int res1 = 0 ;
28509 long val2 ;
28510 int ecode2 = 0 ;
28511 void *argp3 = 0 ;
28512 int res3 = 0 ;
28513 wxPoint temp4 ;
28514 wxSize temp5 ;
28515 long val6 ;
28516 int ecode6 = 0 ;
28517 bool temp7 = false ;
28518 PyObject * obj0 = 0 ;
28519 PyObject * obj1 = 0 ;
28520 PyObject * obj2 = 0 ;
28521 PyObject * obj3 = 0 ;
28522 PyObject * obj4 = 0 ;
28523 PyObject * obj5 = 0 ;
28524 PyObject * obj6 = 0 ;
28525 char * kwnames[] = {
28526 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28527 };
28528
28529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28531 if (!SWIG_IsOK(res1)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28533 }
28534 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28535 ecode2 = SWIG_AsVal_long(obj1, &val2);
28536 if (!SWIG_IsOK(ecode2)) {
28537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28538 }
28539 arg2 = static_cast< long >(val2);
28540 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28541 if (!SWIG_IsOK(res3)) {
28542 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28543 }
28544 arg3 = reinterpret_cast< wxWindow * >(argp3);
28545 if (obj3) {
28546 {
28547 arg4 = &temp4;
28548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28549 }
28550 }
28551 if (obj4) {
28552 {
28553 arg5 = &temp5;
28554 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28555 }
28556 }
28557 if (obj5) {
28558 ecode6 = SWIG_AsVal_long(obj5, &val6);
28559 if (!SWIG_IsOK(ecode6)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28561 }
28562 arg6 = static_cast< long >(val6);
28563 }
28564 if (obj6) {
28565 {
28566 arg7 = wxString_in_helper(obj6);
28567 if (arg7 == NULL) SWIG_fail;
28568 temp7 = true;
28569 }
28570 }
28571 {
28572 if (!wxPyCheckForApp()) SWIG_fail;
28573 PyThreadState* __tstate = wxPyBeginAllowThreads();
28574 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28575 wxPyEndAllowThreads(__tstate);
28576 if (PyErr_Occurred()) SWIG_fail;
28577 }
28578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28579 {
28580 if (temp7)
28581 delete arg7;
28582 }
28583 return resultobj;
28584 fail:
28585 {
28586 if (temp7)
28587 delete arg7;
28588 }
28589 return NULL;
28590 }
28591
28592
28593 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28594 PyObject *resultobj = 0;
28595 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28596 int result;
28597 void *argp1 = 0 ;
28598 int res1 = 0 ;
28599 PyObject *swig_obj[1] ;
28600
28601 if (!args) SWIG_fail;
28602 swig_obj[0] = args;
28603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28604 if (!SWIG_IsOK(res1)) {
28605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28606 }
28607 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28608 {
28609 PyThreadState* __tstate = wxPyBeginAllowThreads();
28610 result = (int)(arg1)->GetZoomControl();
28611 wxPyEndAllowThreads(__tstate);
28612 if (PyErr_Occurred()) SWIG_fail;
28613 }
28614 resultobj = SWIG_From_int(static_cast< int >(result));
28615 return resultobj;
28616 fail:
28617 return NULL;
28618 }
28619
28620
28621 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28622 PyObject *resultobj = 0;
28623 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28624 int arg2 ;
28625 void *argp1 = 0 ;
28626 int res1 = 0 ;
28627 int val2 ;
28628 int ecode2 = 0 ;
28629 PyObject * obj0 = 0 ;
28630 PyObject * obj1 = 0 ;
28631 char * kwnames[] = {
28632 (char *) "self",(char *) "zoom", NULL
28633 };
28634
28635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28637 if (!SWIG_IsOK(res1)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28639 }
28640 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28641 ecode2 = SWIG_AsVal_int(obj1, &val2);
28642 if (!SWIG_IsOK(ecode2)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28644 }
28645 arg2 = static_cast< int >(val2);
28646 {
28647 PyThreadState* __tstate = wxPyBeginAllowThreads();
28648 (arg1)->SetZoomControl(arg2);
28649 wxPyEndAllowThreads(__tstate);
28650 if (PyErr_Occurred()) SWIG_fail;
28651 }
28652 resultobj = SWIG_Py_Void();
28653 return resultobj;
28654 fail:
28655 return NULL;
28656 }
28657
28658
28659 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28660 PyObject *resultobj = 0;
28661 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28662 wxPrintPreview *result = 0 ;
28663 void *argp1 = 0 ;
28664 int res1 = 0 ;
28665 PyObject *swig_obj[1] ;
28666
28667 if (!args) SWIG_fail;
28668 swig_obj[0] = args;
28669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28670 if (!SWIG_IsOK(res1)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28672 }
28673 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28677 wxPyEndAllowThreads(__tstate);
28678 if (PyErr_Occurred()) SWIG_fail;
28679 }
28680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28681 return resultobj;
28682 fail:
28683 return NULL;
28684 }
28685
28686
28687 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28688 PyObject *resultobj = 0;
28689 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28690 void *argp1 = 0 ;
28691 int res1 = 0 ;
28692 PyObject *swig_obj[1] ;
28693
28694 if (!args) SWIG_fail;
28695 swig_obj[0] = args;
28696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28697 if (!SWIG_IsOK(res1)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28699 }
28700 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28701 {
28702 PyThreadState* __tstate = wxPyBeginAllowThreads();
28703 (arg1)->OnNext();
28704 wxPyEndAllowThreads(__tstate);
28705 if (PyErr_Occurred()) SWIG_fail;
28706 }
28707 resultobj = SWIG_Py_Void();
28708 return resultobj;
28709 fail:
28710 return NULL;
28711 }
28712
28713
28714 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28715 PyObject *resultobj = 0;
28716 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28717 void *argp1 = 0 ;
28718 int res1 = 0 ;
28719 PyObject *swig_obj[1] ;
28720
28721 if (!args) SWIG_fail;
28722 swig_obj[0] = args;
28723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28724 if (!SWIG_IsOK(res1)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28726 }
28727 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28728 {
28729 PyThreadState* __tstate = wxPyBeginAllowThreads();
28730 (arg1)->OnPrevious();
28731 wxPyEndAllowThreads(__tstate);
28732 if (PyErr_Occurred()) SWIG_fail;
28733 }
28734 resultobj = SWIG_Py_Void();
28735 return resultobj;
28736 fail:
28737 return NULL;
28738 }
28739
28740
28741 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28742 PyObject *resultobj = 0;
28743 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28744 void *argp1 = 0 ;
28745 int res1 = 0 ;
28746 PyObject *swig_obj[1] ;
28747
28748 if (!args) SWIG_fail;
28749 swig_obj[0] = args;
28750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28751 if (!SWIG_IsOK(res1)) {
28752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28753 }
28754 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28755 {
28756 PyThreadState* __tstate = wxPyBeginAllowThreads();
28757 (arg1)->OnFirst();
28758 wxPyEndAllowThreads(__tstate);
28759 if (PyErr_Occurred()) SWIG_fail;
28760 }
28761 resultobj = SWIG_Py_Void();
28762 return resultobj;
28763 fail:
28764 return NULL;
28765 }
28766
28767
28768 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28769 PyObject *resultobj = 0;
28770 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28771 void *argp1 = 0 ;
28772 int res1 = 0 ;
28773 PyObject *swig_obj[1] ;
28774
28775 if (!args) SWIG_fail;
28776 swig_obj[0] = args;
28777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28778 if (!SWIG_IsOK(res1)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28780 }
28781 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 (arg1)->OnLast();
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 resultobj = SWIG_Py_Void();
28789 return resultobj;
28790 fail:
28791 return NULL;
28792 }
28793
28794
28795 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28796 PyObject *resultobj = 0;
28797 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28798 void *argp1 = 0 ;
28799 int res1 = 0 ;
28800 PyObject *swig_obj[1] ;
28801
28802 if (!args) SWIG_fail;
28803 swig_obj[0] = args;
28804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28805 if (!SWIG_IsOK(res1)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28807 }
28808 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28809 {
28810 PyThreadState* __tstate = wxPyBeginAllowThreads();
28811 (arg1)->OnGoto();
28812 wxPyEndAllowThreads(__tstate);
28813 if (PyErr_Occurred()) SWIG_fail;
28814 }
28815 resultobj = SWIG_Py_Void();
28816 return resultobj;
28817 fail:
28818 return NULL;
28819 }
28820
28821
28822 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28823 PyObject *obj;
28824 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28825 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28826 return SWIG_Py_Void();
28827 }
28828
28829 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28830 return SWIG_Python_InitShadowInstance(args);
28831 }
28832
28833 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28834 PyObject *resultobj = 0;
28835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28836 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28837 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28838 wxPrintPreview *result = 0 ;
28839 int res1 = 0 ;
28840 int res2 = 0 ;
28841 void *argp3 = 0 ;
28842 int res3 = 0 ;
28843
28844 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28845 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28846 if (!SWIG_IsOK(res1)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28848 }
28849 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28850 if (!SWIG_IsOK(res2)) {
28851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28852 }
28853 if (swig_obj[2]) {
28854 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28855 if (!SWIG_IsOK(res3)) {
28856 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28857 }
28858 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28859 }
28860 {
28861 if (!wxPyCheckForApp()) SWIG_fail;
28862 PyThreadState* __tstate = wxPyBeginAllowThreads();
28863 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28864 wxPyEndAllowThreads(__tstate);
28865 if (PyErr_Occurred()) SWIG_fail;
28866 }
28867 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28868 return resultobj;
28869 fail:
28870 return NULL;
28871 }
28872
28873
28874 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28875 PyObject *resultobj = 0;
28876 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28877 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28878 wxPrintData *arg3 = (wxPrintData *) 0 ;
28879 wxPrintPreview *result = 0 ;
28880 int res1 = 0 ;
28881 int res2 = 0 ;
28882 void *argp3 = 0 ;
28883 int res3 = 0 ;
28884
28885 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28886 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28887 if (!SWIG_IsOK(res1)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28889 }
28890 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28891 if (!SWIG_IsOK(res2)) {
28892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28893 }
28894 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28895 if (!SWIG_IsOK(res3)) {
28896 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28897 }
28898 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28899 {
28900 if (!wxPyCheckForApp()) SWIG_fail;
28901 PyThreadState* __tstate = wxPyBeginAllowThreads();
28902 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28903 wxPyEndAllowThreads(__tstate);
28904 if (PyErr_Occurred()) SWIG_fail;
28905 }
28906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28907 return resultobj;
28908 fail:
28909 return NULL;
28910 }
28911
28912
28913 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28914 int argc;
28915 PyObject *argv[4];
28916
28917 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28918 --argc;
28919 if ((argc >= 2) && (argc <= 3)) {
28920 int _v = 0;
28921 if (argc > 2) {
28922 {
28923 void *vptr = 0;
28924 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28925 _v = SWIG_CheckState(res);
28926 }
28927 if (!_v) goto check_1;
28928 }
28929 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28930 }
28931 check_1:
28932
28933 if (argc == 3) {
28934 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28935 }
28936
28937 fail:
28938 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28939 return NULL;
28940 }
28941
28942
28943 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28944 PyObject *resultobj = 0;
28945 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28946 void *argp1 = 0 ;
28947 int res1 = 0 ;
28948 PyObject *swig_obj[1] ;
28949
28950 if (!args) SWIG_fail;
28951 swig_obj[0] = args;
28952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28953 if (!SWIG_IsOK(res1)) {
28954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28955 }
28956 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28957 {
28958 PyThreadState* __tstate = wxPyBeginAllowThreads();
28959 delete arg1;
28960
28961 wxPyEndAllowThreads(__tstate);
28962 if (PyErr_Occurred()) SWIG_fail;
28963 }
28964 resultobj = SWIG_Py_Void();
28965 return resultobj;
28966 fail:
28967 return NULL;
28968 }
28969
28970
28971 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28972 PyObject *resultobj = 0;
28973 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28974 int arg2 ;
28975 bool result;
28976 void *argp1 = 0 ;
28977 int res1 = 0 ;
28978 int val2 ;
28979 int ecode2 = 0 ;
28980 PyObject * obj0 = 0 ;
28981 PyObject * obj1 = 0 ;
28982 char * kwnames[] = {
28983 (char *) "self",(char *) "pageNum", NULL
28984 };
28985
28986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28988 if (!SWIG_IsOK(res1)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28990 }
28991 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28992 ecode2 = SWIG_AsVal_int(obj1, &val2);
28993 if (!SWIG_IsOK(ecode2)) {
28994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28995 }
28996 arg2 = static_cast< int >(val2);
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 result = (bool)(arg1)->SetCurrentPage(arg2);
29000 wxPyEndAllowThreads(__tstate);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 }
29003 {
29004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29005 }
29006 return resultobj;
29007 fail:
29008 return NULL;
29009 }
29010
29011
29012 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29013 PyObject *resultobj = 0;
29014 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29015 int result;
29016 void *argp1 = 0 ;
29017 int res1 = 0 ;
29018 PyObject *swig_obj[1] ;
29019
29020 if (!args) SWIG_fail;
29021 swig_obj[0] = args;
29022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29023 if (!SWIG_IsOK(res1)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29025 }
29026 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29027 {
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 result = (int)(arg1)->GetCurrentPage();
29030 wxPyEndAllowThreads(__tstate);
29031 if (PyErr_Occurred()) SWIG_fail;
29032 }
29033 resultobj = SWIG_From_int(static_cast< int >(result));
29034 return resultobj;
29035 fail:
29036 return NULL;
29037 }
29038
29039
29040 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29041 PyObject *resultobj = 0;
29042 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29043 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29044 void *argp1 = 0 ;
29045 int res1 = 0 ;
29046 int res2 = 0 ;
29047 PyObject * obj0 = 0 ;
29048 PyObject * obj1 = 0 ;
29049 char * kwnames[] = {
29050 (char *) "self",(char *) "printout", NULL
29051 };
29052
29053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29055 if (!SWIG_IsOK(res1)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29057 }
29058 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29059 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29060 if (!SWIG_IsOK(res2)) {
29061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29062 }
29063 {
29064 PyThreadState* __tstate = wxPyBeginAllowThreads();
29065 (arg1)->SetPrintout(arg2);
29066 wxPyEndAllowThreads(__tstate);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 }
29069 resultobj = SWIG_Py_Void();
29070 return resultobj;
29071 fail:
29072 return NULL;
29073 }
29074
29075
29076 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29077 PyObject *resultobj = 0;
29078 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29079 wxPyPrintout *result = 0 ;
29080 void *argp1 = 0 ;
29081 int res1 = 0 ;
29082 PyObject *swig_obj[1] ;
29083
29084 if (!args) SWIG_fail;
29085 swig_obj[0] = args;
29086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29087 if (!SWIG_IsOK(res1)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29089 }
29090 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
29093 result = (wxPyPrintout *)(arg1)->GetPrintout();
29094 wxPyEndAllowThreads(__tstate);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 }
29097 {
29098 resultobj = wxPyMake_wxObject(result, 0);
29099 }
29100 return resultobj;
29101 fail:
29102 return NULL;
29103 }
29104
29105
29106 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29107 PyObject *resultobj = 0;
29108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29109 wxPyPrintout *result = 0 ;
29110 void *argp1 = 0 ;
29111 int res1 = 0 ;
29112 PyObject *swig_obj[1] ;
29113
29114 if (!args) SWIG_fail;
29115 swig_obj[0] = args;
29116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29117 if (!SWIG_IsOK(res1)) {
29118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29119 }
29120 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29124 wxPyEndAllowThreads(__tstate);
29125 if (PyErr_Occurred()) SWIG_fail;
29126 }
29127 {
29128 resultobj = wxPyMake_wxObject(result, 0);
29129 }
29130 return resultobj;
29131 fail:
29132 return NULL;
29133 }
29134
29135
29136 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29137 PyObject *resultobj = 0;
29138 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29139 wxFrame *arg2 = (wxFrame *) 0 ;
29140 void *argp1 = 0 ;
29141 int res1 = 0 ;
29142 void *argp2 = 0 ;
29143 int res2 = 0 ;
29144 PyObject * obj0 = 0 ;
29145 PyObject * obj1 = 0 ;
29146 char * kwnames[] = {
29147 (char *) "self",(char *) "frame", NULL
29148 };
29149
29150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29152 if (!SWIG_IsOK(res1)) {
29153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29154 }
29155 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29157 if (!SWIG_IsOK(res2)) {
29158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29159 }
29160 arg2 = reinterpret_cast< wxFrame * >(argp2);
29161 {
29162 PyThreadState* __tstate = wxPyBeginAllowThreads();
29163 (arg1)->SetFrame(arg2);
29164 wxPyEndAllowThreads(__tstate);
29165 if (PyErr_Occurred()) SWIG_fail;
29166 }
29167 resultobj = SWIG_Py_Void();
29168 return resultobj;
29169 fail:
29170 return NULL;
29171 }
29172
29173
29174 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29175 PyObject *resultobj = 0;
29176 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29177 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29178 void *argp1 = 0 ;
29179 int res1 = 0 ;
29180 void *argp2 = 0 ;
29181 int res2 = 0 ;
29182 PyObject * obj0 = 0 ;
29183 PyObject * obj1 = 0 ;
29184 char * kwnames[] = {
29185 (char *) "self",(char *) "canvas", NULL
29186 };
29187
29188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29190 if (!SWIG_IsOK(res1)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29192 }
29193 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29195 if (!SWIG_IsOK(res2)) {
29196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29197 }
29198 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29199 {
29200 PyThreadState* __tstate = wxPyBeginAllowThreads();
29201 (arg1)->SetCanvas(arg2);
29202 wxPyEndAllowThreads(__tstate);
29203 if (PyErr_Occurred()) SWIG_fail;
29204 }
29205 resultobj = SWIG_Py_Void();
29206 return resultobj;
29207 fail:
29208 return NULL;
29209 }
29210
29211
29212 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29213 PyObject *resultobj = 0;
29214 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29215 wxFrame *result = 0 ;
29216 void *argp1 = 0 ;
29217 int res1 = 0 ;
29218 PyObject *swig_obj[1] ;
29219
29220 if (!args) SWIG_fail;
29221 swig_obj[0] = args;
29222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29223 if (!SWIG_IsOK(res1)) {
29224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29225 }
29226 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29227 {
29228 PyThreadState* __tstate = wxPyBeginAllowThreads();
29229 result = (wxFrame *)(arg1)->GetFrame();
29230 wxPyEndAllowThreads(__tstate);
29231 if (PyErr_Occurred()) SWIG_fail;
29232 }
29233 {
29234 resultobj = wxPyMake_wxObject(result, 0);
29235 }
29236 return resultobj;
29237 fail:
29238 return NULL;
29239 }
29240
29241
29242 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29243 PyObject *resultobj = 0;
29244 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29245 wxPreviewCanvas *result = 0 ;
29246 void *argp1 = 0 ;
29247 int res1 = 0 ;
29248 PyObject *swig_obj[1] ;
29249
29250 if (!args) SWIG_fail;
29251 swig_obj[0] = args;
29252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29253 if (!SWIG_IsOK(res1)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29255 }
29256 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29257 {
29258 PyThreadState* __tstate = wxPyBeginAllowThreads();
29259 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29260 wxPyEndAllowThreads(__tstate);
29261 if (PyErr_Occurred()) SWIG_fail;
29262 }
29263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29264 return resultobj;
29265 fail:
29266 return NULL;
29267 }
29268
29269
29270 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29271 PyObject *resultobj = 0;
29272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29273 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29274 wxDC *arg3 = 0 ;
29275 bool result;
29276 void *argp1 = 0 ;
29277 int res1 = 0 ;
29278 void *argp2 = 0 ;
29279 int res2 = 0 ;
29280 void *argp3 = 0 ;
29281 int res3 = 0 ;
29282 PyObject * obj0 = 0 ;
29283 PyObject * obj1 = 0 ;
29284 PyObject * obj2 = 0 ;
29285 char * kwnames[] = {
29286 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29287 };
29288
29289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29291 if (!SWIG_IsOK(res1)) {
29292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29293 }
29294 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29296 if (!SWIG_IsOK(res2)) {
29297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29298 }
29299 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29300 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29301 if (!SWIG_IsOK(res3)) {
29302 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29303 }
29304 if (!argp3) {
29305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29306 }
29307 arg3 = reinterpret_cast< wxDC * >(argp3);
29308 {
29309 PyThreadState* __tstate = wxPyBeginAllowThreads();
29310 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 {
29315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29316 }
29317 return resultobj;
29318 fail:
29319 return NULL;
29320 }
29321
29322
29323 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29324 PyObject *resultobj = 0;
29325 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29326 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29327 wxDC *arg3 = 0 ;
29328 bool result;
29329 void *argp1 = 0 ;
29330 int res1 = 0 ;
29331 void *argp2 = 0 ;
29332 int res2 = 0 ;
29333 void *argp3 = 0 ;
29334 int res3 = 0 ;
29335 PyObject * obj0 = 0 ;
29336 PyObject * obj1 = 0 ;
29337 PyObject * obj2 = 0 ;
29338 char * kwnames[] = {
29339 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29340 };
29341
29342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29344 if (!SWIG_IsOK(res1)) {
29345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29346 }
29347 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29349 if (!SWIG_IsOK(res2)) {
29350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29351 }
29352 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29353 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29354 if (!SWIG_IsOK(res3)) {
29355 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29356 }
29357 if (!argp3) {
29358 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29359 }
29360 arg3 = reinterpret_cast< wxDC * >(argp3);
29361 {
29362 PyThreadState* __tstate = wxPyBeginAllowThreads();
29363 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29364 wxPyEndAllowThreads(__tstate);
29365 if (PyErr_Occurred()) SWIG_fail;
29366 }
29367 {
29368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29369 }
29370 return resultobj;
29371 fail:
29372 return NULL;
29373 }
29374
29375
29376 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29377 PyObject *resultobj = 0;
29378 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29379 int arg2 ;
29380 bool result;
29381 void *argp1 = 0 ;
29382 int res1 = 0 ;
29383 int val2 ;
29384 int ecode2 = 0 ;
29385 PyObject * obj0 = 0 ;
29386 PyObject * obj1 = 0 ;
29387 char * kwnames[] = {
29388 (char *) "self",(char *) "pageNum", NULL
29389 };
29390
29391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29393 if (!SWIG_IsOK(res1)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29395 }
29396 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29397 ecode2 = SWIG_AsVal_int(obj1, &val2);
29398 if (!SWIG_IsOK(ecode2)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29400 }
29401 arg2 = static_cast< int >(val2);
29402 {
29403 PyThreadState* __tstate = wxPyBeginAllowThreads();
29404 result = (bool)(arg1)->RenderPage(arg2);
29405 wxPyEndAllowThreads(__tstate);
29406 if (PyErr_Occurred()) SWIG_fail;
29407 }
29408 {
29409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29410 }
29411 return resultobj;
29412 fail:
29413 return NULL;
29414 }
29415
29416
29417 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29418 PyObject *resultobj = 0;
29419 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29420 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29421 void *argp1 = 0 ;
29422 int res1 = 0 ;
29423 void *argp2 = 0 ;
29424 int res2 = 0 ;
29425 PyObject * obj0 = 0 ;
29426 PyObject * obj1 = 0 ;
29427 char * kwnames[] = {
29428 (char *) "self",(char *) "canvas", NULL
29429 };
29430
29431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29433 if (!SWIG_IsOK(res1)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29435 }
29436 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29437 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29438 if (!SWIG_IsOK(res2)) {
29439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29440 }
29441 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29442 {
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
29444 (arg1)->AdjustScrollbars(arg2);
29445 wxPyEndAllowThreads(__tstate);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 resultobj = SWIG_Py_Void();
29449 return resultobj;
29450 fail:
29451 return NULL;
29452 }
29453
29454
29455 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29456 PyObject *resultobj = 0;
29457 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29458 wxPrintDialogData *result = 0 ;
29459 void *argp1 = 0 ;
29460 int res1 = 0 ;
29461 PyObject *swig_obj[1] ;
29462
29463 if (!args) SWIG_fail;
29464 swig_obj[0] = args;
29465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29466 if (!SWIG_IsOK(res1)) {
29467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29468 }
29469 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29470 {
29471 PyThreadState* __tstate = wxPyBeginAllowThreads();
29472 {
29473 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29474 result = (wxPrintDialogData *) &_result_ref;
29475 }
29476 wxPyEndAllowThreads(__tstate);
29477 if (PyErr_Occurred()) SWIG_fail;
29478 }
29479 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29480 return resultobj;
29481 fail:
29482 return NULL;
29483 }
29484
29485
29486 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29487 PyObject *resultobj = 0;
29488 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29489 int arg2 ;
29490 void *argp1 = 0 ;
29491 int res1 = 0 ;
29492 int val2 ;
29493 int ecode2 = 0 ;
29494 PyObject * obj0 = 0 ;
29495 PyObject * obj1 = 0 ;
29496 char * kwnames[] = {
29497 (char *) "self",(char *) "percent", NULL
29498 };
29499
29500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29502 if (!SWIG_IsOK(res1)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29504 }
29505 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29506 ecode2 = SWIG_AsVal_int(obj1, &val2);
29507 if (!SWIG_IsOK(ecode2)) {
29508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29509 }
29510 arg2 = static_cast< int >(val2);
29511 {
29512 PyThreadState* __tstate = wxPyBeginAllowThreads();
29513 (arg1)->SetZoom(arg2);
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 resultobj = SWIG_Py_Void();
29518 return resultobj;
29519 fail:
29520 return NULL;
29521 }
29522
29523
29524 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29525 PyObject *resultobj = 0;
29526 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29527 int result;
29528 void *argp1 = 0 ;
29529 int res1 = 0 ;
29530 PyObject *swig_obj[1] ;
29531
29532 if (!args) SWIG_fail;
29533 swig_obj[0] = args;
29534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29535 if (!SWIG_IsOK(res1)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29537 }
29538 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
29541 result = (int)(arg1)->GetZoom();
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 resultobj = SWIG_From_int(static_cast< int >(result));
29546 return resultobj;
29547 fail:
29548 return NULL;
29549 }
29550
29551
29552 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29553 PyObject *resultobj = 0;
29554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29555 int result;
29556 void *argp1 = 0 ;
29557 int res1 = 0 ;
29558 PyObject *swig_obj[1] ;
29559
29560 if (!args) SWIG_fail;
29561 swig_obj[0] = args;
29562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29563 if (!SWIG_IsOK(res1)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29565 }
29566 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29567 {
29568 PyThreadState* __tstate = wxPyBeginAllowThreads();
29569 result = (int)(arg1)->GetMaxPage();
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 resultobj = SWIG_From_int(static_cast< int >(result));
29574 return resultobj;
29575 fail:
29576 return NULL;
29577 }
29578
29579
29580 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29581 PyObject *resultobj = 0;
29582 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29583 int result;
29584 void *argp1 = 0 ;
29585 int res1 = 0 ;
29586 PyObject *swig_obj[1] ;
29587
29588 if (!args) SWIG_fail;
29589 swig_obj[0] = args;
29590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29591 if (!SWIG_IsOK(res1)) {
29592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29593 }
29594 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29595 {
29596 PyThreadState* __tstate = wxPyBeginAllowThreads();
29597 result = (int)(arg1)->GetMinPage();
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 resultobj = SWIG_From_int(static_cast< int >(result));
29602 return resultobj;
29603 fail:
29604 return NULL;
29605 }
29606
29607
29608 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29609 PyObject *resultobj = 0;
29610 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29611 bool result;
29612 void *argp1 = 0 ;
29613 int res1 = 0 ;
29614 PyObject *swig_obj[1] ;
29615
29616 if (!args) SWIG_fail;
29617 swig_obj[0] = args;
29618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29619 if (!SWIG_IsOK(res1)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29621 }
29622 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29623 {
29624 PyThreadState* __tstate = wxPyBeginAllowThreads();
29625 result = (bool)(arg1)->Ok();
29626 wxPyEndAllowThreads(__tstate);
29627 if (PyErr_Occurred()) SWIG_fail;
29628 }
29629 {
29630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29631 }
29632 return resultobj;
29633 fail:
29634 return NULL;
29635 }
29636
29637
29638 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29639 PyObject *resultobj = 0;
29640 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29641 bool arg2 ;
29642 void *argp1 = 0 ;
29643 int res1 = 0 ;
29644 bool val2 ;
29645 int ecode2 = 0 ;
29646 PyObject * obj0 = 0 ;
29647 PyObject * obj1 = 0 ;
29648 char * kwnames[] = {
29649 (char *) "self",(char *) "ok", NULL
29650 };
29651
29652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29654 if (!SWIG_IsOK(res1)) {
29655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29656 }
29657 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29658 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29659 if (!SWIG_IsOK(ecode2)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29661 }
29662 arg2 = static_cast< bool >(val2);
29663 {
29664 PyThreadState* __tstate = wxPyBeginAllowThreads();
29665 (arg1)->SetOk(arg2);
29666 wxPyEndAllowThreads(__tstate);
29667 if (PyErr_Occurred()) SWIG_fail;
29668 }
29669 resultobj = SWIG_Py_Void();
29670 return resultobj;
29671 fail:
29672 return NULL;
29673 }
29674
29675
29676 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29677 PyObject *resultobj = 0;
29678 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29679 bool arg2 ;
29680 bool result;
29681 void *argp1 = 0 ;
29682 int res1 = 0 ;
29683 bool val2 ;
29684 int ecode2 = 0 ;
29685 PyObject * obj0 = 0 ;
29686 PyObject * obj1 = 0 ;
29687 char * kwnames[] = {
29688 (char *) "self",(char *) "interactive", NULL
29689 };
29690
29691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29693 if (!SWIG_IsOK(res1)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29695 }
29696 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29697 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29698 if (!SWIG_IsOK(ecode2)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29700 }
29701 arg2 = static_cast< bool >(val2);
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
29704 result = (bool)(arg1)->Print(arg2);
29705 wxPyEndAllowThreads(__tstate);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 }
29708 {
29709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29710 }
29711 return resultobj;
29712 fail:
29713 return NULL;
29714 }
29715
29716
29717 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29718 PyObject *resultobj = 0;
29719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29720 void *argp1 = 0 ;
29721 int res1 = 0 ;
29722 PyObject *swig_obj[1] ;
29723
29724 if (!args) SWIG_fail;
29725 swig_obj[0] = args;
29726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29727 if (!SWIG_IsOK(res1)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29729 }
29730 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 (arg1)->DetermineScaling();
29734 wxPyEndAllowThreads(__tstate);
29735 if (PyErr_Occurred()) SWIG_fail;
29736 }
29737 resultobj = SWIG_Py_Void();
29738 return resultobj;
29739 fail:
29740 return NULL;
29741 }
29742
29743
29744 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29745 PyObject *obj;
29746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29748 return SWIG_Py_Void();
29749 }
29750
29751 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29752 return SWIG_Python_InitShadowInstance(args);
29753 }
29754
29755 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29756 PyObject *resultobj = 0;
29757 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29758 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29759 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29760 wxPyPrintPreview *result = 0 ;
29761 int res1 = 0 ;
29762 int res2 = 0 ;
29763 void *argp3 = 0 ;
29764 int res3 = 0 ;
29765
29766 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29767 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29768 if (!SWIG_IsOK(res1)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29770 }
29771 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29772 if (!SWIG_IsOK(res2)) {
29773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29774 }
29775 if (swig_obj[2]) {
29776 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29777 if (!SWIG_IsOK(res3)) {
29778 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29779 }
29780 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29781 }
29782 {
29783 if (!wxPyCheckForApp()) SWIG_fail;
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29786 wxPyEndAllowThreads(__tstate);
29787 if (PyErr_Occurred()) SWIG_fail;
29788 }
29789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29797 PyObject *resultobj = 0;
29798 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29799 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29800 wxPrintData *arg3 = (wxPrintData *) 0 ;
29801 wxPyPrintPreview *result = 0 ;
29802 int res1 = 0 ;
29803 int res2 = 0 ;
29804 void *argp3 = 0 ;
29805 int res3 = 0 ;
29806
29807 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29808 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29809 if (!SWIG_IsOK(res1)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29811 }
29812 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29813 if (!SWIG_IsOK(res2)) {
29814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29815 }
29816 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29817 if (!SWIG_IsOK(res3)) {
29818 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29819 }
29820 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29821 {
29822 if (!wxPyCheckForApp()) SWIG_fail;
29823 PyThreadState* __tstate = wxPyBeginAllowThreads();
29824 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29829 return resultobj;
29830 fail:
29831 return NULL;
29832 }
29833
29834
29835 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29836 int argc;
29837 PyObject *argv[4];
29838
29839 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29840 --argc;
29841 if ((argc >= 2) && (argc <= 3)) {
29842 int _v = 0;
29843 if (argc > 2) {
29844 {
29845 void *vptr = 0;
29846 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29847 _v = SWIG_CheckState(res);
29848 }
29849 if (!_v) goto check_1;
29850 }
29851 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29852 }
29853 check_1:
29854
29855 if (argc == 3) {
29856 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29857 }
29858
29859 fail:
29860 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29861 return NULL;
29862 }
29863
29864
29865 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29866 PyObject *resultobj = 0;
29867 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29868 PyObject *arg2 = (PyObject *) 0 ;
29869 PyObject *arg3 = (PyObject *) 0 ;
29870 void *argp1 = 0 ;
29871 int res1 = 0 ;
29872 PyObject * obj0 = 0 ;
29873 PyObject * obj1 = 0 ;
29874 PyObject * obj2 = 0 ;
29875 char * kwnames[] = {
29876 (char *) "self",(char *) "self",(char *) "_class", NULL
29877 };
29878
29879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29881 if (!SWIG_IsOK(res1)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29883 }
29884 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29885 arg2 = obj1;
29886 arg3 = obj2;
29887 {
29888 PyThreadState* __tstate = wxPyBeginAllowThreads();
29889 (arg1)->_setCallbackInfo(arg2,arg3);
29890 wxPyEndAllowThreads(__tstate);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 }
29893 resultobj = SWIG_Py_Void();
29894 return resultobj;
29895 fail:
29896 return NULL;
29897 }
29898
29899
29900 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29901 PyObject *obj;
29902 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29904 return SWIG_Py_Void();
29905 }
29906
29907 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29908 return SWIG_Python_InitShadowInstance(args);
29909 }
29910
29911 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29912 PyObject *resultobj = 0;
29913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29914 wxFrame *arg2 = (wxFrame *) 0 ;
29915 wxString *arg3 = 0 ;
29916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29918 wxSize const &arg5_defvalue = wxDefaultSize ;
29919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29920 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29921 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29922 wxString *arg7 = (wxString *) &arg7_defvalue ;
29923 wxPyPreviewFrame *result = 0 ;
29924 void *argp1 = 0 ;
29925 int res1 = 0 ;
29926 void *argp2 = 0 ;
29927 int res2 = 0 ;
29928 bool temp3 = false ;
29929 wxPoint temp4 ;
29930 wxSize temp5 ;
29931 long val6 ;
29932 int ecode6 = 0 ;
29933 bool temp7 = false ;
29934 PyObject * obj0 = 0 ;
29935 PyObject * obj1 = 0 ;
29936 PyObject * obj2 = 0 ;
29937 PyObject * obj3 = 0 ;
29938 PyObject * obj4 = 0 ;
29939 PyObject * obj5 = 0 ;
29940 PyObject * obj6 = 0 ;
29941 char * kwnames[] = {
29942 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29943 };
29944
29945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29947 if (!SWIG_IsOK(res1)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29949 }
29950 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29951 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29952 if (!SWIG_IsOK(res2)) {
29953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29954 }
29955 arg2 = reinterpret_cast< wxFrame * >(argp2);
29956 {
29957 arg3 = wxString_in_helper(obj2);
29958 if (arg3 == NULL) SWIG_fail;
29959 temp3 = true;
29960 }
29961 if (obj3) {
29962 {
29963 arg4 = &temp4;
29964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29965 }
29966 }
29967 if (obj4) {
29968 {
29969 arg5 = &temp5;
29970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29971 }
29972 }
29973 if (obj5) {
29974 ecode6 = SWIG_AsVal_long(obj5, &val6);
29975 if (!SWIG_IsOK(ecode6)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29977 }
29978 arg6 = static_cast< long >(val6);
29979 }
29980 if (obj6) {
29981 {
29982 arg7 = wxString_in_helper(obj6);
29983 if (arg7 == NULL) SWIG_fail;
29984 temp7 = true;
29985 }
29986 }
29987 {
29988 if (!wxPyCheckForApp()) SWIG_fail;
29989 PyThreadState* __tstate = wxPyBeginAllowThreads();
29990 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29991 wxPyEndAllowThreads(__tstate);
29992 if (PyErr_Occurred()) SWIG_fail;
29993 }
29994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
29995 {
29996 if (temp3)
29997 delete arg3;
29998 }
29999 {
30000 if (temp7)
30001 delete arg7;
30002 }
30003 return resultobj;
30004 fail:
30005 {
30006 if (temp3)
30007 delete arg3;
30008 }
30009 {
30010 if (temp7)
30011 delete arg7;
30012 }
30013 return NULL;
30014 }
30015
30016
30017 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30018 PyObject *resultobj = 0;
30019 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30020 PyObject *arg2 = (PyObject *) 0 ;
30021 PyObject *arg3 = (PyObject *) 0 ;
30022 void *argp1 = 0 ;
30023 int res1 = 0 ;
30024 PyObject * obj0 = 0 ;
30025 PyObject * obj1 = 0 ;
30026 PyObject * obj2 = 0 ;
30027 char * kwnames[] = {
30028 (char *) "self",(char *) "self",(char *) "_class", NULL
30029 };
30030
30031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30033 if (!SWIG_IsOK(res1)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30035 }
30036 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30037 arg2 = obj1;
30038 arg3 = obj2;
30039 {
30040 PyThreadState* __tstate = wxPyBeginAllowThreads();
30041 (arg1)->_setCallbackInfo(arg2,arg3);
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_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30053 PyObject *resultobj = 0;
30054 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30055 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30056 void *argp1 = 0 ;
30057 int res1 = 0 ;
30058 void *argp2 = 0 ;
30059 int res2 = 0 ;
30060 PyObject * obj0 = 0 ;
30061 PyObject * obj1 = 0 ;
30062 char * kwnames[] = {
30063 (char *) "self",(char *) "canvas", NULL
30064 };
30065
30066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30068 if (!SWIG_IsOK(res1)) {
30069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30070 }
30071 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30073 if (!SWIG_IsOK(res2)) {
30074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30075 }
30076 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30077 {
30078 PyThreadState* __tstate = wxPyBeginAllowThreads();
30079 (arg1)->SetPreviewCanvas(arg2);
30080 wxPyEndAllowThreads(__tstate);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 }
30083 resultobj = SWIG_Py_Void();
30084 return resultobj;
30085 fail:
30086 return NULL;
30087 }
30088
30089
30090 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30091 PyObject *resultobj = 0;
30092 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30093 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30094 void *argp1 = 0 ;
30095 int res1 = 0 ;
30096 void *argp2 = 0 ;
30097 int res2 = 0 ;
30098 PyObject * obj0 = 0 ;
30099 PyObject * obj1 = 0 ;
30100 char * kwnames[] = {
30101 (char *) "self",(char *) "bar", NULL
30102 };
30103
30104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30106 if (!SWIG_IsOK(res1)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30108 }
30109 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30110 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30111 if (!SWIG_IsOK(res2)) {
30112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30113 }
30114 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30115 {
30116 PyThreadState* __tstate = wxPyBeginAllowThreads();
30117 (arg1)->SetControlBar(arg2);
30118 wxPyEndAllowThreads(__tstate);
30119 if (PyErr_Occurred()) SWIG_fail;
30120 }
30121 resultobj = SWIG_Py_Void();
30122 return resultobj;
30123 fail:
30124 return NULL;
30125 }
30126
30127
30128 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30129 PyObject *resultobj = 0;
30130 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30131 void *argp1 = 0 ;
30132 int res1 = 0 ;
30133 PyObject *swig_obj[1] ;
30134
30135 if (!args) SWIG_fail;
30136 swig_obj[0] = args;
30137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30138 if (!SWIG_IsOK(res1)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30140 }
30141 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30142 {
30143 PyThreadState* __tstate = wxPyBeginAllowThreads();
30144 (arg1)->Initialize();
30145 wxPyEndAllowThreads(__tstate);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 }
30148 resultobj = SWIG_Py_Void();
30149 return resultobj;
30150 fail:
30151 return NULL;
30152 }
30153
30154
30155 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30156 PyObject *resultobj = 0;
30157 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30158 void *argp1 = 0 ;
30159 int res1 = 0 ;
30160 PyObject *swig_obj[1] ;
30161
30162 if (!args) SWIG_fail;
30163 swig_obj[0] = args;
30164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30165 if (!SWIG_IsOK(res1)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30167 }
30168 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30169 {
30170 PyThreadState* __tstate = wxPyBeginAllowThreads();
30171 (arg1)->CreateCanvas();
30172 wxPyEndAllowThreads(__tstate);
30173 if (PyErr_Occurred()) SWIG_fail;
30174 }
30175 resultobj = SWIG_Py_Void();
30176 return resultobj;
30177 fail:
30178 return NULL;
30179 }
30180
30181
30182 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30183 PyObject *resultobj = 0;
30184 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30185 void *argp1 = 0 ;
30186 int res1 = 0 ;
30187 PyObject *swig_obj[1] ;
30188
30189 if (!args) SWIG_fail;
30190 swig_obj[0] = args;
30191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30192 if (!SWIG_IsOK(res1)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30194 }
30195 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30196 {
30197 PyThreadState* __tstate = wxPyBeginAllowThreads();
30198 (arg1)->CreateControlBar();
30199 wxPyEndAllowThreads(__tstate);
30200 if (PyErr_Occurred()) SWIG_fail;
30201 }
30202 resultobj = SWIG_Py_Void();
30203 return resultobj;
30204 fail:
30205 return NULL;
30206 }
30207
30208
30209 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30210 PyObject *obj;
30211 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30212 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30213 return SWIG_Py_Void();
30214 }
30215
30216 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30217 return SWIG_Python_InitShadowInstance(args);
30218 }
30219
30220 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30221 PyObject *resultobj = 0;
30222 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30223 long arg2 ;
30224 wxWindow *arg3 = (wxWindow *) 0 ;
30225 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30226 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30227 wxSize const &arg5_defvalue = wxDefaultSize ;
30228 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30229 long arg6 = (long) 0 ;
30230 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30231 wxString *arg7 = (wxString *) &arg7_defvalue ;
30232 wxPyPreviewControlBar *result = 0 ;
30233 void *argp1 = 0 ;
30234 int res1 = 0 ;
30235 long val2 ;
30236 int ecode2 = 0 ;
30237 void *argp3 = 0 ;
30238 int res3 = 0 ;
30239 wxPoint temp4 ;
30240 wxSize temp5 ;
30241 long val6 ;
30242 int ecode6 = 0 ;
30243 bool temp7 = false ;
30244 PyObject * obj0 = 0 ;
30245 PyObject * obj1 = 0 ;
30246 PyObject * obj2 = 0 ;
30247 PyObject * obj3 = 0 ;
30248 PyObject * obj4 = 0 ;
30249 PyObject * obj5 = 0 ;
30250 PyObject * obj6 = 0 ;
30251 char * kwnames[] = {
30252 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30253 };
30254
30255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30257 if (!SWIG_IsOK(res1)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30259 }
30260 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30261 ecode2 = SWIG_AsVal_long(obj1, &val2);
30262 if (!SWIG_IsOK(ecode2)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30264 }
30265 arg2 = static_cast< long >(val2);
30266 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30267 if (!SWIG_IsOK(res3)) {
30268 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30269 }
30270 arg3 = reinterpret_cast< wxWindow * >(argp3);
30271 if (obj3) {
30272 {
30273 arg4 = &temp4;
30274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30275 }
30276 }
30277 if (obj4) {
30278 {
30279 arg5 = &temp5;
30280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30281 }
30282 }
30283 if (obj5) {
30284 ecode6 = SWIG_AsVal_long(obj5, &val6);
30285 if (!SWIG_IsOK(ecode6)) {
30286 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30287 }
30288 arg6 = static_cast< long >(val6);
30289 }
30290 if (obj6) {
30291 {
30292 arg7 = wxString_in_helper(obj6);
30293 if (arg7 == NULL) SWIG_fail;
30294 temp7 = true;
30295 }
30296 }
30297 {
30298 if (!wxPyCheckForApp()) SWIG_fail;
30299 PyThreadState* __tstate = wxPyBeginAllowThreads();
30300 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30301 wxPyEndAllowThreads(__tstate);
30302 if (PyErr_Occurred()) SWIG_fail;
30303 }
30304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30305 {
30306 if (temp7)
30307 delete arg7;
30308 }
30309 return resultobj;
30310 fail:
30311 {
30312 if (temp7)
30313 delete arg7;
30314 }
30315 return NULL;
30316 }
30317
30318
30319 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30320 PyObject *resultobj = 0;
30321 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30322 PyObject *arg2 = (PyObject *) 0 ;
30323 PyObject *arg3 = (PyObject *) 0 ;
30324 void *argp1 = 0 ;
30325 int res1 = 0 ;
30326 PyObject * obj0 = 0 ;
30327 PyObject * obj1 = 0 ;
30328 PyObject * obj2 = 0 ;
30329 char * kwnames[] = {
30330 (char *) "self",(char *) "self",(char *) "_class", NULL
30331 };
30332
30333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30335 if (!SWIG_IsOK(res1)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30337 }
30338 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30339 arg2 = obj1;
30340 arg3 = obj2;
30341 {
30342 PyThreadState* __tstate = wxPyBeginAllowThreads();
30343 (arg1)->_setCallbackInfo(arg2,arg3);
30344 wxPyEndAllowThreads(__tstate);
30345 if (PyErr_Occurred()) SWIG_fail;
30346 }
30347 resultobj = SWIG_Py_Void();
30348 return resultobj;
30349 fail:
30350 return NULL;
30351 }
30352
30353
30354 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30355 PyObject *resultobj = 0;
30356 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30357 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30358 void *argp1 = 0 ;
30359 int res1 = 0 ;
30360 void *argp2 = 0 ;
30361 int res2 = 0 ;
30362 PyObject * obj0 = 0 ;
30363 PyObject * obj1 = 0 ;
30364 char * kwnames[] = {
30365 (char *) "self",(char *) "preview", NULL
30366 };
30367
30368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30370 if (!SWIG_IsOK(res1)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30372 }
30373 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30374 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30375 if (!SWIG_IsOK(res2)) {
30376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30377 }
30378 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30379 {
30380 PyThreadState* __tstate = wxPyBeginAllowThreads();
30381 (arg1)->SetPrintPreview(arg2);
30382 wxPyEndAllowThreads(__tstate);
30383 if (PyErr_Occurred()) SWIG_fail;
30384 }
30385 resultobj = SWIG_Py_Void();
30386 return resultobj;
30387 fail:
30388 return NULL;
30389 }
30390
30391
30392 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30393 PyObject *resultobj = 0;
30394 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30395 void *argp1 = 0 ;
30396 int res1 = 0 ;
30397 PyObject *swig_obj[1] ;
30398
30399 if (!args) SWIG_fail;
30400 swig_obj[0] = args;
30401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30402 if (!SWIG_IsOK(res1)) {
30403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30404 }
30405 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30406 {
30407 PyThreadState* __tstate = wxPyBeginAllowThreads();
30408 (arg1)->CreateButtons();
30409 wxPyEndAllowThreads(__tstate);
30410 if (PyErr_Occurred()) SWIG_fail;
30411 }
30412 resultobj = SWIG_Py_Void();
30413 return resultobj;
30414 fail:
30415 return NULL;
30416 }
30417
30418
30419 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30420 PyObject *resultobj = 0;
30421 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30422 int arg2 ;
30423 void *argp1 = 0 ;
30424 int res1 = 0 ;
30425 int val2 ;
30426 int ecode2 = 0 ;
30427 PyObject * obj0 = 0 ;
30428 PyObject * obj1 = 0 ;
30429 char * kwnames[] = {
30430 (char *) "self",(char *) "zoom", NULL
30431 };
30432
30433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30435 if (!SWIG_IsOK(res1)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30437 }
30438 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30439 ecode2 = SWIG_AsVal_int(obj1, &val2);
30440 if (!SWIG_IsOK(ecode2)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30442 }
30443 arg2 = static_cast< int >(val2);
30444 {
30445 PyThreadState* __tstate = wxPyBeginAllowThreads();
30446 (arg1)->SetZoomControl(arg2);
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 resultobj = SWIG_Py_Void();
30451 return resultobj;
30452 fail:
30453 return NULL;
30454 }
30455
30456
30457 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30458 PyObject *obj;
30459 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30461 return SWIG_Py_Void();
30462 }
30463
30464 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30465 return SWIG_Python_InitShadowInstance(args);
30466 }
30467
30468 static PyMethodDef SwigMethods[] = {
30469 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30470 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30471 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30472 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30473 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30474 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30475 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30476 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30477 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30478 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30479 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30480 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30481 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30482 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30483 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30484 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30485 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30486 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30487 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30488 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30489 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30490 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30491 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30492 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30493 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30494 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30495 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30496 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30497 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30498 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30499 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30500 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30501 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30502 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30503 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30504 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30505 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30506 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30507 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30508 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30509 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30510 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30511 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30512 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30513 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30514 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30515 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30516 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30517 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30518 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30519 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30520 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30521 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30522 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30523 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30524 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30525 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30526 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30527 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30528 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30529 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30530 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30531 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30532 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30533 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30534 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30535 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30536 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30537 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30538 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30539 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30540 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30541 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30542 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30543 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30544 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30545 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30546 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30547 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30548 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30550 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30551 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30552 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30553 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30554 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30558 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30559 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30561 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30562 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30563 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30564 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30565 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30567 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30568 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30570 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30571 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30572 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30573 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30574 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30575 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30576 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30577 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30578 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30579 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30581 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30582 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30583 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30584 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30587 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30588 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30593 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30594 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30596 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30597 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30599 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30601 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30602 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30603 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30604 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30605 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30607 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30609 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30610 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30611 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30614 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30615 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30617 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30619 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30621 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30622 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30623 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30625 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30627 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30628 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30629 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30631 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30632 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30633 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30634 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30635 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30636 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30638 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30641 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30645 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30646 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30648 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30649 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30650 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30651 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30652 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30653 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30654 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30655 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30656 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30657 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30658 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30659 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30660 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30661 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30662 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30663 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30665 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30667 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30668 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30669 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30672 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30674 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30675 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30676 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30678 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30679 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30680 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30681 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30682 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30684 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30685 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30687 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30688 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30689 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30691 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30693 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30694 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30695 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30698 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30699 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30700 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30701 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30705 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30706 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30708 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30709 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30711 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30712 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30714 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30717 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30718 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30719 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30722 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30723 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30724 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30726 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30735 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30736 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30737 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30738 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30740 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30741 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30742 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30744 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30745 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30747 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30750 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30751 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30752 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30755 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30756 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30758 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30759 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30761 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30762 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30766 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30767 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30768 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30771 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30772 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30774 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30775 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30776 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30778 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30779 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30780 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30781 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30782 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30783 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30784 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30785 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30786 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30788 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30790 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30791 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30792 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30793 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30794 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30795 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30796 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30797 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30798 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30803 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30804 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30806 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30807 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30808 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30811 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30812 { (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
30813 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30816 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30817 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30826 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30827 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30828 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30829 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30830 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30831 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30832 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30833 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30834 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30835 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30836 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30839 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30840 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30841 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30843 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30844 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30846 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30847 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30849 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30851 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30852 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30854 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30855 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30856 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30857 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30859 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30860 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30861 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30862 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30863 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30864 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30871 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30872 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30874 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30875 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30876 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30879 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30880 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30883 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30884 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30885 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30887 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30888 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30889 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30890 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30893 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30894 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30895 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30897 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30898 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30899 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30900 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30904 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30905 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30907 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30909 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30911 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30912 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30914 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30916 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30917 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30918 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30919 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30920 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30921 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30922 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
30923 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30926 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30927 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30929 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30931 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30932 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30933 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30935 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30937 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30938 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30939 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30940 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30948 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30949 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30950 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30951 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30952 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30953 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30954 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30955 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30956 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30958 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30965 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30966 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30967 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30968 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30969 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30970 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30971 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30972 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30973 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30974 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30976 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30984 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30985 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30986 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30987 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30988 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30989 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30990 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30991 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30992 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30993 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30994 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30995 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30996 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30997 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30998 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
30999 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31000 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31001 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31002 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31003 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31004 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31005 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31006 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31018 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31020 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31022 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31023 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31024 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31025 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31031 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31032 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31033 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31034 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31035 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31036 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31037 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31038 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31039 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31040 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31041 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31042 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31043 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31044 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31045 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31048 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31055 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31056 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31057 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31058 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31060 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31061 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31062 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31063 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31064 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31065 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31066 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31067 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31068 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31069 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31070 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31071 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31072 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31073 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31074 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31075 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31089 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31090 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31091 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31092 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31093 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31094 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31096 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31097 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31099 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31100 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31101 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31102 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31103 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31104 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31106 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31112 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31113 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31114 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31115 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31116 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31118 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31120 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31121 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31124 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31126 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31128 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31130 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31131 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31134 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31135 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31136 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31137 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31139 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31140 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31141 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31143 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31144 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31146 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31147 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31148 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31149 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31150 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31151 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31153 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31155 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31156 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31157 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31158 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31159 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31160 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31161 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31162 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31163 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31164 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31166 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31168 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31169 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31172 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31173 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31178 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31180 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31181 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31182 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31183 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31186 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31187 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31188 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31189 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31191 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31192 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31197 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31198 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31199 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31200 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31201 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31205 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31207 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31208 { NULL, NULL, 0, NULL }
31209 };
31210
31211
31212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31213
31214 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31215 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31216 }
31217 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31218 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31219 }
31220 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31221 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31222 }
31223 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31224 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31225 }
31226 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31227 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31228 }
31229 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31230 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31231 }
31232 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31233 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31234 }
31235 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31236 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31237 }
31238 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31239 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31240 }
31241 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31242 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31243 }
31244 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31245 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31246 }
31247 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31248 return (void *)((wxEvent *) ((wxPyEvent *) x));
31249 }
31250 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31251 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31252 }
31253 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31254 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31255 }
31256 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31257 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31258 }
31259 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31261 }
31262 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31263 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31264 }
31265 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31266 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31267 }
31268 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31269 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31270 }
31271 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31272 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31273 }
31274 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31275 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31276 }
31277 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31278 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31279 }
31280 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31281 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31282 }
31283 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31284 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31285 }
31286 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31287 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31288 }
31289 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31290 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31291 }
31292 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31293 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31294 }
31295 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31296 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31297 }
31298 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31299 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31300 }
31301 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31302 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31303 }
31304 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31305 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31306 }
31307 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31308 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31309 }
31310 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31311 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31312 }
31313 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31314 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31315 }
31316 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31317 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31318 }
31319 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31320 return (void *)((wxEvent *) ((wxShowEvent *) x));
31321 }
31322 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31323 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31324 }
31325 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31327 }
31328 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31329 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31330 }
31331 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31332 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31333 }
31334 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31335 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31336 }
31337 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31338 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31339 }
31340 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31341 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31342 }
31343 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31344 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31345 }
31346 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31347 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31348 }
31349 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31351 }
31352 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31354 }
31355 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31356 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31357 }
31358 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31359 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31360 }
31361 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31362 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31363 }
31364 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31365 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31366 }
31367 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31368 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31369 }
31370 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31371 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31372 }
31373 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31374 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31375 }
31376 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31377 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31378 }
31379 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31380 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31381 }
31382 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31383 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31384 }
31385 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31386 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31387 }
31388 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31390 }
31391 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31393 }
31394 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31395 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31396 }
31397 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31398 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31399 }
31400 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31401 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31402 }
31403 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31404 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31405 }
31406 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31407 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31408 }
31409 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31410 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31411 }
31412 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31413 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31414 }
31415 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31417 }
31418 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31419 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31420 }
31421 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31422 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31423 }
31424 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31425 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31426 }
31427 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31429 }
31430 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31431 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31432 }
31433 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31434 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31435 }
31436 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31438 }
31439 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31441 }
31442 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31444 }
31445 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31447 }
31448 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31450 }
31451 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31452 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31453 }
31454 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31456 }
31457 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31458 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31459 }
31460 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31461 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31462 }
31463 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31464 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31465 }
31466 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31468 }
31469 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31470 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31471 }
31472 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31473 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31474 }
31475 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31476 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31477 }
31478 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31479 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31480 }
31481 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31482 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31483 }
31484 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31485 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31486 }
31487 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31489 }
31490 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31492 }
31493 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31495 }
31496 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31497 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31498 }
31499 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31500 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31501 }
31502 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31503 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31504 }
31505 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31506 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31507 }
31508 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31509 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31510 }
31511 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31512 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31513 }
31514 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31515 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31516 }
31517 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31518 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31519 }
31520 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31521 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31522 }
31523 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31524 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31525 }
31526 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31528 }
31529 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31531 }
31532 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31533 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31534 }
31535 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31536 return (void *)((wxObject *) ((wxSizerItem *) x));
31537 }
31538 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31540 }
31541 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31542 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31543 }
31544 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31545 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31546 }
31547 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31548 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31549 }
31550 static void *_p_wxSizerTo_p_wxObject(void *x) {
31551 return (void *)((wxObject *) ((wxSizer *) x));
31552 }
31553 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31554 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31555 }
31556 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31558 }
31559 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31561 }
31562 static void *_p_wxEventTo_p_wxObject(void *x) {
31563 return (void *)((wxObject *) ((wxEvent *) x));
31564 }
31565 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31566 return (void *)((wxObject *) ((wxFontData *) x));
31567 }
31568 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31569 return (void *)((wxObject *) ((wxPrintData *) x));
31570 }
31571 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31572 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31573 }
31574 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31576 }
31577 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31579 }
31580 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31582 }
31583 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31585 }
31586 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31588 }
31589 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31591 }
31592 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31594 }
31595 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31597 }
31598 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31599 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31600 }
31601 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31603 }
31604 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31606 }
31607 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31609 }
31610 static void *_p_wxControlTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31612 }
31613 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31615 }
31616 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31618 }
31619 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) ((wxFSFile *) x));
31621 }
31622 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31624 }
31625 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31627 }
31628 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31630 }
31631 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) ((wxColourData *) x));
31633 }
31634 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31636 }
31637 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31639 }
31640 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31642 }
31643 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31645 }
31646 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31648 }
31649 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31651 }
31652 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31654 }
31655 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31657 }
31658 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31660 }
31661 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31663 }
31664 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31666 }
31667 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31669 }
31670 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31672 }
31673 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) ((wxPrinter *) x));
31675 }
31676 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) ((wxMenuItem *) x));
31678 }
31679 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31681 }
31682 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31684 }
31685 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31687 }
31688 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31690 }
31691 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31693 }
31694 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31696 }
31697 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31699 }
31700 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31702 }
31703 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31705 }
31706 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31708 }
31709 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31711 }
31712 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31714 }
31715 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31717 }
31718 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31720 }
31721 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31723 }
31724 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31726 }
31727 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31729 }
31730 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31732 }
31733 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31735 }
31736 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) ((wxImageHandler *) x));
31738 }
31739 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31741 }
31742 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31744 }
31745 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) ((wxEvtHandler *) x));
31747 }
31748 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31750 }
31751 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31753 }
31754 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31756 }
31757 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31759 }
31760 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31762 }
31763 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31765 }
31766 static void *_p_wxImageTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) ((wxImage *) x));
31768 }
31769 static void *_p_wxFrameTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31771 }
31772 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) ((wxPyPrintout *) x));
31774 }
31775 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31777 }
31778 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31780 }
31781 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31783 }
31784 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31786 }
31787 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31789 }
31790 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31792 }
31793 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31795 }
31796 static void *_p_wxWindowTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31798 }
31799 static void *_p_wxMenuTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31801 }
31802 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31804 }
31805 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31807 }
31808 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31810 }
31811 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31813 }
31814 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31816 }
31817 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31819 }
31820 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31822 }
31823 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31825 }
31826 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31828 }
31829 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31831 }
31832 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31834 }
31835 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31837 }
31838 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31840 }
31841 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31843 }
31844 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) ((wxPrintPreview *) x));
31846 }
31847 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31849 }
31850 static void *_p_wxPanelTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31852 }
31853 static void *_p_wxDialogTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31855 }
31856 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31858 }
31859 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31861 }
31862 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31864 }
31865 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31867 }
31868 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) ((wxPrintDialog *) x));
31870 }
31871 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) ((wxFileSystem *) x));
31873 }
31874 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31876 }
31877 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31879 }
31880 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31881 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31882 }
31883 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31884 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31885 }
31886 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31888 }
31889 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31891 }
31892 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31894 }
31895 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31897 }
31898 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31900 }
31901 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31903 }
31904 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31906 }
31907 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31909 }
31910 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31912 }
31913 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31915 }
31916 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31918 }
31919 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31921 }
31922 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31924 }
31925 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31927 }
31928 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31929 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31930 }
31931 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31932 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31933 }
31934 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
31935 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31936 }
31937 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31938 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31939 }
31940 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
31941 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31942 }
31943 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31944 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31945 }
31946 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31947 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31948 }
31949 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31950 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31951 }
31952 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31953 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31954 }
31955 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31956 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31957 }
31958 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31959 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31960 }
31961 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31962 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31963 }
31964 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31965 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31966 }
31967 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31968 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31969 }
31970 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31971 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31972 }
31973 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
31974 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
31975 }
31976 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31977 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31978 }
31979 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31980 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31981 }
31982 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31983 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31984 }
31985 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31986 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31987 }
31988 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31989 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31990 }
31991 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31992 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31993 }
31994 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
31995 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
31996 }
31997 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31998 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
31999 }
32000 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32001 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32002 }
32003 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32004 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32005 }
32006 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32007 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32008 }
32009 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32010 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32011 }
32012 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32013 return (void *)((wxWindow *) ((wxMenuBar *) x));
32014 }
32015 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32016 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32017 }
32018 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32019 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32020 }
32021 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32022 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32023 }
32024 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32025 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32026 }
32027 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32028 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32029 }
32030 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32032 }
32033 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32035 }
32036 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32038 }
32039 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32040 return (void *)((wxWindow *) ((wxPanel *) x));
32041 }
32042 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32043 return (void *)((wxWindow *) ((wxStatusBar *) x));
32044 }
32045 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32046 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32047 }
32048 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32049 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32050 }
32051 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32052 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32053 }
32054 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32055 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32056 }
32057 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32058 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32059 }
32060 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32061 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32062 }
32063 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32064 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32065 }
32066 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32067 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32068 }
32069 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32070 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32071 }
32072 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32073 return (void *)((wxWindow *) ((wxSashWindow *) x));
32074 }
32075 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32076 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32077 }
32078 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32079 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32080 }
32081 static void *_p_wxControlTo_p_wxWindow(void *x) {
32082 return (void *)((wxWindow *) ((wxControl *) x));
32083 }
32084 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32085 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32086 }
32087 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32088 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32089 }
32090 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32091 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32092 }
32093 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32094 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32095 }
32096 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32097 return (void *)((wxWindow *) ((wxPyWindow *) x));
32098 }
32099 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32100 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32101 }
32102 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32103 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32104 }
32105 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32106 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32107 }
32108 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32109 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32110 }
32111 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32112 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32113 }
32114 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32115 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32116 }
32117 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32118 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32119 }
32120 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32121 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32122 }
32123 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32124 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32125 }
32126 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32127 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32128 }
32129 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32130 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32131 }
32132 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32133 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32134 }
32135 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32136 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32137 }
32138 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32139 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32140 }
32141 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32142 return (void *)((wxDialog *) ((wxColourDialog *) x));
32143 }
32144 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32145 return (void *)((wxDialog *) ((wxDirDialog *) x));
32146 }
32147 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32148 return (void *)((wxDialog *) ((wxFontDialog *) x));
32149 }
32150 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32151 return (void *)((wxDialog *) ((wxFileDialog *) x));
32152 }
32153 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32154 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32155 }
32156 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32157 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32158 }
32159 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32160 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32161 }
32162 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32163 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32164 }
32165 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32166 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32167 }
32168 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32169 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32170 }
32171 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32172 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32173 }
32174 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32175 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32176 }
32177 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32178 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32179 }
32180 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32181 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32182 }
32183 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32184 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32185 }
32186 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32187 return (void *)((wxPanel *) ((wxPyPanel *) x));
32188 }
32189 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32190 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32191 }
32192 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32193 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32194 }
32195 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32196 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32197 }
32198 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32199 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32200 }
32201 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32202 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32203 }
32204 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32205 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32206 }
32207 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32208 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32209 }
32210 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32211 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32212 }
32213 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32214 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32215 }
32216 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32217 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32218 }
32219 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32220 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32221 }
32222 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32223 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32224 }
32225 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32226 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32227 }
32228 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32229 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32230 }
32231 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32232 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32233 }
32234 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32235 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32236 }
32237 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32238 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};
32239 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32240 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32244 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32251 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32252 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32253 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32254 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32255 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32256 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32257 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32258 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32289 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32295 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32317 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32318 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32319 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32320 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32321 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32322 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32323 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32324 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32325 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32326 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32327 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32328 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32329 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32330 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32331 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32332 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32333 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32334 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32379 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32397
32398 static swig_type_info *swig_type_initial[] = {
32399 &_swigt__p_char,
32400 &_swigt__p_form_ops_t,
32401 &_swigt__p_int,
32402 &_swigt__p_unsigned_char,
32403 &_swigt__p_unsigned_int,
32404 &_swigt__p_unsigned_long,
32405 &_swigt__p_wxANIHandler,
32406 &_swigt__p_wxAcceleratorTable,
32407 &_swigt__p_wxActivateEvent,
32408 &_swigt__p_wxArrayInt,
32409 &_swigt__p_wxBMPHandler,
32410 &_swigt__p_wxBitmap,
32411 &_swigt__p_wxBoxSizer,
32412 &_swigt__p_wxCURHandler,
32413 &_swigt__p_wxCalculateLayoutEvent,
32414 &_swigt__p_wxChildFocusEvent,
32415 &_swigt__p_wxCloseEvent,
32416 &_swigt__p_wxColour,
32417 &_swigt__p_wxColourData,
32418 &_swigt__p_wxColourDialog,
32419 &_swigt__p_wxCommandEvent,
32420 &_swigt__p_wxContextMenuEvent,
32421 &_swigt__p_wxControl,
32422 &_swigt__p_wxControlWithItems,
32423 &_swigt__p_wxDC,
32424 &_swigt__p_wxDateEvent,
32425 &_swigt__p_wxDialog,
32426 &_swigt__p_wxDirDialog,
32427 &_swigt__p_wxDisplayChangedEvent,
32428 &_swigt__p_wxDropFilesEvent,
32429 &_swigt__p_wxDuplexMode,
32430 &_swigt__p_wxEraseEvent,
32431 &_swigt__p_wxEvent,
32432 &_swigt__p_wxEvtHandler,
32433 &_swigt__p_wxFSFile,
32434 &_swigt__p_wxFileDialog,
32435 &_swigt__p_wxFileSystem,
32436 &_swigt__p_wxFindDialogEvent,
32437 &_swigt__p_wxFindReplaceData,
32438 &_swigt__p_wxFindReplaceDialog,
32439 &_swigt__p_wxFlexGridSizer,
32440 &_swigt__p_wxFocusEvent,
32441 &_swigt__p_wxFont,
32442 &_swigt__p_wxFontData,
32443 &_swigt__p_wxFontDialog,
32444 &_swigt__p_wxFrame,
32445 &_swigt__p_wxGBSizerItem,
32446 &_swigt__p_wxGIFHandler,
32447 &_swigt__p_wxGridBagSizer,
32448 &_swigt__p_wxGridSizer,
32449 &_swigt__p_wxICOHandler,
32450 &_swigt__p_wxIcon,
32451 &_swigt__p_wxIconBundle,
32452 &_swigt__p_wxIconizeEvent,
32453 &_swigt__p_wxIdleEvent,
32454 &_swigt__p_wxImage,
32455 &_swigt__p_wxImageHandler,
32456 &_swigt__p_wxIndividualLayoutConstraint,
32457 &_swigt__p_wxInitDialogEvent,
32458 &_swigt__p_wxJPEGHandler,
32459 &_swigt__p_wxKeyEvent,
32460 &_swigt__p_wxLayoutAlgorithm,
32461 &_swigt__p_wxLayoutConstraints,
32462 &_swigt__p_wxMDIChildFrame,
32463 &_swigt__p_wxMDIClientWindow,
32464 &_swigt__p_wxMDIParentFrame,
32465 &_swigt__p_wxMaximizeEvent,
32466 &_swigt__p_wxMenu,
32467 &_swigt__p_wxMenuBar,
32468 &_swigt__p_wxMenuEvent,
32469 &_swigt__p_wxMenuItem,
32470 &_swigt__p_wxMessageDialog,
32471 &_swigt__p_wxMiniFrame,
32472 &_swigt__p_wxMouseCaptureChangedEvent,
32473 &_swigt__p_wxMouseEvent,
32474 &_swigt__p_wxMoveEvent,
32475 &_swigt__p_wxMultiChoiceDialog,
32476 &_swigt__p_wxNavigationKeyEvent,
32477 &_swigt__p_wxNcPaintEvent,
32478 &_swigt__p_wxNotifyEvent,
32479 &_swigt__p_wxObject,
32480 &_swigt__p_wxPCXHandler,
32481 &_swigt__p_wxPNGHandler,
32482 &_swigt__p_wxPNMHandler,
32483 &_swigt__p_wxPageSetupDialog,
32484 &_swigt__p_wxPageSetupDialogData,
32485 &_swigt__p_wxPaintEvent,
32486 &_swigt__p_wxPaletteChangedEvent,
32487 &_swigt__p_wxPanel,
32488 &_swigt__p_wxPaperSize,
32489 &_swigt__p_wxPasswordEntryDialog,
32490 &_swigt__p_wxPoint,
32491 &_swigt__p_wxPopupWindow,
32492 &_swigt__p_wxPreviewCanvas,
32493 &_swigt__p_wxPreviewControlBar,
32494 &_swigt__p_wxPreviewFrame,
32495 &_swigt__p_wxPrintData,
32496 &_swigt__p_wxPrintDialog,
32497 &_swigt__p_wxPrintDialogData,
32498 &_swigt__p_wxPrintPreview,
32499 &_swigt__p_wxPrinter,
32500 &_swigt__p_wxProgressDialog,
32501 &_swigt__p_wxPyApp,
32502 &_swigt__p_wxPyCommandEvent,
32503 &_swigt__p_wxPyEvent,
32504 &_swigt__p_wxPyHtmlListBox,
32505 &_swigt__p_wxPyImageHandler,
32506 &_swigt__p_wxPyPanel,
32507 &_swigt__p_wxPyPopupTransientWindow,
32508 &_swigt__p_wxPyPreviewControlBar,
32509 &_swigt__p_wxPyPreviewFrame,
32510 &_swigt__p_wxPyPrintPreview,
32511 &_swigt__p_wxPyPrintout,
32512 &_swigt__p_wxPyScrolledWindow,
32513 &_swigt__p_wxPySizer,
32514 &_swigt__p_wxPyTaskBarIcon,
32515 &_swigt__p_wxPyVListBox,
32516 &_swigt__p_wxPyVScrolledWindow,
32517 &_swigt__p_wxPyValidator,
32518 &_swigt__p_wxPyWindow,
32519 &_swigt__p_wxQueryLayoutInfoEvent,
32520 &_swigt__p_wxQueryNewPaletteEvent,
32521 &_swigt__p_wxRect,
32522 &_swigt__p_wxRegion,
32523 &_swigt__p_wxSashEvent,
32524 &_swigt__p_wxSashLayoutWindow,
32525 &_swigt__p_wxSashWindow,
32526 &_swigt__p_wxScrollEvent,
32527 &_swigt__p_wxScrollWinEvent,
32528 &_swigt__p_wxScrolledWindow,
32529 &_swigt__p_wxSetCursorEvent,
32530 &_swigt__p_wxShowEvent,
32531 &_swigt__p_wxSingleChoiceDialog,
32532 &_swigt__p_wxSize,
32533 &_swigt__p_wxSizeEvent,
32534 &_swigt__p_wxSizer,
32535 &_swigt__p_wxSizerItem,
32536 &_swigt__p_wxSplashScreen,
32537 &_swigt__p_wxSplashScreenWindow,
32538 &_swigt__p_wxSplitterEvent,
32539 &_swigt__p_wxSplitterWindow,
32540 &_swigt__p_wxStaticBoxSizer,
32541 &_swigt__p_wxStatusBar,
32542 &_swigt__p_wxStdDialogButtonSizer,
32543 &_swigt__p_wxString,
32544 &_swigt__p_wxSysColourChangedEvent,
32545 &_swigt__p_wxTIFFHandler,
32546 &_swigt__p_wxTaskBarIcon,
32547 &_swigt__p_wxTaskBarIconEvent,
32548 &_swigt__p_wxTextEntryDialog,
32549 &_swigt__p_wxTipWindow,
32550 &_swigt__p_wxToolBar,
32551 &_swigt__p_wxTopLevelWindow,
32552 &_swigt__p_wxUpdateUIEvent,
32553 &_swigt__p_wxValidator,
32554 &_swigt__p_wxVisualAttributes,
32555 &_swigt__p_wxWindow,
32556 &_swigt__p_wxWindowCreateEvent,
32557 &_swigt__p_wxWindowDestroyEvent,
32558 &_swigt__p_wxXPMHandler,
32559 };
32560
32561 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32583 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32611 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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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_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}};
32612 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32617 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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}};
32618 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32626 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}};
32627 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32638 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}};
32639 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_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_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32674 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}};
32675 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32676 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}};
32677 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}};
32678 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32681 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}};
32682 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32686 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}};
32687 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32701 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}};
32702 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32703 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}};
32704 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32715 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}};
32716 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32718 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_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}};
32719 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32720 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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32721
32722 static swig_cast_info *swig_cast_initial[] = {
32723 _swigc__p_char,
32724 _swigc__p_form_ops_t,
32725 _swigc__p_int,
32726 _swigc__p_unsigned_char,
32727 _swigc__p_unsigned_int,
32728 _swigc__p_unsigned_long,
32729 _swigc__p_wxANIHandler,
32730 _swigc__p_wxAcceleratorTable,
32731 _swigc__p_wxActivateEvent,
32732 _swigc__p_wxArrayInt,
32733 _swigc__p_wxBMPHandler,
32734 _swigc__p_wxBitmap,
32735 _swigc__p_wxBoxSizer,
32736 _swigc__p_wxCURHandler,
32737 _swigc__p_wxCalculateLayoutEvent,
32738 _swigc__p_wxChildFocusEvent,
32739 _swigc__p_wxCloseEvent,
32740 _swigc__p_wxColour,
32741 _swigc__p_wxColourData,
32742 _swigc__p_wxColourDialog,
32743 _swigc__p_wxCommandEvent,
32744 _swigc__p_wxContextMenuEvent,
32745 _swigc__p_wxControl,
32746 _swigc__p_wxControlWithItems,
32747 _swigc__p_wxDC,
32748 _swigc__p_wxDateEvent,
32749 _swigc__p_wxDialog,
32750 _swigc__p_wxDirDialog,
32751 _swigc__p_wxDisplayChangedEvent,
32752 _swigc__p_wxDropFilesEvent,
32753 _swigc__p_wxDuplexMode,
32754 _swigc__p_wxEraseEvent,
32755 _swigc__p_wxEvent,
32756 _swigc__p_wxEvtHandler,
32757 _swigc__p_wxFSFile,
32758 _swigc__p_wxFileDialog,
32759 _swigc__p_wxFileSystem,
32760 _swigc__p_wxFindDialogEvent,
32761 _swigc__p_wxFindReplaceData,
32762 _swigc__p_wxFindReplaceDialog,
32763 _swigc__p_wxFlexGridSizer,
32764 _swigc__p_wxFocusEvent,
32765 _swigc__p_wxFont,
32766 _swigc__p_wxFontData,
32767 _swigc__p_wxFontDialog,
32768 _swigc__p_wxFrame,
32769 _swigc__p_wxGBSizerItem,
32770 _swigc__p_wxGIFHandler,
32771 _swigc__p_wxGridBagSizer,
32772 _swigc__p_wxGridSizer,
32773 _swigc__p_wxICOHandler,
32774 _swigc__p_wxIcon,
32775 _swigc__p_wxIconBundle,
32776 _swigc__p_wxIconizeEvent,
32777 _swigc__p_wxIdleEvent,
32778 _swigc__p_wxImage,
32779 _swigc__p_wxImageHandler,
32780 _swigc__p_wxIndividualLayoutConstraint,
32781 _swigc__p_wxInitDialogEvent,
32782 _swigc__p_wxJPEGHandler,
32783 _swigc__p_wxKeyEvent,
32784 _swigc__p_wxLayoutAlgorithm,
32785 _swigc__p_wxLayoutConstraints,
32786 _swigc__p_wxMDIChildFrame,
32787 _swigc__p_wxMDIClientWindow,
32788 _swigc__p_wxMDIParentFrame,
32789 _swigc__p_wxMaximizeEvent,
32790 _swigc__p_wxMenu,
32791 _swigc__p_wxMenuBar,
32792 _swigc__p_wxMenuEvent,
32793 _swigc__p_wxMenuItem,
32794 _swigc__p_wxMessageDialog,
32795 _swigc__p_wxMiniFrame,
32796 _swigc__p_wxMouseCaptureChangedEvent,
32797 _swigc__p_wxMouseEvent,
32798 _swigc__p_wxMoveEvent,
32799 _swigc__p_wxMultiChoiceDialog,
32800 _swigc__p_wxNavigationKeyEvent,
32801 _swigc__p_wxNcPaintEvent,
32802 _swigc__p_wxNotifyEvent,
32803 _swigc__p_wxObject,
32804 _swigc__p_wxPCXHandler,
32805 _swigc__p_wxPNGHandler,
32806 _swigc__p_wxPNMHandler,
32807 _swigc__p_wxPageSetupDialog,
32808 _swigc__p_wxPageSetupDialogData,
32809 _swigc__p_wxPaintEvent,
32810 _swigc__p_wxPaletteChangedEvent,
32811 _swigc__p_wxPanel,
32812 _swigc__p_wxPaperSize,
32813 _swigc__p_wxPasswordEntryDialog,
32814 _swigc__p_wxPoint,
32815 _swigc__p_wxPopupWindow,
32816 _swigc__p_wxPreviewCanvas,
32817 _swigc__p_wxPreviewControlBar,
32818 _swigc__p_wxPreviewFrame,
32819 _swigc__p_wxPrintData,
32820 _swigc__p_wxPrintDialog,
32821 _swigc__p_wxPrintDialogData,
32822 _swigc__p_wxPrintPreview,
32823 _swigc__p_wxPrinter,
32824 _swigc__p_wxProgressDialog,
32825 _swigc__p_wxPyApp,
32826 _swigc__p_wxPyCommandEvent,
32827 _swigc__p_wxPyEvent,
32828 _swigc__p_wxPyHtmlListBox,
32829 _swigc__p_wxPyImageHandler,
32830 _swigc__p_wxPyPanel,
32831 _swigc__p_wxPyPopupTransientWindow,
32832 _swigc__p_wxPyPreviewControlBar,
32833 _swigc__p_wxPyPreviewFrame,
32834 _swigc__p_wxPyPrintPreview,
32835 _swigc__p_wxPyPrintout,
32836 _swigc__p_wxPyScrolledWindow,
32837 _swigc__p_wxPySizer,
32838 _swigc__p_wxPyTaskBarIcon,
32839 _swigc__p_wxPyVListBox,
32840 _swigc__p_wxPyVScrolledWindow,
32841 _swigc__p_wxPyValidator,
32842 _swigc__p_wxPyWindow,
32843 _swigc__p_wxQueryLayoutInfoEvent,
32844 _swigc__p_wxQueryNewPaletteEvent,
32845 _swigc__p_wxRect,
32846 _swigc__p_wxRegion,
32847 _swigc__p_wxSashEvent,
32848 _swigc__p_wxSashLayoutWindow,
32849 _swigc__p_wxSashWindow,
32850 _swigc__p_wxScrollEvent,
32851 _swigc__p_wxScrollWinEvent,
32852 _swigc__p_wxScrolledWindow,
32853 _swigc__p_wxSetCursorEvent,
32854 _swigc__p_wxShowEvent,
32855 _swigc__p_wxSingleChoiceDialog,
32856 _swigc__p_wxSize,
32857 _swigc__p_wxSizeEvent,
32858 _swigc__p_wxSizer,
32859 _swigc__p_wxSizerItem,
32860 _swigc__p_wxSplashScreen,
32861 _swigc__p_wxSplashScreenWindow,
32862 _swigc__p_wxSplitterEvent,
32863 _swigc__p_wxSplitterWindow,
32864 _swigc__p_wxStaticBoxSizer,
32865 _swigc__p_wxStatusBar,
32866 _swigc__p_wxStdDialogButtonSizer,
32867 _swigc__p_wxString,
32868 _swigc__p_wxSysColourChangedEvent,
32869 _swigc__p_wxTIFFHandler,
32870 _swigc__p_wxTaskBarIcon,
32871 _swigc__p_wxTaskBarIconEvent,
32872 _swigc__p_wxTextEntryDialog,
32873 _swigc__p_wxTipWindow,
32874 _swigc__p_wxToolBar,
32875 _swigc__p_wxTopLevelWindow,
32876 _swigc__p_wxUpdateUIEvent,
32877 _swigc__p_wxValidator,
32878 _swigc__p_wxVisualAttributes,
32879 _swigc__p_wxWindow,
32880 _swigc__p_wxWindowCreateEvent,
32881 _swigc__p_wxWindowDestroyEvent,
32882 _swigc__p_wxXPMHandler,
32883 };
32884
32885
32886 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32887
32888 static swig_const_info swig_const_table[] = {
32889 {0, 0, 0, 0.0, 0, 0}};
32890
32891 #ifdef __cplusplus
32892 }
32893 #endif
32894 /* -----------------------------------------------------------------------------
32895 * Type initialization:
32896 * This problem is tough by the requirement that no dynamic
32897 * memory is used. Also, since swig_type_info structures store pointers to
32898 * swig_cast_info structures and swig_cast_info structures store pointers back
32899 * to swig_type_info structures, we need some lookup code at initialization.
32900 * The idea is that swig generates all the structures that are needed.
32901 * The runtime then collects these partially filled structures.
32902 * The SWIG_InitializeModule function takes these initial arrays out of
32903 * swig_module, and does all the lookup, filling in the swig_module.types
32904 * array with the correct data and linking the correct swig_cast_info
32905 * structures together.
32906 *
32907 * The generated swig_type_info structures are assigned staticly to an initial
32908 * array. We just loop though that array, and handle each type individually.
32909 * First we lookup if this type has been already loaded, and if so, use the
32910 * loaded structure instead of the generated one. Then we have to fill in the
32911 * cast linked list. The cast data is initially stored in something like a
32912 * two-dimensional array. Each row corresponds to a type (there are the same
32913 * number of rows as there are in the swig_type_initial array). Each entry in
32914 * a column is one of the swig_cast_info structures for that type.
32915 * The cast_initial array is actually an array of arrays, because each row has
32916 * a variable number of columns. So to actually build the cast linked list,
32917 * we find the array of casts associated with the type, and loop through it
32918 * adding the casts to the list. The one last trick we need to do is making
32919 * sure the type pointer in the swig_cast_info struct is correct.
32920 *
32921 * First off, we lookup the cast->type name to see if it is already loaded.
32922 * There are three cases to handle:
32923 * 1) If the cast->type has already been loaded AND the type we are adding
32924 * casting info to has not been loaded (it is in this module), THEN we
32925 * replace the cast->type pointer with the type pointer that has already
32926 * been loaded.
32927 * 2) If BOTH types (the one we are adding casting info to, and the
32928 * cast->type) are loaded, THEN the cast info has already been loaded by
32929 * the previous module so we just ignore it.
32930 * 3) Finally, if cast->type has not already been loaded, then we add that
32931 * swig_cast_info to the linked list (because the cast->type) pointer will
32932 * be correct.
32933 * ----------------------------------------------------------------------------- */
32934
32935 #ifdef __cplusplus
32936 extern "C" {
32937 #if 0
32938 } /* c-mode */
32939 #endif
32940 #endif
32941
32942 #if 0
32943 #define SWIGRUNTIME_DEBUG
32944 #endif
32945
32946 SWIGRUNTIME void
32947 SWIG_InitializeModule(void *clientdata) {
32948 size_t i;
32949 swig_module_info *module_head;
32950 static int init_run = 0;
32951
32952 clientdata = clientdata;
32953
32954 if (init_run) return;
32955 init_run = 1;
32956
32957 /* Initialize the swig_module */
32958 swig_module.type_initial = swig_type_initial;
32959 swig_module.cast_initial = swig_cast_initial;
32960
32961 /* Try and load any already created modules */
32962 module_head = SWIG_GetModule(clientdata);
32963 if (module_head) {
32964 swig_module.next = module_head->next;
32965 module_head->next = &swig_module;
32966 } else {
32967 /* This is the first module loaded */
32968 swig_module.next = &swig_module;
32969 SWIG_SetModule(clientdata, &swig_module);
32970 }
32971
32972 /* Now work on filling in swig_module.types */
32973 #ifdef SWIGRUNTIME_DEBUG
32974 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32975 #endif
32976 for (i = 0; i < swig_module.size; ++i) {
32977 swig_type_info *type = 0;
32978 swig_type_info *ret;
32979 swig_cast_info *cast;
32980
32981 #ifdef SWIGRUNTIME_DEBUG
32982 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32983 #endif
32984
32985 /* if there is another module already loaded */
32986 if (swig_module.next != &swig_module) {
32987 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
32988 }
32989 if (type) {
32990 /* Overwrite clientdata field */
32991 #ifdef SWIGRUNTIME_DEBUG
32992 printf("SWIG_InitializeModule: found type %s\n", type->name);
32993 #endif
32994 if (swig_module.type_initial[i]->clientdata) {
32995 type->clientdata = swig_module.type_initial[i]->clientdata;
32996 #ifdef SWIGRUNTIME_DEBUG
32997 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32998 #endif
32999 }
33000 } else {
33001 type = swig_module.type_initial[i];
33002 }
33003
33004 /* Insert casting types */
33005 cast = swig_module.cast_initial[i];
33006 while (cast->type) {
33007 /* Don't need to add information already in the list */
33008 ret = 0;
33009 #ifdef SWIGRUNTIME_DEBUG
33010 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33011 #endif
33012 if (swig_module.next != &swig_module) {
33013 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33014 #ifdef SWIGRUNTIME_DEBUG
33015 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33016 #endif
33017 }
33018 if (ret) {
33019 if (type == swig_module.type_initial[i]) {
33020 #ifdef SWIGRUNTIME_DEBUG
33021 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33022 #endif
33023 cast->type = ret;
33024 ret = 0;
33025 } else {
33026 /* Check for casting already in the list */
33027 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33028 #ifdef SWIGRUNTIME_DEBUG
33029 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33030 #endif
33031 if (!ocast) ret = 0;
33032 }
33033 }
33034
33035 if (!ret) {
33036 #ifdef SWIGRUNTIME_DEBUG
33037 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33038 #endif
33039 if (type->cast) {
33040 type->cast->prev = cast;
33041 cast->next = type->cast;
33042 }
33043 type->cast = cast;
33044 }
33045 cast++;
33046 }
33047 /* Set entry in modules->types array equal to the type */
33048 swig_module.types[i] = type;
33049 }
33050 swig_module.types[i] = 0;
33051
33052 #ifdef SWIGRUNTIME_DEBUG
33053 printf("**** SWIG_InitializeModule: Cast List ******\n");
33054 for (i = 0; i < swig_module.size; ++i) {
33055 int j = 0;
33056 swig_cast_info *cast = swig_module.cast_initial[i];
33057 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33058 while (cast->type) {
33059 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33060 cast++;
33061 ++j;
33062 }
33063 printf("---- Total casts: %d\n",j);
33064 }
33065 printf("**** SWIG_InitializeModule: Cast List ******\n");
33066 #endif
33067 }
33068
33069 /* This function will propagate the clientdata field of type to
33070 * any new swig_type_info structures that have been added into the list
33071 * of equivalent types. It is like calling
33072 * SWIG_TypeClientData(type, clientdata) a second time.
33073 */
33074 SWIGRUNTIME void
33075 SWIG_PropagateClientData(void) {
33076 size_t i;
33077 swig_cast_info *equiv;
33078 static int init_run = 0;
33079
33080 if (init_run) return;
33081 init_run = 1;
33082
33083 for (i = 0; i < swig_module.size; i++) {
33084 if (swig_module.types[i]->clientdata) {
33085 equiv = swig_module.types[i]->cast;
33086 while (equiv) {
33087 if (!equiv->converter) {
33088 if (equiv->type && !equiv->type->clientdata)
33089 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33090 }
33091 equiv = equiv->next;
33092 }
33093 }
33094 }
33095 }
33096
33097 #ifdef __cplusplus
33098 #if 0
33099 {
33100 /* c-mode */
33101 #endif
33102 }
33103 #endif
33104
33105
33106
33107 #ifdef __cplusplus
33108 extern "C" {
33109 #endif
33110
33111 /* Python-specific SWIG API */
33112 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33113 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33114 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33115
33116 /* -----------------------------------------------------------------------------
33117 * global variable support code.
33118 * ----------------------------------------------------------------------------- */
33119
33120 typedef struct swig_globalvar {
33121 char *name; /* Name of global variable */
33122 PyObject *(*get_attr)(void); /* Return the current value */
33123 int (*set_attr)(PyObject *); /* Set the value */
33124 struct swig_globalvar *next;
33125 } swig_globalvar;
33126
33127 typedef struct swig_varlinkobject {
33128 PyObject_HEAD
33129 swig_globalvar *vars;
33130 } swig_varlinkobject;
33131
33132 SWIGINTERN PyObject *
33133 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33134 return PyString_FromString("<Swig global variables>");
33135 }
33136
33137 SWIGINTERN PyObject *
33138 swig_varlink_str(swig_varlinkobject *v) {
33139 PyObject *str = PyString_FromString("(");
33140 swig_globalvar *var;
33141 for (var = v->vars; var; var=var->next) {
33142 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33143 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33144 }
33145 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33146 return str;
33147 }
33148
33149 SWIGINTERN int
33150 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33151 PyObject *str = swig_varlink_str(v);
33152 fprintf(fp,"Swig global variables ");
33153 fprintf(fp,"%s\n", PyString_AsString(str));
33154 Py_DECREF(str);
33155 return 0;
33156 }
33157
33158 SWIGINTERN void
33159 swig_varlink_dealloc(swig_varlinkobject *v) {
33160 swig_globalvar *var = v->vars;
33161 while (var) {
33162 swig_globalvar *n = var->next;
33163 free(var->name);
33164 free(var);
33165 var = n;
33166 }
33167 }
33168
33169 SWIGINTERN PyObject *
33170 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33171 PyObject *res = NULL;
33172 swig_globalvar *var = v->vars;
33173 while (var) {
33174 if (strcmp(var->name,n) == 0) {
33175 res = (*var->get_attr)();
33176 break;
33177 }
33178 var = var->next;
33179 }
33180 if (res == NULL && !PyErr_Occurred()) {
33181 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33182 }
33183 return res;
33184 }
33185
33186 SWIGINTERN int
33187 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33188 int res = 1;
33189 swig_globalvar *var = v->vars;
33190 while (var) {
33191 if (strcmp(var->name,n) == 0) {
33192 res = (*var->set_attr)(p);
33193 break;
33194 }
33195 var = var->next;
33196 }
33197 if (res == 1 && !PyErr_Occurred()) {
33198 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33199 }
33200 return res;
33201 }
33202
33203 SWIGINTERN PyTypeObject*
33204 swig_varlink_type(void) {
33205 static char varlink__doc__[] = "Swig var link object";
33206 static PyTypeObject varlink_type;
33207 static int type_init = 0;
33208 if (!type_init) {
33209 const PyTypeObject tmp
33210 = {
33211 PyObject_HEAD_INIT(NULL)
33212 0, /* Number of items in variable part (ob_size) */
33213 (char *)"swigvarlink", /* Type name (tp_name) */
33214 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33215 0, /* Itemsize (tp_itemsize) */
33216 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33217 (printfunc) swig_varlink_print, /* Print (tp_print) */
33218 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33219 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33220 0, /* tp_compare */
33221 (reprfunc) swig_varlink_repr, /* tp_repr */
33222 0, /* tp_as_number */
33223 0, /* tp_as_sequence */
33224 0, /* tp_as_mapping */
33225 0, /* tp_hash */
33226 0, /* tp_call */
33227 (reprfunc)swig_varlink_str, /* tp_str */
33228 0, /* tp_getattro */
33229 0, /* tp_setattro */
33230 0, /* tp_as_buffer */
33231 0, /* tp_flags */
33232 varlink__doc__, /* tp_doc */
33233 0, /* tp_traverse */
33234 0, /* tp_clear */
33235 0, /* tp_richcompare */
33236 0, /* tp_weaklistoffset */
33237 #if PY_VERSION_HEX >= 0x02020000
33238 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33239 #endif
33240 #if PY_VERSION_HEX >= 0x02030000
33241 0, /* tp_del */
33242 #endif
33243 #ifdef COUNT_ALLOCS
33244 0,0,0,0 /* tp_alloc -> tp_next */
33245 #endif
33246 };
33247 varlink_type = tmp;
33248 varlink_type.ob_type = &PyType_Type;
33249 type_init = 1;
33250 }
33251 return &varlink_type;
33252 }
33253
33254 /* Create a variable linking object for use later */
33255 SWIGINTERN PyObject *
33256 SWIG_Python_newvarlink(void) {
33257 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33258 if (result) {
33259 result->vars = 0;
33260 }
33261 return ((PyObject*) result);
33262 }
33263
33264 SWIGINTERN void
33265 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33266 swig_varlinkobject *v = (swig_varlinkobject *) p;
33267 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33268 if (gv) {
33269 size_t size = strlen(name)+1;
33270 gv->name = (char *)malloc(size);
33271 if (gv->name) {
33272 strncpy(gv->name,name,size);
33273 gv->get_attr = get_attr;
33274 gv->set_attr = set_attr;
33275 gv->next = v->vars;
33276 }
33277 }
33278 v->vars = gv;
33279 }
33280
33281 SWIGINTERN PyObject *
33282 SWIG_globals() {
33283 static PyObject *_SWIG_globals = 0;
33284 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33285 return _SWIG_globals;
33286 }
33287
33288 /* -----------------------------------------------------------------------------
33289 * constants/methods manipulation
33290 * ----------------------------------------------------------------------------- */
33291
33292 /* Install Constants */
33293 SWIGINTERN void
33294 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33295 PyObject *obj = 0;
33296 size_t i;
33297 for (i = 0; constants[i].type; ++i) {
33298 switch(constants[i].type) {
33299 case SWIG_PY_POINTER:
33300 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33301 break;
33302 case SWIG_PY_BINARY:
33303 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33304 break;
33305 default:
33306 obj = 0;
33307 break;
33308 }
33309 if (obj) {
33310 PyDict_SetItemString(d, constants[i].name, obj);
33311 Py_DECREF(obj);
33312 }
33313 }
33314 }
33315
33316 /* -----------------------------------------------------------------------------*/
33317 /* Fix SwigMethods to carry the callback ptrs when needed */
33318 /* -----------------------------------------------------------------------------*/
33319
33320 SWIGINTERN void
33321 SWIG_Python_FixMethods(PyMethodDef *methods,
33322 swig_const_info *const_table,
33323 swig_type_info **types,
33324 swig_type_info **types_initial) {
33325 size_t i;
33326 for (i = 0; methods[i].ml_name; ++i) {
33327 char *c = methods[i].ml_doc;
33328 if (c && (c = strstr(c, "swig_ptr: "))) {
33329 int j;
33330 swig_const_info *ci = 0;
33331 char *name = c + 10;
33332 for (j = 0; const_table[j].type; ++j) {
33333 if (strncmp(const_table[j].name, name,
33334 strlen(const_table[j].name)) == 0) {
33335 ci = &(const_table[j]);
33336 break;
33337 }
33338 }
33339 if (ci) {
33340 size_t shift = (ci->ptype) - types;
33341 swig_type_info *ty = types_initial[shift];
33342 size_t ldoc = (c - methods[i].ml_doc);
33343 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33344 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33345 if (ndoc) {
33346 char *buff = ndoc;
33347 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33348 if (ptr) {
33349 strncpy(buff, methods[i].ml_doc, ldoc);
33350 buff += ldoc;
33351 strncpy(buff, "swig_ptr: ", 10);
33352 buff += 10;
33353 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33354 methods[i].ml_doc = ndoc;
33355 }
33356 }
33357 }
33358 }
33359 }
33360 }
33361
33362 #ifdef __cplusplus
33363 }
33364 #endif
33365
33366 /* -----------------------------------------------------------------------------*
33367 * Partial Init method
33368 * -----------------------------------------------------------------------------*/
33369
33370 #ifdef __cplusplus
33371 extern "C"
33372 #endif
33373 SWIGEXPORT void SWIG_init(void) {
33374 PyObject *m, *d;
33375
33376 /* Fix SwigMethods to carry the callback ptrs when needed */
33377 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33378
33379 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33380 d = PyModule_GetDict(m);
33381
33382 SWIG_InitializeModule(0);
33383 SWIG_InstallConstants(d,swig_const_table);
33384
33385
33386 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33387 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33388 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33389 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33390 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33391 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33392 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33393 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33394 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33395 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33396 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33397 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33398 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33399 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33400 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33401 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33402 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33403 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33404 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33405 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33406 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33407 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33408 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33409 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33410 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33411 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33412 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33413 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33414 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33415 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33416 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33417 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33418 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33419 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33420 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33421 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33422 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33423 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33424 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33425 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33426 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33427 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33428 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33429 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33430 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33431 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33432 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33433 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33434 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33435 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33436 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33437 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33438 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33439 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33440 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33441 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33442 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33443 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33444 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33445 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33446 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33447 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33448 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33449 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33450 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33451 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33452 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33453 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33454 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33455 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33456 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33457 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33458 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33459 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33460 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33461 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33462 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33463 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33464 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33465 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33466 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33467 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33468 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33469 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33470 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33471 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33472 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33473 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33474 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33475 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33476 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33477 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33478 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33479 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33480 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33481 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33482 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33483 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33484 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33485 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33486 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33487 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33488
33489 // Map renamed classes back to their common name for OOR
33490 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33491 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33492 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33493
33494 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33495 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33496 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33497 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33498 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33499 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33500 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33501 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33502 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33503 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33504 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33505 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33506 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33507 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33508 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33509 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33510 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33511 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33512 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33513 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33514 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33515 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33516 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33517 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33518 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33519 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33520 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33521 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33522 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33523 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33524 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33525 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33526 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33527 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33528 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33529 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33530 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33531 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33532 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33533 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33534 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33535 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33536 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33537 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33538 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33539 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33540 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33541 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33542 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33543 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33544 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33545 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33546 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33547 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33548 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33549 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33550 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33551 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33552 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33553 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33554 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33555 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33556 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33557 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33558 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33559 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33560 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33561 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33562 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33563 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33564 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33565 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33566 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33567 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33568 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33569 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33570 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33571 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33572
33573 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33574
33575 }
33576