]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825
2826
2827 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2828 wxRect r;
2829 self->GetFieldRect(i, r);
2830 return r;
2831 }
2832 static const wxString wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2835
2836 #include <wx/popupwin.h>
2837
2838
2839 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2840 {
2841 public:
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2844 : wxPopupTransientWindow(parent, style) {}
2845
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2847 DEC_PYCALLBACK__(OnDismiss);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss);
2849 PYPRIVATE;
2850 };
2851
2852
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2856
2857
2858 #include <wx/tipwin.h>
2859
2860 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2861 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2862 }
2863
2864 #include <wx/tipwin.h>
2865
2866
2867 #include <wx/vscroll.h>
2868
2869
2870 class wxPyVScrolledWindow : public wxVScrolledWindow
2871 {
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2873 public:
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875
2876 wxPyVScrolledWindow(wxWindow *parent,
2877 wxWindowID id = wxID_ANY,
2878 const wxPoint& pos = wxDefaultPosition,
2879 const wxSize& size = wxDefaultSize,
2880 long style = 0,
2881 const wxString& name = wxPyPanelNameStr)
2882 : wxVScrolledWindow(parent, id, pos, size, style, name)
2883 {}
2884
2885 // Overridable virtuals
2886
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2890
2891
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2895 // once
2896 //
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2902 //
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 // usual
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2906
2907
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2912 // its own logic
2913 //
2914 // this function should return the best guess for the total height it may
2915 // make
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2917
2918
2919 // Also expose some other interesting protected methods
2920
2921
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2926
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2931
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2937
2938 PYPRIVATE;
2939 };
2940
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2942
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2946
2947
2948 SWIGINTERN int
2949 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2950 {
2951 long v = 0;
2952 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2953 return SWIG_TypeError;
2954 }
2955 else if (val)
2956 *val = (unsigned long)v;
2957 return SWIG_OK;
2958 }
2959
2960
2961 SWIGINTERNINLINE int
2962 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2963 {
2964 unsigned long v;
2965 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2966 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2967 return res;
2968 }
2969
2970
2971 SWIGINTERNINLINE PyObject*
2972 SWIG_From_unsigned_SS_long (unsigned long value)
2973 {
2974 return (value > LONG_MAX) ?
2975 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject *
2980 SWIG_From_size_t (size_t value)
2981 {
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2983 }
2984
2985
2986 #include <wx/vlbox.h>
2987
2988 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2989
2990 class wxPyVListBox : public wxVListBox
2991 {
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2993 public:
2994 wxPyVListBox() : wxVListBox() {}
2995
2996 wxPyVListBox(wxWindow *parent,
2997 wxWindowID id = wxID_ANY,
2998 const wxPoint& pos = wxDefaultPosition,
2999 const wxSize& size = wxDefaultSize,
3000 long style = 0,
3001 const wxString& name = wxPyVListBoxNameStr)
3002 : wxVListBox(parent, id, pos, size, style, name)
3003 {}
3004
3005 // Overridable virtuals
3006
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3011
3012
3013 // the derived class must implement this method to return the height of the
3014 // specified item
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3017
3018
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3022 //
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3026
3027
3028 // this method is used to draw the items background and, maybe, a border
3029 // around it
3030 //
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3034 // current
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3037
3038
3039 PYPRIVATE;
3040 };
3041
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3043
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3048
3049
3050 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3051 unsigned long cookie = 0;
3052 int selected = self->GetFirstSelected(cookie);
3053 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3054 PyObject* tup = PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3056 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3057 wxPyEndBlockThreads(blocked);
3058 return tup;
3059 }
3060 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3061 int selected = self->GetNextSelected(cookie);
3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
3069
3070 #include <wx/htmllbox.h>
3071
3072
3073 class wxPyHtmlListBox : public wxHtmlListBox
3074 {
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3076 public:
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3078
3079 wxPyHtmlListBox(wxWindow *parent,
3080 wxWindowID id = wxID_ANY,
3081 const wxPoint& pos = wxDefaultPosition,
3082 const wxSize& size = wxDefaultSize,
3083 long style = 0,
3084 const wxString& name = wxPyVListBoxNameStr)
3085 : wxHtmlListBox(parent, id, pos, size, style, name)
3086 {}
3087
3088 // Overridable virtuals
3089
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3093
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3096
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3100
3101 // TODO:
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3105 // //
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114
3115
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n,
3119 const wxHtmlLinkInfo& link);
3120
3121 PYPRIVATE;
3122 };
3123
3124
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3126
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3131
3132
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link) {
3135 bool found;
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3138 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3140 Py_DECREF(obj);
3141 }
3142 wxPyEndBlockThreads(blocked);
3143 if (! found)
3144 wxPyHtmlListBox::OnLinkClicked(n, link);
3145 }
3146
3147
3148
3149
3150
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3153
3154 class wxTaskBarIcon : public wxEvtHandler
3155 {
3156 public:
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3158 };
3159
3160
3161 class wxTaskBarIconEvent : public wxEvent
3162 {
3163 public:
3164 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent* Clone() const { return NULL; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu *menu) { return false; }
3172 };
3173
3174 enum {
3175 wxEVT_TASKBAR_MOVE = 0,
3176 wxEVT_TASKBAR_LEFT_DOWN = 0,
3177 wxEVT_TASKBAR_LEFT_UP = 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3179 wxEVT_TASKBAR_RIGHT_UP = 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3182 };
3183
3184
3185 #else
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon : public wxTaskBarIcon
3188 {
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3190 public:
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 {}
3193
3194 wxMenu* CreatePopupMenu() {
3195 wxMenu *rval = NULL;
3196 bool found;
3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3198 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3199 PyObject* ro;
3200 wxMenu* ptr;
3201 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3202 if (ro) {
3203 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3204 rval = ptr;
3205 Py_DECREF(ro);
3206 }
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 if (! found)
3210 rval = wxTaskBarIcon::CreatePopupMenu();
3211 return rval;
3212 }
3213
3214 PYPRIVATE;
3215 };
3216
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3218
3219 #endif
3220
3221 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3222 self->RemoveIcon();
3223 delete self;
3224 }
3225 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3226 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3227 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3228 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3229 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3230 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3231
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3234
3235 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3236 wxArrayString arr;
3237 self->GetFilenames(arr);
3238 return wxArrayString2PyList_helper(arr);
3239 }
3240 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3241 wxArrayString arr;
3242 self->GetPaths(arr);
3243 return wxArrayString2PyList_helper(arr);
3244 }
3245 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3246 return wxArrayInt2PyList_helper(self->GetSelections());
3247 }
3248 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){
3249 return new wxSingleChoiceDialog(parent, message, caption,
3250 choices, choices_array, NULL, style, pos);
3251 }
3252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3253
3254 SWIGINTERNINLINE PyObject*
3255 SWIG_From_bool (bool value)
3256 {
3257 return PyBool_FromLong(value ? 1 : 0);
3258 }
3259
3260
3261 #include <wx/mdi.h>
3262
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow : public wxWindow
3265 {
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3267 public:
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxString& name = wxPyPanelNameStr)
3274 : wxWindow(parent, id, pos, size, style, name) {}
3275
3276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel : public wxPanel
3357 {
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359 public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
3368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3369 bool DoEraseBackground(wxDC* dc) {
3370 #ifdef __WXMSW__
3371 return wxWindow::DoEraseBackground(dc->GetHDC());
3372 #else
3373 dc->SetBackground(wxBrush(GetBackgroundColour()));
3374 dc->Clear();
3375 return true;
3376 #endif
3377 }
3378
3379
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3384
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3388
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3391
3392 DEC_PYCALLBACK__(InitDialog);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3395 DEC_PYCALLBACK_BOOL_(Validate);
3396
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3400
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3403
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3406
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3408
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3410
3411 PYPRIVATE;
3412 };
3413
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3415
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3420
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3424
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3427
3428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3432
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3436
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3439
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3442
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3444
3445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3446
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow : public wxScrolledWindow
3449 {
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3451 public:
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3454 const wxPoint& pos = wxDefaultPosition,
3455 const wxSize& size = wxDefaultSize,
3456 long style = 0,
3457 const wxString& name = wxPyPanelNameStr)
3458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3459
3460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3461 bool DoEraseBackground(wxDC* dc) {
3462 #ifdef __WXMSW__
3463 return wxWindow::DoEraseBackground(dc->GetHDC());
3464 #else
3465 dc->SetBackground(wxBrush(GetBackgroundColour()));
3466 dc->Clear();
3467 return true;
3468 #endif
3469 }
3470
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3475
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3479
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3482
3483 DEC_PYCALLBACK__(InitDialog);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3486 DEC_PYCALLBACK_BOOL_(Validate);
3487
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3491
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3494
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3497
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3499
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3501
3502 PYPRIVATE;
3503 };
3504
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3506
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3511
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3515
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3518
3519 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3523
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3527
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3530
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3533
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3535
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3537
3538
3539 #include "wx/wxPython/printfw.h"
3540
3541
3542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3545 PyObject* data;
3546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3547 data = PyString_FromStringAndSize(self->GetPrivData(),
3548 self->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked);
3550 return data;
3551 }
3552 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3553 if (! PyString_Check(data)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3555 "Expected string object"));
3556 return /* NULL */ ;
3557 }
3558
3559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3561 wxPyEndBlockThreads(blocked);
3562 }
3563
3564
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3566
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3569 bool hadErr = false;
3570 bool found;
3571
3572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3576 PyObject* val;
3577
3578 val = PyTuple_GetItem(result, 0);
3579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3580 else hadErr = true;
3581
3582 val = PyTuple_GetItem(result, 1);
3583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3584 else hadErr = true;
3585
3586 val = PyTuple_GetItem(result, 2);
3587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3588 else hadErr = true;
3589
3590 val = PyTuple_GetItem(result, 3);
3591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3592 else hadErr = true;
3593 }
3594 else
3595 hadErr = true;
3596
3597 if (hadErr) {
3598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3599 PyErr_Print();
3600 }
3601 Py_DECREF(result);
3602 }
3603 wxPyEndBlockThreads(blocked);
3604 if (! found)
3605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3606 }
3607
3608
3609
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3617
3618
3619
3620
3621
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624
3625
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 bool rval=false; \
3629 bool found; \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3635 Py_DECREF(win); \
3636 Py_DECREF(dc); \
3637 } \
3638 wxPyEndBlockThreads(blocked); \
3639 if (! found) \
3640 rval = PCLASS::CBNAME(a, b); \
3641 return rval; \
3642 }
3643
3644
3645
3646
3647 class wxPyPrintPreview : public wxPrintPreview
3648 {
3649 DECLARE_CLASS(wxPyPrintPreview)
3650 public:
3651 wxPyPrintPreview(wxPyPrintout* printout,
3652 wxPyPrintout* printoutForPrinting,
3653 wxPrintDialogData* data=NULL)
3654 : wxPrintPreview(printout, printoutForPrinting, data)
3655 {}
3656 wxPyPrintPreview(wxPyPrintout* printout,
3657 wxPyPrintout* printoutForPrinting,
3658 wxPrintData* data)
3659 : wxPrintPreview(printout, printoutForPrinting, data)
3660 {}
3661
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling);
3669
3670 PYPRIVATE;
3671 };
3672
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3678 #else
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3680 #endif
3681
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3689
3690
3691 class wxPyPreviewFrame : public wxPreviewFrame
3692 {
3693 DECLARE_CLASS(wxPyPreviewFrame)
3694 public:
3695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3696 const wxString& title,
3697 const wxPoint& pos = wxDefaultPosition,
3698 const wxSize& size = wxDefaultSize,
3699 long style = wxDEFAULT_FRAME_STYLE,
3700 const wxString& name = wxPyFrameNameStr)
3701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3702 {}
3703
3704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3706
3707 DEC_PYCALLBACK_VOID_(Initialize);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar);
3710
3711 PYPRIVATE;
3712 };
3713
3714 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3715
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3719
3720
3721 class wxPyPreviewControlBar : public wxPreviewControlBar
3722 {
3723 DECLARE_CLASS(wxPyPreviewControlBar)
3724 public:
3725 wxPyPreviewControlBar(wxPrintPreview *preview,
3726 long buttons,
3727 wxWindow *parent,
3728 const wxPoint& pos = wxDefaultPosition,
3729 const wxSize& size = wxDefaultSize,
3730 long style = 0,
3731 const wxString& name = wxPyPanelNameStr)
3732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3733 {}
3734
3735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3736
3737 DEC_PYCALLBACK_VOID_(CreateButtons);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3739
3740 PYPRIVATE;
3741 };
3742
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3746
3747 #ifdef __cplusplus
3748 extern "C" {
3749 #endif
3750 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj = 0;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) (int)-1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3760 wxString *arg6 = (wxString *) &arg6_defvalue ;
3761 wxPanel *result = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 int val2 ;
3765 int ecode2 = 0 ;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
3768 long val5 ;
3769 int ecode5 = 0 ;
3770 bool temp6 = false ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 PyObject * obj2 = 0 ;
3774 PyObject * obj3 = 0 ;
3775 PyObject * obj4 = 0 ;
3776 PyObject * obj5 = 0 ;
3777 char * kwnames[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 };
3780
3781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3783 if (!SWIG_IsOK(res1)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 }
3786 arg1 = reinterpret_cast< wxWindow * >(argp1);
3787 if (obj1) {
3788 ecode2 = SWIG_AsVal_int(obj1, &val2);
3789 if (!SWIG_IsOK(ecode2)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 }
3792 arg2 = static_cast< int >(val2);
3793 }
3794 if (obj2) {
3795 {
3796 arg3 = &temp3;
3797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3798 }
3799 }
3800 if (obj3) {
3801 {
3802 arg4 = &temp4;
3803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3804 }
3805 }
3806 if (obj4) {
3807 ecode5 = SWIG_AsVal_long(obj4, &val5);
3808 if (!SWIG_IsOK(ecode5)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 }
3811 arg5 = static_cast< long >(val5);
3812 }
3813 if (obj5) {
3814 {
3815 arg6 = wxString_in_helper(obj5);
3816 if (arg6 == NULL) SWIG_fail;
3817 temp6 = true;
3818 }
3819 }
3820 {
3821 if (!wxPyCheckForApp()) SWIG_fail;
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return resultobj;
3833 fail:
3834 {
3835 if (temp6)
3836 delete arg6;
3837 }
3838 return NULL;
3839 }
3840
3841
3842 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxPanel *result = 0 ;
3845
3846 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3847 {
3848 if (!wxPyCheckForApp()) SWIG_fail;
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxPanel *)new wxPanel();
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj = 0;
3863 wxPanel *arg1 = (wxPanel *) 0 ;
3864 wxWindow *arg2 = (wxWindow *) 0 ;
3865 int arg3 = (int) (int)-1 ;
3866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3868 wxSize const &arg5_defvalue = wxDefaultSize ;
3869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3870 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3872 wxString *arg7 = (wxString *) &arg7_defvalue ;
3873 bool result;
3874 void *argp1 = 0 ;
3875 int res1 = 0 ;
3876 void *argp2 = 0 ;
3877 int res2 = 0 ;
3878 int val3 ;
3879 int ecode3 = 0 ;
3880 wxPoint temp4 ;
3881 wxSize temp5 ;
3882 long val6 ;
3883 int ecode6 = 0 ;
3884 bool temp7 = false ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj2 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 PyObject * obj5 = 0 ;
3891 PyObject * obj6 = 0 ;
3892 char * kwnames[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 };
3895
3896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 }
3901 arg1 = reinterpret_cast< wxPanel * >(argp1);
3902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3903 if (!SWIG_IsOK(res2)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 }
3906 arg2 = reinterpret_cast< wxWindow * >(argp2);
3907 if (obj2) {
3908 ecode3 = SWIG_AsVal_int(obj2, &val3);
3909 if (!SWIG_IsOK(ecode3)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 }
3912 arg3 = static_cast< int >(val3);
3913 }
3914 if (obj3) {
3915 {
3916 arg4 = &temp4;
3917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3918 }
3919 }
3920 if (obj4) {
3921 {
3922 arg5 = &temp5;
3923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3924 }
3925 }
3926 if (obj5) {
3927 ecode6 = SWIG_AsVal_long(obj5, &val6);
3928 if (!SWIG_IsOK(ecode6)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 }
3931 arg6 = static_cast< long >(val6);
3932 }
3933 if (obj6) {
3934 {
3935 arg7 = wxString_in_helper(obj6);
3936 if (arg7 == NULL) SWIG_fail;
3937 temp7 = true;
3938 }
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3948 }
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return resultobj;
3954 fail:
3955 {
3956 if (temp7)
3957 delete arg7;
3958 }
3959 return NULL;
3960 }
3961
3962
3963 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3964 PyObject *resultobj = 0;
3965 wxPanel *arg1 = (wxPanel *) 0 ;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 }
3976 arg1 = reinterpret_cast< wxPanel * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 resultobj = SWIG_Py_Void();
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3993 SwigValueWrapper<wxVisualAttributes > result;
3994 int val1 ;
3995 int ecode1 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 char * kwnames[] = {
3998 (char *) "variant", NULL
3999 };
4000
4001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4002 if (obj0) {
4003 ecode1 = SWIG_AsVal_int(obj0, &val1);
4004 if (!SWIG_IsOK(ecode1)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 }
4007 arg1 = static_cast< wxWindowVariant >(val1);
4008 }
4009 {
4010 if (!wxPyCheckForApp()) SWIG_fail;
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = wxPanel::GetClassDefaultAttributes(arg1);
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4024 PyObject *obj;
4025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4027 return SWIG_Py_Void();
4028 }
4029
4030 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4031 return SWIG_Python_InitShadowInstance(args);
4032 }
4033
4034 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj = 0;
4036 wxWindow *arg1 = (wxWindow *) 0 ;
4037 int arg2 = (int) (int)-1 ;
4038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4040 wxSize const &arg4_defvalue = wxDefaultSize ;
4041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4042 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4043 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4044 wxString *arg6 = (wxString *) &arg6_defvalue ;
4045 wxScrolledWindow *result = 0 ;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 int val2 ;
4049 int ecode2 = 0 ;
4050 wxPoint temp3 ;
4051 wxSize temp4 ;
4052 long val5 ;
4053 int ecode5 = 0 ;
4054 bool temp6 = false ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
4061 char * kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4067 if (!SWIG_IsOK(res1)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 }
4070 arg1 = reinterpret_cast< wxWindow * >(argp1);
4071 if (obj1) {
4072 ecode2 = SWIG_AsVal_int(obj1, &val2);
4073 if (!SWIG_IsOK(ecode2)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 }
4076 arg2 = static_cast< int >(val2);
4077 }
4078 if (obj2) {
4079 {
4080 arg3 = &temp3;
4081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4082 }
4083 }
4084 if (obj3) {
4085 {
4086 arg4 = &temp4;
4087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4088 }
4089 }
4090 if (obj4) {
4091 ecode5 = SWIG_AsVal_long(obj4, &val5);
4092 if (!SWIG_IsOK(ecode5)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 }
4095 arg5 = static_cast< long >(val5);
4096 }
4097 if (obj5) {
4098 {
4099 arg6 = wxString_in_helper(obj5);
4100 if (arg6 == NULL) SWIG_fail;
4101 temp6 = true;
4102 }
4103 }
4104 {
4105 if (!wxPyCheckForApp()) SWIG_fail;
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp6)
4120 delete arg6;
4121 }
4122 return NULL;
4123 }
4124
4125
4126 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127 PyObject *resultobj = 0;
4128 wxScrolledWindow *result = 0 ;
4129
4130 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4131 {
4132 if (!wxPyCheckForApp()) SWIG_fail;
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (wxScrolledWindow *)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4148 wxWindow *arg2 = (wxWindow *) 0 ;
4149 int arg3 = (int) (int)-1 ;
4150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4152 wxSize const &arg5_defvalue = wxDefaultSize ;
4153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4154 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4155 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4156 wxString *arg7 = (wxString *) &arg7_defvalue ;
4157 bool result;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 void *argp2 = 0 ;
4161 int res2 = 0 ;
4162 int val3 ;
4163 int ecode3 = 0 ;
4164 wxPoint temp4 ;
4165 wxSize temp5 ;
4166 long val6 ;
4167 int ecode6 = 0 ;
4168 bool temp7 = false ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj6 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 }
4185 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4187 if (!SWIG_IsOK(res2)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 }
4190 arg2 = reinterpret_cast< wxWindow * >(argp2);
4191 if (obj2) {
4192 ecode3 = SWIG_AsVal_int(obj2, &val3);
4193 if (!SWIG_IsOK(ecode3)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 }
4196 arg3 = static_cast< int >(val3);
4197 }
4198 if (obj3) {
4199 {
4200 arg4 = &temp4;
4201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4202 }
4203 }
4204 if (obj4) {
4205 {
4206 arg5 = &temp5;
4207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4208 }
4209 }
4210 if (obj5) {
4211 ecode6 = SWIG_AsVal_long(obj5, &val6);
4212 if (!SWIG_IsOK(ecode6)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 }
4215 arg6 = static_cast< long >(val6);
4216 }
4217 if (obj6) {
4218 {
4219 arg7 = wxString_in_helper(obj6);
4220 if (arg7 == NULL) SWIG_fail;
4221 temp7 = true;
4222 }
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 {
4231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4232 }
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return resultobj;
4238 fail:
4239 {
4240 if (temp7)
4241 delete arg7;
4242 }
4243 return NULL;
4244 }
4245
4246
4247 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj = 0;
4249 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4250 int arg2 ;
4251 int arg3 ;
4252 int arg4 ;
4253 int arg5 ;
4254 int arg6 = (int) 0 ;
4255 int arg7 = (int) 0 ;
4256 bool arg8 = (bool) false ;
4257 void *argp1 = 0 ;
4258 int res1 = 0 ;
4259 int val2 ;
4260 int ecode2 = 0 ;
4261 int val3 ;
4262 int ecode3 = 0 ;
4263 int val4 ;
4264 int ecode4 = 0 ;
4265 int val5 ;
4266 int ecode5 = 0 ;
4267 int val6 ;
4268 int ecode6 = 0 ;
4269 int val7 ;
4270 int ecode7 = 0 ;
4271 bool val8 ;
4272 int ecode8 = 0 ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 PyObject * obj2 = 0 ;
4276 PyObject * obj3 = 0 ;
4277 PyObject * obj4 = 0 ;
4278 PyObject * obj5 = 0 ;
4279 PyObject * obj6 = 0 ;
4280 PyObject * obj7 = 0 ;
4281 char * kwnames[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 };
4284
4285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4287 if (!SWIG_IsOK(res1)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 }
4290 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4291 ecode2 = SWIG_AsVal_int(obj1, &val2);
4292 if (!SWIG_IsOK(ecode2)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 }
4295 arg2 = static_cast< int >(val2);
4296 ecode3 = SWIG_AsVal_int(obj2, &val3);
4297 if (!SWIG_IsOK(ecode3)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 }
4300 arg3 = static_cast< int >(val3);
4301 ecode4 = SWIG_AsVal_int(obj3, &val4);
4302 if (!SWIG_IsOK(ecode4)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 }
4305 arg4 = static_cast< int >(val4);
4306 ecode5 = SWIG_AsVal_int(obj4, &val5);
4307 if (!SWIG_IsOK(ecode5)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 }
4310 arg5 = static_cast< int >(val5);
4311 if (obj5) {
4312 ecode6 = SWIG_AsVal_int(obj5, &val6);
4313 if (!SWIG_IsOK(ecode6)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 }
4316 arg6 = static_cast< int >(val6);
4317 }
4318 if (obj6) {
4319 ecode7 = SWIG_AsVal_int(obj6, &val7);
4320 if (!SWIG_IsOK(ecode7)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 }
4323 arg7 = static_cast< int >(val7);
4324 }
4325 if (obj7) {
4326 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4327 if (!SWIG_IsOK(ecode8)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 }
4330 arg8 = static_cast< bool >(val8);
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4348 int arg2 ;
4349 int arg3 ;
4350 void *argp1 = 0 ;
4351 int res1 = 0 ;
4352 int val2 ;
4353 int ecode2 = 0 ;
4354 int val3 ;
4355 int ecode3 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 }
4368 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4369 ecode2 = SWIG_AsVal_int(obj1, &val2);
4370 if (!SWIG_IsOK(ecode2)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 }
4373 arg2 = static_cast< int >(val2);
4374 ecode3 = SWIG_AsVal_int(obj2, &val3);
4375 if (!SWIG_IsOK(ecode3)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 }
4378 arg3 = static_cast< int >(val3);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->Scroll(arg2,arg3);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4395 int arg2 ;
4396 int result;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 char * kwnames[] = {
4404 (char *) "self",(char *) "orient", NULL
4405 };
4406
4407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4409 if (!SWIG_IsOK(res1)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 }
4412 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4413 ecode2 = SWIG_AsVal_int(obj1, &val2);
4414 if (!SWIG_IsOK(ecode2)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 }
4417 arg2 = static_cast< int >(val2);
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_From_int(static_cast< int >(result));
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->SetScrollPageSize(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int arg3 ;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 int val3 ;
4488 int ecode3 = 0 ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 PyObject * obj2 = 0 ;
4492 char * kwnames[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 };
4495
4496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 ecode2 = SWIG_AsVal_int(obj1, &val2);
4503 if (!SWIG_IsOK(ecode2)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 }
4506 arg2 = static_cast< int >(val2);
4507 ecode3 = SWIG_AsVal_int(obj2, &val3);
4508 if (!SWIG_IsOK(ecode3)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 }
4511 arg3 = static_cast< int >(val3);
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->SetScrollRate(arg2,arg3);
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 resultobj = SWIG_Py_Void();
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4526 PyObject *resultobj = 0;
4527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4528 int *arg2 = (int *) 0 ;
4529 int *arg3 = (int *) 0 ;
4530 void *argp1 = 0 ;
4531 int res1 = 0 ;
4532 int temp2 ;
4533 int res2 = SWIG_TMPOBJ ;
4534 int temp3 ;
4535 int res3 = SWIG_TMPOBJ ;
4536 PyObject *swig_obj[1] ;
4537
4538 arg2 = &temp2;
4539 arg3 = &temp3;
4540 if (!args) SWIG_fail;
4541 swig_obj[0] = args;
4542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4543 if (!SWIG_IsOK(res1)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 }
4546 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 resultobj = SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4559 }
4560 if (SWIG_IsTmpObj(res3)) {
4561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4562 } else {
4563 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj = 0;
4574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4575 bool arg2 ;
4576 bool arg3 ;
4577 void *argp1 = 0 ;
4578 int res1 = 0 ;
4579 bool val2 ;
4580 int ecode2 = 0 ;
4581 bool val3 ;
4582 int ecode3 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 PyObject * obj2 = 0 ;
4586 char * kwnames[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 };
4589
4590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4597 if (!SWIG_IsOK(ecode2)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 }
4600 arg2 = static_cast< bool >(val2);
4601 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4602 if (!SWIG_IsOK(ecode3)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 }
4605 arg3 = static_cast< bool >(val3);
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->EnableScrolling(arg2,arg3);
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 resultobj = SWIG_Py_Void();
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4620 PyObject *resultobj = 0;
4621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4622 int *arg2 = (int *) 0 ;
4623 int *arg3 = (int *) 0 ;
4624 void *argp1 = 0 ;
4625 int res1 = 0 ;
4626 int temp2 ;
4627 int res2 = SWIG_TMPOBJ ;
4628 int temp3 ;
4629 int res3 = SWIG_TMPOBJ ;
4630 PyObject *swig_obj[1] ;
4631
4632 arg2 = &temp2;
4633 arg3 = &temp3;
4634 if (!args) SWIG_fail;
4635 swig_obj[0] = args;
4636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4637 if (!SWIG_IsOK(res1)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 }
4640 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4653 }
4654 if (SWIG_IsTmpObj(res3)) {
4655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4656 } else {
4657 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4669 double arg2 ;
4670 double arg3 ;
4671 void *argp1 = 0 ;
4672 int res1 = 0 ;
4673 double val2 ;
4674 int ecode2 = 0 ;
4675 double val3 ;
4676 int ecode3 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 PyObject * obj2 = 0 ;
4680 char * kwnames[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 };
4683
4684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4686 if (!SWIG_IsOK(res1)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 }
4689 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4690 ecode2 = SWIG_AsVal_double(obj1, &val2);
4691 if (!SWIG_IsOK(ecode2)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 }
4694 arg2 = static_cast< double >(val2);
4695 ecode3 = SWIG_AsVal_double(obj2, &val3);
4696 if (!SWIG_IsOK(ecode3)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 }
4699 arg3 = static_cast< double >(val3);
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->SetScale(arg2,arg3);
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_Py_Void();
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4714 PyObject *resultobj = 0;
4715 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4716 double result;
4717 void *argp1 = 0 ;
4718 int res1 = 0 ;
4719 PyObject *swig_obj[1] ;
4720
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_From_double(static_cast< double >(result));
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4742 PyObject *resultobj = 0;
4743 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4744 double result;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 PyObject *swig_obj[1] ;
4748
4749 if (!args) SWIG_fail;
4750 swig_obj[0] = args;
4751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4752 if (!SWIG_IsOK(res1)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 }
4755 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_From_double(static_cast< double >(result));
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4770 PyObject *resultobj = 0;
4771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4772 wxPoint *arg2 = 0 ;
4773 wxPoint result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 wxPoint temp2 ;
4777
4778 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4780 if (!SWIG_IsOK(res1)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 }
4783 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4784 {
4785 arg2 = &temp2;
4786 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4795 return resultobj;
4796 fail:
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4802 PyObject *resultobj = 0;
4803 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4804 int arg2 ;
4805 int arg3 ;
4806 int *arg4 = (int *) 0 ;
4807 int *arg5 = (int *) 0 ;
4808 void *argp1 = 0 ;
4809 int res1 = 0 ;
4810 int val2 ;
4811 int ecode2 = 0 ;
4812 int val3 ;
4813 int ecode3 = 0 ;
4814 int temp4 ;
4815 int res4 = SWIG_TMPOBJ ;
4816 int temp5 ;
4817 int res5 = SWIG_TMPOBJ ;
4818
4819 arg4 = &temp4;
4820 arg5 = &temp5;
4821 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 }
4826 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4827 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4828 if (!SWIG_IsOK(ecode2)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 }
4831 arg2 = static_cast< int >(val2);
4832 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4833 if (!SWIG_IsOK(ecode3)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 }
4836 arg3 = static_cast< int >(val3);
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4849 }
4850 if (SWIG_IsTmpObj(res5)) {
4851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4852 } else {
4853 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4855 }
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4863 int argc;
4864 PyObject *argv[4];
4865
4866 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4867 --argc;
4868 if (argc == 2) {
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4870 }
4871 if (argc == 3) {
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4873 }
4874
4875 fail:
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4877 return NULL;
4878 }
4879
4880
4881 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4882 PyObject *resultobj = 0;
4883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4884 wxPoint *arg2 = 0 ;
4885 wxPoint result;
4886 void *argp1 = 0 ;
4887 int res1 = 0 ;
4888 wxPoint temp2 ;
4889
4890 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4892 if (!SWIG_IsOK(res1)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 }
4895 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4896 {
4897 arg2 = &temp2;
4898 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4914 PyObject *resultobj = 0;
4915 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4916 int arg2 ;
4917 int arg3 ;
4918 int *arg4 = (int *) 0 ;
4919 int *arg5 = (int *) 0 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 int val2 ;
4923 int ecode2 = 0 ;
4924 int val3 ;
4925 int ecode3 = 0 ;
4926 int temp4 ;
4927 int res4 = SWIG_TMPOBJ ;
4928 int temp5 ;
4929 int res5 = SWIG_TMPOBJ ;
4930
4931 arg4 = &temp4;
4932 arg5 = &temp5;
4933 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 }
4938 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4939 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4945 if (!SWIG_IsOK(ecode3)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 }
4948 arg3 = static_cast< int >(val3);
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4961 }
4962 if (SWIG_IsTmpObj(res5)) {
4963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4964 } else {
4965 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4967 }
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4975 int argc;
4976 PyObject *argv[4];
4977
4978 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4979 --argc;
4980 if (argc == 2) {
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4982 }
4983 if (argc == 3) {
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4985 }
4986
4987 fail:
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4989 return NULL;
4990 }
4991
4992
4993 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4994 PyObject *resultobj = 0;
4995 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4996 void *argp1 = 0 ;
4997 int res1 = 0 ;
4998 PyObject *swig_obj[1] ;
4999
5000 if (!args) SWIG_fail;
5001 swig_obj[0] = args;
5002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 }
5006 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_Py_Void();
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj = 0;
5022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5023 wxScrollWinEvent *arg2 = 0 ;
5024 int result;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 void *argp2 = 0 ;
5028 int res2 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "self",(char *) "event", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5037 if (!SWIG_IsOK(res1)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 }
5040 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5042 if (!SWIG_IsOK(res2)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 }
5045 if (!argp2) {
5046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 }
5048 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)(arg1)->CalcScrollInc(*arg2);
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_From_int(static_cast< int >(result));
5056 return resultobj;
5057 fail:
5058 return NULL;
5059 }
5060
5061
5062 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = 0;
5064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5065 wxWindow *arg2 = (wxWindow *) 0 ;
5066 void *argp1 = 0 ;
5067 int res1 = 0 ;
5068 void *argp2 = 0 ;
5069 int res2 = 0 ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char * kwnames[] = {
5073 (char *) "self",(char *) "target", NULL
5074 };
5075
5076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5078 if (!SWIG_IsOK(res1)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 }
5081 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5083 if (!SWIG_IsOK(res2)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 }
5086 arg2 = reinterpret_cast< wxWindow * >(argp2);
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 (arg1)->SetTargetWindow(arg2);
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_Py_Void();
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5101 PyObject *resultobj = 0;
5102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5103 wxWindow *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 PyObject *swig_obj[1] ;
5107
5108 if (!args) SWIG_fail;
5109 swig_obj[0] = args;
5110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5111 if (!SWIG_IsOK(res1)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 }
5114 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = wxPyMake_wxObject(result, 0);
5123 }
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj = 0;
5132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5133 wxDC *arg2 = 0 ;
5134 void *argp1 = 0 ;
5135 int res1 = 0 ;
5136 void *argp2 = 0 ;
5137 int res2 = 0 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char * kwnames[] = {
5141 (char *) "self",(char *) "dc", NULL
5142 };
5143
5144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5146 if (!SWIG_IsOK(res1)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 }
5149 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5150 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5151 if (!SWIG_IsOK(res2)) {
5152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5153 }
5154 if (!argp2) {
5155 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 }
5157 arg2 = reinterpret_cast< wxDC * >(argp2);
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 (arg1)->DoPrepareDC(*arg2);
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = SWIG_Py_Void();
5165 return resultobj;
5166 fail:
5167 return NULL;
5168 }
5169
5170
5171 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5172 PyObject *resultobj = 0;
5173 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5174 SwigValueWrapper<wxVisualAttributes > result;
5175 int val1 ;
5176 int ecode1 = 0 ;
5177 PyObject * obj0 = 0 ;
5178 char * kwnames[] = {
5179 (char *) "variant", NULL
5180 };
5181
5182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5183 if (obj0) {
5184 ecode1 = SWIG_AsVal_int(obj0, &val1);
5185 if (!SWIG_IsOK(ecode1)) {
5186 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5187 }
5188 arg1 = static_cast< wxWindowVariant >(val1);
5189 }
5190 {
5191 if (!wxPyCheckForApp()) SWIG_fail;
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5198 return resultobj;
5199 fail:
5200 return NULL;
5201 }
5202
5203
5204 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5205 PyObject *obj;
5206 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5207 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5208 return SWIG_Py_Void();
5209 }
5210
5211 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5212 return SWIG_Python_InitShadowInstance(args);
5213 }
5214
5215 SWIGINTERN int FrameNameStr_set(PyObject *) {
5216 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5217 return 1;
5218 }
5219
5220
5221 SWIGINTERN PyObject *FrameNameStr_get(void) {
5222 PyObject *pyobj = 0;
5223
5224 {
5225 #if wxUSE_UNICODE
5226 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5227 #else
5228 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5229 #endif
5230 }
5231 return pyobj;
5232 }
5233
5234
5235 SWIGINTERN int DialogNameStr_set(PyObject *) {
5236 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5237 return 1;
5238 }
5239
5240
5241 SWIGINTERN PyObject *DialogNameStr_get(void) {
5242 PyObject *pyobj = 0;
5243
5244 {
5245 #if wxUSE_UNICODE
5246 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5247 #else
5248 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5249 #endif
5250 }
5251 return pyobj;
5252 }
5253
5254
5255 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5256 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5257 return 1;
5258 }
5259
5260
5261 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5262 PyObject *pyobj = 0;
5263
5264 {
5265 #if wxUSE_UNICODE
5266 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5267 #else
5268 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5269 #endif
5270 }
5271 return pyobj;
5272 }
5273
5274
5275 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5276 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5277 return 1;
5278 }
5279
5280
5281 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5282 PyObject *pyobj = 0;
5283
5284 {
5285 #if wxUSE_UNICODE
5286 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5287 #else
5288 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5289 #endif
5290 }
5291 return pyobj;
5292 }
5293
5294
5295 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj = 0;
5297 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5298 bool arg2 = (bool) true ;
5299 void *argp1 = 0 ;
5300 int res1 = 0 ;
5301 bool val2 ;
5302 int ecode2 = 0 ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 char * kwnames[] = {
5306 (char *) "self",(char *) "maximize", NULL
5307 };
5308
5309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5311 if (!SWIG_IsOK(res1)) {
5312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5313 }
5314 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5315 if (obj1) {
5316 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5317 if (!SWIG_IsOK(ecode2)) {
5318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5319 }
5320 arg2 = static_cast< bool >(val2);
5321 }
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 (arg1)->Maximize(arg2);
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 resultobj = SWIG_Py_Void();
5329 return resultobj;
5330 fail:
5331 return NULL;
5332 }
5333
5334
5335 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5336 PyObject *resultobj = 0;
5337 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5338 void *argp1 = 0 ;
5339 int res1 = 0 ;
5340 PyObject *swig_obj[1] ;
5341
5342 if (!args) SWIG_fail;
5343 swig_obj[0] = args;
5344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5345 if (!SWIG_IsOK(res1)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5347 }
5348 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 (arg1)->Restore();
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 resultobj = SWIG_Py_Void();
5356 return resultobj;
5357 fail:
5358 return NULL;
5359 }
5360
5361
5362 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5363 PyObject *resultobj = 0;
5364 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5365 bool arg2 = (bool) true ;
5366 void *argp1 = 0 ;
5367 int res1 = 0 ;
5368 bool val2 ;
5369 int ecode2 = 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char * kwnames[] = {
5373 (char *) "self",(char *) "iconize", NULL
5374 };
5375
5376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5378 if (!SWIG_IsOK(res1)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5380 }
5381 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5382 if (obj1) {
5383 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5384 if (!SWIG_IsOK(ecode2)) {
5385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5386 }
5387 arg2 = static_cast< bool >(val2);
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 (arg1)->Iconize(arg2);
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 resultobj = SWIG_Py_Void();
5396 return resultobj;
5397 fail:
5398 return NULL;
5399 }
5400
5401
5402 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5403 PyObject *resultobj = 0;
5404 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5405 bool result;
5406 void *argp1 = 0 ;
5407 int res1 = 0 ;
5408 PyObject *swig_obj[1] ;
5409
5410 if (!args) SWIG_fail;
5411 swig_obj[0] = args;
5412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5413 if (!SWIG_IsOK(res1)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5415 }
5416 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 {
5424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5425 }
5426 return resultobj;
5427 fail:
5428 return NULL;
5429 }
5430
5431
5432 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5433 PyObject *resultobj = 0;
5434 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5435 bool result;
5436 void *argp1 = 0 ;
5437 int res1 = 0 ;
5438 PyObject *swig_obj[1] ;
5439
5440 if (!args) SWIG_fail;
5441 swig_obj[0] = args;
5442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5443 if (!SWIG_IsOK(res1)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5445 }
5446 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 {
5454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5455 }
5456 return resultobj;
5457 fail:
5458 return NULL;
5459 }
5460
5461
5462 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5463 PyObject *resultobj = 0;
5464 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5465 bool result;
5466 void *argp1 = 0 ;
5467 int res1 = 0 ;
5468 PyObject *swig_obj[1] ;
5469
5470 if (!args) SWIG_fail;
5471 swig_obj[0] = args;
5472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5473 if (!SWIG_IsOK(res1)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5475 }
5476 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 {
5484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5485 }
5486 return resultobj;
5487 fail:
5488 return NULL;
5489 }
5490
5491
5492 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5493 PyObject *resultobj = 0;
5494 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5495 wxIcon result;
5496 void *argp1 = 0 ;
5497 int res1 = 0 ;
5498 PyObject *swig_obj[1] ;
5499
5500 if (!args) SWIG_fail;
5501 swig_obj[0] = args;
5502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5503 if (!SWIG_IsOK(res1)) {
5504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5505 }
5506 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj = 0;
5522 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5523 wxIcon *arg2 = 0 ;
5524 void *argp1 = 0 ;
5525 int res1 = 0 ;
5526 void *argp2 = 0 ;
5527 int res2 = 0 ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char * kwnames[] = {
5531 (char *) "self",(char *) "icon", NULL
5532 };
5533
5534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5536 if (!SWIG_IsOK(res1)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5538 }
5539 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5540 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5541 if (!SWIG_IsOK(res2)) {
5542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5543 }
5544 if (!argp2) {
5545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 }
5547 arg2 = reinterpret_cast< wxIcon * >(argp2);
5548 {
5549 PyThreadState* __tstate = wxPyBeginAllowThreads();
5550 (arg1)->SetIcon((wxIcon const &)*arg2);
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 resultobj = SWIG_Py_Void();
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj = 0;
5563 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5564 wxIconBundle *arg2 = 0 ;
5565 void *argp1 = 0 ;
5566 int res1 = 0 ;
5567 void *argp2 = 0 ;
5568 int res2 = 0 ;
5569 PyObject * obj0 = 0 ;
5570 PyObject * obj1 = 0 ;
5571 char * kwnames[] = {
5572 (char *) "self",(char *) "icons", NULL
5573 };
5574
5575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5577 if (!SWIG_IsOK(res1)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5579 }
5580 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5581 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5582 if (!SWIG_IsOK(res2)) {
5583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5584 }
5585 if (!argp2) {
5586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 }
5588 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 resultobj = SWIG_Py_Void();
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj = 0;
5604 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5605 bool arg2 ;
5606 long arg3 = (long) wxFULLSCREEN_ALL ;
5607 bool result;
5608 void *argp1 = 0 ;
5609 int res1 = 0 ;
5610 bool val2 ;
5611 int ecode2 = 0 ;
5612 long val3 ;
5613 int ecode3 = 0 ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 PyObject * obj2 = 0 ;
5617 char * kwnames[] = {
5618 (char *) "self",(char *) "show",(char *) "style", NULL
5619 };
5620
5621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5623 if (!SWIG_IsOK(res1)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5625 }
5626 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5627 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5628 if (!SWIG_IsOK(ecode2)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5630 }
5631 arg2 = static_cast< bool >(val2);
5632 if (obj2) {
5633 ecode3 = SWIG_AsVal_long(obj2, &val3);
5634 if (!SWIG_IsOK(ecode3)) {
5635 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5636 }
5637 arg3 = static_cast< long >(val3);
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5647 }
5648 return resultobj;
5649 fail:
5650 return NULL;
5651 }
5652
5653
5654 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5655 PyObject *resultobj = 0;
5656 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5657 bool result;
5658 void *argp1 = 0 ;
5659 int res1 = 0 ;
5660 PyObject *swig_obj[1] ;
5661
5662 if (!args) SWIG_fail;
5663 swig_obj[0] = args;
5664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5665 if (!SWIG_IsOK(res1)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5667 }
5668 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 {
5676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5677 }
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj = 0;
5686 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5687 wxString *arg2 = 0 ;
5688 void *argp1 = 0 ;
5689 int res1 = 0 ;
5690 bool temp2 = false ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char * kwnames[] = {
5694 (char *) "self",(char *) "title", NULL
5695 };
5696
5697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5699 if (!SWIG_IsOK(res1)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5701 }
5702 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5703 {
5704 arg2 = wxString_in_helper(obj1);
5705 if (arg2 == NULL) SWIG_fail;
5706 temp2 = true;
5707 }
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 (arg1)->SetTitle((wxString const &)*arg2);
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_Py_Void();
5715 {
5716 if (temp2)
5717 delete arg2;
5718 }
5719 return resultobj;
5720 fail:
5721 {
5722 if (temp2)
5723 delete arg2;
5724 }
5725 return NULL;
5726 }
5727
5728
5729 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5730 PyObject *resultobj = 0;
5731 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5732 wxString result;
5733 void *argp1 = 0 ;
5734 int res1 = 0 ;
5735 PyObject *swig_obj[1] ;
5736
5737 if (!args) SWIG_fail;
5738 swig_obj[0] = args;
5739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5740 if (!SWIG_IsOK(res1)) {
5741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5742 }
5743 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 {
5751 #if wxUSE_UNICODE
5752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5753 #else
5754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5755 #endif
5756 }
5757 return resultobj;
5758 fail:
5759 return NULL;
5760 }
5761
5762
5763 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj = 0;
5765 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5766 bool arg2 ;
5767 bool result;
5768 void *argp1 = 0 ;
5769 int res1 = 0 ;
5770 bool val2 ;
5771 int ecode2 = 0 ;
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char * kwnames[] = {
5775 (char *) "self",(char *) "enable", NULL
5776 };
5777
5778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5780 if (!SWIG_IsOK(res1)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5782 }
5783 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5784 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5785 if (!SWIG_IsOK(ecode2)) {
5786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5787 }
5788 arg2 = static_cast< bool >(val2);
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (bool)(arg1)->EnableCloseButton(arg2);
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5797 }
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj = 0;
5806 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5807 wxRegion *arg2 = 0 ;
5808 bool result;
5809 void *argp1 = 0 ;
5810 int res1 = 0 ;
5811 void *argp2 = 0 ;
5812 int res2 = 0 ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 char * kwnames[] = {
5816 (char *) "self",(char *) "region", NULL
5817 };
5818
5819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5821 if (!SWIG_IsOK(res1)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5823 }
5824 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5825 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5826 if (!SWIG_IsOK(res2)) {
5827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5828 }
5829 if (!argp2) {
5830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5831 }
5832 arg2 = reinterpret_cast< wxRegion * >(argp2);
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) SWIG_fail;
5838 }
5839 {
5840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5841 }
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj = 0;
5850 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5851 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5852 void *argp1 = 0 ;
5853 int res1 = 0 ;
5854 int val2 ;
5855 int ecode2 = 0 ;
5856 PyObject * obj0 = 0 ;
5857 PyObject * obj1 = 0 ;
5858 char * kwnames[] = {
5859 (char *) "self",(char *) "flags", NULL
5860 };
5861
5862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5864 if (!SWIG_IsOK(res1)) {
5865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5866 }
5867 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5868 if (obj1) {
5869 ecode2 = SWIG_AsVal_int(obj1, &val2);
5870 if (!SWIG_IsOK(ecode2)) {
5871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5872 }
5873 arg2 = static_cast< int >(val2);
5874 }
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 (arg1)->RequestUserAttention(arg2);
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 resultobj = SWIG_Py_Void();
5882 return resultobj;
5883 fail:
5884 return NULL;
5885 }
5886
5887
5888 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5889 PyObject *resultobj = 0;
5890 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5891 bool result;
5892 void *argp1 = 0 ;
5893 int res1 = 0 ;
5894 PyObject *swig_obj[1] ;
5895
5896 if (!args) SWIG_fail;
5897 swig_obj[0] = args;
5898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5899 if (!SWIG_IsOK(res1)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5901 }
5902 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5903 {
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (bool)(arg1)->IsActive();
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 {
5910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5911 }
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj = 0;
5920 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5921 bool arg2 ;
5922 void *argp1 = 0 ;
5923 int res1 = 0 ;
5924 bool val2 ;
5925 int ecode2 = 0 ;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 char * kwnames[] = {
5929 (char *) "self",(char *) "on", NULL
5930 };
5931
5932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5934 if (!SWIG_IsOK(res1)) {
5935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5936 }
5937 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5938 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5939 if (!SWIG_IsOK(ecode2)) {
5940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5941 }
5942 arg2 = static_cast< bool >(val2);
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = SWIG_Py_Void();
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5957 PyObject *resultobj = 0;
5958 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5959 bool result;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 PyObject *swig_obj[1] ;
5963
5964 if (!args) SWIG_fail;
5965 swig_obj[0] = args;
5966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5967 if (!SWIG_IsOK(res1)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5969 }
5970 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 {
5978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5979 }
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj = 0;
5988 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5989 int arg2 = (int) wxBOTH ;
5990 void *argp1 = 0 ;
5991 int res1 = 0 ;
5992 int val2 ;
5993 int ecode2 = 0 ;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 char * kwnames[] = {
5997 (char *) "self",(char *) "dir", NULL
5998 };
5999
6000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6002 if (!SWIG_IsOK(res1)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6004 }
6005 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6006 if (obj1) {
6007 ecode2 = SWIG_AsVal_int(obj1, &val2);
6008 if (!SWIG_IsOK(ecode2)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6010 }
6011 arg2 = static_cast< int >(val2);
6012 }
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->CenterOnScreen(arg2);
6016 wxPyEndAllowThreads(__tstate);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 resultobj = SWIG_Py_Void();
6020 return resultobj;
6021 fail:
6022 return NULL;
6023 }
6024
6025
6026 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6027 PyObject *resultobj = 0;
6028 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6029 wxWindow *result = 0 ;
6030 void *argp1 = 0 ;
6031 int res1 = 0 ;
6032 PyObject *swig_obj[1] ;
6033
6034 if (!args) SWIG_fail;
6035 swig_obj[0] = args;
6036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6037 if (!SWIG_IsOK(res1)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6039 }
6040 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6041 {
6042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6043 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 {
6048 resultobj = wxPyMake_wxObject(result, 0);
6049 }
6050 return resultobj;
6051 fail:
6052 return NULL;
6053 }
6054
6055
6056 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj = 0;
6058 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6059 wxWindow *arg2 = (wxWindow *) 0 ;
6060 wxWindow *result = 0 ;
6061 void *argp1 = 0 ;
6062 int res1 = 0 ;
6063 void *argp2 = 0 ;
6064 int res2 = 0 ;
6065 PyObject * obj0 = 0 ;
6066 PyObject * obj1 = 0 ;
6067 char * kwnames[] = {
6068 (char *) "self",(char *) "child", NULL
6069 };
6070
6071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6073 if (!SWIG_IsOK(res1)) {
6074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6075 }
6076 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6078 if (!SWIG_IsOK(res2)) {
6079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6080 }
6081 arg2 = reinterpret_cast< wxWindow * >(argp2);
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 {
6089 resultobj = wxPyMake_wxObject(result, 0);
6090 }
6091 return resultobj;
6092 fail:
6093 return NULL;
6094 }
6095
6096
6097 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj = 0;
6099 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6100 wxWindow *arg2 = (wxWindow *) 0 ;
6101 void *argp1 = 0 ;
6102 int res1 = 0 ;
6103 void *argp2 = 0 ;
6104 int res2 = 0 ;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj1 = 0 ;
6107 char * kwnames[] = {
6108 (char *) "self",(char *) "win", NULL
6109 };
6110
6111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6113 if (!SWIG_IsOK(res1)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6115 }
6116 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6117 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6118 if (!SWIG_IsOK(res2)) {
6119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6120 }
6121 arg2 = reinterpret_cast< wxWindow * >(argp2);
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 (arg1)->SetTmpDefaultItem(arg2);
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 resultobj = SWIG_Py_Void();
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6136 PyObject *resultobj = 0;
6137 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6138 wxWindow *result = 0 ;
6139 void *argp1 = 0 ;
6140 int res1 = 0 ;
6141 PyObject *swig_obj[1] ;
6142
6143 if (!args) SWIG_fail;
6144 swig_obj[0] = args;
6145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res1)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6148 }
6149 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 {
6157 resultobj = wxPyMake_wxObject(result, 0);
6158 }
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6166 PyObject *obj;
6167 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6168 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6169 return SWIG_Py_Void();
6170 }
6171
6172 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj = 0;
6174 wxWindow *arg1 = (wxWindow *) 0 ;
6175 int arg2 = (int) (int)-1 ;
6176 wxString const &arg3_defvalue = wxPyEmptyString ;
6177 wxString *arg3 = (wxString *) &arg3_defvalue ;
6178 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6179 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6180 wxSize const &arg5_defvalue = wxDefaultSize ;
6181 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6182 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6183 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6184 wxString *arg7 = (wxString *) &arg7_defvalue ;
6185 wxFrame *result = 0 ;
6186 void *argp1 = 0 ;
6187 int res1 = 0 ;
6188 int val2 ;
6189 int ecode2 = 0 ;
6190 bool temp3 = false ;
6191 wxPoint temp4 ;
6192 wxSize temp5 ;
6193 long val6 ;
6194 int ecode6 = 0 ;
6195 bool temp7 = false ;
6196 PyObject * obj0 = 0 ;
6197 PyObject * obj1 = 0 ;
6198 PyObject * obj2 = 0 ;
6199 PyObject * obj3 = 0 ;
6200 PyObject * obj4 = 0 ;
6201 PyObject * obj5 = 0 ;
6202 PyObject * obj6 = 0 ;
6203 char * kwnames[] = {
6204 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6205 };
6206
6207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6209 if (!SWIG_IsOK(res1)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6211 }
6212 arg1 = reinterpret_cast< wxWindow * >(argp1);
6213 if (obj1) {
6214 ecode2 = SWIG_AsVal_int(obj1, &val2);
6215 if (!SWIG_IsOK(ecode2)) {
6216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6217 }
6218 arg2 = static_cast< int >(val2);
6219 }
6220 if (obj2) {
6221 {
6222 arg3 = wxString_in_helper(obj2);
6223 if (arg3 == NULL) SWIG_fail;
6224 temp3 = true;
6225 }
6226 }
6227 if (obj3) {
6228 {
6229 arg4 = &temp4;
6230 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6231 }
6232 }
6233 if (obj4) {
6234 {
6235 arg5 = &temp5;
6236 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6237 }
6238 }
6239 if (obj5) {
6240 ecode6 = SWIG_AsVal_long(obj5, &val6);
6241 if (!SWIG_IsOK(ecode6)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6243 }
6244 arg6 = static_cast< long >(val6);
6245 }
6246 if (obj6) {
6247 {
6248 arg7 = wxString_in_helper(obj6);
6249 if (arg7 == NULL) SWIG_fail;
6250 temp7 = true;
6251 }
6252 }
6253 {
6254 if (!wxPyCheckForApp()) SWIG_fail;
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6261 {
6262 if (temp3)
6263 delete arg3;
6264 }
6265 {
6266 if (temp7)
6267 delete arg7;
6268 }
6269 return resultobj;
6270 fail:
6271 {
6272 if (temp3)
6273 delete arg3;
6274 }
6275 {
6276 if (temp7)
6277 delete arg7;
6278 }
6279 return NULL;
6280 }
6281
6282
6283 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6284 PyObject *resultobj = 0;
6285 wxFrame *result = 0 ;
6286
6287 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6288 {
6289 if (!wxPyCheckForApp()) SWIG_fail;
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (wxFrame *)new wxFrame();
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6296 return resultobj;
6297 fail:
6298 return NULL;
6299 }
6300
6301
6302 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6303 PyObject *resultobj = 0;
6304 wxFrame *arg1 = (wxFrame *) 0 ;
6305 wxWindow *arg2 = (wxWindow *) 0 ;
6306 int arg3 = (int) (int)-1 ;
6307 wxString const &arg4_defvalue = wxPyEmptyString ;
6308 wxString *arg4 = (wxString *) &arg4_defvalue ;
6309 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6310 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6311 wxSize const &arg6_defvalue = wxDefaultSize ;
6312 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6313 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6314 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6315 wxString *arg8 = (wxString *) &arg8_defvalue ;
6316 bool result;
6317 void *argp1 = 0 ;
6318 int res1 = 0 ;
6319 void *argp2 = 0 ;
6320 int res2 = 0 ;
6321 int val3 ;
6322 int ecode3 = 0 ;
6323 bool temp4 = false ;
6324 wxPoint temp5 ;
6325 wxSize temp6 ;
6326 long val7 ;
6327 int ecode7 = 0 ;
6328 bool temp8 = false ;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 PyObject * obj2 = 0 ;
6332 PyObject * obj3 = 0 ;
6333 PyObject * obj4 = 0 ;
6334 PyObject * obj5 = 0 ;
6335 PyObject * obj6 = 0 ;
6336 PyObject * obj7 = 0 ;
6337 char * kwnames[] = {
6338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6339 };
6340
6341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6343 if (!SWIG_IsOK(res1)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6345 }
6346 arg1 = reinterpret_cast< wxFrame * >(argp1);
6347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6348 if (!SWIG_IsOK(res2)) {
6349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6350 }
6351 arg2 = reinterpret_cast< wxWindow * >(argp2);
6352 if (obj2) {
6353 ecode3 = SWIG_AsVal_int(obj2, &val3);
6354 if (!SWIG_IsOK(ecode3)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6356 }
6357 arg3 = static_cast< int >(val3);
6358 }
6359 if (obj3) {
6360 {
6361 arg4 = wxString_in_helper(obj3);
6362 if (arg4 == NULL) SWIG_fail;
6363 temp4 = true;
6364 }
6365 }
6366 if (obj4) {
6367 {
6368 arg5 = &temp5;
6369 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6370 }
6371 }
6372 if (obj5) {
6373 {
6374 arg6 = &temp6;
6375 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6376 }
6377 }
6378 if (obj6) {
6379 ecode7 = SWIG_AsVal_long(obj6, &val7);
6380 if (!SWIG_IsOK(ecode7)) {
6381 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6382 }
6383 arg7 = static_cast< long >(val7);
6384 }
6385 if (obj7) {
6386 {
6387 arg8 = wxString_in_helper(obj7);
6388 if (arg8 == NULL) SWIG_fail;
6389 temp8 = true;
6390 }
6391 }
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 }
6398 {
6399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6400 }
6401 {
6402 if (temp4)
6403 delete arg4;
6404 }
6405 {
6406 if (temp8)
6407 delete arg8;
6408 }
6409 return resultobj;
6410 fail:
6411 {
6412 if (temp4)
6413 delete arg4;
6414 }
6415 {
6416 if (temp8)
6417 delete arg8;
6418 }
6419 return NULL;
6420 }
6421
6422
6423 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6424 PyObject *resultobj = 0;
6425 wxFrame *arg1 = (wxFrame *) 0 ;
6426 void *argp1 = 0 ;
6427 int res1 = 0 ;
6428 PyObject *swig_obj[1] ;
6429
6430 if (!args) SWIG_fail;
6431 swig_obj[0] = args;
6432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6433 if (!SWIG_IsOK(res1)) {
6434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6435 }
6436 arg1 = reinterpret_cast< wxFrame * >(argp1);
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 (arg1)->SendSizeEvent();
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 resultobj = SWIG_Py_Void();
6444 return resultobj;
6445 fail:
6446 return NULL;
6447 }
6448
6449
6450 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6451 PyObject *resultobj = 0;
6452 wxFrame *arg1 = (wxFrame *) 0 ;
6453 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6454 void *argp1 = 0 ;
6455 int res1 = 0 ;
6456 void *argp2 = 0 ;
6457 int res2 = 0 ;
6458 PyObject * obj0 = 0 ;
6459 PyObject * obj1 = 0 ;
6460 char * kwnames[] = {
6461 (char *) "self",(char *) "menubar", NULL
6462 };
6463
6464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6466 if (!SWIG_IsOK(res1)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6468 }
6469 arg1 = reinterpret_cast< wxFrame * >(argp1);
6470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6471 if (!SWIG_IsOK(res2)) {
6472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6473 }
6474 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 (arg1)->SetMenuBar(arg2);
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 resultobj = SWIG_Py_Void();
6482 return resultobj;
6483 fail:
6484 return NULL;
6485 }
6486
6487
6488 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6489 PyObject *resultobj = 0;
6490 wxFrame *arg1 = (wxFrame *) 0 ;
6491 wxMenuBar *result = 0 ;
6492 void *argp1 = 0 ;
6493 int res1 = 0 ;
6494 PyObject *swig_obj[1] ;
6495
6496 if (!args) SWIG_fail;
6497 swig_obj[0] = args;
6498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6501 }
6502 arg1 = reinterpret_cast< wxFrame * >(argp1);
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 resultobj = wxPyMake_wxObject(result, 0);
6511 }
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj = 0;
6520 wxFrame *arg1 = (wxFrame *) 0 ;
6521 int arg2 ;
6522 bool result;
6523 void *argp1 = 0 ;
6524 int res1 = 0 ;
6525 int val2 ;
6526 int ecode2 = 0 ;
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 char * kwnames[] = {
6530 (char *) "self",(char *) "winid", NULL
6531 };
6532
6533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6535 if (!SWIG_IsOK(res1)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6537 }
6538 arg1 = reinterpret_cast< wxFrame * >(argp1);
6539 ecode2 = SWIG_AsVal_int(obj1, &val2);
6540 if (!SWIG_IsOK(ecode2)) {
6541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6542 }
6543 arg2 = static_cast< int >(val2);
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (bool)(arg1)->ProcessCommand(arg2);
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 {
6551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6552 }
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj = 0;
6561 wxFrame *arg1 = (wxFrame *) 0 ;
6562 int arg2 = (int) 1 ;
6563 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6564 int arg4 = (int) 0 ;
6565 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6566 wxString *arg5 = (wxString *) &arg5_defvalue ;
6567 wxStatusBar *result = 0 ;
6568 void *argp1 = 0 ;
6569 int res1 = 0 ;
6570 int val2 ;
6571 int ecode2 = 0 ;
6572 long val3 ;
6573 int ecode3 = 0 ;
6574 int val4 ;
6575 int ecode4 = 0 ;
6576 bool temp5 = false ;
6577 PyObject * obj0 = 0 ;
6578 PyObject * obj1 = 0 ;
6579 PyObject * obj2 = 0 ;
6580 PyObject * obj3 = 0 ;
6581 PyObject * obj4 = 0 ;
6582 char * kwnames[] = {
6583 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6584 };
6585
6586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6588 if (!SWIG_IsOK(res1)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6590 }
6591 arg1 = reinterpret_cast< wxFrame * >(argp1);
6592 if (obj1) {
6593 ecode2 = SWIG_AsVal_int(obj1, &val2);
6594 if (!SWIG_IsOK(ecode2)) {
6595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6596 }
6597 arg2 = static_cast< int >(val2);
6598 }
6599 if (obj2) {
6600 ecode3 = SWIG_AsVal_long(obj2, &val3);
6601 if (!SWIG_IsOK(ecode3)) {
6602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6603 }
6604 arg3 = static_cast< long >(val3);
6605 }
6606 if (obj3) {
6607 ecode4 = SWIG_AsVal_int(obj3, &val4);
6608 if (!SWIG_IsOK(ecode4)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6610 }
6611 arg4 = static_cast< int >(val4);
6612 }
6613 if (obj4) {
6614 {
6615 arg5 = wxString_in_helper(obj4);
6616 if (arg5 == NULL) SWIG_fail;
6617 temp5 = true;
6618 }
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 {
6627 resultobj = wxPyMake_wxObject(result, (bool)0);
6628 }
6629 {
6630 if (temp5)
6631 delete arg5;
6632 }
6633 return resultobj;
6634 fail:
6635 {
6636 if (temp5)
6637 delete arg5;
6638 }
6639 return NULL;
6640 }
6641
6642
6643 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6644 PyObject *resultobj = 0;
6645 wxFrame *arg1 = (wxFrame *) 0 ;
6646 wxStatusBar *result = 0 ;
6647 void *argp1 = 0 ;
6648 int res1 = 0 ;
6649 PyObject *swig_obj[1] ;
6650
6651 if (!args) SWIG_fail;
6652 swig_obj[0] = args;
6653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6654 if (!SWIG_IsOK(res1)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6656 }
6657 arg1 = reinterpret_cast< wxFrame * >(argp1);
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 resultobj = wxPyMake_wxObject(result, (bool)0);
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670 }
6671
6672
6673 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj = 0;
6675 wxFrame *arg1 = (wxFrame *) 0 ;
6676 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6677 void *argp1 = 0 ;
6678 int res1 = 0 ;
6679 void *argp2 = 0 ;
6680 int res2 = 0 ;
6681 PyObject * obj0 = 0 ;
6682 PyObject * obj1 = 0 ;
6683 char * kwnames[] = {
6684 (char *) "self",(char *) "statBar", NULL
6685 };
6686
6687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6689 if (!SWIG_IsOK(res1)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6691 }
6692 arg1 = reinterpret_cast< wxFrame * >(argp1);
6693 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6694 if (!SWIG_IsOK(res2)) {
6695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6696 }
6697 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 (arg1)->SetStatusBar(arg2);
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = SWIG_Py_Void();
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj = 0;
6713 wxFrame *arg1 = (wxFrame *) 0 ;
6714 wxString *arg2 = 0 ;
6715 int arg3 = (int) 0 ;
6716 void *argp1 = 0 ;
6717 int res1 = 0 ;
6718 bool temp2 = false ;
6719 int val3 ;
6720 int ecode3 = 0 ;
6721 PyObject * obj0 = 0 ;
6722 PyObject * obj1 = 0 ;
6723 PyObject * obj2 = 0 ;
6724 char * kwnames[] = {
6725 (char *) "self",(char *) "text",(char *) "number", NULL
6726 };
6727
6728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6730 if (!SWIG_IsOK(res1)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6732 }
6733 arg1 = reinterpret_cast< wxFrame * >(argp1);
6734 {
6735 arg2 = wxString_in_helper(obj1);
6736 if (arg2 == NULL) SWIG_fail;
6737 temp2 = true;
6738 }
6739 if (obj2) {
6740 ecode3 = SWIG_AsVal_int(obj2, &val3);
6741 if (!SWIG_IsOK(ecode3)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6743 }
6744 arg3 = static_cast< int >(val3);
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 resultobj = SWIG_Py_Void();
6753 {
6754 if (temp2)
6755 delete arg2;
6756 }
6757 return resultobj;
6758 fail:
6759 {
6760 if (temp2)
6761 delete arg2;
6762 }
6763 return NULL;
6764 }
6765
6766
6767 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj = 0;
6769 wxFrame *arg1 = (wxFrame *) 0 ;
6770 int arg2 ;
6771 int *arg3 = (int *) 0 ;
6772 void *argp1 = 0 ;
6773 int res1 = 0 ;
6774 PyObject * obj0 = 0 ;
6775 PyObject * obj1 = 0 ;
6776 char * kwnames[] = {
6777 (char *) "self",(char *) "widths", NULL
6778 };
6779
6780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6782 if (!SWIG_IsOK(res1)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6784 }
6785 arg1 = reinterpret_cast< wxFrame * >(argp1);
6786 {
6787 arg2 = PyList_Size(obj1);
6788 arg3 = int_LIST_helper(obj1);
6789 if (arg3 == NULL) SWIG_fail;
6790 }
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 resultobj = SWIG_Py_Void();
6798 {
6799 if (arg3) delete [] arg3;
6800 }
6801 return resultobj;
6802 fail:
6803 {
6804 if (arg3) delete [] arg3;
6805 }
6806 return NULL;
6807 }
6808
6809
6810 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6811 PyObject *resultobj = 0;
6812 wxFrame *arg1 = (wxFrame *) 0 ;
6813 wxString *arg2 = 0 ;
6814 int arg3 = (int) 0 ;
6815 void *argp1 = 0 ;
6816 int res1 = 0 ;
6817 bool temp2 = false ;
6818 int val3 ;
6819 int ecode3 = 0 ;
6820 PyObject * obj0 = 0 ;
6821 PyObject * obj1 = 0 ;
6822 PyObject * obj2 = 0 ;
6823 char * kwnames[] = {
6824 (char *) "self",(char *) "text",(char *) "number", NULL
6825 };
6826
6827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6829 if (!SWIG_IsOK(res1)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6831 }
6832 arg1 = reinterpret_cast< wxFrame * >(argp1);
6833 {
6834 arg2 = wxString_in_helper(obj1);
6835 if (arg2 == NULL) SWIG_fail;
6836 temp2 = true;
6837 }
6838 if (obj2) {
6839 ecode3 = SWIG_AsVal_int(obj2, &val3);
6840 if (!SWIG_IsOK(ecode3)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6842 }
6843 arg3 = static_cast< int >(val3);
6844 }
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 resultobj = SWIG_Py_Void();
6852 {
6853 if (temp2)
6854 delete arg2;
6855 }
6856 return resultobj;
6857 fail:
6858 {
6859 if (temp2)
6860 delete arg2;
6861 }
6862 return NULL;
6863 }
6864
6865
6866 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj = 0;
6868 wxFrame *arg1 = (wxFrame *) 0 ;
6869 int arg2 = (int) 0 ;
6870 void *argp1 = 0 ;
6871 int res1 = 0 ;
6872 int val2 ;
6873 int ecode2 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 char * kwnames[] = {
6877 (char *) "self",(char *) "number", NULL
6878 };
6879
6880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6882 if (!SWIG_IsOK(res1)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6884 }
6885 arg1 = reinterpret_cast< wxFrame * >(argp1);
6886 if (obj1) {
6887 ecode2 = SWIG_AsVal_int(obj1, &val2);
6888 if (!SWIG_IsOK(ecode2)) {
6889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6890 }
6891 arg2 = static_cast< int >(val2);
6892 }
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 (arg1)->PopStatusText(arg2);
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = SWIG_Py_Void();
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj = 0;
6908 wxFrame *arg1 = (wxFrame *) 0 ;
6909 int arg2 ;
6910 void *argp1 = 0 ;
6911 int res1 = 0 ;
6912 int val2 ;
6913 int ecode2 = 0 ;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 char * kwnames[] = {
6917 (char *) "self",(char *) "n", NULL
6918 };
6919
6920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6922 if (!SWIG_IsOK(res1)) {
6923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6924 }
6925 arg1 = reinterpret_cast< wxFrame * >(argp1);
6926 ecode2 = SWIG_AsVal_int(obj1, &val2);
6927 if (!SWIG_IsOK(ecode2)) {
6928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6929 }
6930 arg2 = static_cast< int >(val2);
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 (arg1)->SetStatusBarPane(arg2);
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 resultobj = SWIG_Py_Void();
6938 return resultobj;
6939 fail:
6940 return NULL;
6941 }
6942
6943
6944 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6945 PyObject *resultobj = 0;
6946 wxFrame *arg1 = (wxFrame *) 0 ;
6947 int result;
6948 void *argp1 = 0 ;
6949 int res1 = 0 ;
6950 PyObject *swig_obj[1] ;
6951
6952 if (!args) SWIG_fail;
6953 swig_obj[0] = args;
6954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6955 if (!SWIG_IsOK(res1)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6957 }
6958 arg1 = reinterpret_cast< wxFrame * >(argp1);
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_From_int(static_cast< int >(result));
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj = 0;
6974 wxFrame *arg1 = (wxFrame *) 0 ;
6975 long arg2 = (long) -1 ;
6976 int arg3 = (int) -1 ;
6977 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6978 wxString *arg4 = (wxString *) &arg4_defvalue ;
6979 wxToolBar *result = 0 ;
6980 void *argp1 = 0 ;
6981 int res1 = 0 ;
6982 long val2 ;
6983 int ecode2 = 0 ;
6984 int val3 ;
6985 int ecode3 = 0 ;
6986 bool temp4 = false ;
6987 PyObject * obj0 = 0 ;
6988 PyObject * obj1 = 0 ;
6989 PyObject * obj2 = 0 ;
6990 PyObject * obj3 = 0 ;
6991 char * kwnames[] = {
6992 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6993 };
6994
6995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6997 if (!SWIG_IsOK(res1)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6999 }
7000 arg1 = reinterpret_cast< wxFrame * >(argp1);
7001 if (obj1) {
7002 ecode2 = SWIG_AsVal_long(obj1, &val2);
7003 if (!SWIG_IsOK(ecode2)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7005 }
7006 arg2 = static_cast< long >(val2);
7007 }
7008 if (obj2) {
7009 ecode3 = SWIG_AsVal_int(obj2, &val3);
7010 if (!SWIG_IsOK(ecode3)) {
7011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7012 }
7013 arg3 = static_cast< int >(val3);
7014 }
7015 if (obj3) {
7016 {
7017 arg4 = wxString_in_helper(obj3);
7018 if (arg4 == NULL) SWIG_fail;
7019 temp4 = true;
7020 }
7021 }
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 {
7029 resultobj = wxPyMake_wxObject(result, (bool)0);
7030 }
7031 {
7032 if (temp4)
7033 delete arg4;
7034 }
7035 return resultobj;
7036 fail:
7037 {
7038 if (temp4)
7039 delete arg4;
7040 }
7041 return NULL;
7042 }
7043
7044
7045 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7046 PyObject *resultobj = 0;
7047 wxFrame *arg1 = (wxFrame *) 0 ;
7048 wxToolBar *result = 0 ;
7049 void *argp1 = 0 ;
7050 int res1 = 0 ;
7051 PyObject *swig_obj[1] ;
7052
7053 if (!args) SWIG_fail;
7054 swig_obj[0] = args;
7055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7056 if (!SWIG_IsOK(res1)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7058 }
7059 arg1 = reinterpret_cast< wxFrame * >(argp1);
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 {
7067 resultobj = wxPyMake_wxObject(result, (bool)0);
7068 }
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj = 0;
7077 wxFrame *arg1 = (wxFrame *) 0 ;
7078 wxToolBar *arg2 = (wxToolBar *) 0 ;
7079 void *argp1 = 0 ;
7080 int res1 = 0 ;
7081 void *argp2 = 0 ;
7082 int res2 = 0 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char * kwnames[] = {
7086 (char *) "self",(char *) "toolbar", NULL
7087 };
7088
7089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7091 if (!SWIG_IsOK(res1)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7093 }
7094 arg1 = reinterpret_cast< wxFrame * >(argp1);
7095 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7096 if (!SWIG_IsOK(res2)) {
7097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7098 }
7099 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->SetToolBar(arg2);
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
7106 resultobj = SWIG_Py_Void();
7107 return resultobj;
7108 fail:
7109 return NULL;
7110 }
7111
7112
7113 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj = 0;
7115 wxFrame *arg1 = (wxFrame *) 0 ;
7116 wxString *arg2 = 0 ;
7117 bool arg3 ;
7118 void *argp1 = 0 ;
7119 int res1 = 0 ;
7120 bool temp2 = false ;
7121 bool val3 ;
7122 int ecode3 = 0 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 PyObject * obj2 = 0 ;
7126 char * kwnames[] = {
7127 (char *) "self",(char *) "text",(char *) "show", NULL
7128 };
7129
7130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7132 if (!SWIG_IsOK(res1)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7134 }
7135 arg1 = reinterpret_cast< wxFrame * >(argp1);
7136 {
7137 arg2 = wxString_in_helper(obj1);
7138 if (arg2 == NULL) SWIG_fail;
7139 temp2 = true;
7140 }
7141 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7142 if (!SWIG_IsOK(ecode3)) {
7143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7144 }
7145 arg3 = static_cast< bool >(val3);
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 resultobj = SWIG_Py_Void();
7153 {
7154 if (temp2)
7155 delete arg2;
7156 }
7157 return resultobj;
7158 fail:
7159 {
7160 if (temp2)
7161 delete arg2;
7162 }
7163 return NULL;
7164 }
7165
7166
7167 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj = 0;
7169 wxFrame *arg1 = (wxFrame *) 0 ;
7170 wxMenu *arg2 = (wxMenu *) NULL ;
7171 void *argp1 = 0 ;
7172 int res1 = 0 ;
7173 void *argp2 = 0 ;
7174 int res2 = 0 ;
7175 PyObject * obj0 = 0 ;
7176 PyObject * obj1 = 0 ;
7177 char * kwnames[] = {
7178 (char *) "self",(char *) "menu", NULL
7179 };
7180
7181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7183 if (!SWIG_IsOK(res1)) {
7184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7185 }
7186 arg1 = reinterpret_cast< wxFrame * >(argp1);
7187 if (obj1) {
7188 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7189 if (!SWIG_IsOK(res2)) {
7190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7191 }
7192 arg2 = reinterpret_cast< wxMenu * >(argp2);
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 (arg1)->DoMenuUpdates(arg2);
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 resultobj = SWIG_Py_Void();
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj = 0;
7209 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7210 SwigValueWrapper<wxVisualAttributes > result;
7211 int val1 ;
7212 int ecode1 = 0 ;
7213 PyObject * obj0 = 0 ;
7214 char * kwnames[] = {
7215 (char *) "variant", NULL
7216 };
7217
7218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7219 if (obj0) {
7220 ecode1 = SWIG_AsVal_int(obj0, &val1);
7221 if (!SWIG_IsOK(ecode1)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7223 }
7224 arg1 = static_cast< wxWindowVariant >(val1);
7225 }
7226 {
7227 if (!wxPyCheckForApp()) SWIG_fail;
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = wxFrame::GetClassDefaultAttributes(arg1);
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7241 PyObject *obj;
7242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7243 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7244 return SWIG_Py_Void();
7245 }
7246
7247 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7248 return SWIG_Python_InitShadowInstance(args);
7249 }
7250
7251 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj = 0;
7253 wxWindow *arg1 = (wxWindow *) 0 ;
7254 int arg2 = (int) (int)-1 ;
7255 wxString const &arg3_defvalue = wxPyEmptyString ;
7256 wxString *arg3 = (wxString *) &arg3_defvalue ;
7257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7259 wxSize const &arg5_defvalue = wxDefaultSize ;
7260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7261 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7262 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7263 wxString *arg7 = (wxString *) &arg7_defvalue ;
7264 wxDialog *result = 0 ;
7265 void *argp1 = 0 ;
7266 int res1 = 0 ;
7267 int val2 ;
7268 int ecode2 = 0 ;
7269 bool temp3 = false ;
7270 wxPoint temp4 ;
7271 wxSize temp5 ;
7272 long val6 ;
7273 int ecode6 = 0 ;
7274 bool temp7 = false ;
7275 PyObject * obj0 = 0 ;
7276 PyObject * obj1 = 0 ;
7277 PyObject * obj2 = 0 ;
7278 PyObject * obj3 = 0 ;
7279 PyObject * obj4 = 0 ;
7280 PyObject * obj5 = 0 ;
7281 PyObject * obj6 = 0 ;
7282 char * kwnames[] = {
7283 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7284 };
7285
7286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7288 if (!SWIG_IsOK(res1)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7290 }
7291 arg1 = reinterpret_cast< wxWindow * >(argp1);
7292 if (obj1) {
7293 ecode2 = SWIG_AsVal_int(obj1, &val2);
7294 if (!SWIG_IsOK(ecode2)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7296 }
7297 arg2 = static_cast< int >(val2);
7298 }
7299 if (obj2) {
7300 {
7301 arg3 = wxString_in_helper(obj2);
7302 if (arg3 == NULL) SWIG_fail;
7303 temp3 = true;
7304 }
7305 }
7306 if (obj3) {
7307 {
7308 arg4 = &temp4;
7309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7310 }
7311 }
7312 if (obj4) {
7313 {
7314 arg5 = &temp5;
7315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7316 }
7317 }
7318 if (obj5) {
7319 ecode6 = SWIG_AsVal_long(obj5, &val6);
7320 if (!SWIG_IsOK(ecode6)) {
7321 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7322 }
7323 arg6 = static_cast< long >(val6);
7324 }
7325 if (obj6) {
7326 {
7327 arg7 = wxString_in_helper(obj6);
7328 if (arg7 == NULL) SWIG_fail;
7329 temp7 = true;
7330 }
7331 }
7332 {
7333 if (!wxPyCheckForApp()) SWIG_fail;
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7340 {
7341 if (temp3)
7342 delete arg3;
7343 }
7344 {
7345 if (temp7)
7346 delete arg7;
7347 }
7348 return resultobj;
7349 fail:
7350 {
7351 if (temp3)
7352 delete arg3;
7353 }
7354 {
7355 if (temp7)
7356 delete arg7;
7357 }
7358 return NULL;
7359 }
7360
7361
7362 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7363 PyObject *resultobj = 0;
7364 wxDialog *result = 0 ;
7365
7366 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7367 {
7368 if (!wxPyCheckForApp()) SWIG_fail;
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 result = (wxDialog *)new wxDialog();
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
7374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7375 return resultobj;
7376 fail:
7377 return NULL;
7378 }
7379
7380
7381 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj = 0;
7383 wxDialog *arg1 = (wxDialog *) 0 ;
7384 wxWindow *arg2 = (wxWindow *) 0 ;
7385 int arg3 = (int) (int)-1 ;
7386 wxString const &arg4_defvalue = wxPyEmptyString ;
7387 wxString *arg4 = (wxString *) &arg4_defvalue ;
7388 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7389 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7390 wxSize const &arg6_defvalue = wxDefaultSize ;
7391 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7392 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7393 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7394 wxString *arg8 = (wxString *) &arg8_defvalue ;
7395 bool result;
7396 void *argp1 = 0 ;
7397 int res1 = 0 ;
7398 void *argp2 = 0 ;
7399 int res2 = 0 ;
7400 int val3 ;
7401 int ecode3 = 0 ;
7402 bool temp4 = false ;
7403 wxPoint temp5 ;
7404 wxSize temp6 ;
7405 long val7 ;
7406 int ecode7 = 0 ;
7407 bool temp8 = false ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 PyObject * obj2 = 0 ;
7411 PyObject * obj3 = 0 ;
7412 PyObject * obj4 = 0 ;
7413 PyObject * obj5 = 0 ;
7414 PyObject * obj6 = 0 ;
7415 PyObject * obj7 = 0 ;
7416 char * kwnames[] = {
7417 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7418 };
7419
7420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7422 if (!SWIG_IsOK(res1)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7424 }
7425 arg1 = reinterpret_cast< wxDialog * >(argp1);
7426 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7427 if (!SWIG_IsOK(res2)) {
7428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7429 }
7430 arg2 = reinterpret_cast< wxWindow * >(argp2);
7431 if (obj2) {
7432 ecode3 = SWIG_AsVal_int(obj2, &val3);
7433 if (!SWIG_IsOK(ecode3)) {
7434 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7435 }
7436 arg3 = static_cast< int >(val3);
7437 }
7438 if (obj3) {
7439 {
7440 arg4 = wxString_in_helper(obj3);
7441 if (arg4 == NULL) SWIG_fail;
7442 temp4 = true;
7443 }
7444 }
7445 if (obj4) {
7446 {
7447 arg5 = &temp5;
7448 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7449 }
7450 }
7451 if (obj5) {
7452 {
7453 arg6 = &temp6;
7454 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7455 }
7456 }
7457 if (obj6) {
7458 ecode7 = SWIG_AsVal_long(obj6, &val7);
7459 if (!SWIG_IsOK(ecode7)) {
7460 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7461 }
7462 arg7 = static_cast< long >(val7);
7463 }
7464 if (obj7) {
7465 {
7466 arg8 = wxString_in_helper(obj7);
7467 if (arg8 == NULL) SWIG_fail;
7468 temp8 = true;
7469 }
7470 }
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 {
7478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7479 }
7480 {
7481 if (temp4)
7482 delete arg4;
7483 }
7484 {
7485 if (temp8)
7486 delete arg8;
7487 }
7488 return resultobj;
7489 fail:
7490 {
7491 if (temp4)
7492 delete arg4;
7493 }
7494 {
7495 if (temp8)
7496 delete arg8;
7497 }
7498 return NULL;
7499 }
7500
7501
7502 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj = 0;
7504 wxDialog *arg1 = (wxDialog *) 0 ;
7505 int arg2 ;
7506 void *argp1 = 0 ;
7507 int res1 = 0 ;
7508 int val2 ;
7509 int ecode2 = 0 ;
7510 PyObject * obj0 = 0 ;
7511 PyObject * obj1 = 0 ;
7512 char * kwnames[] = {
7513 (char *) "self",(char *) "returnCode", NULL
7514 };
7515
7516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7518 if (!SWIG_IsOK(res1)) {
7519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7520 }
7521 arg1 = reinterpret_cast< wxDialog * >(argp1);
7522 ecode2 = SWIG_AsVal_int(obj1, &val2);
7523 if (!SWIG_IsOK(ecode2)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7525 }
7526 arg2 = static_cast< int >(val2);
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 (arg1)->SetReturnCode(arg2);
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 resultobj = SWIG_Py_Void();
7534 return resultobj;
7535 fail:
7536 return NULL;
7537 }
7538
7539
7540 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7541 PyObject *resultobj = 0;
7542 wxDialog *arg1 = (wxDialog *) 0 ;
7543 int result;
7544 void *argp1 = 0 ;
7545 int res1 = 0 ;
7546 PyObject *swig_obj[1] ;
7547
7548 if (!args) SWIG_fail;
7549 swig_obj[0] = args;
7550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7551 if (!SWIG_IsOK(res1)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7553 }
7554 arg1 = reinterpret_cast< wxDialog * >(argp1);
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 resultobj = SWIG_From_int(static_cast< int >(result));
7562 return resultobj;
7563 fail:
7564 return NULL;
7565 }
7566
7567
7568 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj = 0;
7570 wxDialog *arg1 = (wxDialog *) 0 ;
7571 int arg2 ;
7572 void *argp1 = 0 ;
7573 int res1 = 0 ;
7574 int val2 ;
7575 int ecode2 = 0 ;
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 char * kwnames[] = {
7579 (char *) "self",(char *) "affirmativeId", NULL
7580 };
7581
7582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7584 if (!SWIG_IsOK(res1)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 }
7587 arg1 = reinterpret_cast< wxDialog * >(argp1);
7588 ecode2 = SWIG_AsVal_int(obj1, &val2);
7589 if (!SWIG_IsOK(ecode2)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7591 }
7592 arg2 = static_cast< int >(val2);
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->SetAffirmativeId(arg2);
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 resultobj = SWIG_Py_Void();
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7607 PyObject *resultobj = 0;
7608 wxDialog *arg1 = (wxDialog *) 0 ;
7609 int result;
7610 void *argp1 = 0 ;
7611 int res1 = 0 ;
7612 PyObject *swig_obj[1] ;
7613
7614 if (!args) SWIG_fail;
7615 swig_obj[0] = args;
7616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7617 if (!SWIG_IsOK(res1)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7619 }
7620 arg1 = reinterpret_cast< wxDialog * >(argp1);
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 resultobj = SWIG_From_int(static_cast< int >(result));
7628 return resultobj;
7629 fail:
7630 return NULL;
7631 }
7632
7633
7634 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj = 0;
7636 wxDialog *arg1 = (wxDialog *) 0 ;
7637 int arg2 ;
7638 void *argp1 = 0 ;
7639 int res1 = 0 ;
7640 int val2 ;
7641 int ecode2 = 0 ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char * kwnames[] = {
7645 (char *) "self",(char *) "escapeId", NULL
7646 };
7647
7648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7650 if (!SWIG_IsOK(res1)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7652 }
7653 arg1 = reinterpret_cast< wxDialog * >(argp1);
7654 ecode2 = SWIG_AsVal_int(obj1, &val2);
7655 if (!SWIG_IsOK(ecode2)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7657 }
7658 arg2 = static_cast< int >(val2);
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetEscapeId(arg2);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_Py_Void();
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7673 PyObject *resultobj = 0;
7674 wxDialog *arg1 = (wxDialog *) 0 ;
7675 int result;
7676 void *argp1 = 0 ;
7677 int res1 = 0 ;
7678 PyObject *swig_obj[1] ;
7679
7680 if (!args) SWIG_fail;
7681 swig_obj[0] = args;
7682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7683 if (!SWIG_IsOK(res1)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7685 }
7686 arg1 = reinterpret_cast< wxDialog * >(argp1);
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_From_int(static_cast< int >(result));
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj = 0;
7702 wxDialog *arg1 = (wxDialog *) 0 ;
7703 wxString *arg2 = 0 ;
7704 wxSizer *result = 0 ;
7705 void *argp1 = 0 ;
7706 int res1 = 0 ;
7707 bool temp2 = false ;
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
7710 char * kwnames[] = {
7711 (char *) "self",(char *) "message", NULL
7712 };
7713
7714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7716 if (!SWIG_IsOK(res1)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7718 }
7719 arg1 = reinterpret_cast< wxDialog * >(argp1);
7720 {
7721 arg2 = wxString_in_helper(obj1);
7722 if (arg2 == NULL) SWIG_fail;
7723 temp2 = true;
7724 }
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 {
7732 resultobj = wxPyMake_wxObject(result, (bool)0);
7733 }
7734 {
7735 if (temp2)
7736 delete arg2;
7737 }
7738 return resultobj;
7739 fail:
7740 {
7741 if (temp2)
7742 delete arg2;
7743 }
7744 return NULL;
7745 }
7746
7747
7748 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj = 0;
7750 wxDialog *arg1 = (wxDialog *) 0 ;
7751 long arg2 ;
7752 wxSizer *result = 0 ;
7753 void *argp1 = 0 ;
7754 int res1 = 0 ;
7755 long val2 ;
7756 int ecode2 = 0 ;
7757 PyObject * obj0 = 0 ;
7758 PyObject * obj1 = 0 ;
7759 char * kwnames[] = {
7760 (char *) "self",(char *) "flags", NULL
7761 };
7762
7763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7765 if (!SWIG_IsOK(res1)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7767 }
7768 arg1 = reinterpret_cast< wxDialog * >(argp1);
7769 ecode2 = SWIG_AsVal_long(obj1, &val2);
7770 if (!SWIG_IsOK(ecode2)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7772 }
7773 arg2 = static_cast< long >(val2);
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 {
7781 resultobj = wxPyMake_wxObject(result, (bool)0);
7782 }
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj = 0;
7791 wxDialog *arg1 = (wxDialog *) 0 ;
7792 long arg2 ;
7793 wxSizer *result = 0 ;
7794 void *argp1 = 0 ;
7795 int res1 = 0 ;
7796 long val2 ;
7797 int ecode2 = 0 ;
7798 PyObject * obj0 = 0 ;
7799 PyObject * obj1 = 0 ;
7800 char * kwnames[] = {
7801 (char *) "self",(char *) "flags", NULL
7802 };
7803
7804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7806 if (!SWIG_IsOK(res1)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7808 }
7809 arg1 = reinterpret_cast< wxDialog * >(argp1);
7810 ecode2 = SWIG_AsVal_long(obj1, &val2);
7811 if (!SWIG_IsOK(ecode2)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7813 }
7814 arg2 = static_cast< long >(val2);
7815 {
7816 PyThreadState* __tstate = wxPyBeginAllowThreads();
7817 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7818 wxPyEndAllowThreads(__tstate);
7819 if (PyErr_Occurred()) SWIG_fail;
7820 }
7821 {
7822 resultobj = wxPyMake_wxObject(result, (bool)0);
7823 }
7824 return resultobj;
7825 fail:
7826 return NULL;
7827 }
7828
7829
7830 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj = 0;
7832 wxDialog *arg1 = (wxDialog *) 0 ;
7833 long arg2 ;
7834 wxStdDialogButtonSizer *result = 0 ;
7835 void *argp1 = 0 ;
7836 int res1 = 0 ;
7837 long val2 ;
7838 int ecode2 = 0 ;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 char * kwnames[] = {
7842 (char *) "self",(char *) "flags", NULL
7843 };
7844
7845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7847 if (!SWIG_IsOK(res1)) {
7848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7849 }
7850 arg1 = reinterpret_cast< wxDialog * >(argp1);
7851 ecode2 = SWIG_AsVal_long(obj1, &val2);
7852 if (!SWIG_IsOK(ecode2)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7854 }
7855 arg2 = static_cast< long >(val2);
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7870 PyObject *resultobj = 0;
7871 wxDialog *arg1 = (wxDialog *) 0 ;
7872 bool result;
7873 void *argp1 = 0 ;
7874 int res1 = 0 ;
7875 PyObject *swig_obj[1] ;
7876
7877 if (!args) SWIG_fail;
7878 swig_obj[0] = args;
7879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7880 if (!SWIG_IsOK(res1)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7882 }
7883 arg1 = reinterpret_cast< wxDialog * >(argp1);
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (bool)((wxDialog const *)arg1)->IsModal();
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 {
7891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7892 }
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7900 PyObject *resultobj = 0;
7901 wxDialog *arg1 = (wxDialog *) 0 ;
7902 int result;
7903 void *argp1 = 0 ;
7904 int res1 = 0 ;
7905 PyObject *swig_obj[1] ;
7906
7907 if (!args) SWIG_fail;
7908 swig_obj[0] = args;
7909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7912 }
7913 arg1 = reinterpret_cast< wxDialog * >(argp1);
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (int)(arg1)->ShowModal();
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 resultobj = SWIG_From_int(static_cast< int >(result));
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj = 0;
7929 wxDialog *arg1 = (wxDialog *) 0 ;
7930 int arg2 ;
7931 void *argp1 = 0 ;
7932 int res1 = 0 ;
7933 int val2 ;
7934 int ecode2 = 0 ;
7935 PyObject * obj0 = 0 ;
7936 PyObject * obj1 = 0 ;
7937 char * kwnames[] = {
7938 (char *) "self",(char *) "retCode", NULL
7939 };
7940
7941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7943 if (!SWIG_IsOK(res1)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7945 }
7946 arg1 = reinterpret_cast< wxDialog * >(argp1);
7947 ecode2 = SWIG_AsVal_int(obj1, &val2);
7948 if (!SWIG_IsOK(ecode2)) {
7949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7950 }
7951 arg2 = static_cast< int >(val2);
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 (arg1)->EndModal(arg2);
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 resultobj = SWIG_Py_Void();
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj = 0;
7967 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7968 SwigValueWrapper<wxVisualAttributes > result;
7969 int val1 ;
7970 int ecode1 = 0 ;
7971 PyObject * obj0 = 0 ;
7972 char * kwnames[] = {
7973 (char *) "variant", NULL
7974 };
7975
7976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7977 if (obj0) {
7978 ecode1 = SWIG_AsVal_int(obj0, &val1);
7979 if (!SWIG_IsOK(ecode1)) {
7980 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7981 }
7982 arg1 = static_cast< wxWindowVariant >(val1);
7983 }
7984 {
7985 if (!wxPyCheckForApp()) SWIG_fail;
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = wxDialog::GetClassDefaultAttributes(arg1);
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7999 PyObject *obj;
8000 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8001 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8002 return SWIG_Py_Void();
8003 }
8004
8005 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8006 return SWIG_Python_InitShadowInstance(args);
8007 }
8008
8009 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj = 0;
8011 wxWindow *arg1 = (wxWindow *) 0 ;
8012 int arg2 = (int) (int)-1 ;
8013 wxString const &arg3_defvalue = wxPyEmptyString ;
8014 wxString *arg3 = (wxString *) &arg3_defvalue ;
8015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8017 wxSize const &arg5_defvalue = wxDefaultSize ;
8018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8019 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8020 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8021 wxString *arg7 = (wxString *) &arg7_defvalue ;
8022 wxMiniFrame *result = 0 ;
8023 void *argp1 = 0 ;
8024 int res1 = 0 ;
8025 int val2 ;
8026 int ecode2 = 0 ;
8027 bool temp3 = false ;
8028 wxPoint temp4 ;
8029 wxSize temp5 ;
8030 long val6 ;
8031 int ecode6 = 0 ;
8032 bool temp7 = false ;
8033 PyObject * obj0 = 0 ;
8034 PyObject * obj1 = 0 ;
8035 PyObject * obj2 = 0 ;
8036 PyObject * obj3 = 0 ;
8037 PyObject * obj4 = 0 ;
8038 PyObject * obj5 = 0 ;
8039 PyObject * obj6 = 0 ;
8040 char * kwnames[] = {
8041 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8042 };
8043
8044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8046 if (!SWIG_IsOK(res1)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8048 }
8049 arg1 = reinterpret_cast< wxWindow * >(argp1);
8050 if (obj1) {
8051 ecode2 = SWIG_AsVal_int(obj1, &val2);
8052 if (!SWIG_IsOK(ecode2)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8054 }
8055 arg2 = static_cast< int >(val2);
8056 }
8057 if (obj2) {
8058 {
8059 arg3 = wxString_in_helper(obj2);
8060 if (arg3 == NULL) SWIG_fail;
8061 temp3 = true;
8062 }
8063 }
8064 if (obj3) {
8065 {
8066 arg4 = &temp4;
8067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8068 }
8069 }
8070 if (obj4) {
8071 {
8072 arg5 = &temp5;
8073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8074 }
8075 }
8076 if (obj5) {
8077 ecode6 = SWIG_AsVal_long(obj5, &val6);
8078 if (!SWIG_IsOK(ecode6)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8080 }
8081 arg6 = static_cast< long >(val6);
8082 }
8083 if (obj6) {
8084 {
8085 arg7 = wxString_in_helper(obj6);
8086 if (arg7 == NULL) SWIG_fail;
8087 temp7 = true;
8088 }
8089 }
8090 {
8091 if (!wxPyCheckForApp()) SWIG_fail;
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8098 {
8099 if (temp3)
8100 delete arg3;
8101 }
8102 {
8103 if (temp7)
8104 delete arg7;
8105 }
8106 return resultobj;
8107 fail:
8108 {
8109 if (temp3)
8110 delete arg3;
8111 }
8112 {
8113 if (temp7)
8114 delete arg7;
8115 }
8116 return NULL;
8117 }
8118
8119
8120 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8121 PyObject *resultobj = 0;
8122 wxMiniFrame *result = 0 ;
8123
8124 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8125 {
8126 if (!wxPyCheckForApp()) SWIG_fail;
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 result = (wxMiniFrame *)new wxMiniFrame();
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj = 0;
8141 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8142 wxWindow *arg2 = (wxWindow *) 0 ;
8143 int arg3 = (int) (int)-1 ;
8144 wxString const &arg4_defvalue = wxPyEmptyString ;
8145 wxString *arg4 = (wxString *) &arg4_defvalue ;
8146 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8147 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8148 wxSize const &arg6_defvalue = wxDefaultSize ;
8149 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8150 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8151 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8152 wxString *arg8 = (wxString *) &arg8_defvalue ;
8153 bool result;
8154 void *argp1 = 0 ;
8155 int res1 = 0 ;
8156 void *argp2 = 0 ;
8157 int res2 = 0 ;
8158 int val3 ;
8159 int ecode3 = 0 ;
8160 bool temp4 = false ;
8161 wxPoint temp5 ;
8162 wxSize temp6 ;
8163 long val7 ;
8164 int ecode7 = 0 ;
8165 bool temp8 = false ;
8166 PyObject * obj0 = 0 ;
8167 PyObject * obj1 = 0 ;
8168 PyObject * obj2 = 0 ;
8169 PyObject * obj3 = 0 ;
8170 PyObject * obj4 = 0 ;
8171 PyObject * obj5 = 0 ;
8172 PyObject * obj6 = 0 ;
8173 PyObject * obj7 = 0 ;
8174 char * kwnames[] = {
8175 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8176 };
8177
8178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8180 if (!SWIG_IsOK(res1)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8182 }
8183 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8185 if (!SWIG_IsOK(res2)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8187 }
8188 arg2 = reinterpret_cast< wxWindow * >(argp2);
8189 if (obj2) {
8190 ecode3 = SWIG_AsVal_int(obj2, &val3);
8191 if (!SWIG_IsOK(ecode3)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8193 }
8194 arg3 = static_cast< int >(val3);
8195 }
8196 if (obj3) {
8197 {
8198 arg4 = wxString_in_helper(obj3);
8199 if (arg4 == NULL) SWIG_fail;
8200 temp4 = true;
8201 }
8202 }
8203 if (obj4) {
8204 {
8205 arg5 = &temp5;
8206 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8207 }
8208 }
8209 if (obj5) {
8210 {
8211 arg6 = &temp6;
8212 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8213 }
8214 }
8215 if (obj6) {
8216 ecode7 = SWIG_AsVal_long(obj6, &val7);
8217 if (!SWIG_IsOK(ecode7)) {
8218 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8219 }
8220 arg7 = static_cast< long >(val7);
8221 }
8222 if (obj7) {
8223 {
8224 arg8 = wxString_in_helper(obj7);
8225 if (arg8 == NULL) SWIG_fail;
8226 temp8 = true;
8227 }
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 {
8236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8237 }
8238 {
8239 if (temp4)
8240 delete arg4;
8241 }
8242 {
8243 if (temp8)
8244 delete arg8;
8245 }
8246 return resultobj;
8247 fail:
8248 {
8249 if (temp4)
8250 delete arg4;
8251 }
8252 {
8253 if (temp8)
8254 delete arg8;
8255 }
8256 return NULL;
8257 }
8258
8259
8260 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8261 PyObject *obj;
8262 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8263 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8264 return SWIG_Py_Void();
8265 }
8266
8267 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8268 return SWIG_Python_InitShadowInstance(args);
8269 }
8270
8271 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj = 0;
8273 wxBitmap *arg1 = 0 ;
8274 wxWindow *arg2 = (wxWindow *) 0 ;
8275 int arg3 ;
8276 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8277 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8278 wxSize const &arg5_defvalue = wxDefaultSize ;
8279 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8280 long arg6 = (long) wxNO_BORDER ;
8281 wxSplashScreenWindow *result = 0 ;
8282 void *argp1 = 0 ;
8283 int res1 = 0 ;
8284 void *argp2 = 0 ;
8285 int res2 = 0 ;
8286 int val3 ;
8287 int ecode3 = 0 ;
8288 wxPoint temp4 ;
8289 wxSize temp5 ;
8290 long val6 ;
8291 int ecode6 = 0 ;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 PyObject * obj2 = 0 ;
8295 PyObject * obj3 = 0 ;
8296 PyObject * obj4 = 0 ;
8297 PyObject * obj5 = 0 ;
8298 char * kwnames[] = {
8299 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8300 };
8301
8302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8303 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8304 if (!SWIG_IsOK(res1)) {
8305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8306 }
8307 if (!argp1) {
8308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8309 }
8310 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8311 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8312 if (!SWIG_IsOK(res2)) {
8313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8314 }
8315 arg2 = reinterpret_cast< wxWindow * >(argp2);
8316 ecode3 = SWIG_AsVal_int(obj2, &val3);
8317 if (!SWIG_IsOK(ecode3)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8319 }
8320 arg3 = static_cast< int >(val3);
8321 if (obj3) {
8322 {
8323 arg4 = &temp4;
8324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8325 }
8326 }
8327 if (obj4) {
8328 {
8329 arg5 = &temp5;
8330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8331 }
8332 }
8333 if (obj5) {
8334 ecode6 = SWIG_AsVal_long(obj5, &val6);
8335 if (!SWIG_IsOK(ecode6)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8337 }
8338 arg6 = static_cast< long >(val6);
8339 }
8340 {
8341 if (!wxPyCheckForApp()) SWIG_fail;
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8348 return resultobj;
8349 fail:
8350 return NULL;
8351 }
8352
8353
8354 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj = 0;
8356 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8357 wxBitmap *arg2 = 0 ;
8358 void *argp1 = 0 ;
8359 int res1 = 0 ;
8360 void *argp2 = 0 ;
8361 int res2 = 0 ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 char * kwnames[] = {
8365 (char *) "self",(char *) "bitmap", NULL
8366 };
8367
8368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8370 if (!SWIG_IsOK(res1)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8372 }
8373 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8374 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8375 if (!SWIG_IsOK(res2)) {
8376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8377 }
8378 if (!argp2) {
8379 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8380 }
8381 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 resultobj = SWIG_Py_Void();
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8396 PyObject *resultobj = 0;
8397 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8398 wxBitmap *result = 0 ;
8399 void *argp1 = 0 ;
8400 int res1 = 0 ;
8401 PyObject *swig_obj[1] ;
8402
8403 if (!args) SWIG_fail;
8404 swig_obj[0] = args;
8405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8406 if (!SWIG_IsOK(res1)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8408 }
8409 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 {
8413 wxBitmap &_result_ref = (arg1)->GetBitmap();
8414 result = (wxBitmap *) &_result_ref;
8415 }
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 {
8420 wxBitmap* resultptr = new wxBitmap(*result);
8421 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8422 }
8423 return resultobj;
8424 fail:
8425 return NULL;
8426 }
8427
8428
8429 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8430 PyObject *obj;
8431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8432 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8433 return SWIG_Py_Void();
8434 }
8435
8436 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8437 return SWIG_Python_InitShadowInstance(args);
8438 }
8439
8440 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj = 0;
8442 wxBitmap *arg1 = 0 ;
8443 long arg2 ;
8444 int arg3 ;
8445 wxWindow *arg4 = (wxWindow *) 0 ;
8446 int arg5 = (int) -1 ;
8447 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8448 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8449 wxSize const &arg7_defvalue = wxDefaultSize ;
8450 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8451 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8452 wxSplashScreen *result = 0 ;
8453 void *argp1 = 0 ;
8454 int res1 = 0 ;
8455 long val2 ;
8456 int ecode2 = 0 ;
8457 int val3 ;
8458 int ecode3 = 0 ;
8459 void *argp4 = 0 ;
8460 int res4 = 0 ;
8461 int val5 ;
8462 int ecode5 = 0 ;
8463 wxPoint temp6 ;
8464 wxSize temp7 ;
8465 long val8 ;
8466 int ecode8 = 0 ;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 PyObject * obj2 = 0 ;
8470 PyObject * obj3 = 0 ;
8471 PyObject * obj4 = 0 ;
8472 PyObject * obj5 = 0 ;
8473 PyObject * obj6 = 0 ;
8474 PyObject * obj7 = 0 ;
8475 char * kwnames[] = {
8476 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8477 };
8478
8479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8480 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8481 if (!SWIG_IsOK(res1)) {
8482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8483 }
8484 if (!argp1) {
8485 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8486 }
8487 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8488 ecode2 = SWIG_AsVal_long(obj1, &val2);
8489 if (!SWIG_IsOK(ecode2)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8491 }
8492 arg2 = static_cast< long >(val2);
8493 ecode3 = SWIG_AsVal_int(obj2, &val3);
8494 if (!SWIG_IsOK(ecode3)) {
8495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8496 }
8497 arg3 = static_cast< int >(val3);
8498 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8499 if (!SWIG_IsOK(res4)) {
8500 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8501 }
8502 arg4 = reinterpret_cast< wxWindow * >(argp4);
8503 if (obj4) {
8504 ecode5 = SWIG_AsVal_int(obj4, &val5);
8505 if (!SWIG_IsOK(ecode5)) {
8506 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8507 }
8508 arg5 = static_cast< int >(val5);
8509 }
8510 if (obj5) {
8511 {
8512 arg6 = &temp6;
8513 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8514 }
8515 }
8516 if (obj6) {
8517 {
8518 arg7 = &temp7;
8519 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8520 }
8521 }
8522 if (obj7) {
8523 ecode8 = SWIG_AsVal_long(obj7, &val8);
8524 if (!SWIG_IsOK(ecode8)) {
8525 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8526 }
8527 arg8 = static_cast< long >(val8);
8528 }
8529 {
8530 if (!wxPyCheckForApp()) SWIG_fail;
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8537 return resultobj;
8538 fail:
8539 return NULL;
8540 }
8541
8542
8543 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8544 PyObject *resultobj = 0;
8545 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8546 long result;
8547 void *argp1 = 0 ;
8548 int res1 = 0 ;
8549 PyObject *swig_obj[1] ;
8550
8551 if (!args) SWIG_fail;
8552 swig_obj[0] = args;
8553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8556 }
8557 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 resultobj = SWIG_From_long(static_cast< long >(result));
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8572 PyObject *resultobj = 0;
8573 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8574 wxSplashScreenWindow *result = 0 ;
8575 void *argp1 = 0 ;
8576 int res1 = 0 ;
8577 PyObject *swig_obj[1] ;
8578
8579 if (!args) SWIG_fail;
8580 swig_obj[0] = args;
8581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8582 if (!SWIG_IsOK(res1)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8584 }
8585 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8600 PyObject *resultobj = 0;
8601 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8602 int result;
8603 void *argp1 = 0 ;
8604 int res1 = 0 ;
8605 PyObject *swig_obj[1] ;
8606
8607 if (!args) SWIG_fail;
8608 swig_obj[0] = args;
8609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8610 if (!SWIG_IsOK(res1)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8612 }
8613 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = SWIG_From_int(static_cast< int >(result));
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8628 PyObject *obj;
8629 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8630 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8631 return SWIG_Py_Void();
8632 }
8633
8634 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8635 return SWIG_Python_InitShadowInstance(args);
8636 }
8637
8638 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj = 0;
8640 wxWindow *arg1 = (wxWindow *) 0 ;
8641 int arg2 = (int) -1 ;
8642 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8643 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8644 wxString *arg4 = (wxString *) &arg4_defvalue ;
8645 wxStatusBar *result = 0 ;
8646 void *argp1 = 0 ;
8647 int res1 = 0 ;
8648 int val2 ;
8649 int ecode2 = 0 ;
8650 long val3 ;
8651 int ecode3 = 0 ;
8652 bool temp4 = false ;
8653 PyObject * obj0 = 0 ;
8654 PyObject * obj1 = 0 ;
8655 PyObject * obj2 = 0 ;
8656 PyObject * obj3 = 0 ;
8657 char * kwnames[] = {
8658 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8659 };
8660
8661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8663 if (!SWIG_IsOK(res1)) {
8664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8665 }
8666 arg1 = reinterpret_cast< wxWindow * >(argp1);
8667 if (obj1) {
8668 ecode2 = SWIG_AsVal_int(obj1, &val2);
8669 if (!SWIG_IsOK(ecode2)) {
8670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8671 }
8672 arg2 = static_cast< int >(val2);
8673 }
8674 if (obj2) {
8675 ecode3 = SWIG_AsVal_long(obj2, &val3);
8676 if (!SWIG_IsOK(ecode3)) {
8677 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8678 }
8679 arg3 = static_cast< long >(val3);
8680 }
8681 if (obj3) {
8682 {
8683 arg4 = wxString_in_helper(obj3);
8684 if (arg4 == NULL) SWIG_fail;
8685 temp4 = true;
8686 }
8687 }
8688 {
8689 if (!wxPyCheckForApp()) SWIG_fail;
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8696 {
8697 if (temp4)
8698 delete arg4;
8699 }
8700 return resultobj;
8701 fail:
8702 {
8703 if (temp4)
8704 delete arg4;
8705 }
8706 return NULL;
8707 }
8708
8709
8710 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8711 PyObject *resultobj = 0;
8712 wxStatusBar *result = 0 ;
8713
8714 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8715 {
8716 if (!wxPyCheckForApp()) SWIG_fail;
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (wxStatusBar *)new wxStatusBar();
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8723 return resultobj;
8724 fail:
8725 return NULL;
8726 }
8727
8728
8729 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj = 0;
8731 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8732 wxWindow *arg2 = (wxWindow *) 0 ;
8733 int arg3 = (int) -1 ;
8734 long arg4 = (long) wxST_SIZEGRIP ;
8735 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8736 wxString *arg5 = (wxString *) &arg5_defvalue ;
8737 bool result;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 void *argp2 = 0 ;
8741 int res2 = 0 ;
8742 int val3 ;
8743 int ecode3 = 0 ;
8744 long val4 ;
8745 int ecode4 = 0 ;
8746 bool temp5 = false ;
8747 PyObject * obj0 = 0 ;
8748 PyObject * obj1 = 0 ;
8749 PyObject * obj2 = 0 ;
8750 PyObject * obj3 = 0 ;
8751 PyObject * obj4 = 0 ;
8752 char * kwnames[] = {
8753 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8754 };
8755
8756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8758 if (!SWIG_IsOK(res1)) {
8759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8760 }
8761 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8763 if (!SWIG_IsOK(res2)) {
8764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8765 }
8766 arg2 = reinterpret_cast< wxWindow * >(argp2);
8767 if (obj2) {
8768 ecode3 = SWIG_AsVal_int(obj2, &val3);
8769 if (!SWIG_IsOK(ecode3)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8771 }
8772 arg3 = static_cast< int >(val3);
8773 }
8774 if (obj3) {
8775 ecode4 = SWIG_AsVal_long(obj3, &val4);
8776 if (!SWIG_IsOK(ecode4)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8778 }
8779 arg4 = static_cast< long >(val4);
8780 }
8781 if (obj4) {
8782 {
8783 arg5 = wxString_in_helper(obj4);
8784 if (arg5 == NULL) SWIG_fail;
8785 temp5 = true;
8786 }
8787 }
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 {
8795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8796 }
8797 {
8798 if (temp5)
8799 delete arg5;
8800 }
8801 return resultobj;
8802 fail:
8803 {
8804 if (temp5)
8805 delete arg5;
8806 }
8807 return NULL;
8808 }
8809
8810
8811 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj = 0;
8813 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8814 int arg2 = (int) 1 ;
8815 void *argp1 = 0 ;
8816 int res1 = 0 ;
8817 int val2 ;
8818 int ecode2 = 0 ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char * kwnames[] = {
8822 (char *) "self",(char *) "number", NULL
8823 };
8824
8825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8827 if (!SWIG_IsOK(res1)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8829 }
8830 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8831 if (obj1) {
8832 ecode2 = SWIG_AsVal_int(obj1, &val2);
8833 if (!SWIG_IsOK(ecode2)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8835 }
8836 arg2 = static_cast< int >(val2);
8837 }
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 (arg1)->SetFieldsCount(arg2);
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 resultobj = SWIG_Py_Void();
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8852 PyObject *resultobj = 0;
8853 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8854 int result;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 PyObject *swig_obj[1] ;
8858
8859 if (!args) SWIG_fail;
8860 swig_obj[0] = args;
8861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8862 if (!SWIG_IsOK(res1)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8864 }
8865 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 resultobj = SWIG_From_int(static_cast< int >(result));
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj = 0;
8881 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8882 wxString *arg2 = 0 ;
8883 int arg3 = (int) 0 ;
8884 void *argp1 = 0 ;
8885 int res1 = 0 ;
8886 bool temp2 = false ;
8887 int val3 ;
8888 int ecode3 = 0 ;
8889 PyObject * obj0 = 0 ;
8890 PyObject * obj1 = 0 ;
8891 PyObject * obj2 = 0 ;
8892 char * kwnames[] = {
8893 (char *) "self",(char *) "text",(char *) "number", NULL
8894 };
8895
8896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8898 if (!SWIG_IsOK(res1)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8900 }
8901 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8902 {
8903 arg2 = wxString_in_helper(obj1);
8904 if (arg2 == NULL) SWIG_fail;
8905 temp2 = true;
8906 }
8907 if (obj2) {
8908 ecode3 = SWIG_AsVal_int(obj2, &val3);
8909 if (!SWIG_IsOK(ecode3)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8911 }
8912 arg3 = static_cast< int >(val3);
8913 }
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = SWIG_Py_Void();
8921 {
8922 if (temp2)
8923 delete arg2;
8924 }
8925 return resultobj;
8926 fail:
8927 {
8928 if (temp2)
8929 delete arg2;
8930 }
8931 return NULL;
8932 }
8933
8934
8935 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj = 0;
8937 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8938 int arg2 = (int) 0 ;
8939 wxString result;
8940 void *argp1 = 0 ;
8941 int res1 = 0 ;
8942 int val2 ;
8943 int ecode2 = 0 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 char * kwnames[] = {
8947 (char *) "self",(char *) "number", NULL
8948 };
8949
8950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8952 if (!SWIG_IsOK(res1)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8954 }
8955 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8956 if (obj1) {
8957 ecode2 = SWIG_AsVal_int(obj1, &val2);
8958 if (!SWIG_IsOK(ecode2)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8960 }
8961 arg2 = static_cast< int >(val2);
8962 }
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 {
8970 #if wxUSE_UNICODE
8971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8972 #else
8973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8974 #endif
8975 }
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj = 0;
8984 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8985 wxString *arg2 = 0 ;
8986 int arg3 = (int) 0 ;
8987 void *argp1 = 0 ;
8988 int res1 = 0 ;
8989 bool temp2 = false ;
8990 int val3 ;
8991 int ecode3 = 0 ;
8992 PyObject * obj0 = 0 ;
8993 PyObject * obj1 = 0 ;
8994 PyObject * obj2 = 0 ;
8995 char * kwnames[] = {
8996 (char *) "self",(char *) "text",(char *) "number", NULL
8997 };
8998
8999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9001 if (!SWIG_IsOK(res1)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9003 }
9004 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9005 {
9006 arg2 = wxString_in_helper(obj1);
9007 if (arg2 == NULL) SWIG_fail;
9008 temp2 = true;
9009 }
9010 if (obj2) {
9011 ecode3 = SWIG_AsVal_int(obj2, &val3);
9012 if (!SWIG_IsOK(ecode3)) {
9013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9014 }
9015 arg3 = static_cast< int >(val3);
9016 }
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = SWIG_Py_Void();
9024 {
9025 if (temp2)
9026 delete arg2;
9027 }
9028 return resultobj;
9029 fail:
9030 {
9031 if (temp2)
9032 delete arg2;
9033 }
9034 return NULL;
9035 }
9036
9037
9038 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj = 0;
9040 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9041 int arg2 = (int) 0 ;
9042 void *argp1 = 0 ;
9043 int res1 = 0 ;
9044 int val2 ;
9045 int ecode2 = 0 ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 char * kwnames[] = {
9049 (char *) "self",(char *) "number", NULL
9050 };
9051
9052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9054 if (!SWIG_IsOK(res1)) {
9055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9056 }
9057 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9058 if (obj1) {
9059 ecode2 = SWIG_AsVal_int(obj1, &val2);
9060 if (!SWIG_IsOK(ecode2)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9062 }
9063 arg2 = static_cast< int >(val2);
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 (arg1)->PopStatusText(arg2);
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = SWIG_Py_Void();
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj = 0;
9080 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9081 int arg2 ;
9082 int *arg3 = (int *) 0 ;
9083 void *argp1 = 0 ;
9084 int res1 = 0 ;
9085 PyObject * obj0 = 0 ;
9086 PyObject * obj1 = 0 ;
9087 char * kwnames[] = {
9088 (char *) "self",(char *) "widths", NULL
9089 };
9090
9091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9093 if (!SWIG_IsOK(res1)) {
9094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9095 }
9096 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9097 {
9098 arg2 = PyList_Size(obj1);
9099 arg3 = int_LIST_helper(obj1);
9100 if (arg3 == NULL) SWIG_fail;
9101 }
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = SWIG_Py_Void();
9109 {
9110 if (arg3) delete [] arg3;
9111 }
9112 return resultobj;
9113 fail:
9114 {
9115 if (arg3) delete [] arg3;
9116 }
9117 return NULL;
9118 }
9119
9120
9121 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9122 PyObject *resultobj = 0;
9123 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9124 int arg2 ;
9125 int *arg3 = (int *) 0 ;
9126 void *argp1 = 0 ;
9127 int res1 = 0 ;
9128 PyObject * obj0 = 0 ;
9129 PyObject * obj1 = 0 ;
9130 char * kwnames[] = {
9131 (char *) "self",(char *) "styles", NULL
9132 };
9133
9134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9136 if (!SWIG_IsOK(res1)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9138 }
9139 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9140 {
9141 arg2 = PyList_Size(obj1);
9142 arg3 = int_LIST_helper(obj1);
9143 if (arg3 == NULL) SWIG_fail;
9144 }
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 resultobj = SWIG_Py_Void();
9152 {
9153 if (arg3) delete [] arg3;
9154 }
9155 return resultobj;
9156 fail:
9157 {
9158 if (arg3) delete [] arg3;
9159 }
9160 return NULL;
9161 }
9162
9163
9164 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj = 0;
9166 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9167 int arg2 ;
9168 wxRect result;
9169 void *argp1 = 0 ;
9170 int res1 = 0 ;
9171 int val2 ;
9172 int ecode2 = 0 ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 char * kwnames[] = {
9176 (char *) "self",(char *) "i", NULL
9177 };
9178
9179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9181 if (!SWIG_IsOK(res1)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9183 }
9184 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9185 ecode2 = SWIG_AsVal_int(obj1, &val2);
9186 if (!SWIG_IsOK(ecode2)) {
9187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9188 }
9189 arg2 = static_cast< int >(val2);
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = wxStatusBar_GetFieldRect(arg1,arg2);
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj = 0;
9205 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9206 int arg2 ;
9207 void *argp1 = 0 ;
9208 int res1 = 0 ;
9209 int val2 ;
9210 int ecode2 = 0 ;
9211 PyObject * obj0 = 0 ;
9212 PyObject * obj1 = 0 ;
9213 char * kwnames[] = {
9214 (char *) "self",(char *) "height", NULL
9215 };
9216
9217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9219 if (!SWIG_IsOK(res1)) {
9220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9221 }
9222 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9223 ecode2 = SWIG_AsVal_int(obj1, &val2);
9224 if (!SWIG_IsOK(ecode2)) {
9225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9226 }
9227 arg2 = static_cast< int >(val2);
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 (arg1)->SetMinHeight(arg2);
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 resultobj = SWIG_Py_Void();
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9242 PyObject *resultobj = 0;
9243 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9244 int result;
9245 void *argp1 = 0 ;
9246 int res1 = 0 ;
9247 PyObject *swig_obj[1] ;
9248
9249 if (!args) SWIG_fail;
9250 swig_obj[0] = args;
9251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9252 if (!SWIG_IsOK(res1)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9254 }
9255 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_From_int(static_cast< int >(result));
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9270 PyObject *resultobj = 0;
9271 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9272 int result;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
9275 PyObject *swig_obj[1] ;
9276
9277 if (!args) SWIG_fail;
9278 swig_obj[0] = args;
9279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9280 if (!SWIG_IsOK(res1)) {
9281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9282 }
9283 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 resultobj = SWIG_From_int(static_cast< int >(result));
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj = 0;
9299 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9300 SwigValueWrapper<wxVisualAttributes > result;
9301 int val1 ;
9302 int ecode1 = 0 ;
9303 PyObject * obj0 = 0 ;
9304 char * kwnames[] = {
9305 (char *) "variant", NULL
9306 };
9307
9308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9309 if (obj0) {
9310 ecode1 = SWIG_AsVal_int(obj0, &val1);
9311 if (!SWIG_IsOK(ecode1)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9313 }
9314 arg1 = static_cast< wxWindowVariant >(val1);
9315 }
9316 {
9317 if (!wxPyCheckForApp()) SWIG_fail;
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9331 PyObject *obj;
9332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9333 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9334 return SWIG_Py_Void();
9335 }
9336
9337 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9338 return SWIG_Python_InitShadowInstance(args);
9339 }
9340
9341 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9342 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9343 return 1;
9344 }
9345
9346
9347 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9348 PyObject *pyobj = 0;
9349
9350 {
9351 #if wxUSE_UNICODE
9352 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9353 #else
9354 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9355 #endif
9356 }
9357 return pyobj;
9358 }
9359
9360
9361 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj = 0;
9363 wxWindow *arg1 = (wxWindow *) 0 ;
9364 int arg2 = (int) -1 ;
9365 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9366 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9367 wxSize const &arg4_defvalue = wxDefaultSize ;
9368 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9369 long arg5 = (long) wxSP_3D ;
9370 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9371 wxString *arg6 = (wxString *) &arg6_defvalue ;
9372 wxSplitterWindow *result = 0 ;
9373 void *argp1 = 0 ;
9374 int res1 = 0 ;
9375 int val2 ;
9376 int ecode2 = 0 ;
9377 wxPoint temp3 ;
9378 wxSize temp4 ;
9379 long val5 ;
9380 int ecode5 = 0 ;
9381 bool temp6 = false ;
9382 PyObject * obj0 = 0 ;
9383 PyObject * obj1 = 0 ;
9384 PyObject * obj2 = 0 ;
9385 PyObject * obj3 = 0 ;
9386 PyObject * obj4 = 0 ;
9387 PyObject * obj5 = 0 ;
9388 char * kwnames[] = {
9389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9390 };
9391
9392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9394 if (!SWIG_IsOK(res1)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9396 }
9397 arg1 = reinterpret_cast< wxWindow * >(argp1);
9398 if (obj1) {
9399 ecode2 = SWIG_AsVal_int(obj1, &val2);
9400 if (!SWIG_IsOK(ecode2)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9402 }
9403 arg2 = static_cast< int >(val2);
9404 }
9405 if (obj2) {
9406 {
9407 arg3 = &temp3;
9408 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9409 }
9410 }
9411 if (obj3) {
9412 {
9413 arg4 = &temp4;
9414 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9415 }
9416 }
9417 if (obj4) {
9418 ecode5 = SWIG_AsVal_long(obj4, &val5);
9419 if (!SWIG_IsOK(ecode5)) {
9420 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9421 }
9422 arg5 = static_cast< long >(val5);
9423 }
9424 if (obj5) {
9425 {
9426 arg6 = wxString_in_helper(obj5);
9427 if (arg6 == NULL) SWIG_fail;
9428 temp6 = true;
9429 }
9430 }
9431 {
9432 if (!wxPyCheckForApp()) SWIG_fail;
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9439 {
9440 if (temp6)
9441 delete arg6;
9442 }
9443 return resultobj;
9444 fail:
9445 {
9446 if (temp6)
9447 delete arg6;
9448 }
9449 return NULL;
9450 }
9451
9452
9453 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9454 PyObject *resultobj = 0;
9455 wxSplitterWindow *result = 0 ;
9456
9457 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9458 {
9459 if (!wxPyCheckForApp()) SWIG_fail;
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 result = (wxSplitterWindow *)new wxSplitterWindow();
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj = 0;
9474 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9475 wxWindow *arg2 = (wxWindow *) 0 ;
9476 int arg3 = (int) -1 ;
9477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9479 wxSize const &arg5_defvalue = wxDefaultSize ;
9480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9481 long arg6 = (long) wxSP_3D ;
9482 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9483 wxString *arg7 = (wxString *) &arg7_defvalue ;
9484 bool result;
9485 void *argp1 = 0 ;
9486 int res1 = 0 ;
9487 void *argp2 = 0 ;
9488 int res2 = 0 ;
9489 int val3 ;
9490 int ecode3 = 0 ;
9491 wxPoint temp4 ;
9492 wxSize temp5 ;
9493 long val6 ;
9494 int ecode6 = 0 ;
9495 bool temp7 = false ;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 PyObject * obj2 = 0 ;
9499 PyObject * obj3 = 0 ;
9500 PyObject * obj4 = 0 ;
9501 PyObject * obj5 = 0 ;
9502 PyObject * obj6 = 0 ;
9503 char * kwnames[] = {
9504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9505 };
9506
9507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9509 if (!SWIG_IsOK(res1)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9511 }
9512 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9514 if (!SWIG_IsOK(res2)) {
9515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9516 }
9517 arg2 = reinterpret_cast< wxWindow * >(argp2);
9518 if (obj2) {
9519 ecode3 = SWIG_AsVal_int(obj2, &val3);
9520 if (!SWIG_IsOK(ecode3)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9522 }
9523 arg3 = static_cast< int >(val3);
9524 }
9525 if (obj3) {
9526 {
9527 arg4 = &temp4;
9528 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9529 }
9530 }
9531 if (obj4) {
9532 {
9533 arg5 = &temp5;
9534 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9535 }
9536 }
9537 if (obj5) {
9538 ecode6 = SWIG_AsVal_long(obj5, &val6);
9539 if (!SWIG_IsOK(ecode6)) {
9540 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9541 }
9542 arg6 = static_cast< long >(val6);
9543 }
9544 if (obj6) {
9545 {
9546 arg7 = wxString_in_helper(obj6);
9547 if (arg7 == NULL) SWIG_fail;
9548 temp7 = true;
9549 }
9550 }
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 {
9558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9559 }
9560 {
9561 if (temp7)
9562 delete arg7;
9563 }
9564 return resultobj;
9565 fail:
9566 {
9567 if (temp7)
9568 delete arg7;
9569 }
9570 return NULL;
9571 }
9572
9573
9574 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9575 PyObject *resultobj = 0;
9576 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9577 wxWindow *result = 0 ;
9578 void *argp1 = 0 ;
9579 int res1 = 0 ;
9580 PyObject *swig_obj[1] ;
9581
9582 if (!args) SWIG_fail;
9583 swig_obj[0] = args;
9584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9585 if (!SWIG_IsOK(res1)) {
9586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9587 }
9588 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 {
9596 resultobj = wxPyMake_wxObject(result, 0);
9597 }
9598 return resultobj;
9599 fail:
9600 return NULL;
9601 }
9602
9603
9604 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9605 PyObject *resultobj = 0;
9606 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9607 wxWindow *result = 0 ;
9608 void *argp1 = 0 ;
9609 int res1 = 0 ;
9610 PyObject *swig_obj[1] ;
9611
9612 if (!args) SWIG_fail;
9613 swig_obj[0] = args;
9614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9615 if (!SWIG_IsOK(res1)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9617 }
9618 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9622 wxPyEndAllowThreads(__tstate);
9623 if (PyErr_Occurred()) SWIG_fail;
9624 }
9625 {
9626 resultobj = wxPyMake_wxObject(result, 0);
9627 }
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj = 0;
9636 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9637 int arg2 ;
9638 void *argp1 = 0 ;
9639 int res1 = 0 ;
9640 int val2 ;
9641 int ecode2 = 0 ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 char * kwnames[] = {
9645 (char *) "self",(char *) "mode", NULL
9646 };
9647
9648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9650 if (!SWIG_IsOK(res1)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9652 }
9653 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9654 ecode2 = SWIG_AsVal_int(obj1, &val2);
9655 if (!SWIG_IsOK(ecode2)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9657 }
9658 arg2 = static_cast< int >(val2);
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 (arg1)->SetSplitMode(arg2);
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 resultobj = SWIG_Py_Void();
9666 return resultobj;
9667 fail:
9668 return NULL;
9669 }
9670
9671
9672 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9673 PyObject *resultobj = 0;
9674 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9675 wxSplitMode result;
9676 void *argp1 = 0 ;
9677 int res1 = 0 ;
9678 PyObject *swig_obj[1] ;
9679
9680 if (!args) SWIG_fail;
9681 swig_obj[0] = args;
9682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9683 if (!SWIG_IsOK(res1)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9685 }
9686 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 resultobj = SWIG_From_int(static_cast< int >(result));
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj = 0;
9702 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9703 wxWindow *arg2 = (wxWindow *) 0 ;
9704 void *argp1 = 0 ;
9705 int res1 = 0 ;
9706 void *argp2 = 0 ;
9707 int res2 = 0 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char * kwnames[] = {
9711 (char *) "self",(char *) "window", NULL
9712 };
9713
9714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9716 if (!SWIG_IsOK(res1)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 }
9719 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9721 if (!SWIG_IsOK(res2)) {
9722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9723 }
9724 arg2 = reinterpret_cast< wxWindow * >(argp2);
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 (arg1)->Initialize(arg2);
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 resultobj = SWIG_Py_Void();
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9739 PyObject *resultobj = 0;
9740 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9741 wxWindow *arg2 = (wxWindow *) 0 ;
9742 wxWindow *arg3 = (wxWindow *) 0 ;
9743 int arg4 = (int) 0 ;
9744 bool result;
9745 void *argp1 = 0 ;
9746 int res1 = 0 ;
9747 void *argp2 = 0 ;
9748 int res2 = 0 ;
9749 void *argp3 = 0 ;
9750 int res3 = 0 ;
9751 int val4 ;
9752 int ecode4 = 0 ;
9753 PyObject * obj0 = 0 ;
9754 PyObject * obj1 = 0 ;
9755 PyObject * obj2 = 0 ;
9756 PyObject * obj3 = 0 ;
9757 char * kwnames[] = {
9758 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9759 };
9760
9761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9763 if (!SWIG_IsOK(res1)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9765 }
9766 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9768 if (!SWIG_IsOK(res2)) {
9769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9770 }
9771 arg2 = reinterpret_cast< wxWindow * >(argp2);
9772 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9773 if (!SWIG_IsOK(res3)) {
9774 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9775 }
9776 arg3 = reinterpret_cast< wxWindow * >(argp3);
9777 if (obj3) {
9778 ecode4 = SWIG_AsVal_int(obj3, &val4);
9779 if (!SWIG_IsOK(ecode4)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9781 }
9782 arg4 = static_cast< int >(val4);
9783 }
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 {
9791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9792 }
9793 return resultobj;
9794 fail:
9795 return NULL;
9796 }
9797
9798
9799 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj = 0;
9801 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9802 wxWindow *arg2 = (wxWindow *) 0 ;
9803 wxWindow *arg3 = (wxWindow *) 0 ;
9804 int arg4 = (int) 0 ;
9805 bool result;
9806 void *argp1 = 0 ;
9807 int res1 = 0 ;
9808 void *argp2 = 0 ;
9809 int res2 = 0 ;
9810 void *argp3 = 0 ;
9811 int res3 = 0 ;
9812 int val4 ;
9813 int ecode4 = 0 ;
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816 PyObject * obj2 = 0 ;
9817 PyObject * obj3 = 0 ;
9818 char * kwnames[] = {
9819 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9820 };
9821
9822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9824 if (!SWIG_IsOK(res1)) {
9825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9826 }
9827 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9829 if (!SWIG_IsOK(res2)) {
9830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9831 }
9832 arg2 = reinterpret_cast< wxWindow * >(argp2);
9833 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9834 if (!SWIG_IsOK(res3)) {
9835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9836 }
9837 arg3 = reinterpret_cast< wxWindow * >(argp3);
9838 if (obj3) {
9839 ecode4 = SWIG_AsVal_int(obj3, &val4);
9840 if (!SWIG_IsOK(ecode4)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9842 }
9843 arg4 = static_cast< int >(val4);
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 {
9852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9853 }
9854 return resultobj;
9855 fail:
9856 return NULL;
9857 }
9858
9859
9860 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj = 0;
9862 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9863 wxWindow *arg2 = (wxWindow *) NULL ;
9864 bool result;
9865 void *argp1 = 0 ;
9866 int res1 = 0 ;
9867 void *argp2 = 0 ;
9868 int res2 = 0 ;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char * kwnames[] = {
9872 (char *) "self",(char *) "toRemove", NULL
9873 };
9874
9875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9877 if (!SWIG_IsOK(res1)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9879 }
9880 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9881 if (obj1) {
9882 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9883 if (!SWIG_IsOK(res2)) {
9884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9885 }
9886 arg2 = reinterpret_cast< wxWindow * >(argp2);
9887 }
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = (bool)(arg1)->Unsplit(arg2);
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 {
9895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9896 }
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj = 0;
9905 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9906 wxWindow *arg2 = (wxWindow *) 0 ;
9907 wxWindow *arg3 = (wxWindow *) 0 ;
9908 bool result;
9909 void *argp1 = 0 ;
9910 int res1 = 0 ;
9911 void *argp2 = 0 ;
9912 int res2 = 0 ;
9913 void *argp3 = 0 ;
9914 int res3 = 0 ;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 PyObject * obj2 = 0 ;
9918 char * kwnames[] = {
9919 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9920 };
9921
9922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9924 if (!SWIG_IsOK(res1)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9926 }
9927 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9928 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9929 if (!SWIG_IsOK(res2)) {
9930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9931 }
9932 arg2 = reinterpret_cast< wxWindow * >(argp2);
9933 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9934 if (!SWIG_IsOK(res3)) {
9935 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9936 }
9937 arg3 = reinterpret_cast< wxWindow * >(argp3);
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 {
9945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9946 }
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9954 PyObject *resultobj = 0;
9955 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9956 void *argp1 = 0 ;
9957 int res1 = 0 ;
9958 PyObject *swig_obj[1] ;
9959
9960 if (!args) SWIG_fail;
9961 swig_obj[0] = args;
9962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9963 if (!SWIG_IsOK(res1)) {
9964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9965 }
9966 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->UpdateSize();
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 resultobj = SWIG_Py_Void();
9974 return resultobj;
9975 fail:
9976 return NULL;
9977 }
9978
9979
9980 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9981 PyObject *resultobj = 0;
9982 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9983 bool result;
9984 void *argp1 = 0 ;
9985 int res1 = 0 ;
9986 PyObject *swig_obj[1] ;
9987
9988 if (!args) SWIG_fail;
9989 swig_obj[0] = args;
9990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9991 if (!SWIG_IsOK(res1)) {
9992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9993 }
9994 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 {
10002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10003 }
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj = 0;
10012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10013 int arg2 ;
10014 void *argp1 = 0 ;
10015 int res1 = 0 ;
10016 int val2 ;
10017 int ecode2 = 0 ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 char * kwnames[] = {
10021 (char *) "self",(char *) "width", NULL
10022 };
10023
10024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 }
10029 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10030 ecode2 = SWIG_AsVal_int(obj1, &val2);
10031 if (!SWIG_IsOK(ecode2)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10033 }
10034 arg2 = static_cast< int >(val2);
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->SetSashSize(arg2);
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 resultobj = SWIG_Py_Void();
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj = 0;
10050 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10051 int arg2 ;
10052 void *argp1 = 0 ;
10053 int res1 = 0 ;
10054 int val2 ;
10055 int ecode2 = 0 ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 char * kwnames[] = {
10059 (char *) "self",(char *) "width", NULL
10060 };
10061
10062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10064 if (!SWIG_IsOK(res1)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10066 }
10067 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10068 ecode2 = SWIG_AsVal_int(obj1, &val2);
10069 if (!SWIG_IsOK(ecode2)) {
10070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10071 }
10072 arg2 = static_cast< int >(val2);
10073 {
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 (arg1)->SetBorderSize(arg2);
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = SWIG_Py_Void();
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10087 PyObject *resultobj = 0;
10088 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10089 int result;
10090 void *argp1 = 0 ;
10091 int res1 = 0 ;
10092 PyObject *swig_obj[1] ;
10093
10094 if (!args) SWIG_fail;
10095 swig_obj[0] = args;
10096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10097 if (!SWIG_IsOK(res1)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10099 }
10100 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_From_int(static_cast< int >(result));
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *resultobj = 0;
10116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10117 int result;
10118 void *argp1 = 0 ;
10119 int res1 = 0 ;
10120 PyObject *swig_obj[1] ;
10121
10122 if (!args) SWIG_fail;
10123 swig_obj[0] = args;
10124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10125 if (!SWIG_IsOK(res1)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 }
10128 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_From_int(static_cast< int >(result));
10136 return resultobj;
10137 fail:
10138 return NULL;
10139 }
10140
10141
10142 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj = 0;
10144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10145 int arg2 ;
10146 bool arg3 = (bool) true ;
10147 void *argp1 = 0 ;
10148 int res1 = 0 ;
10149 int val2 ;
10150 int ecode2 = 0 ;
10151 bool val3 ;
10152 int ecode3 = 0 ;
10153 PyObject * obj0 = 0 ;
10154 PyObject * obj1 = 0 ;
10155 PyObject * obj2 = 0 ;
10156 char * kwnames[] = {
10157 (char *) "self",(char *) "position",(char *) "redraw", NULL
10158 };
10159
10160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10162 if (!SWIG_IsOK(res1)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10164 }
10165 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10166 ecode2 = SWIG_AsVal_int(obj1, &val2);
10167 if (!SWIG_IsOK(ecode2)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10169 }
10170 arg2 = static_cast< int >(val2);
10171 if (obj2) {
10172 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10173 if (!SWIG_IsOK(ecode3)) {
10174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10175 }
10176 arg3 = static_cast< bool >(val3);
10177 }
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 (arg1)->SetSashPosition(arg2,arg3);
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_Py_Void();
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10192 PyObject *resultobj = 0;
10193 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10194 int result;
10195 void *argp1 = 0 ;
10196 int res1 = 0 ;
10197 PyObject *swig_obj[1] ;
10198
10199 if (!args) SWIG_fail;
10200 swig_obj[0] = args;
10201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10202 if (!SWIG_IsOK(res1)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10204 }
10205 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 resultobj = SWIG_From_int(static_cast< int >(result));
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj = 0;
10221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10222 double arg2 ;
10223 void *argp1 = 0 ;
10224 int res1 = 0 ;
10225 double val2 ;
10226 int ecode2 = 0 ;
10227 PyObject * obj0 = 0 ;
10228 PyObject * obj1 = 0 ;
10229 char * kwnames[] = {
10230 (char *) "self",(char *) "gravity", NULL
10231 };
10232
10233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 }
10238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10239 ecode2 = SWIG_AsVal_double(obj1, &val2);
10240 if (!SWIG_IsOK(ecode2)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10242 }
10243 arg2 = static_cast< double >(val2);
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetSashGravity(arg2);
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 resultobj = SWIG_Py_Void();
10251 return resultobj;
10252 fail:
10253 return NULL;
10254 }
10255
10256
10257 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10258 PyObject *resultobj = 0;
10259 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10260 double result;
10261 void *argp1 = 0 ;
10262 int res1 = 0 ;
10263 PyObject *swig_obj[1] ;
10264
10265 if (!args) SWIG_fail;
10266 swig_obj[0] = args;
10267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10268 if (!SWIG_IsOK(res1)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10270 }
10271 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 resultobj = SWIG_From_double(static_cast< double >(result));
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj = 0;
10287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10288 int arg2 ;
10289 void *argp1 = 0 ;
10290 int res1 = 0 ;
10291 int val2 ;
10292 int ecode2 = 0 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char * kwnames[] = {
10296 (char *) "self",(char *) "min", NULL
10297 };
10298
10299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10301 if (!SWIG_IsOK(res1)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10303 }
10304 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10305 ecode2 = SWIG_AsVal_int(obj1, &val2);
10306 if (!SWIG_IsOK(ecode2)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10308 }
10309 arg2 = static_cast< int >(val2);
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SetMinimumPaneSize(arg2);
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_Py_Void();
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10324 PyObject *resultobj = 0;
10325 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10326 int result;
10327 void *argp1 = 0 ;
10328 int res1 = 0 ;
10329 PyObject *swig_obj[1] ;
10330
10331 if (!args) SWIG_fail;
10332 swig_obj[0] = args;
10333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10334 if (!SWIG_IsOK(res1)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10336 }
10337 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_From_int(static_cast< int >(result));
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj = 0;
10353 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10354 int arg2 ;
10355 int arg3 ;
10356 int arg4 = (int) 5 ;
10357 bool result;
10358 void *argp1 = 0 ;
10359 int res1 = 0 ;
10360 int val2 ;
10361 int ecode2 = 0 ;
10362 int val3 ;
10363 int ecode3 = 0 ;
10364 int val4 ;
10365 int ecode4 = 0 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 PyObject * obj2 = 0 ;
10369 PyObject * obj3 = 0 ;
10370 char * kwnames[] = {
10371 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10372 };
10373
10374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10376 if (!SWIG_IsOK(res1)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10378 }
10379 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10380 ecode2 = SWIG_AsVal_int(obj1, &val2);
10381 if (!SWIG_IsOK(ecode2)) {
10382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10383 }
10384 arg2 = static_cast< int >(val2);
10385 ecode3 = SWIG_AsVal_int(obj2, &val3);
10386 if (!SWIG_IsOK(ecode3)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10388 }
10389 arg3 = static_cast< int >(val3);
10390 if (obj3) {
10391 ecode4 = SWIG_AsVal_int(obj3, &val4);
10392 if (!SWIG_IsOK(ecode4)) {
10393 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10394 }
10395 arg4 = static_cast< int >(val4);
10396 }
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 {
10404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10405 }
10406 return resultobj;
10407 fail:
10408 return NULL;
10409 }
10410
10411
10412 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10413 PyObject *resultobj = 0;
10414 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10415 void *argp1 = 0 ;
10416 int res1 = 0 ;
10417 PyObject *swig_obj[1] ;
10418
10419 if (!args) SWIG_fail;
10420 swig_obj[0] = args;
10421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10422 if (!SWIG_IsOK(res1)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10424 }
10425 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 (arg1)->SizeWindows();
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 resultobj = SWIG_Py_Void();
10433 return resultobj;
10434 fail:
10435 return NULL;
10436 }
10437
10438
10439 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10440 PyObject *resultobj = 0;
10441 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10442 bool arg2 ;
10443 void *argp1 = 0 ;
10444 int res1 = 0 ;
10445 bool val2 ;
10446 int ecode2 = 0 ;
10447 PyObject * obj0 = 0 ;
10448 PyObject * obj1 = 0 ;
10449 char * kwnames[] = {
10450 (char *) "self",(char *) "needUpdating", NULL
10451 };
10452
10453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10455 if (!SWIG_IsOK(res1)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10457 }
10458 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10459 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10460 if (!SWIG_IsOK(ecode2)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10462 }
10463 arg2 = static_cast< bool >(val2);
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 (arg1)->SetNeedUpdating(arg2);
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 resultobj = SWIG_Py_Void();
10471 return resultobj;
10472 fail:
10473 return NULL;
10474 }
10475
10476
10477 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10478 PyObject *resultobj = 0;
10479 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10480 bool result;
10481 void *argp1 = 0 ;
10482 int res1 = 0 ;
10483 PyObject *swig_obj[1] ;
10484
10485 if (!args) SWIG_fail;
10486 swig_obj[0] = args;
10487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10488 if (!SWIG_IsOK(res1)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10490 }
10491 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 {
10499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10500 }
10501 return resultobj;
10502 fail:
10503 return NULL;
10504 }
10505
10506
10507 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj = 0;
10509 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10510 SwigValueWrapper<wxVisualAttributes > result;
10511 int val1 ;
10512 int ecode1 = 0 ;
10513 PyObject * obj0 = 0 ;
10514 char * kwnames[] = {
10515 (char *) "variant", NULL
10516 };
10517
10518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10519 if (obj0) {
10520 ecode1 = SWIG_AsVal_int(obj0, &val1);
10521 if (!SWIG_IsOK(ecode1)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10523 }
10524 arg1 = static_cast< wxWindowVariant >(val1);
10525 }
10526 {
10527 if (!wxPyCheckForApp()) SWIG_fail;
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10541 PyObject *obj;
10542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10543 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10544 return SWIG_Py_Void();
10545 }
10546
10547 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10548 return SWIG_Python_InitShadowInstance(args);
10549 }
10550
10551 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj = 0;
10553 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10554 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10555 wxSplitterEvent *result = 0 ;
10556 int val1 ;
10557 int ecode1 = 0 ;
10558 void *argp2 = 0 ;
10559 int res2 = 0 ;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10562 char * kwnames[] = {
10563 (char *) "type",(char *) "splitter", NULL
10564 };
10565
10566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10567 if (obj0) {
10568 ecode1 = SWIG_AsVal_int(obj0, &val1);
10569 if (!SWIG_IsOK(ecode1)) {
10570 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10571 }
10572 arg1 = static_cast< wxEventType >(val1);
10573 }
10574 if (obj1) {
10575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10576 if (!SWIG_IsOK(res2)) {
10577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10578 }
10579 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10580 }
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
10587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10588 return resultobj;
10589 fail:
10590 return NULL;
10591 }
10592
10593
10594 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10595 PyObject *resultobj = 0;
10596 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10597 int arg2 ;
10598 void *argp1 = 0 ;
10599 int res1 = 0 ;
10600 int val2 ;
10601 int ecode2 = 0 ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 char * kwnames[] = {
10605 (char *) "self",(char *) "pos", NULL
10606 };
10607
10608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10610 if (!SWIG_IsOK(res1)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10612 }
10613 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10614 ecode2 = SWIG_AsVal_int(obj1, &val2);
10615 if (!SWIG_IsOK(ecode2)) {
10616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10617 }
10618 arg2 = static_cast< int >(val2);
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 (arg1)->SetSashPosition(arg2);
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 resultobj = SWIG_Py_Void();
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10633 PyObject *resultobj = 0;
10634 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10635 int result;
10636 void *argp1 = 0 ;
10637 int res1 = 0 ;
10638 PyObject *swig_obj[1] ;
10639
10640 if (!args) SWIG_fail;
10641 swig_obj[0] = args;
10642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10643 if (!SWIG_IsOK(res1)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10645 }
10646 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 resultobj = SWIG_From_int(static_cast< int >(result));
10654 return resultobj;
10655 fail:
10656 return NULL;
10657 }
10658
10659
10660 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10661 PyObject *resultobj = 0;
10662 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10663 wxWindow *result = 0 ;
10664 void *argp1 = 0 ;
10665 int res1 = 0 ;
10666 PyObject *swig_obj[1] ;
10667
10668 if (!args) SWIG_fail;
10669 swig_obj[0] = args;
10670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10671 if (!SWIG_IsOK(res1)) {
10672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10673 }
10674 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 {
10682 resultobj = wxPyMake_wxObject(result, 0);
10683 }
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10691 PyObject *resultobj = 0;
10692 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10693 int result;
10694 void *argp1 = 0 ;
10695 int res1 = 0 ;
10696 PyObject *swig_obj[1] ;
10697
10698 if (!args) SWIG_fail;
10699 swig_obj[0] = args;
10700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10701 if (!SWIG_IsOK(res1)) {
10702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10703 }
10704 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_From_int(static_cast< int >(result));
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10719 PyObject *resultobj = 0;
10720 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10721 int result;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 PyObject *swig_obj[1] ;
10725
10726 if (!args) SWIG_fail;
10727 swig_obj[0] = args;
10728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10729 if (!SWIG_IsOK(res1)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10731 }
10732 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 resultobj = SWIG_From_int(static_cast< int >(result));
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10747 PyObject *obj;
10748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10749 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10750 return SWIG_Py_Void();
10751 }
10752
10753 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10754 return SWIG_Python_InitShadowInstance(args);
10755 }
10756
10757 SWIGINTERN int SashNameStr_set(PyObject *) {
10758 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10759 return 1;
10760 }
10761
10762
10763 SWIGINTERN PyObject *SashNameStr_get(void) {
10764 PyObject *pyobj = 0;
10765
10766 {
10767 #if wxUSE_UNICODE
10768 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10769 #else
10770 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10771 #endif
10772 }
10773 return pyobj;
10774 }
10775
10776
10777 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10778 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10779 return 1;
10780 }
10781
10782
10783 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10784 PyObject *pyobj = 0;
10785
10786 {
10787 #if wxUSE_UNICODE
10788 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10789 #else
10790 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10791 #endif
10792 }
10793 return pyobj;
10794 }
10795
10796
10797 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10798 PyObject *resultobj = 0;
10799 wxWindow *arg1 = (wxWindow *) 0 ;
10800 int arg2 = (int) -1 ;
10801 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10802 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10803 wxSize const &arg4_defvalue = wxDefaultSize ;
10804 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10805 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10806 wxString const &arg6_defvalue = wxPySashNameStr ;
10807 wxString *arg6 = (wxString *) &arg6_defvalue ;
10808 wxSashWindow *result = 0 ;
10809 void *argp1 = 0 ;
10810 int res1 = 0 ;
10811 int val2 ;
10812 int ecode2 = 0 ;
10813 wxPoint temp3 ;
10814 wxSize temp4 ;
10815 long val5 ;
10816 int ecode5 = 0 ;
10817 bool temp6 = false ;
10818 PyObject * obj0 = 0 ;
10819 PyObject * obj1 = 0 ;
10820 PyObject * obj2 = 0 ;
10821 PyObject * obj3 = 0 ;
10822 PyObject * obj4 = 0 ;
10823 PyObject * obj5 = 0 ;
10824 char * kwnames[] = {
10825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10826 };
10827
10828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10830 if (!SWIG_IsOK(res1)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10832 }
10833 arg1 = reinterpret_cast< wxWindow * >(argp1);
10834 if (obj1) {
10835 ecode2 = SWIG_AsVal_int(obj1, &val2);
10836 if (!SWIG_IsOK(ecode2)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10838 }
10839 arg2 = static_cast< int >(val2);
10840 }
10841 if (obj2) {
10842 {
10843 arg3 = &temp3;
10844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10845 }
10846 }
10847 if (obj3) {
10848 {
10849 arg4 = &temp4;
10850 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10851 }
10852 }
10853 if (obj4) {
10854 ecode5 = SWIG_AsVal_long(obj4, &val5);
10855 if (!SWIG_IsOK(ecode5)) {
10856 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10857 }
10858 arg5 = static_cast< long >(val5);
10859 }
10860 if (obj5) {
10861 {
10862 arg6 = wxString_in_helper(obj5);
10863 if (arg6 == NULL) SWIG_fail;
10864 temp6 = true;
10865 }
10866 }
10867 {
10868 if (!wxPyCheckForApp()) SWIG_fail;
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10875 {
10876 if (temp6)
10877 delete arg6;
10878 }
10879 return resultobj;
10880 fail:
10881 {
10882 if (temp6)
10883 delete arg6;
10884 }
10885 return NULL;
10886 }
10887
10888
10889 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10890 PyObject *resultobj = 0;
10891 wxSashWindow *result = 0 ;
10892
10893 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10894 {
10895 if (!wxPyCheckForApp()) SWIG_fail;
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 result = (wxSashWindow *)new wxSashWindow();
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10902 return resultobj;
10903 fail:
10904 return NULL;
10905 }
10906
10907
10908 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj = 0;
10910 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10911 wxWindow *arg2 = (wxWindow *) 0 ;
10912 int arg3 = (int) -1 ;
10913 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10914 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10915 wxSize const &arg5_defvalue = wxDefaultSize ;
10916 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10917 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10918 wxString const &arg7_defvalue = wxPySashNameStr ;
10919 wxString *arg7 = (wxString *) &arg7_defvalue ;
10920 bool result;
10921 void *argp1 = 0 ;
10922 int res1 = 0 ;
10923 void *argp2 = 0 ;
10924 int res2 = 0 ;
10925 int val3 ;
10926 int ecode3 = 0 ;
10927 wxPoint temp4 ;
10928 wxSize temp5 ;
10929 long val6 ;
10930 int ecode6 = 0 ;
10931 bool temp7 = false ;
10932 PyObject * obj0 = 0 ;
10933 PyObject * obj1 = 0 ;
10934 PyObject * obj2 = 0 ;
10935 PyObject * obj3 = 0 ;
10936 PyObject * obj4 = 0 ;
10937 PyObject * obj5 = 0 ;
10938 PyObject * obj6 = 0 ;
10939 char * kwnames[] = {
10940 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10941 };
10942
10943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10945 if (!SWIG_IsOK(res1)) {
10946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10947 }
10948 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10949 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10950 if (!SWIG_IsOK(res2)) {
10951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10952 }
10953 arg2 = reinterpret_cast< wxWindow * >(argp2);
10954 if (obj2) {
10955 ecode3 = SWIG_AsVal_int(obj2, &val3);
10956 if (!SWIG_IsOK(ecode3)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10958 }
10959 arg3 = static_cast< int >(val3);
10960 }
10961 if (obj3) {
10962 {
10963 arg4 = &temp4;
10964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10965 }
10966 }
10967 if (obj4) {
10968 {
10969 arg5 = &temp5;
10970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10971 }
10972 }
10973 if (obj5) {
10974 ecode6 = SWIG_AsVal_long(obj5, &val6);
10975 if (!SWIG_IsOK(ecode6)) {
10976 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10977 }
10978 arg6 = static_cast< long >(val6);
10979 }
10980 if (obj6) {
10981 {
10982 arg7 = wxString_in_helper(obj6);
10983 if (arg7 == NULL) SWIG_fail;
10984 temp7 = true;
10985 }
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 {
10994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10995 }
10996 {
10997 if (temp7)
10998 delete arg7;
10999 }
11000 return resultobj;
11001 fail:
11002 {
11003 if (temp7)
11004 delete arg7;
11005 }
11006 return NULL;
11007 }
11008
11009
11010 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj = 0;
11012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11013 wxSashEdgePosition arg2 ;
11014 bool arg3 ;
11015 void *argp1 = 0 ;
11016 int res1 = 0 ;
11017 int val2 ;
11018 int ecode2 = 0 ;
11019 bool val3 ;
11020 int ecode3 = 0 ;
11021 PyObject * obj0 = 0 ;
11022 PyObject * obj1 = 0 ;
11023 PyObject * obj2 = 0 ;
11024 char * kwnames[] = {
11025 (char *) "self",(char *) "edge",(char *) "sash", NULL
11026 };
11027
11028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11030 if (!SWIG_IsOK(res1)) {
11031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11032 }
11033 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11034 ecode2 = SWIG_AsVal_int(obj1, &val2);
11035 if (!SWIG_IsOK(ecode2)) {
11036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11037 }
11038 arg2 = static_cast< wxSashEdgePosition >(val2);
11039 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11040 if (!SWIG_IsOK(ecode3)) {
11041 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11042 }
11043 arg3 = static_cast< bool >(val3);
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 (arg1)->SetSashVisible(arg2,arg3);
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 resultobj = SWIG_Py_Void();
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj = 0;
11059 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11060 wxSashEdgePosition arg2 ;
11061 bool result;
11062 void *argp1 = 0 ;
11063 int res1 = 0 ;
11064 int val2 ;
11065 int ecode2 = 0 ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 char * kwnames[] = {
11069 (char *) "self",(char *) "edge", NULL
11070 };
11071
11072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11074 if (!SWIG_IsOK(res1)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11076 }
11077 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11078 ecode2 = SWIG_AsVal_int(obj1, &val2);
11079 if (!SWIG_IsOK(ecode2)) {
11080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11081 }
11082 arg2 = static_cast< wxSashEdgePosition >(val2);
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 {
11090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11091 }
11092 return resultobj;
11093 fail:
11094 return NULL;
11095 }
11096
11097
11098 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj = 0;
11100 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11101 wxSashEdgePosition arg2 ;
11102 bool arg3 ;
11103 void *argp1 = 0 ;
11104 int res1 = 0 ;
11105 int val2 ;
11106 int ecode2 = 0 ;
11107 bool val3 ;
11108 int ecode3 = 0 ;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 PyObject * obj2 = 0 ;
11112 char * kwnames[] = {
11113 (char *) "self",(char *) "edge",(char *) "border", NULL
11114 };
11115
11116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11118 if (!SWIG_IsOK(res1)) {
11119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11120 }
11121 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11122 ecode2 = SWIG_AsVal_int(obj1, &val2);
11123 if (!SWIG_IsOK(ecode2)) {
11124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11125 }
11126 arg2 = static_cast< wxSashEdgePosition >(val2);
11127 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11128 if (!SWIG_IsOK(ecode3)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11130 }
11131 arg3 = static_cast< bool >(val3);
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 (arg1)->SetSashBorder(arg2,arg3);
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 resultobj = SWIG_Py_Void();
11139 return resultobj;
11140 fail:
11141 return NULL;
11142 }
11143
11144
11145 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11146 PyObject *resultobj = 0;
11147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11148 wxSashEdgePosition arg2 ;
11149 bool result;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 int val2 ;
11153 int ecode2 = 0 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char * kwnames[] = {
11157 (char *) "self",(char *) "edge", NULL
11158 };
11159
11160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11162 if (!SWIG_IsOK(res1)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11164 }
11165 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11166 ecode2 = SWIG_AsVal_int(obj1, &val2);
11167 if (!SWIG_IsOK(ecode2)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11169 }
11170 arg2 = static_cast< wxSashEdgePosition >(val2);
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 {
11178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11179 }
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj = 0;
11188 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11189 wxSashEdgePosition arg2 ;
11190 int result;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 int val2 ;
11194 int ecode2 = 0 ;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 char * kwnames[] = {
11198 (char *) "self",(char *) "edge", NULL
11199 };
11200
11201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11203 if (!SWIG_IsOK(res1)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11205 }
11206 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11207 ecode2 = SWIG_AsVal_int(obj1, &val2);
11208 if (!SWIG_IsOK(ecode2)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11210 }
11211 arg2 = static_cast< wxSashEdgePosition >(val2);
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 resultobj = SWIG_From_int(static_cast< int >(result));
11219 return resultobj;
11220 fail:
11221 return NULL;
11222 }
11223
11224
11225 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj = 0;
11227 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11228 int arg2 ;
11229 void *argp1 = 0 ;
11230 int res1 = 0 ;
11231 int val2 ;
11232 int ecode2 = 0 ;
11233 PyObject * obj0 = 0 ;
11234 PyObject * obj1 = 0 ;
11235 char * kwnames[] = {
11236 (char *) "self",(char *) "width", NULL
11237 };
11238
11239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11241 if (!SWIG_IsOK(res1)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11243 }
11244 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11245 ecode2 = SWIG_AsVal_int(obj1, &val2);
11246 if (!SWIG_IsOK(ecode2)) {
11247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11248 }
11249 arg2 = static_cast< int >(val2);
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 (arg1)->SetDefaultBorderSize(arg2);
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 resultobj = SWIG_Py_Void();
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11264 PyObject *resultobj = 0;
11265 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11266 int result;
11267 void *argp1 = 0 ;
11268 int res1 = 0 ;
11269 PyObject *swig_obj[1] ;
11270
11271 if (!args) SWIG_fail;
11272 swig_obj[0] = args;
11273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11274 if (!SWIG_IsOK(res1)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11276 }
11277 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_From_int(static_cast< int >(result));
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj = 0;
11293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11294 int arg2 ;
11295 void *argp1 = 0 ;
11296 int res1 = 0 ;
11297 int val2 ;
11298 int ecode2 = 0 ;
11299 PyObject * obj0 = 0 ;
11300 PyObject * obj1 = 0 ;
11301 char * kwnames[] = {
11302 (char *) "self",(char *) "width", NULL
11303 };
11304
11305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11307 if (!SWIG_IsOK(res1)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11309 }
11310 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11311 ecode2 = SWIG_AsVal_int(obj1, &val2);
11312 if (!SWIG_IsOK(ecode2)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11314 }
11315 arg2 = static_cast< int >(val2);
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 (arg1)->SetExtraBorderSize(arg2);
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 resultobj = SWIG_Py_Void();
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11330 PyObject *resultobj = 0;
11331 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11332 int result;
11333 void *argp1 = 0 ;
11334 int res1 = 0 ;
11335 PyObject *swig_obj[1] ;
11336
11337 if (!args) SWIG_fail;
11338 swig_obj[0] = args;
11339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11340 if (!SWIG_IsOK(res1)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11342 }
11343 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_From_int(static_cast< int >(result));
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj = 0;
11359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11360 int arg2 ;
11361 void *argp1 = 0 ;
11362 int res1 = 0 ;
11363 int val2 ;
11364 int ecode2 = 0 ;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char * kwnames[] = {
11368 (char *) "self",(char *) "min", NULL
11369 };
11370
11371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11373 if (!SWIG_IsOK(res1)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11375 }
11376 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11377 ecode2 = SWIG_AsVal_int(obj1, &val2);
11378 if (!SWIG_IsOK(ecode2)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11380 }
11381 arg2 = static_cast< int >(val2);
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 (arg1)->SetMinimumSizeX(arg2);
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 resultobj = SWIG_Py_Void();
11389 return resultobj;
11390 fail:
11391 return NULL;
11392 }
11393
11394
11395 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11396 PyObject *resultobj = 0;
11397 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11398 int arg2 ;
11399 void *argp1 = 0 ;
11400 int res1 = 0 ;
11401 int val2 ;
11402 int ecode2 = 0 ;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char * kwnames[] = {
11406 (char *) "self",(char *) "min", NULL
11407 };
11408
11409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11413 }
11414 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11415 ecode2 = SWIG_AsVal_int(obj1, &val2);
11416 if (!SWIG_IsOK(ecode2)) {
11417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11418 }
11419 arg2 = static_cast< int >(val2);
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 (arg1)->SetMinimumSizeY(arg2);
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 resultobj = SWIG_Py_Void();
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11434 PyObject *resultobj = 0;
11435 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11436 int result;
11437 void *argp1 = 0 ;
11438 int res1 = 0 ;
11439 PyObject *swig_obj[1] ;
11440
11441 if (!args) SWIG_fail;
11442 swig_obj[0] = args;
11443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11444 if (!SWIG_IsOK(res1)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11446 }
11447 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SWIG_From_int(static_cast< int >(result));
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11462 PyObject *resultobj = 0;
11463 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11464 int result;
11465 void *argp1 = 0 ;
11466 int res1 = 0 ;
11467 PyObject *swig_obj[1] ;
11468
11469 if (!args) SWIG_fail;
11470 swig_obj[0] = args;
11471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11472 if (!SWIG_IsOK(res1)) {
11473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11474 }
11475 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 resultobj = SWIG_From_int(static_cast< int >(result));
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj = 0;
11491 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11492 int arg2 ;
11493 void *argp1 = 0 ;
11494 int res1 = 0 ;
11495 int val2 ;
11496 int ecode2 = 0 ;
11497 PyObject * obj0 = 0 ;
11498 PyObject * obj1 = 0 ;
11499 char * kwnames[] = {
11500 (char *) "self",(char *) "max", NULL
11501 };
11502
11503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11505 if (!SWIG_IsOK(res1)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11507 }
11508 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11509 ecode2 = SWIG_AsVal_int(obj1, &val2);
11510 if (!SWIG_IsOK(ecode2)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11512 }
11513 arg2 = static_cast< int >(val2);
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 (arg1)->SetMaximumSizeX(arg2);
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 resultobj = SWIG_Py_Void();
11521 return resultobj;
11522 fail:
11523 return NULL;
11524 }
11525
11526
11527 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11528 PyObject *resultobj = 0;
11529 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11530 int arg2 ;
11531 void *argp1 = 0 ;
11532 int res1 = 0 ;
11533 int val2 ;
11534 int ecode2 = 0 ;
11535 PyObject * obj0 = 0 ;
11536 PyObject * obj1 = 0 ;
11537 char * kwnames[] = {
11538 (char *) "self",(char *) "max", NULL
11539 };
11540
11541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11543 if (!SWIG_IsOK(res1)) {
11544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11545 }
11546 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11547 ecode2 = SWIG_AsVal_int(obj1, &val2);
11548 if (!SWIG_IsOK(ecode2)) {
11549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11550 }
11551 arg2 = static_cast< int >(val2);
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 (arg1)->SetMaximumSizeY(arg2);
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 resultobj = SWIG_Py_Void();
11559 return resultobj;
11560 fail:
11561 return NULL;
11562 }
11563
11564
11565 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11566 PyObject *resultobj = 0;
11567 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11568 int result;
11569 void *argp1 = 0 ;
11570 int res1 = 0 ;
11571 PyObject *swig_obj[1] ;
11572
11573 if (!args) SWIG_fail;
11574 swig_obj[0] = args;
11575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11576 if (!SWIG_IsOK(res1)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11578 }
11579 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11580 {
11581 PyThreadState* __tstate = wxPyBeginAllowThreads();
11582 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = SWIG_From_int(static_cast< int >(result));
11587 return resultobj;
11588 fail:
11589 return NULL;
11590 }
11591
11592
11593 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11594 PyObject *resultobj = 0;
11595 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11596 int result;
11597 void *argp1 = 0 ;
11598 int res1 = 0 ;
11599 PyObject *swig_obj[1] ;
11600
11601 if (!args) SWIG_fail;
11602 swig_obj[0] = args;
11603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11604 if (!SWIG_IsOK(res1)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11606 }
11607 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_From_int(static_cast< int >(result));
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj = 0;
11623 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11624 int arg2 ;
11625 int arg3 ;
11626 int arg4 = (int) 2 ;
11627 wxSashEdgePosition result;
11628 void *argp1 = 0 ;
11629 int res1 = 0 ;
11630 int val2 ;
11631 int ecode2 = 0 ;
11632 int val3 ;
11633 int ecode3 = 0 ;
11634 int val4 ;
11635 int ecode4 = 0 ;
11636 PyObject * obj0 = 0 ;
11637 PyObject * obj1 = 0 ;
11638 PyObject * obj2 = 0 ;
11639 PyObject * obj3 = 0 ;
11640 char * kwnames[] = {
11641 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11642 };
11643
11644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11646 if (!SWIG_IsOK(res1)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11648 }
11649 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11650 ecode2 = SWIG_AsVal_int(obj1, &val2);
11651 if (!SWIG_IsOK(ecode2)) {
11652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11653 }
11654 arg2 = static_cast< int >(val2);
11655 ecode3 = SWIG_AsVal_int(obj2, &val3);
11656 if (!SWIG_IsOK(ecode3)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11658 }
11659 arg3 = static_cast< int >(val3);
11660 if (obj3) {
11661 ecode4 = SWIG_AsVal_int(obj3, &val4);
11662 if (!SWIG_IsOK(ecode4)) {
11663 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11664 }
11665 arg4 = static_cast< int >(val4);
11666 }
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 resultobj = SWIG_From_int(static_cast< int >(result));
11674 return resultobj;
11675 fail:
11676 return NULL;
11677 }
11678
11679
11680 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11681 PyObject *resultobj = 0;
11682 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11683 void *argp1 = 0 ;
11684 int res1 = 0 ;
11685 PyObject *swig_obj[1] ;
11686
11687 if (!args) SWIG_fail;
11688 swig_obj[0] = args;
11689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11690 if (!SWIG_IsOK(res1)) {
11691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11692 }
11693 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 (arg1)->SizeWindows();
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 resultobj = SWIG_Py_Void();
11701 return resultobj;
11702 fail:
11703 return NULL;
11704 }
11705
11706
11707 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11708 PyObject *obj;
11709 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11710 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11711 return SWIG_Py_Void();
11712 }
11713
11714 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11715 return SWIG_Python_InitShadowInstance(args);
11716 }
11717
11718 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj = 0;
11720 int arg1 = (int) 0 ;
11721 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11722 wxSashEvent *result = 0 ;
11723 int val1 ;
11724 int ecode1 = 0 ;
11725 int val2 ;
11726 int ecode2 = 0 ;
11727 PyObject * obj0 = 0 ;
11728 PyObject * obj1 = 0 ;
11729 char * kwnames[] = {
11730 (char *) "id",(char *) "edge", NULL
11731 };
11732
11733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11734 if (obj0) {
11735 ecode1 = SWIG_AsVal_int(obj0, &val1);
11736 if (!SWIG_IsOK(ecode1)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11738 }
11739 arg1 = static_cast< int >(val1);
11740 }
11741 if (obj1) {
11742 ecode2 = SWIG_AsVal_int(obj1, &val2);
11743 if (!SWIG_IsOK(ecode2)) {
11744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11745 }
11746 arg2 = static_cast< wxSashEdgePosition >(val2);
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11755 return resultobj;
11756 fail:
11757 return NULL;
11758 }
11759
11760
11761 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj = 0;
11763 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11764 wxSashEdgePosition arg2 ;
11765 void *argp1 = 0 ;
11766 int res1 = 0 ;
11767 int val2 ;
11768 int ecode2 = 0 ;
11769 PyObject * obj0 = 0 ;
11770 PyObject * obj1 = 0 ;
11771 char * kwnames[] = {
11772 (char *) "self",(char *) "edge", NULL
11773 };
11774
11775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11777 if (!SWIG_IsOK(res1)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11779 }
11780 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11781 ecode2 = SWIG_AsVal_int(obj1, &val2);
11782 if (!SWIG_IsOK(ecode2)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11784 }
11785 arg2 = static_cast< wxSashEdgePosition >(val2);
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 (arg1)->SetEdge(arg2);
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 resultobj = SWIG_Py_Void();
11793 return resultobj;
11794 fail:
11795 return NULL;
11796 }
11797
11798
11799 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11800 PyObject *resultobj = 0;
11801 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11802 wxSashEdgePosition result;
11803 void *argp1 = 0 ;
11804 int res1 = 0 ;
11805 PyObject *swig_obj[1] ;
11806
11807 if (!args) SWIG_fail;
11808 swig_obj[0] = args;
11809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11810 if (!SWIG_IsOK(res1)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11812 }
11813 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 resultobj = SWIG_From_int(static_cast< int >(result));
11821 return resultobj;
11822 fail:
11823 return NULL;
11824 }
11825
11826
11827 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj = 0;
11829 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11830 wxRect *arg2 = 0 ;
11831 void *argp1 = 0 ;
11832 int res1 = 0 ;
11833 wxRect temp2 ;
11834 PyObject * obj0 = 0 ;
11835 PyObject * obj1 = 0 ;
11836 char * kwnames[] = {
11837 (char *) "self",(char *) "rect", NULL
11838 };
11839
11840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11842 if (!SWIG_IsOK(res1)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11844 }
11845 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11846 {
11847 arg2 = &temp2;
11848 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11849 }
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->SetDragRect((wxRect const &)*arg2);
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_Py_Void();
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11864 PyObject *resultobj = 0;
11865 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11866 wxRect result;
11867 void *argp1 = 0 ;
11868 int res1 = 0 ;
11869 PyObject *swig_obj[1] ;
11870
11871 if (!args) SWIG_fail;
11872 swig_obj[0] = args;
11873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11874 if (!SWIG_IsOK(res1)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11876 }
11877 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 result = ((wxSashEvent const *)arg1)->GetDragRect();
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11885 return resultobj;
11886 fail:
11887 return NULL;
11888 }
11889
11890
11891 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj = 0;
11893 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11894 wxSashDragStatus arg2 ;
11895 void *argp1 = 0 ;
11896 int res1 = 0 ;
11897 int val2 ;
11898 int ecode2 = 0 ;
11899 PyObject * obj0 = 0 ;
11900 PyObject * obj1 = 0 ;
11901 char * kwnames[] = {
11902 (char *) "self",(char *) "status", NULL
11903 };
11904
11905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11907 if (!SWIG_IsOK(res1)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11909 }
11910 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11911 ecode2 = SWIG_AsVal_int(obj1, &val2);
11912 if (!SWIG_IsOK(ecode2)) {
11913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11914 }
11915 arg2 = static_cast< wxSashDragStatus >(val2);
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->SetDragStatus(arg2);
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = SWIG_Py_Void();
11923 return resultobj;
11924 fail:
11925 return NULL;
11926 }
11927
11928
11929 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11930 PyObject *resultobj = 0;
11931 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11932 wxSashDragStatus result;
11933 void *argp1 = 0 ;
11934 int res1 = 0 ;
11935 PyObject *swig_obj[1] ;
11936
11937 if (!args) SWIG_fail;
11938 swig_obj[0] = args;
11939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11940 if (!SWIG_IsOK(res1)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11942 }
11943 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_From_int(static_cast< int >(result));
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11958 PyObject *obj;
11959 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11960 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11961 return SWIG_Py_Void();
11962 }
11963
11964 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11965 return SWIG_Python_InitShadowInstance(args);
11966 }
11967
11968 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj = 0;
11970 int arg1 = (int) 0 ;
11971 wxQueryLayoutInfoEvent *result = 0 ;
11972 int val1 ;
11973 int ecode1 = 0 ;
11974 PyObject * obj0 = 0 ;
11975 char * kwnames[] = {
11976 (char *) "id", NULL
11977 };
11978
11979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11980 if (obj0) {
11981 ecode1 = SWIG_AsVal_int(obj0, &val1);
11982 if (!SWIG_IsOK(ecode1)) {
11983 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11984 }
11985 arg1 = static_cast< int >(val1);
11986 }
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj = 0;
12002 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12003 int arg2 ;
12004 void *argp1 = 0 ;
12005 int res1 = 0 ;
12006 int val2 ;
12007 int ecode2 = 0 ;
12008 PyObject * obj0 = 0 ;
12009 PyObject * obj1 = 0 ;
12010 char * kwnames[] = {
12011 (char *) "self",(char *) "length", NULL
12012 };
12013
12014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12016 if (!SWIG_IsOK(res1)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12018 }
12019 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12020 ecode2 = SWIG_AsVal_int(obj1, &val2);
12021 if (!SWIG_IsOK(ecode2)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12023 }
12024 arg2 = static_cast< int >(val2);
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 (arg1)->SetRequestedLength(arg2);
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 resultobj = SWIG_Py_Void();
12032 return resultobj;
12033 fail:
12034 return NULL;
12035 }
12036
12037
12038 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12039 PyObject *resultobj = 0;
12040 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12041 int result;
12042 void *argp1 = 0 ;
12043 int res1 = 0 ;
12044 PyObject *swig_obj[1] ;
12045
12046 if (!args) SWIG_fail;
12047 swig_obj[0] = args;
12048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12049 if (!SWIG_IsOK(res1)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12051 }
12052 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_From_int(static_cast< int >(result));
12060 return resultobj;
12061 fail:
12062 return NULL;
12063 }
12064
12065
12066 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj = 0;
12068 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12069 int arg2 ;
12070 void *argp1 = 0 ;
12071 int res1 = 0 ;
12072 int val2 ;
12073 int ecode2 = 0 ;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char * kwnames[] = {
12077 (char *) "self",(char *) "flags", NULL
12078 };
12079
12080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12082 if (!SWIG_IsOK(res1)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12084 }
12085 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12086 ecode2 = SWIG_AsVal_int(obj1, &val2);
12087 if (!SWIG_IsOK(ecode2)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12089 }
12090 arg2 = static_cast< int >(val2);
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetFlags(arg2);
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 resultobj = SWIG_Py_Void();
12098 return resultobj;
12099 fail:
12100 return NULL;
12101 }
12102
12103
12104 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12105 PyObject *resultobj = 0;
12106 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12107 int result;
12108 void *argp1 = 0 ;
12109 int res1 = 0 ;
12110 PyObject *swig_obj[1] ;
12111
12112 if (!args) SWIG_fail;
12113 swig_obj[0] = args;
12114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12115 if (!SWIG_IsOK(res1)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12117 }
12118 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 resultobj = SWIG_From_int(static_cast< int >(result));
12126 return resultobj;
12127 fail:
12128 return NULL;
12129 }
12130
12131
12132 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj = 0;
12134 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12135 wxSize *arg2 = 0 ;
12136 void *argp1 = 0 ;
12137 int res1 = 0 ;
12138 wxSize temp2 ;
12139 PyObject * obj0 = 0 ;
12140 PyObject * obj1 = 0 ;
12141 char * kwnames[] = {
12142 (char *) "self",(char *) "size", NULL
12143 };
12144
12145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12147 if (!SWIG_IsOK(res1)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12149 }
12150 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12151 {
12152 arg2 = &temp2;
12153 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12154 }
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetSize((wxSize const &)*arg2);
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_Py_Void();
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12169 PyObject *resultobj = 0;
12170 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12171 wxSize result;
12172 void *argp1 = 0 ;
12173 int res1 = 0 ;
12174 PyObject *swig_obj[1] ;
12175
12176 if (!args) SWIG_fail;
12177 swig_obj[0] = args;
12178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12179 if (!SWIG_IsOK(res1)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12181 }
12182 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj = 0;
12198 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12199 wxLayoutOrientation arg2 ;
12200 void *argp1 = 0 ;
12201 int res1 = 0 ;
12202 int val2 ;
12203 int ecode2 = 0 ;
12204 PyObject * obj0 = 0 ;
12205 PyObject * obj1 = 0 ;
12206 char * kwnames[] = {
12207 (char *) "self",(char *) "orient", NULL
12208 };
12209
12210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12212 if (!SWIG_IsOK(res1)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12214 }
12215 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12216 ecode2 = SWIG_AsVal_int(obj1, &val2);
12217 if (!SWIG_IsOK(ecode2)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12219 }
12220 arg2 = static_cast< wxLayoutOrientation >(val2);
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->SetOrientation(arg2);
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_Py_Void();
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12235 PyObject *resultobj = 0;
12236 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12237 wxLayoutOrientation result;
12238 void *argp1 = 0 ;
12239 int res1 = 0 ;
12240 PyObject *swig_obj[1] ;
12241
12242 if (!args) SWIG_fail;
12243 swig_obj[0] = args;
12244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12245 if (!SWIG_IsOK(res1)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12247 }
12248 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_From_int(static_cast< int >(result));
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj = 0;
12264 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12265 wxLayoutAlignment arg2 ;
12266 void *argp1 = 0 ;
12267 int res1 = 0 ;
12268 int val2 ;
12269 int ecode2 = 0 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char * kwnames[] = {
12273 (char *) "self",(char *) "align", NULL
12274 };
12275
12276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12278 if (!SWIG_IsOK(res1)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12280 }
12281 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12282 ecode2 = SWIG_AsVal_int(obj1, &val2);
12283 if (!SWIG_IsOK(ecode2)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12285 }
12286 arg2 = static_cast< wxLayoutAlignment >(val2);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 (arg1)->SetAlignment(arg2);
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_Py_Void();
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12301 PyObject *resultobj = 0;
12302 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12303 wxLayoutAlignment result;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 PyObject *swig_obj[1] ;
12307
12308 if (!args) SWIG_fail;
12309 swig_obj[0] = args;
12310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12311 if (!SWIG_IsOK(res1)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12313 }
12314 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = SWIG_From_int(static_cast< int >(result));
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12329 PyObject *obj;
12330 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12331 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12332 return SWIG_Py_Void();
12333 }
12334
12335 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12336 return SWIG_Python_InitShadowInstance(args);
12337 }
12338
12339 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj = 0;
12341 int arg1 = (int) 0 ;
12342 wxCalculateLayoutEvent *result = 0 ;
12343 int val1 ;
12344 int ecode1 = 0 ;
12345 PyObject * obj0 = 0 ;
12346 char * kwnames[] = {
12347 (char *) "id", NULL
12348 };
12349
12350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12351 if (obj0) {
12352 ecode1 = SWIG_AsVal_int(obj0, &val1);
12353 if (!SWIG_IsOK(ecode1)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12355 }
12356 arg1 = static_cast< int >(val1);
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj = 0;
12373 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12374 int arg2 ;
12375 void *argp1 = 0 ;
12376 int res1 = 0 ;
12377 int val2 ;
12378 int ecode2 = 0 ;
12379 PyObject * obj0 = 0 ;
12380 PyObject * obj1 = 0 ;
12381 char * kwnames[] = {
12382 (char *) "self",(char *) "flags", NULL
12383 };
12384
12385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12387 if (!SWIG_IsOK(res1)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12389 }
12390 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12391 ecode2 = SWIG_AsVal_int(obj1, &val2);
12392 if (!SWIG_IsOK(ecode2)) {
12393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12394 }
12395 arg2 = static_cast< int >(val2);
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 (arg1)->SetFlags(arg2);
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 resultobj = SWIG_Py_Void();
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12410 PyObject *resultobj = 0;
12411 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12412 int result;
12413 void *argp1 = 0 ;
12414 int res1 = 0 ;
12415 PyObject *swig_obj[1] ;
12416
12417 if (!args) SWIG_fail;
12418 swig_obj[0] = args;
12419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12420 if (!SWIG_IsOK(res1)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12422 }
12423 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_From_int(static_cast< int >(result));
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj = 0;
12439 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12440 wxRect *arg2 = 0 ;
12441 void *argp1 = 0 ;
12442 int res1 = 0 ;
12443 wxRect temp2 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 char * kwnames[] = {
12447 (char *) "self",(char *) "rect", NULL
12448 };
12449
12450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12452 if (!SWIG_IsOK(res1)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12454 }
12455 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12456 {
12457 arg2 = &temp2;
12458 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12459 }
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 (arg1)->SetRect((wxRect const &)*arg2);
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = SWIG_Py_Void();
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12474 PyObject *resultobj = 0;
12475 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12476 wxRect result;
12477 void *argp1 = 0 ;
12478 int res1 = 0 ;
12479 PyObject *swig_obj[1] ;
12480
12481 if (!args) SWIG_fail;
12482 swig_obj[0] = args;
12483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12484 if (!SWIG_IsOK(res1)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12486 }
12487 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12502 PyObject *obj;
12503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12504 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12505 return SWIG_Py_Void();
12506 }
12507
12508 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12509 return SWIG_Python_InitShadowInstance(args);
12510 }
12511
12512 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj = 0;
12514 wxWindow *arg1 = (wxWindow *) 0 ;
12515 int arg2 = (int) -1 ;
12516 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12517 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12518 wxSize const &arg4_defvalue = wxDefaultSize ;
12519 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12520 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12521 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12522 wxString *arg6 = (wxString *) &arg6_defvalue ;
12523 wxSashLayoutWindow *result = 0 ;
12524 void *argp1 = 0 ;
12525 int res1 = 0 ;
12526 int val2 ;
12527 int ecode2 = 0 ;
12528 wxPoint temp3 ;
12529 wxSize temp4 ;
12530 long val5 ;
12531 int ecode5 = 0 ;
12532 bool temp6 = false ;
12533 PyObject * obj0 = 0 ;
12534 PyObject * obj1 = 0 ;
12535 PyObject * obj2 = 0 ;
12536 PyObject * obj3 = 0 ;
12537 PyObject * obj4 = 0 ;
12538 PyObject * obj5 = 0 ;
12539 char * kwnames[] = {
12540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12541 };
12542
12543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12545 if (!SWIG_IsOK(res1)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12547 }
12548 arg1 = reinterpret_cast< wxWindow * >(argp1);
12549 if (obj1) {
12550 ecode2 = SWIG_AsVal_int(obj1, &val2);
12551 if (!SWIG_IsOK(ecode2)) {
12552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12553 }
12554 arg2 = static_cast< int >(val2);
12555 }
12556 if (obj2) {
12557 {
12558 arg3 = &temp3;
12559 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12560 }
12561 }
12562 if (obj3) {
12563 {
12564 arg4 = &temp4;
12565 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12566 }
12567 }
12568 if (obj4) {
12569 ecode5 = SWIG_AsVal_long(obj4, &val5);
12570 if (!SWIG_IsOK(ecode5)) {
12571 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12572 }
12573 arg5 = static_cast< long >(val5);
12574 }
12575 if (obj5) {
12576 {
12577 arg6 = wxString_in_helper(obj5);
12578 if (arg6 == NULL) SWIG_fail;
12579 temp6 = true;
12580 }
12581 }
12582 {
12583 if (!wxPyCheckForApp()) SWIG_fail;
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12590 {
12591 if (temp6)
12592 delete arg6;
12593 }
12594 return resultobj;
12595 fail:
12596 {
12597 if (temp6)
12598 delete arg6;
12599 }
12600 return NULL;
12601 }
12602
12603
12604 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12605 PyObject *resultobj = 0;
12606 wxSashLayoutWindow *result = 0 ;
12607
12608 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12609 {
12610 if (!wxPyCheckForApp()) SWIG_fail;
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12617 return resultobj;
12618 fail:
12619 return NULL;
12620 }
12621
12622
12623 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj = 0;
12625 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12626 wxWindow *arg2 = (wxWindow *) 0 ;
12627 int arg3 = (int) -1 ;
12628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12630 wxSize const &arg5_defvalue = wxDefaultSize ;
12631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12632 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12633 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12634 wxString *arg7 = (wxString *) &arg7_defvalue ;
12635 bool result;
12636 void *argp1 = 0 ;
12637 int res1 = 0 ;
12638 void *argp2 = 0 ;
12639 int res2 = 0 ;
12640 int val3 ;
12641 int ecode3 = 0 ;
12642 wxPoint temp4 ;
12643 wxSize temp5 ;
12644 long val6 ;
12645 int ecode6 = 0 ;
12646 bool temp7 = false ;
12647 PyObject * obj0 = 0 ;
12648 PyObject * obj1 = 0 ;
12649 PyObject * obj2 = 0 ;
12650 PyObject * obj3 = 0 ;
12651 PyObject * obj4 = 0 ;
12652 PyObject * obj5 = 0 ;
12653 PyObject * obj6 = 0 ;
12654 char * kwnames[] = {
12655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12656 };
12657
12658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12660 if (!SWIG_IsOK(res1)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12662 }
12663 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12665 if (!SWIG_IsOK(res2)) {
12666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12667 }
12668 arg2 = reinterpret_cast< wxWindow * >(argp2);
12669 if (obj2) {
12670 ecode3 = SWIG_AsVal_int(obj2, &val3);
12671 if (!SWIG_IsOK(ecode3)) {
12672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12673 }
12674 arg3 = static_cast< int >(val3);
12675 }
12676 if (obj3) {
12677 {
12678 arg4 = &temp4;
12679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12680 }
12681 }
12682 if (obj4) {
12683 {
12684 arg5 = &temp5;
12685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12686 }
12687 }
12688 if (obj5) {
12689 ecode6 = SWIG_AsVal_long(obj5, &val6);
12690 if (!SWIG_IsOK(ecode6)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12692 }
12693 arg6 = static_cast< long >(val6);
12694 }
12695 if (obj6) {
12696 {
12697 arg7 = wxString_in_helper(obj6);
12698 if (arg7 == NULL) SWIG_fail;
12699 temp7 = true;
12700 }
12701 }
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 {
12709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12710 }
12711 {
12712 if (temp7)
12713 delete arg7;
12714 }
12715 return resultobj;
12716 fail:
12717 {
12718 if (temp7)
12719 delete arg7;
12720 }
12721 return NULL;
12722 }
12723
12724
12725 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12726 PyObject *resultobj = 0;
12727 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12728 wxLayoutAlignment result;
12729 void *argp1 = 0 ;
12730 int res1 = 0 ;
12731 PyObject *swig_obj[1] ;
12732
12733 if (!args) SWIG_fail;
12734 swig_obj[0] = args;
12735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12736 if (!SWIG_IsOK(res1)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12738 }
12739 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 resultobj = SWIG_From_int(static_cast< int >(result));
12747 return resultobj;
12748 fail:
12749 return NULL;
12750 }
12751
12752
12753 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12754 PyObject *resultobj = 0;
12755 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12756 wxLayoutOrientation result;
12757 void *argp1 = 0 ;
12758 int res1 = 0 ;
12759 PyObject *swig_obj[1] ;
12760
12761 if (!args) SWIG_fail;
12762 swig_obj[0] = args;
12763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12764 if (!SWIG_IsOK(res1)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12766 }
12767 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = SWIG_From_int(static_cast< int >(result));
12775 return resultobj;
12776 fail:
12777 return NULL;
12778 }
12779
12780
12781 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj = 0;
12783 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12784 wxLayoutAlignment arg2 ;
12785 void *argp1 = 0 ;
12786 int res1 = 0 ;
12787 int val2 ;
12788 int ecode2 = 0 ;
12789 PyObject * obj0 = 0 ;
12790 PyObject * obj1 = 0 ;
12791 char * kwnames[] = {
12792 (char *) "self",(char *) "alignment", NULL
12793 };
12794
12795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12797 if (!SWIG_IsOK(res1)) {
12798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12799 }
12800 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12801 ecode2 = SWIG_AsVal_int(obj1, &val2);
12802 if (!SWIG_IsOK(ecode2)) {
12803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12804 }
12805 arg2 = static_cast< wxLayoutAlignment >(val2);
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 (arg1)->SetAlignment(arg2);
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 resultobj = SWIG_Py_Void();
12813 return resultobj;
12814 fail:
12815 return NULL;
12816 }
12817
12818
12819 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12820 PyObject *resultobj = 0;
12821 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12822 wxSize *arg2 = 0 ;
12823 void *argp1 = 0 ;
12824 int res1 = 0 ;
12825 wxSize temp2 ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 char * kwnames[] = {
12829 (char *) "self",(char *) "size", NULL
12830 };
12831
12832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12834 if (!SWIG_IsOK(res1)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12836 }
12837 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12838 {
12839 arg2 = &temp2;
12840 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = SWIG_Py_Void();
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj = 0;
12857 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12858 wxLayoutOrientation arg2 ;
12859 void *argp1 = 0 ;
12860 int res1 = 0 ;
12861 int val2 ;
12862 int ecode2 = 0 ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 char * kwnames[] = {
12866 (char *) "self",(char *) "orientation", NULL
12867 };
12868
12869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12871 if (!SWIG_IsOK(res1)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12873 }
12874 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12875 ecode2 = SWIG_AsVal_int(obj1, &val2);
12876 if (!SWIG_IsOK(ecode2)) {
12877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12878 }
12879 arg2 = static_cast< wxLayoutOrientation >(val2);
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 (arg1)->SetOrientation(arg2);
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
12886 resultobj = SWIG_Py_Void();
12887 return resultobj;
12888 fail:
12889 return NULL;
12890 }
12891
12892
12893 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12894 PyObject *obj;
12895 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12896 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12897 return SWIG_Py_Void();
12898 }
12899
12900 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12901 return SWIG_Python_InitShadowInstance(args);
12902 }
12903
12904 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12905 PyObject *resultobj = 0;
12906 wxLayoutAlgorithm *result = 0 ;
12907
12908 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12923 PyObject *resultobj = 0;
12924 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12925 void *argp1 = 0 ;
12926 int res1 = 0 ;
12927 PyObject *swig_obj[1] ;
12928
12929 if (!args) SWIG_fail;
12930 swig_obj[0] = args;
12931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12932 if (!SWIG_IsOK(res1)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12934 }
12935 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 delete arg1;
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 resultobj = SWIG_Py_Void();
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12951 PyObject *resultobj = 0;
12952 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12953 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12954 wxRect *arg3 = (wxRect *) NULL ;
12955 bool result;
12956 void *argp1 = 0 ;
12957 int res1 = 0 ;
12958 void *argp2 = 0 ;
12959 int res2 = 0 ;
12960 void *argp3 = 0 ;
12961 int res3 = 0 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 PyObject * obj2 = 0 ;
12965 char * kwnames[] = {
12966 (char *) "self",(char *) "frame",(char *) "rect", NULL
12967 };
12968
12969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12971 if (!SWIG_IsOK(res1)) {
12972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12973 }
12974 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12975 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12976 if (!SWIG_IsOK(res2)) {
12977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12978 }
12979 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12980 if (obj2) {
12981 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12982 if (!SWIG_IsOK(res3)) {
12983 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12984 }
12985 arg3 = reinterpret_cast< wxRect * >(argp3);
12986 }
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 {
12994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12995 }
12996 return resultobj;
12997 fail:
12998 return NULL;
12999 }
13000
13001
13002 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13003 PyObject *resultobj = 0;
13004 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13005 wxFrame *arg2 = (wxFrame *) 0 ;
13006 wxWindow *arg3 = (wxWindow *) NULL ;
13007 bool result;
13008 void *argp1 = 0 ;
13009 int res1 = 0 ;
13010 void *argp2 = 0 ;
13011 int res2 = 0 ;
13012 void *argp3 = 0 ;
13013 int res3 = 0 ;
13014 PyObject * obj0 = 0 ;
13015 PyObject * obj1 = 0 ;
13016 PyObject * obj2 = 0 ;
13017 char * kwnames[] = {
13018 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13019 };
13020
13021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13023 if (!SWIG_IsOK(res1)) {
13024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13025 }
13026 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13027 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13028 if (!SWIG_IsOK(res2)) {
13029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13030 }
13031 arg2 = reinterpret_cast< wxFrame * >(argp2);
13032 if (obj2) {
13033 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13034 if (!SWIG_IsOK(res3)) {
13035 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13036 }
13037 arg3 = reinterpret_cast< wxWindow * >(argp3);
13038 }
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 {
13046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13047 }
13048 return resultobj;
13049 fail:
13050 return NULL;
13051 }
13052
13053
13054 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj = 0;
13056 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13057 wxWindow *arg2 = (wxWindow *) 0 ;
13058 wxWindow *arg3 = (wxWindow *) NULL ;
13059 bool result;
13060 void *argp1 = 0 ;
13061 int res1 = 0 ;
13062 void *argp2 = 0 ;
13063 int res2 = 0 ;
13064 void *argp3 = 0 ;
13065 int res3 = 0 ;
13066 PyObject * obj0 = 0 ;
13067 PyObject * obj1 = 0 ;
13068 PyObject * obj2 = 0 ;
13069 char * kwnames[] = {
13070 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13071 };
13072
13073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13075 if (!SWIG_IsOK(res1)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13077 }
13078 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13079 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13080 if (!SWIG_IsOK(res2)) {
13081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13082 }
13083 arg2 = reinterpret_cast< wxWindow * >(argp2);
13084 if (obj2) {
13085 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13086 if (!SWIG_IsOK(res3)) {
13087 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13088 }
13089 arg3 = reinterpret_cast< wxWindow * >(argp3);
13090 }
13091 {
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 {
13098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13099 }
13100 return resultobj;
13101 fail:
13102 return NULL;
13103 }
13104
13105
13106 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13107 PyObject *obj;
13108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13109 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13110 return SWIG_Py_Void();
13111 }
13112
13113 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13114 return SWIG_Python_InitShadowInstance(args);
13115 }
13116
13117 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj = 0;
13119 wxWindow *arg1 = (wxWindow *) 0 ;
13120 int arg2 = (int) wxBORDER_NONE ;
13121 wxPopupWindow *result = 0 ;
13122 void *argp1 = 0 ;
13123 int res1 = 0 ;
13124 int val2 ;
13125 int ecode2 = 0 ;
13126 PyObject * obj0 = 0 ;
13127 PyObject * obj1 = 0 ;
13128 char * kwnames[] = {
13129 (char *) "parent",(char *) "flags", NULL
13130 };
13131
13132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13134 if (!SWIG_IsOK(res1)) {
13135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13136 }
13137 arg1 = reinterpret_cast< wxWindow * >(argp1);
13138 if (obj1) {
13139 ecode2 = SWIG_AsVal_int(obj1, &val2);
13140 if (!SWIG_IsOK(ecode2)) {
13141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13142 }
13143 arg2 = static_cast< int >(val2);
13144 }
13145 {
13146 if (!wxPyCheckForApp()) SWIG_fail;
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13149 wxPyEndAllowThreads(__tstate);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13153 return resultobj;
13154 fail:
13155 return NULL;
13156 }
13157
13158
13159 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13160 PyObject *resultobj = 0;
13161 wxPopupWindow *result = 0 ;
13162
13163 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13164 {
13165 if (!wxPyCheckForApp()) SWIG_fail;
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (wxPopupWindow *)new wxPopupWindow();
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13172 return resultobj;
13173 fail:
13174 return NULL;
13175 }
13176
13177
13178 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13179 PyObject *resultobj = 0;
13180 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13181 wxWindow *arg2 = (wxWindow *) 0 ;
13182 int arg3 = (int) wxBORDER_NONE ;
13183 bool result;
13184 void *argp1 = 0 ;
13185 int res1 = 0 ;
13186 void *argp2 = 0 ;
13187 int res2 = 0 ;
13188 int val3 ;
13189 int ecode3 = 0 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 PyObject * obj2 = 0 ;
13193 char * kwnames[] = {
13194 (char *) "self",(char *) "parent",(char *) "flags", NULL
13195 };
13196
13197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13199 if (!SWIG_IsOK(res1)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13201 }
13202 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13204 if (!SWIG_IsOK(res2)) {
13205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13206 }
13207 arg2 = reinterpret_cast< wxWindow * >(argp2);
13208 if (obj2) {
13209 ecode3 = SWIG_AsVal_int(obj2, &val3);
13210 if (!SWIG_IsOK(ecode3)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13212 }
13213 arg3 = static_cast< int >(val3);
13214 }
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (bool)(arg1)->Create(arg2,arg3);
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 {
13222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13223 }
13224 return resultobj;
13225 fail:
13226 return NULL;
13227 }
13228
13229
13230 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj = 0;
13232 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13233 wxPoint *arg2 = 0 ;
13234 wxSize *arg3 = 0 ;
13235 void *argp1 = 0 ;
13236 int res1 = 0 ;
13237 wxPoint temp2 ;
13238 wxSize temp3 ;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 PyObject * obj2 = 0 ;
13242 char * kwnames[] = {
13243 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13244 };
13245
13246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13248 if (!SWIG_IsOK(res1)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13250 }
13251 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13252 {
13253 arg2 = &temp2;
13254 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13255 }
13256 {
13257 arg3 = &temp3;
13258 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13259 }
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13263 wxPyEndAllowThreads(__tstate);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 resultobj = SWIG_Py_Void();
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13274 PyObject *obj;
13275 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13276 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13277 return SWIG_Py_Void();
13278 }
13279
13280 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13281 return SWIG_Python_InitShadowInstance(args);
13282 }
13283
13284 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj = 0;
13286 wxWindow *arg1 = (wxWindow *) 0 ;
13287 int arg2 = (int) wxBORDER_NONE ;
13288 wxPyPopupTransientWindow *result = 0 ;
13289 void *argp1 = 0 ;
13290 int res1 = 0 ;
13291 int val2 ;
13292 int ecode2 = 0 ;
13293 PyObject * obj0 = 0 ;
13294 PyObject * obj1 = 0 ;
13295 char * kwnames[] = {
13296 (char *) "parent",(char *) "style", NULL
13297 };
13298
13299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13301 if (!SWIG_IsOK(res1)) {
13302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13303 }
13304 arg1 = reinterpret_cast< wxWindow * >(argp1);
13305 if (obj1) {
13306 ecode2 = SWIG_AsVal_int(obj1, &val2);
13307 if (!SWIG_IsOK(ecode2)) {
13308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13309 }
13310 arg2 = static_cast< int >(val2);
13311 }
13312 {
13313 if (!wxPyCheckForApp()) SWIG_fail;
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13320 return resultobj;
13321 fail:
13322 return NULL;
13323 }
13324
13325
13326 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13327 PyObject *resultobj = 0;
13328 wxPyPopupTransientWindow *result = 0 ;
13329
13330 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13331 {
13332 if (!wxPyCheckForApp()) SWIG_fail;
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13339 return resultobj;
13340 fail:
13341 return NULL;
13342 }
13343
13344
13345 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj = 0;
13347 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13348 PyObject *arg2 = (PyObject *) 0 ;
13349 PyObject *arg3 = (PyObject *) 0 ;
13350 void *argp1 = 0 ;
13351 int res1 = 0 ;
13352 PyObject * obj0 = 0 ;
13353 PyObject * obj1 = 0 ;
13354 PyObject * obj2 = 0 ;
13355 char * kwnames[] = {
13356 (char *) "self",(char *) "self",(char *) "_class", NULL
13357 };
13358
13359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13361 if (!SWIG_IsOK(res1)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13363 }
13364 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13365 arg2 = obj1;
13366 arg3 = obj2;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->_setCallbackInfo(arg2,arg3);
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 resultobj = SWIG_Py_Void();
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj = 0;
13382 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13383 wxWindow *arg2 = (wxWindow *) NULL ;
13384 void *argp1 = 0 ;
13385 int res1 = 0 ;
13386 void *argp2 = 0 ;
13387 int res2 = 0 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char * kwnames[] = {
13391 (char *) "self",(char *) "focus", NULL
13392 };
13393
13394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13396 if (!SWIG_IsOK(res1)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13398 }
13399 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13400 if (obj1) {
13401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13402 if (!SWIG_IsOK(res2)) {
13403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13404 }
13405 arg2 = reinterpret_cast< wxWindow * >(argp2);
13406 }
13407 {
13408 PyThreadState* __tstate = wxPyBeginAllowThreads();
13409 (arg1)->Popup(arg2);
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 resultobj = SWIG_Py_Void();
13414 return resultobj;
13415 fail:
13416 return NULL;
13417 }
13418
13419
13420 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13421 PyObject *resultobj = 0;
13422 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13423 void *argp1 = 0 ;
13424 int res1 = 0 ;
13425 PyObject *swig_obj[1] ;
13426
13427 if (!args) SWIG_fail;
13428 swig_obj[0] = args;
13429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13430 if (!SWIG_IsOK(res1)) {
13431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13432 }
13433 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 (arg1)->Dismiss();
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_Py_Void();
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13448 PyObject *obj;
13449 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13450 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13451 return SWIG_Py_Void();
13452 }
13453
13454 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 return SWIG_Python_InitShadowInstance(args);
13456 }
13457
13458 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj = 0;
13460 wxWindow *arg1 = (wxWindow *) 0 ;
13461 wxString *arg2 = 0 ;
13462 int arg3 = (int) 100 ;
13463 wxRect *arg4 = (wxRect *) NULL ;
13464 wxTipWindow *result = 0 ;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 bool temp2 = false ;
13468 int val3 ;
13469 int ecode3 = 0 ;
13470 void *argp4 = 0 ;
13471 int res4 = 0 ;
13472 PyObject * obj0 = 0 ;
13473 PyObject * obj1 = 0 ;
13474 PyObject * obj2 = 0 ;
13475 PyObject * obj3 = 0 ;
13476 char * kwnames[] = {
13477 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13478 };
13479
13480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13482 if (!SWIG_IsOK(res1)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13484 }
13485 arg1 = reinterpret_cast< wxWindow * >(argp1);
13486 {
13487 arg2 = wxString_in_helper(obj1);
13488 if (arg2 == NULL) SWIG_fail;
13489 temp2 = true;
13490 }
13491 if (obj2) {
13492 ecode3 = SWIG_AsVal_int(obj2, &val3);
13493 if (!SWIG_IsOK(ecode3)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13495 }
13496 arg3 = static_cast< int >(val3);
13497 }
13498 if (obj3) {
13499 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13500 if (!SWIG_IsOK(res4)) {
13501 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13502 }
13503 arg4 = reinterpret_cast< wxRect * >(argp4);
13504 }
13505 {
13506 if (!wxPyCheckForApp()) SWIG_fail;
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 return resultobj;
13518 fail:
13519 {
13520 if (temp2)
13521 delete arg2;
13522 }
13523 return NULL;
13524 }
13525
13526
13527 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj = 0;
13529 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13530 wxRect *arg2 = 0 ;
13531 void *argp1 = 0 ;
13532 int res1 = 0 ;
13533 wxRect temp2 ;
13534 PyObject * obj0 = 0 ;
13535 PyObject * obj1 = 0 ;
13536 char * kwnames[] = {
13537 (char *) "self",(char *) "rectBound", NULL
13538 };
13539
13540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13542 if (!SWIG_IsOK(res1)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13544 }
13545 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13546 {
13547 arg2 = &temp2;
13548 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13549 }
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 resultobj = SWIG_Py_Void();
13557 return resultobj;
13558 fail:
13559 return NULL;
13560 }
13561
13562
13563 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13564 PyObject *resultobj = 0;
13565 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13566 void *argp1 = 0 ;
13567 int res1 = 0 ;
13568 PyObject *swig_obj[1] ;
13569
13570 if (!args) SWIG_fail;
13571 swig_obj[0] = args;
13572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13573 if (!SWIG_IsOK(res1)) {
13574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13575 }
13576 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 (arg1)->Close();
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 resultobj = SWIG_Py_Void();
13584 return resultobj;
13585 fail:
13586 return NULL;
13587 }
13588
13589
13590 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13591 PyObject *obj;
13592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13594 return SWIG_Py_Void();
13595 }
13596
13597 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13598 return SWIG_Python_InitShadowInstance(args);
13599 }
13600
13601 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj = 0;
13603 wxWindow *arg1 = (wxWindow *) 0 ;
13604 int arg2 = (int) wxID_ANY ;
13605 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13606 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13607 wxSize const &arg4_defvalue = wxDefaultSize ;
13608 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13609 long arg5 = (long) 0 ;
13610 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13611 wxString *arg6 = (wxString *) &arg6_defvalue ;
13612 wxPyVScrolledWindow *result = 0 ;
13613 void *argp1 = 0 ;
13614 int res1 = 0 ;
13615 int val2 ;
13616 int ecode2 = 0 ;
13617 wxPoint temp3 ;
13618 wxSize temp4 ;
13619 long val5 ;
13620 int ecode5 = 0 ;
13621 bool temp6 = false ;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 PyObject * obj2 = 0 ;
13625 PyObject * obj3 = 0 ;
13626 PyObject * obj4 = 0 ;
13627 PyObject * obj5 = 0 ;
13628 char * kwnames[] = {
13629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13630 };
13631
13632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13634 if (!SWIG_IsOK(res1)) {
13635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13636 }
13637 arg1 = reinterpret_cast< wxWindow * >(argp1);
13638 if (obj1) {
13639 ecode2 = SWIG_AsVal_int(obj1, &val2);
13640 if (!SWIG_IsOK(ecode2)) {
13641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13642 }
13643 arg2 = static_cast< int >(val2);
13644 }
13645 if (obj2) {
13646 {
13647 arg3 = &temp3;
13648 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13649 }
13650 }
13651 if (obj3) {
13652 {
13653 arg4 = &temp4;
13654 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13655 }
13656 }
13657 if (obj4) {
13658 ecode5 = SWIG_AsVal_long(obj4, &val5);
13659 if (!SWIG_IsOK(ecode5)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13661 }
13662 arg5 = static_cast< long >(val5);
13663 }
13664 if (obj5) {
13665 {
13666 arg6 = wxString_in_helper(obj5);
13667 if (arg6 == NULL) SWIG_fail;
13668 temp6 = true;
13669 }
13670 }
13671 {
13672 if (!wxPyCheckForApp()) SWIG_fail;
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13679 {
13680 if (temp6)
13681 delete arg6;
13682 }
13683 return resultobj;
13684 fail:
13685 {
13686 if (temp6)
13687 delete arg6;
13688 }
13689 return NULL;
13690 }
13691
13692
13693 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13694 PyObject *resultobj = 0;
13695 wxPyVScrolledWindow *result = 0 ;
13696
13697 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13698 {
13699 if (!wxPyCheckForApp()) SWIG_fail;
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj = 0;
13714 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13715 PyObject *arg2 = (PyObject *) 0 ;
13716 PyObject *arg3 = (PyObject *) 0 ;
13717 void *argp1 = 0 ;
13718 int res1 = 0 ;
13719 PyObject * obj0 = 0 ;
13720 PyObject * obj1 = 0 ;
13721 PyObject * obj2 = 0 ;
13722 char * kwnames[] = {
13723 (char *) "self",(char *) "self",(char *) "_class", NULL
13724 };
13725
13726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13730 }
13731 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13732 arg2 = obj1;
13733 arg3 = obj2;
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->_setCallbackInfo(arg2,arg3);
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 resultobj = SWIG_Py_Void();
13741 return resultobj;
13742 fail:
13743 return NULL;
13744 }
13745
13746
13747 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj = 0;
13749 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13750 wxWindow *arg2 = (wxWindow *) 0 ;
13751 int arg3 = (int) wxID_ANY ;
13752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13754 wxSize const &arg5_defvalue = wxDefaultSize ;
13755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13756 long arg6 = (long) 0 ;
13757 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13758 wxString *arg7 = (wxString *) &arg7_defvalue ;
13759 bool result;
13760 void *argp1 = 0 ;
13761 int res1 = 0 ;
13762 void *argp2 = 0 ;
13763 int res2 = 0 ;
13764 int val3 ;
13765 int ecode3 = 0 ;
13766 wxPoint temp4 ;
13767 wxSize temp5 ;
13768 long val6 ;
13769 int ecode6 = 0 ;
13770 bool temp7 = false ;
13771 PyObject * obj0 = 0 ;
13772 PyObject * obj1 = 0 ;
13773 PyObject * obj2 = 0 ;
13774 PyObject * obj3 = 0 ;
13775 PyObject * obj4 = 0 ;
13776 PyObject * obj5 = 0 ;
13777 PyObject * obj6 = 0 ;
13778 char * kwnames[] = {
13779 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13780 };
13781
13782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13784 if (!SWIG_IsOK(res1)) {
13785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13786 }
13787 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13788 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13789 if (!SWIG_IsOK(res2)) {
13790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13791 }
13792 arg2 = reinterpret_cast< wxWindow * >(argp2);
13793 if (obj2) {
13794 ecode3 = SWIG_AsVal_int(obj2, &val3);
13795 if (!SWIG_IsOK(ecode3)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13797 }
13798 arg3 = static_cast< int >(val3);
13799 }
13800 if (obj3) {
13801 {
13802 arg4 = &temp4;
13803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13804 }
13805 }
13806 if (obj4) {
13807 {
13808 arg5 = &temp5;
13809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13810 }
13811 }
13812 if (obj5) {
13813 ecode6 = SWIG_AsVal_long(obj5, &val6);
13814 if (!SWIG_IsOK(ecode6)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13816 }
13817 arg6 = static_cast< long >(val6);
13818 }
13819 if (obj6) {
13820 {
13821 arg7 = wxString_in_helper(obj6);
13822 if (arg7 == NULL) SWIG_fail;
13823 temp7 = true;
13824 }
13825 }
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 {
13833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13834 }
13835 {
13836 if (temp7)
13837 delete arg7;
13838 }
13839 return resultobj;
13840 fail:
13841 {
13842 if (temp7)
13843 delete arg7;
13844 }
13845 return NULL;
13846 }
13847
13848
13849 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj = 0;
13851 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13852 size_t arg2 ;
13853 void *argp1 = 0 ;
13854 int res1 = 0 ;
13855 size_t val2 ;
13856 int ecode2 = 0 ;
13857 PyObject * obj0 = 0 ;
13858 PyObject * obj1 = 0 ;
13859 char * kwnames[] = {
13860 (char *) "self",(char *) "count", NULL
13861 };
13862
13863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13865 if (!SWIG_IsOK(res1)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13867 }
13868 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13869 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13870 if (!SWIG_IsOK(ecode2)) {
13871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13872 }
13873 arg2 = static_cast< size_t >(val2);
13874 {
13875 PyThreadState* __tstate = wxPyBeginAllowThreads();
13876 (arg1)->SetLineCount(arg2);
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 resultobj = SWIG_Py_Void();
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj = 0;
13889 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13890 size_t arg2 ;
13891 bool result;
13892 void *argp1 = 0 ;
13893 int res1 = 0 ;
13894 size_t val2 ;
13895 int ecode2 = 0 ;
13896 PyObject * obj0 = 0 ;
13897 PyObject * obj1 = 0 ;
13898 char * kwnames[] = {
13899 (char *) "self",(char *) "line", NULL
13900 };
13901
13902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13904 if (!SWIG_IsOK(res1)) {
13905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13906 }
13907 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13908 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13909 if (!SWIG_IsOK(ecode2)) {
13910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13911 }
13912 arg2 = static_cast< size_t >(val2);
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)(arg1)->ScrollToLine(arg2);
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
13919 {
13920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13921 }
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj = 0;
13930 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13931 size_t arg2 ;
13932 void *argp1 = 0 ;
13933 int res1 = 0 ;
13934 size_t val2 ;
13935 int ecode2 = 0 ;
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 char * kwnames[] = {
13939 (char *) "self",(char *) "line", NULL
13940 };
13941
13942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13944 if (!SWIG_IsOK(res1)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13946 }
13947 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13948 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13949 if (!SWIG_IsOK(ecode2)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13951 }
13952 arg2 = static_cast< size_t >(val2);
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 (arg1)->RefreshLine(arg2);
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 resultobj = SWIG_Py_Void();
13960 return resultobj;
13961 fail:
13962 return NULL;
13963 }
13964
13965
13966 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13967 PyObject *resultobj = 0;
13968 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13969 size_t arg2 ;
13970 size_t arg3 ;
13971 void *argp1 = 0 ;
13972 int res1 = 0 ;
13973 size_t val2 ;
13974 int ecode2 = 0 ;
13975 size_t val3 ;
13976 int ecode3 = 0 ;
13977 PyObject * obj0 = 0 ;
13978 PyObject * obj1 = 0 ;
13979 PyObject * obj2 = 0 ;
13980 char * kwnames[] = {
13981 (char *) "self",(char *) "from",(char *) "to", NULL
13982 };
13983
13984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13986 if (!SWIG_IsOK(res1)) {
13987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13988 }
13989 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13990 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13991 if (!SWIG_IsOK(ecode2)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13993 }
13994 arg2 = static_cast< size_t >(val2);
13995 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13996 if (!SWIG_IsOK(ecode3)) {
13997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13998 }
13999 arg3 = static_cast< size_t >(val3);
14000 {
14001 PyThreadState* __tstate = wxPyBeginAllowThreads();
14002 (arg1)->RefreshLines(arg2,arg3);
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 resultobj = SWIG_Py_Void();
14007 return resultobj;
14008 fail:
14009 return NULL;
14010 }
14011
14012
14013 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj = 0;
14015 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14016 int arg2 ;
14017 int arg3 ;
14018 int result;
14019 void *argp1 = 0 ;
14020 int res1 = 0 ;
14021 int val2 ;
14022 int ecode2 = 0 ;
14023 int val3 ;
14024 int ecode3 = 0 ;
14025 PyObject * obj0 = 0 ;
14026 PyObject * obj1 = 0 ;
14027 PyObject * obj2 = 0 ;
14028 char * kwnames[] = {
14029 (char *) "self",(char *) "x",(char *) "y", NULL
14030 };
14031
14032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14034 if (!SWIG_IsOK(res1)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14036 }
14037 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14038 ecode2 = SWIG_AsVal_int(obj1, &val2);
14039 if (!SWIG_IsOK(ecode2)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14041 }
14042 arg2 = static_cast< int >(val2);
14043 ecode3 = SWIG_AsVal_int(obj2, &val3);
14044 if (!SWIG_IsOK(ecode3)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14046 }
14047 arg3 = static_cast< int >(val3);
14048 {
14049 PyThreadState* __tstate = wxPyBeginAllowThreads();
14050 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 resultobj = SWIG_From_int(static_cast< int >(result));
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = 0;
14063 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14064 wxPoint *arg2 = 0 ;
14065 int result;
14066 void *argp1 = 0 ;
14067 int res1 = 0 ;
14068 wxPoint temp2 ;
14069 PyObject * obj0 = 0 ;
14070 PyObject * obj1 = 0 ;
14071 char * kwnames[] = {
14072 (char *) "self",(char *) "pt", NULL
14073 };
14074
14075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14077 if (!SWIG_IsOK(res1)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14079 }
14080 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14081 {
14082 arg2 = &temp2;
14083 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14084 }
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 resultobj = SWIG_From_int(static_cast< int >(result));
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14099 PyObject *resultobj = 0;
14100 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14101 void *argp1 = 0 ;
14102 int res1 = 0 ;
14103 PyObject *swig_obj[1] ;
14104
14105 if (!args) SWIG_fail;
14106 swig_obj[0] = args;
14107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14108 if (!SWIG_IsOK(res1)) {
14109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14110 }
14111 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 (arg1)->RefreshAll();
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 resultobj = SWIG_Py_Void();
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14126 PyObject *resultobj = 0;
14127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14128 size_t result;
14129 void *argp1 = 0 ;
14130 int res1 = 0 ;
14131 PyObject *swig_obj[1] ;
14132
14133 if (!args) SWIG_fail;
14134 swig_obj[0] = args;
14135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14136 if (!SWIG_IsOK(res1)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14138 }
14139 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14147 return resultobj;
14148 fail:
14149 return NULL;
14150 }
14151
14152
14153 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14154 PyObject *resultobj = 0;
14155 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14156 size_t result;
14157 void *argp1 = 0 ;
14158 int res1 = 0 ;
14159 PyObject *swig_obj[1] ;
14160
14161 if (!args) SWIG_fail;
14162 swig_obj[0] = args;
14163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14164 if (!SWIG_IsOK(res1)) {
14165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14166 }
14167 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14175 return resultobj;
14176 fail:
14177 return NULL;
14178 }
14179
14180
14181 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14182 PyObject *resultobj = 0;
14183 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14184 size_t result;
14185 void *argp1 = 0 ;
14186 int res1 = 0 ;
14187 PyObject *swig_obj[1] ;
14188
14189 if (!args) SWIG_fail;
14190 swig_obj[0] = args;
14191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14192 if (!SWIG_IsOK(res1)) {
14193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14194 }
14195 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj = 0;
14211 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14212 size_t arg2 ;
14213 bool result;
14214 void *argp1 = 0 ;
14215 int res1 = 0 ;
14216 size_t val2 ;
14217 int ecode2 = 0 ;
14218 PyObject * obj0 = 0 ;
14219 PyObject * obj1 = 0 ;
14220 char * kwnames[] = {
14221 (char *) "self",(char *) "line", NULL
14222 };
14223
14224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14226 if (!SWIG_IsOK(res1)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14228 }
14229 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14230 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14231 if (!SWIG_IsOK(ecode2)) {
14232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14233 }
14234 arg2 = static_cast< size_t >(val2);
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 {
14242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14243 }
14244 return resultobj;
14245 fail:
14246 return NULL;
14247 }
14248
14249
14250 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14251 PyObject *resultobj = 0;
14252 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14253 size_t result;
14254 void *argp1 = 0 ;
14255 int res1 = 0 ;
14256 PyObject *swig_obj[1] ;
14257
14258 if (!args) SWIG_fail;
14259 swig_obj[0] = args;
14260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14261 if (!SWIG_IsOK(res1)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14263 }
14264 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14272 return resultobj;
14273 fail:
14274 return NULL;
14275 }
14276
14277
14278 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14279 PyObject *resultobj = 0;
14280 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14281 size_t result;
14282 void *argp1 = 0 ;
14283 int res1 = 0 ;
14284 PyObject *swig_obj[1] ;
14285
14286 if (!args) SWIG_fail;
14287 swig_obj[0] = args;
14288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14289 if (!SWIG_IsOK(res1)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14291 }
14292 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj = 0;
14308 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14309 size_t arg2 ;
14310 bool arg3 = (bool) false ;
14311 size_t result;
14312 void *argp1 = 0 ;
14313 int res1 = 0 ;
14314 size_t val2 ;
14315 int ecode2 = 0 ;
14316 bool val3 ;
14317 int ecode3 = 0 ;
14318 PyObject * obj0 = 0 ;
14319 PyObject * obj1 = 0 ;
14320 PyObject * obj2 = 0 ;
14321 char * kwnames[] = {
14322 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14323 };
14324
14325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14327 if (!SWIG_IsOK(res1)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14329 }
14330 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14331 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14332 if (!SWIG_IsOK(ecode2)) {
14333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14334 }
14335 arg2 = static_cast< size_t >(val2);
14336 if (obj2) {
14337 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14338 if (!SWIG_IsOK(ecode3)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14340 }
14341 arg3 = static_cast< bool >(val3);
14342 }
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14350 return resultobj;
14351 fail:
14352 return NULL;
14353 }
14354
14355
14356 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj = 0;
14358 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14359 size_t arg2 ;
14360 size_t arg3 ;
14361 int result;
14362 void *argp1 = 0 ;
14363 int res1 = 0 ;
14364 size_t val2 ;
14365 int ecode2 = 0 ;
14366 size_t val3 ;
14367 int ecode3 = 0 ;
14368 PyObject * obj0 = 0 ;
14369 PyObject * obj1 = 0 ;
14370 PyObject * obj2 = 0 ;
14371 char * kwnames[] = {
14372 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14373 };
14374
14375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14377 if (!SWIG_IsOK(res1)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14379 }
14380 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14381 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14382 if (!SWIG_IsOK(ecode2)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14384 }
14385 arg2 = static_cast< size_t >(val2);
14386 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14387 if (!SWIG_IsOK(ecode3)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14389 }
14390 arg3 = static_cast< size_t >(val3);
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 resultobj = SWIG_From_int(static_cast< int >(result));
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14405 PyObject *obj;
14406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14408 return SWIG_Py_Void();
14409 }
14410
14411 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14412 return SWIG_Python_InitShadowInstance(args);
14413 }
14414
14415 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14416 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14417 return 1;
14418 }
14419
14420
14421 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14422 PyObject *pyobj = 0;
14423
14424 {
14425 #if wxUSE_UNICODE
14426 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14427 #else
14428 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14429 #endif
14430 }
14431 return pyobj;
14432 }
14433
14434
14435 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14436 PyObject *resultobj = 0;
14437 wxWindow *arg1 = (wxWindow *) 0 ;
14438 int arg2 = (int) wxID_ANY ;
14439 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14440 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14441 wxSize const &arg4_defvalue = wxDefaultSize ;
14442 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14443 long arg5 = (long) 0 ;
14444 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14445 wxString *arg6 = (wxString *) &arg6_defvalue ;
14446 wxPyVListBox *result = 0 ;
14447 void *argp1 = 0 ;
14448 int res1 = 0 ;
14449 int val2 ;
14450 int ecode2 = 0 ;
14451 wxPoint temp3 ;
14452 wxSize temp4 ;
14453 long val5 ;
14454 int ecode5 = 0 ;
14455 bool temp6 = false ;
14456 PyObject * obj0 = 0 ;
14457 PyObject * obj1 = 0 ;
14458 PyObject * obj2 = 0 ;
14459 PyObject * obj3 = 0 ;
14460 PyObject * obj4 = 0 ;
14461 PyObject * obj5 = 0 ;
14462 char * kwnames[] = {
14463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14464 };
14465
14466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14468 if (!SWIG_IsOK(res1)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14470 }
14471 arg1 = reinterpret_cast< wxWindow * >(argp1);
14472 if (obj1) {
14473 ecode2 = SWIG_AsVal_int(obj1, &val2);
14474 if (!SWIG_IsOK(ecode2)) {
14475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14476 }
14477 arg2 = static_cast< int >(val2);
14478 }
14479 if (obj2) {
14480 {
14481 arg3 = &temp3;
14482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14483 }
14484 }
14485 if (obj3) {
14486 {
14487 arg4 = &temp4;
14488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14489 }
14490 }
14491 if (obj4) {
14492 ecode5 = SWIG_AsVal_long(obj4, &val5);
14493 if (!SWIG_IsOK(ecode5)) {
14494 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14495 }
14496 arg5 = static_cast< long >(val5);
14497 }
14498 if (obj5) {
14499 {
14500 arg6 = wxString_in_helper(obj5);
14501 if (arg6 == NULL) SWIG_fail;
14502 temp6 = true;
14503 }
14504 }
14505 {
14506 if (!wxPyCheckForApp()) SWIG_fail;
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14513 {
14514 if (temp6)
14515 delete arg6;
14516 }
14517 return resultobj;
14518 fail:
14519 {
14520 if (temp6)
14521 delete arg6;
14522 }
14523 return NULL;
14524 }
14525
14526
14527 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14528 PyObject *resultobj = 0;
14529 wxPyVListBox *result = 0 ;
14530
14531 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14532 {
14533 if (!wxPyCheckForApp()) SWIG_fail;
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = (wxPyVListBox *)new wxPyVListBox();
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14540 return resultobj;
14541 fail:
14542 return NULL;
14543 }
14544
14545
14546 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14547 PyObject *resultobj = 0;
14548 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14549 PyObject *arg2 = (PyObject *) 0 ;
14550 PyObject *arg3 = (PyObject *) 0 ;
14551 void *argp1 = 0 ;
14552 int res1 = 0 ;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
14555 PyObject * obj2 = 0 ;
14556 char * kwnames[] = {
14557 (char *) "self",(char *) "self",(char *) "_class", NULL
14558 };
14559
14560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14562 if (!SWIG_IsOK(res1)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14564 }
14565 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14566 arg2 = obj1;
14567 arg3 = obj2;
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 (arg1)->_setCallbackInfo(arg2,arg3);
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 resultobj = SWIG_Py_Void();
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj = 0;
14583 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14584 wxWindow *arg2 = (wxWindow *) 0 ;
14585 int arg3 = (int) wxID_ANY ;
14586 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14587 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14588 wxSize const &arg5_defvalue = wxDefaultSize ;
14589 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14590 long arg6 = (long) 0 ;
14591 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14592 wxString *arg7 = (wxString *) &arg7_defvalue ;
14593 bool result;
14594 void *argp1 = 0 ;
14595 int res1 = 0 ;
14596 void *argp2 = 0 ;
14597 int res2 = 0 ;
14598 int val3 ;
14599 int ecode3 = 0 ;
14600 wxPoint temp4 ;
14601 wxSize temp5 ;
14602 long val6 ;
14603 int ecode6 = 0 ;
14604 bool temp7 = false ;
14605 PyObject * obj0 = 0 ;
14606 PyObject * obj1 = 0 ;
14607 PyObject * obj2 = 0 ;
14608 PyObject * obj3 = 0 ;
14609 PyObject * obj4 = 0 ;
14610 PyObject * obj5 = 0 ;
14611 PyObject * obj6 = 0 ;
14612 char * kwnames[] = {
14613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14614 };
14615
14616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14618 if (!SWIG_IsOK(res1)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14620 }
14621 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14622 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14623 if (!SWIG_IsOK(res2)) {
14624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14625 }
14626 arg2 = reinterpret_cast< wxWindow * >(argp2);
14627 if (obj2) {
14628 ecode3 = SWIG_AsVal_int(obj2, &val3);
14629 if (!SWIG_IsOK(ecode3)) {
14630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14631 }
14632 arg3 = static_cast< int >(val3);
14633 }
14634 if (obj3) {
14635 {
14636 arg4 = &temp4;
14637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14638 }
14639 }
14640 if (obj4) {
14641 {
14642 arg5 = &temp5;
14643 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14644 }
14645 }
14646 if (obj5) {
14647 ecode6 = SWIG_AsVal_long(obj5, &val6);
14648 if (!SWIG_IsOK(ecode6)) {
14649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14650 }
14651 arg6 = static_cast< long >(val6);
14652 }
14653 if (obj6) {
14654 {
14655 arg7 = wxString_in_helper(obj6);
14656 if (arg7 == NULL) SWIG_fail;
14657 temp7 = true;
14658 }
14659 }
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 {
14670 if (temp7)
14671 delete arg7;
14672 }
14673 return resultobj;
14674 fail:
14675 {
14676 if (temp7)
14677 delete arg7;
14678 }
14679 return NULL;
14680 }
14681
14682
14683 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14684 PyObject *resultobj = 0;
14685 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14686 size_t result;
14687 void *argp1 = 0 ;
14688 int res1 = 0 ;
14689 PyObject *swig_obj[1] ;
14690
14691 if (!args) SWIG_fail;
14692 swig_obj[0] = args;
14693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14694 if (!SWIG_IsOK(res1)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14696 }
14697 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14705 return resultobj;
14706 fail:
14707 return NULL;
14708 }
14709
14710
14711 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14712 PyObject *resultobj = 0;
14713 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14714 bool result;
14715 void *argp1 = 0 ;
14716 int res1 = 0 ;
14717 PyObject *swig_obj[1] ;
14718
14719 if (!args) SWIG_fail;
14720 swig_obj[0] = args;
14721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14722 if (!SWIG_IsOK(res1)) {
14723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14724 }
14725 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14729 wxPyEndAllowThreads(__tstate);
14730 if (PyErr_Occurred()) SWIG_fail;
14731 }
14732 {
14733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14734 }
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14742 PyObject *resultobj = 0;
14743 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14744 int result;
14745 void *argp1 = 0 ;
14746 int res1 = 0 ;
14747 PyObject *swig_obj[1] ;
14748
14749 if (!args) SWIG_fail;
14750 swig_obj[0] = args;
14751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14752 if (!SWIG_IsOK(res1)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14754 }
14755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = SWIG_From_int(static_cast< int >(result));
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj = 0;
14771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14772 size_t arg2 ;
14773 bool result;
14774 void *argp1 = 0 ;
14775 int res1 = 0 ;
14776 size_t val2 ;
14777 int ecode2 = 0 ;
14778 PyObject * obj0 = 0 ;
14779 PyObject * obj1 = 0 ;
14780 char * kwnames[] = {
14781 (char *) "self",(char *) "item", NULL
14782 };
14783
14784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14786 if (!SWIG_IsOK(res1)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14788 }
14789 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14790 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14791 if (!SWIG_IsOK(ecode2)) {
14792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14793 }
14794 arg2 = static_cast< size_t >(val2);
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 {
14802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14803 }
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14811 PyObject *resultobj = 0;
14812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14813 size_t arg2 ;
14814 bool result;
14815 void *argp1 = 0 ;
14816 int res1 = 0 ;
14817 size_t val2 ;
14818 int ecode2 = 0 ;
14819 PyObject * obj0 = 0 ;
14820 PyObject * obj1 = 0 ;
14821 char * kwnames[] = {
14822 (char *) "self",(char *) "item", NULL
14823 };
14824
14825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14827 if (!SWIG_IsOK(res1)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14829 }
14830 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14831 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14832 if (!SWIG_IsOK(ecode2)) {
14833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14834 }
14835 arg2 = static_cast< size_t >(val2);
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 {
14843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14844 }
14845 return resultobj;
14846 fail:
14847 return NULL;
14848 }
14849
14850
14851 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14852 PyObject *resultobj = 0;
14853 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14854 size_t result;
14855 void *argp1 = 0 ;
14856 int res1 = 0 ;
14857 PyObject *swig_obj[1] ;
14858
14859 if (!args) SWIG_fail;
14860 swig_obj[0] = args;
14861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14862 if (!SWIG_IsOK(res1)) {
14863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14864 }
14865 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14880 PyObject *resultobj = 0;
14881 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14882 PyObject *result = 0 ;
14883 void *argp1 = 0 ;
14884 int res1 = 0 ;
14885 PyObject *swig_obj[1] ;
14886
14887 if (!args) SWIG_fail;
14888 swig_obj[0] = args;
14889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14890 if (!SWIG_IsOK(res1)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14892 }
14893 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 resultobj = result;
14901 return resultobj;
14902 fail:
14903 return NULL;
14904 }
14905
14906
14907 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj = 0;
14909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14910 unsigned long arg2 ;
14911 PyObject *result = 0 ;
14912 void *argp1 = 0 ;
14913 int res1 = 0 ;
14914 unsigned long val2 ;
14915 int ecode2 = 0 ;
14916 PyObject * obj0 = 0 ;
14917 PyObject * obj1 = 0 ;
14918 char * kwnames[] = {
14919 (char *) "self",(char *) "cookie", NULL
14920 };
14921
14922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14924 if (!SWIG_IsOK(res1)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14926 }
14927 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14928 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14929 if (!SWIG_IsOK(ecode2)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14931 }
14932 arg2 = static_cast< unsigned long >(val2);
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 resultobj = result;
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14947 PyObject *resultobj = 0;
14948 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14949 wxPoint result;
14950 void *argp1 = 0 ;
14951 int res1 = 0 ;
14952 PyObject *swig_obj[1] ;
14953
14954 if (!args) SWIG_fail;
14955 swig_obj[0] = args;
14956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14957 if (!SWIG_IsOK(res1)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14959 }
14960 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14961 {
14962 PyThreadState* __tstate = wxPyBeginAllowThreads();
14963 result = ((wxPyVListBox const *)arg1)->GetMargins();
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14975 PyObject *resultobj = 0;
14976 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14977 wxColour *result = 0 ;
14978 void *argp1 = 0 ;
14979 int res1 = 0 ;
14980 PyObject *swig_obj[1] ;
14981
14982 if (!args) SWIG_fail;
14983 swig_obj[0] = args;
14984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14985 if (!SWIG_IsOK(res1)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14987 }
14988 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14989 {
14990 PyThreadState* __tstate = wxPyBeginAllowThreads();
14991 {
14992 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14993 result = (wxColour *) &_result_ref;
14994 }
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14999 return resultobj;
15000 fail:
15001 return NULL;
15002 }
15003
15004
15005 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj = 0;
15007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15008 size_t arg2 ;
15009 void *argp1 = 0 ;
15010 int res1 = 0 ;
15011 size_t val2 ;
15012 int ecode2 = 0 ;
15013 PyObject * obj0 = 0 ;
15014 PyObject * obj1 = 0 ;
15015 char * kwnames[] = {
15016 (char *) "self",(char *) "count", NULL
15017 };
15018
15019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15023 }
15024 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15025 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15026 if (!SWIG_IsOK(ecode2)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15028 }
15029 arg2 = static_cast< size_t >(val2);
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->SetItemCount(arg2);
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 resultobj = SWIG_Py_Void();
15037 return resultobj;
15038 fail:
15039 return NULL;
15040 }
15041
15042
15043 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15044 PyObject *resultobj = 0;
15045 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15046 void *argp1 = 0 ;
15047 int res1 = 0 ;
15048 PyObject *swig_obj[1] ;
15049
15050 if (!args) SWIG_fail;
15051 swig_obj[0] = args;
15052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15053 if (!SWIG_IsOK(res1)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15055 }
15056 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 (arg1)->Clear();
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = SWIG_Py_Void();
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj = 0;
15072 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15073 int arg2 ;
15074 void *argp1 = 0 ;
15075 int res1 = 0 ;
15076 int val2 ;
15077 int ecode2 = 0 ;
15078 PyObject * obj0 = 0 ;
15079 PyObject * obj1 = 0 ;
15080 char * kwnames[] = {
15081 (char *) "self",(char *) "selection", NULL
15082 };
15083
15084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15086 if (!SWIG_IsOK(res1)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15088 }
15089 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15090 ecode2 = SWIG_AsVal_int(obj1, &val2);
15091 if (!SWIG_IsOK(ecode2)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15093 }
15094 arg2 = static_cast< int >(val2);
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 (arg1)->SetSelection(arg2);
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = SWIG_Py_Void();
15102 return resultobj;
15103 fail:
15104 return NULL;
15105 }
15106
15107
15108 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15109 PyObject *resultobj = 0;
15110 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15111 size_t arg2 ;
15112 bool arg3 = (bool) true ;
15113 bool result;
15114 void *argp1 = 0 ;
15115 int res1 = 0 ;
15116 size_t val2 ;
15117 int ecode2 = 0 ;
15118 bool val3 ;
15119 int ecode3 = 0 ;
15120 PyObject * obj0 = 0 ;
15121 PyObject * obj1 = 0 ;
15122 PyObject * obj2 = 0 ;
15123 char * kwnames[] = {
15124 (char *) "self",(char *) "item",(char *) "select", NULL
15125 };
15126
15127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15129 if (!SWIG_IsOK(res1)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15131 }
15132 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15133 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15134 if (!SWIG_IsOK(ecode2)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15136 }
15137 arg2 = static_cast< size_t >(val2);
15138 if (obj2) {
15139 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15140 if (!SWIG_IsOK(ecode3)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15142 }
15143 arg3 = static_cast< bool >(val3);
15144 }
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (bool)(arg1)->Select(arg2,arg3);
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 {
15152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15153 }
15154 return resultobj;
15155 fail:
15156 return NULL;
15157 }
15158
15159
15160 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15161 PyObject *resultobj = 0;
15162 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15163 size_t arg2 ;
15164 size_t arg3 ;
15165 bool result;
15166 void *argp1 = 0 ;
15167 int res1 = 0 ;
15168 size_t val2 ;
15169 int ecode2 = 0 ;
15170 size_t val3 ;
15171 int ecode3 = 0 ;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 PyObject * obj2 = 0 ;
15175 char * kwnames[] = {
15176 (char *) "self",(char *) "from",(char *) "to", NULL
15177 };
15178
15179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15181 if (!SWIG_IsOK(res1)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15183 }
15184 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15185 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15186 if (!SWIG_IsOK(ecode2)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15188 }
15189 arg2 = static_cast< size_t >(val2);
15190 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15191 if (!SWIG_IsOK(ecode3)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15193 }
15194 arg3 = static_cast< size_t >(val3);
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (bool)(arg1)->SelectRange(arg2,arg3);
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 {
15202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15203 }
15204 return resultobj;
15205 fail:
15206 return NULL;
15207 }
15208
15209
15210 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj = 0;
15212 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15213 size_t arg2 ;
15214 void *argp1 = 0 ;
15215 int res1 = 0 ;
15216 size_t val2 ;
15217 int ecode2 = 0 ;
15218 PyObject * obj0 = 0 ;
15219 PyObject * obj1 = 0 ;
15220 char * kwnames[] = {
15221 (char *) "self",(char *) "item", NULL
15222 };
15223
15224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15226 if (!SWIG_IsOK(res1)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15228 }
15229 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15230 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15231 if (!SWIG_IsOK(ecode2)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15233 }
15234 arg2 = static_cast< size_t >(val2);
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 (arg1)->Toggle(arg2);
15238 wxPyEndAllowThreads(__tstate);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
15241 resultobj = SWIG_Py_Void();
15242 return resultobj;
15243 fail:
15244 return NULL;
15245 }
15246
15247
15248 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15249 PyObject *resultobj = 0;
15250 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15251 bool result;
15252 void *argp1 = 0 ;
15253 int res1 = 0 ;
15254 PyObject *swig_obj[1] ;
15255
15256 if (!args) SWIG_fail;
15257 swig_obj[0] = args;
15258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15259 if (!SWIG_IsOK(res1)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15261 }
15262 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
15265 result = (bool)(arg1)->SelectAll();
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 {
15270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15271 }
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15279 PyObject *resultobj = 0;
15280 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15281 bool result;
15282 void *argp1 = 0 ;
15283 int res1 = 0 ;
15284 PyObject *swig_obj[1] ;
15285
15286 if (!args) SWIG_fail;
15287 swig_obj[0] = args;
15288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15289 if (!SWIG_IsOK(res1)) {
15290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15291 }
15292 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (bool)(arg1)->DeselectAll();
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 {
15300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15301 }
15302 return resultobj;
15303 fail:
15304 return NULL;
15305 }
15306
15307
15308 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15309 PyObject *resultobj = 0;
15310 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15311 wxPoint *arg2 = 0 ;
15312 void *argp1 = 0 ;
15313 int res1 = 0 ;
15314 wxPoint temp2 ;
15315 PyObject * obj0 = 0 ;
15316 PyObject * obj1 = 0 ;
15317 char * kwnames[] = {
15318 (char *) "self",(char *) "pt", NULL
15319 };
15320
15321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15323 if (!SWIG_IsOK(res1)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15325 }
15326 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15327 {
15328 arg2 = &temp2;
15329 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15330 }
15331 {
15332 PyThreadState* __tstate = wxPyBeginAllowThreads();
15333 (arg1)->SetMargins((wxPoint const &)*arg2);
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 resultobj = SWIG_Py_Void();
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj = 0;
15346 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15347 int arg2 ;
15348 int arg3 ;
15349 void *argp1 = 0 ;
15350 int res1 = 0 ;
15351 int val2 ;
15352 int ecode2 = 0 ;
15353 int val3 ;
15354 int ecode3 = 0 ;
15355 PyObject * obj0 = 0 ;
15356 PyObject * obj1 = 0 ;
15357 PyObject * obj2 = 0 ;
15358 char * kwnames[] = {
15359 (char *) "self",(char *) "x",(char *) "y", NULL
15360 };
15361
15362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15364 if (!SWIG_IsOK(res1)) {
15365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15366 }
15367 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15368 ecode2 = SWIG_AsVal_int(obj1, &val2);
15369 if (!SWIG_IsOK(ecode2)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15371 }
15372 arg2 = static_cast< int >(val2);
15373 ecode3 = SWIG_AsVal_int(obj2, &val3);
15374 if (!SWIG_IsOK(ecode3)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15376 }
15377 arg3 = static_cast< int >(val3);
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 (arg1)->SetMargins(arg2,arg3);
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 resultobj = SWIG_Py_Void();
15385 return resultobj;
15386 fail:
15387 return NULL;
15388 }
15389
15390
15391 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj = 0;
15393 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15394 wxColour *arg2 = 0 ;
15395 void *argp1 = 0 ;
15396 int res1 = 0 ;
15397 wxColour temp2 ;
15398 PyObject * obj0 = 0 ;
15399 PyObject * obj1 = 0 ;
15400 char * kwnames[] = {
15401 (char *) "self",(char *) "col", NULL
15402 };
15403
15404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15406 if (!SWIG_IsOK(res1)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15408 }
15409 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15410 {
15411 arg2 = &temp2;
15412 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15413 }
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 resultobj = SWIG_Py_Void();
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj = 0;
15429 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15430 wxDC *arg2 = 0 ;
15431 wxRect *arg3 = 0 ;
15432 size_t arg4 ;
15433 void *argp1 = 0 ;
15434 int res1 = 0 ;
15435 void *argp2 = 0 ;
15436 int res2 = 0 ;
15437 wxRect temp3 ;
15438 size_t val4 ;
15439 int ecode4 = 0 ;
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 PyObject * obj2 = 0 ;
15443 PyObject * obj3 = 0 ;
15444 char * kwnames[] = {
15445 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15446 };
15447
15448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15450 if (!SWIG_IsOK(res1)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15452 }
15453 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15454 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15455 if (!SWIG_IsOK(res2)) {
15456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15457 }
15458 if (!argp2) {
15459 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15460 }
15461 arg2 = reinterpret_cast< wxDC * >(argp2);
15462 {
15463 arg3 = &temp3;
15464 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15465 }
15466 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15467 if (!SWIG_IsOK(ecode4)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15469 }
15470 arg4 = static_cast< size_t >(val4);
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 resultobj = SWIG_Py_Void();
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj = 0;
15486 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15487 wxDC *arg2 = 0 ;
15488 wxRect *arg3 = 0 ;
15489 size_t arg4 ;
15490 void *argp1 = 0 ;
15491 int res1 = 0 ;
15492 void *argp2 = 0 ;
15493 int res2 = 0 ;
15494 wxRect temp3 ;
15495 size_t val4 ;
15496 int ecode4 = 0 ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 PyObject * obj2 = 0 ;
15500 PyObject * obj3 = 0 ;
15501 char * kwnames[] = {
15502 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15503 };
15504
15505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15507 if (!SWIG_IsOK(res1)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15509 }
15510 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15511 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15512 if (!SWIG_IsOK(res2)) {
15513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15514 }
15515 if (!argp2) {
15516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15517 }
15518 arg2 = reinterpret_cast< wxDC * >(argp2);
15519 {
15520 arg3 = &temp3;
15521 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15522 }
15523 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15524 if (!SWIG_IsOK(ecode4)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15526 }
15527 arg4 = static_cast< size_t >(val4);
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 resultobj = SWIG_Py_Void();
15535 return resultobj;
15536 fail:
15537 return NULL;
15538 }
15539
15540
15541 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15542 PyObject *obj;
15543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15545 return SWIG_Py_Void();
15546 }
15547
15548 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15549 return SWIG_Python_InitShadowInstance(args);
15550 }
15551
15552 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj = 0;
15554 wxWindow *arg1 = (wxWindow *) 0 ;
15555 int arg2 = (int) wxID_ANY ;
15556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15558 wxSize const &arg4_defvalue = wxDefaultSize ;
15559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15560 long arg5 = (long) 0 ;
15561 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15562 wxString *arg6 = (wxString *) &arg6_defvalue ;
15563 wxPyHtmlListBox *result = 0 ;
15564 void *argp1 = 0 ;
15565 int res1 = 0 ;
15566 int val2 ;
15567 int ecode2 = 0 ;
15568 wxPoint temp3 ;
15569 wxSize temp4 ;
15570 long val5 ;
15571 int ecode5 = 0 ;
15572 bool temp6 = false ;
15573 PyObject * obj0 = 0 ;
15574 PyObject * obj1 = 0 ;
15575 PyObject * obj2 = 0 ;
15576 PyObject * obj3 = 0 ;
15577 PyObject * obj4 = 0 ;
15578 PyObject * obj5 = 0 ;
15579 char * kwnames[] = {
15580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15581 };
15582
15583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15585 if (!SWIG_IsOK(res1)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15587 }
15588 arg1 = reinterpret_cast< wxWindow * >(argp1);
15589 if (obj1) {
15590 ecode2 = SWIG_AsVal_int(obj1, &val2);
15591 if (!SWIG_IsOK(ecode2)) {
15592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15593 }
15594 arg2 = static_cast< int >(val2);
15595 }
15596 if (obj2) {
15597 {
15598 arg3 = &temp3;
15599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15600 }
15601 }
15602 if (obj3) {
15603 {
15604 arg4 = &temp4;
15605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15606 }
15607 }
15608 if (obj4) {
15609 ecode5 = SWIG_AsVal_long(obj4, &val5);
15610 if (!SWIG_IsOK(ecode5)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15612 }
15613 arg5 = static_cast< long >(val5);
15614 }
15615 if (obj5) {
15616 {
15617 arg6 = wxString_in_helper(obj5);
15618 if (arg6 == NULL) SWIG_fail;
15619 temp6 = true;
15620 }
15621 }
15622 {
15623 if (!wxPyCheckForApp()) SWIG_fail;
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15626 wxPyEndAllowThreads(__tstate);
15627 if (PyErr_Occurred()) SWIG_fail;
15628 }
15629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15630 {
15631 if (temp6)
15632 delete arg6;
15633 }
15634 return resultobj;
15635 fail:
15636 {
15637 if (temp6)
15638 delete arg6;
15639 }
15640 return NULL;
15641 }
15642
15643
15644 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15645 PyObject *resultobj = 0;
15646 wxPyHtmlListBox *result = 0 ;
15647
15648 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15649 {
15650 if (!wxPyCheckForApp()) SWIG_fail;
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15657 return resultobj;
15658 fail:
15659 return NULL;
15660 }
15661
15662
15663 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15664 PyObject *resultobj = 0;
15665 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15666 PyObject *arg2 = (PyObject *) 0 ;
15667 PyObject *arg3 = (PyObject *) 0 ;
15668 void *argp1 = 0 ;
15669 int res1 = 0 ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 PyObject * obj2 = 0 ;
15673 char * kwnames[] = {
15674 (char *) "self",(char *) "self",(char *) "_class", NULL
15675 };
15676
15677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15679 if (!SWIG_IsOK(res1)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15681 }
15682 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15683 arg2 = obj1;
15684 arg3 = obj2;
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 (arg1)->_setCallbackInfo(arg2,arg3);
15688 wxPyEndAllowThreads(__tstate);
15689 if (PyErr_Occurred()) SWIG_fail;
15690 }
15691 resultobj = SWIG_Py_Void();
15692 return resultobj;
15693 fail:
15694 return NULL;
15695 }
15696
15697
15698 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj = 0;
15700 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15701 wxWindow *arg2 = (wxWindow *) 0 ;
15702 int arg3 = (int) wxID_ANY ;
15703 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15704 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15705 wxSize const &arg5_defvalue = wxDefaultSize ;
15706 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15707 long arg6 = (long) 0 ;
15708 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15709 wxString *arg7 = (wxString *) &arg7_defvalue ;
15710 bool result;
15711 void *argp1 = 0 ;
15712 int res1 = 0 ;
15713 void *argp2 = 0 ;
15714 int res2 = 0 ;
15715 int val3 ;
15716 int ecode3 = 0 ;
15717 wxPoint temp4 ;
15718 wxSize temp5 ;
15719 long val6 ;
15720 int ecode6 = 0 ;
15721 bool temp7 = false ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 PyObject * obj2 = 0 ;
15725 PyObject * obj3 = 0 ;
15726 PyObject * obj4 = 0 ;
15727 PyObject * obj5 = 0 ;
15728 PyObject * obj6 = 0 ;
15729 char * kwnames[] = {
15730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15731 };
15732
15733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15735 if (!SWIG_IsOK(res1)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15737 }
15738 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15739 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15740 if (!SWIG_IsOK(res2)) {
15741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15742 }
15743 arg2 = reinterpret_cast< wxWindow * >(argp2);
15744 if (obj2) {
15745 ecode3 = SWIG_AsVal_int(obj2, &val3);
15746 if (!SWIG_IsOK(ecode3)) {
15747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15748 }
15749 arg3 = static_cast< int >(val3);
15750 }
15751 if (obj3) {
15752 {
15753 arg4 = &temp4;
15754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15755 }
15756 }
15757 if (obj4) {
15758 {
15759 arg5 = &temp5;
15760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15761 }
15762 }
15763 if (obj5) {
15764 ecode6 = SWIG_AsVal_long(obj5, &val6);
15765 if (!SWIG_IsOK(ecode6)) {
15766 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15767 }
15768 arg6 = static_cast< long >(val6);
15769 }
15770 if (obj6) {
15771 {
15772 arg7 = wxString_in_helper(obj6);
15773 if (arg7 == NULL) SWIG_fail;
15774 temp7 = true;
15775 }
15776 }
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15780 wxPyEndAllowThreads(__tstate);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 }
15783 {
15784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15785 }
15786 {
15787 if (temp7)
15788 delete arg7;
15789 }
15790 return resultobj;
15791 fail:
15792 {
15793 if (temp7)
15794 delete arg7;
15795 }
15796 return NULL;
15797 }
15798
15799
15800 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj = 0;
15802 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15803 size_t arg2 ;
15804 void *argp1 = 0 ;
15805 int res1 = 0 ;
15806 size_t val2 ;
15807 int ecode2 = 0 ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 char * kwnames[] = {
15811 (char *) "self",(char *) "count", NULL
15812 };
15813
15814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15816 if (!SWIG_IsOK(res1)) {
15817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15818 }
15819 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15820 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15821 if (!SWIG_IsOK(ecode2)) {
15822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15823 }
15824 arg2 = static_cast< size_t >(val2);
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 (arg1)->SetItemCount(arg2);
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = SWIG_Py_Void();
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15839 PyObject *resultobj = 0;
15840 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15841 wxFileSystem *result = 0 ;
15842 void *argp1 = 0 ;
15843 int res1 = 0 ;
15844 PyObject *swig_obj[1] ;
15845
15846 if (!args) SWIG_fail;
15847 swig_obj[0] = args;
15848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15849 if (!SWIG_IsOK(res1)) {
15850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15851 }
15852 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 {
15856 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15857 result = (wxFileSystem *) &_result_ref;
15858 }
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj = 0;
15871 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15872 size_t arg2 ;
15873 wxHtmlLinkInfo *arg3 = 0 ;
15874 void *argp1 = 0 ;
15875 int res1 = 0 ;
15876 size_t val2 ;
15877 int ecode2 = 0 ;
15878 void *argp3 = 0 ;
15879 int res3 = 0 ;
15880 PyObject * obj0 = 0 ;
15881 PyObject * obj1 = 0 ;
15882 PyObject * obj2 = 0 ;
15883 char * kwnames[] = {
15884 (char *) "self",(char *) "n",(char *) "link", NULL
15885 };
15886
15887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15889 if (!SWIG_IsOK(res1)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15891 }
15892 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15893 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15894 if (!SWIG_IsOK(ecode2)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15896 }
15897 arg2 = static_cast< size_t >(val2);
15898 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15899 if (!SWIG_IsOK(res3)) {
15900 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15901 }
15902 if (!argp3) {
15903 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15904 }
15905 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 resultobj = SWIG_Py_Void();
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15920 PyObject *obj;
15921 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15922 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15923 return SWIG_Py_Void();
15924 }
15925
15926 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15927 return SWIG_Python_InitShadowInstance(args);
15928 }
15929
15930 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15931 PyObject *resultobj = 0;
15932 wxPyTaskBarIcon *result = 0 ;
15933
15934 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15935 {
15936 if (!wxPyCheckForApp()) SWIG_fail;
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15943 return resultobj;
15944 fail:
15945 return NULL;
15946 }
15947
15948
15949 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15950 PyObject *resultobj = 0;
15951 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15952 void *argp1 = 0 ;
15953 int res1 = 0 ;
15954 PyObject *swig_obj[1] ;
15955
15956 if (!args) SWIG_fail;
15957 swig_obj[0] = args;
15958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15959 if (!SWIG_IsOK(res1)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15961 }
15962 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 delete arg1;
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 resultobj = SWIG_Py_Void();
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj = 0;
15979 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15980 PyObject *arg2 = (PyObject *) 0 ;
15981 PyObject *arg3 = (PyObject *) 0 ;
15982 int arg4 ;
15983 void *argp1 = 0 ;
15984 int res1 = 0 ;
15985 int val4 ;
15986 int ecode4 = 0 ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 PyObject * obj2 = 0 ;
15990 PyObject * obj3 = 0 ;
15991 char * kwnames[] = {
15992 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15993 };
15994
15995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15997 if (!SWIG_IsOK(res1)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15999 }
16000 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16001 arg2 = obj1;
16002 arg3 = obj2;
16003 ecode4 = SWIG_AsVal_int(obj3, &val4);
16004 if (!SWIG_IsOK(ecode4)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16006 }
16007 arg4 = static_cast< int >(val4);
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 resultobj = SWIG_Py_Void();
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16022 PyObject *resultobj = 0;
16023 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16024 void *argp1 = 0 ;
16025 int res1 = 0 ;
16026 PyObject *swig_obj[1] ;
16027
16028 if (!args) SWIG_fail;
16029 swig_obj[0] = args;
16030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16031 if (!SWIG_IsOK(res1)) {
16032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16033 }
16034 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 wxPyTaskBarIcon_Destroy(arg1);
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 resultobj = SWIG_Py_Void();
16042 return resultobj;
16043 fail:
16044 return NULL;
16045 }
16046
16047
16048 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16049 PyObject *resultobj = 0;
16050 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16051 bool result;
16052 void *argp1 = 0 ;
16053 int res1 = 0 ;
16054 PyObject *swig_obj[1] ;
16055
16056 if (!args) SWIG_fail;
16057 swig_obj[0] = args;
16058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16059 if (!SWIG_IsOK(res1)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16061 }
16062 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 {
16070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16071 }
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16079 PyObject *resultobj = 0;
16080 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16081 bool result;
16082 void *argp1 = 0 ;
16083 int res1 = 0 ;
16084 PyObject *swig_obj[1] ;
16085
16086 if (!args) SWIG_fail;
16087 swig_obj[0] = args;
16088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16089 if (!SWIG_IsOK(res1)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16091 }
16092 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 {
16100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16101 }
16102 return resultobj;
16103 fail:
16104 return NULL;
16105 }
16106
16107
16108 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj = 0;
16110 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16111 wxIcon *arg2 = 0 ;
16112 wxString const &arg3_defvalue = wxPyEmptyString ;
16113 wxString *arg3 = (wxString *) &arg3_defvalue ;
16114 bool result;
16115 void *argp1 = 0 ;
16116 int res1 = 0 ;
16117 void *argp2 = 0 ;
16118 int res2 = 0 ;
16119 bool temp3 = false ;
16120 PyObject * obj0 = 0 ;
16121 PyObject * obj1 = 0 ;
16122 PyObject * obj2 = 0 ;
16123 char * kwnames[] = {
16124 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16125 };
16126
16127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16129 if (!SWIG_IsOK(res1)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16131 }
16132 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16134 if (!SWIG_IsOK(res2)) {
16135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16136 }
16137 if (!argp2) {
16138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16139 }
16140 arg2 = reinterpret_cast< wxIcon * >(argp2);
16141 if (obj2) {
16142 {
16143 arg3 = wxString_in_helper(obj2);
16144 if (arg3 == NULL) SWIG_fail;
16145 temp3 = true;
16146 }
16147 }
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 {
16155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16156 }
16157 {
16158 if (temp3)
16159 delete arg3;
16160 }
16161 return resultobj;
16162 fail:
16163 {
16164 if (temp3)
16165 delete arg3;
16166 }
16167 return NULL;
16168 }
16169
16170
16171 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16172 PyObject *resultobj = 0;
16173 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16174 bool result;
16175 void *argp1 = 0 ;
16176 int res1 = 0 ;
16177 PyObject *swig_obj[1] ;
16178
16179 if (!args) SWIG_fail;
16180 swig_obj[0] = args;
16181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16182 if (!SWIG_IsOK(res1)) {
16183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16184 }
16185 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 result = (bool)(arg1)->RemoveIcon();
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 {
16193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16194 }
16195 return resultobj;
16196 fail:
16197 return NULL;
16198 }
16199
16200
16201 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16202 PyObject *resultobj = 0;
16203 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16204 wxMenu *arg2 = (wxMenu *) 0 ;
16205 bool result;
16206 void *argp1 = 0 ;
16207 int res1 = 0 ;
16208 void *argp2 = 0 ;
16209 int res2 = 0 ;
16210 PyObject * obj0 = 0 ;
16211 PyObject * obj1 = 0 ;
16212 char * kwnames[] = {
16213 (char *) "self",(char *) "menu", NULL
16214 };
16215
16216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16218 if (!SWIG_IsOK(res1)) {
16219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16220 }
16221 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16222 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16223 if (!SWIG_IsOK(res2)) {
16224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16225 }
16226 arg2 = reinterpret_cast< wxMenu * >(argp2);
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (bool)(arg1)->PopupMenu(arg2);
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16235 }
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16243 PyObject *obj;
16244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16246 return SWIG_Py_Void();
16247 }
16248
16249 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16250 return SWIG_Python_InitShadowInstance(args);
16251 }
16252
16253 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj = 0;
16255 wxEventType arg1 ;
16256 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16257 wxTaskBarIconEvent *result = 0 ;
16258 int val1 ;
16259 int ecode1 = 0 ;
16260 void *argp2 = 0 ;
16261 int res2 = 0 ;
16262 PyObject * obj0 = 0 ;
16263 PyObject * obj1 = 0 ;
16264 char * kwnames[] = {
16265 (char *) "evtType",(char *) "tbIcon", NULL
16266 };
16267
16268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16269 ecode1 = SWIG_AsVal_int(obj0, &val1);
16270 if (!SWIG_IsOK(ecode1)) {
16271 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16272 }
16273 arg1 = static_cast< wxEventType >(val1);
16274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16275 if (!SWIG_IsOK(res2)) {
16276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16277 }
16278 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16282 wxPyEndAllowThreads(__tstate);
16283 if (PyErr_Occurred()) SWIG_fail;
16284 }
16285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16286 return resultobj;
16287 fail:
16288 return NULL;
16289 }
16290
16291
16292 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16293 PyObject *obj;
16294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16295 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16296 return SWIG_Py_Void();
16297 }
16298
16299 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16300 return SWIG_Python_InitShadowInstance(args);
16301 }
16302
16303 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16304 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16305 return 1;
16306 }
16307
16308
16309 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16310 PyObject *pyobj = 0;
16311
16312 {
16313 #if wxUSE_UNICODE
16314 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16315 #else
16316 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16317 #endif
16318 }
16319 return pyobj;
16320 }
16321
16322
16323 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16324 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16325 return 1;
16326 }
16327
16328
16329 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16330 PyObject *pyobj = 0;
16331
16332 {
16333 #if wxUSE_UNICODE
16334 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16335 #else
16336 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16337 #endif
16338 }
16339 return pyobj;
16340 }
16341
16342
16343 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16344 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16345 return 1;
16346 }
16347
16348
16349 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16350 PyObject *pyobj = 0;
16351
16352 {
16353 #if wxUSE_UNICODE
16354 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16355 #else
16356 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16357 #endif
16358 }
16359 return pyobj;
16360 }
16361
16362
16363 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16364 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16365 return 1;
16366 }
16367
16368
16369 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16370 PyObject *pyobj = 0;
16371
16372 {
16373 #if wxUSE_UNICODE
16374 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16375 #else
16376 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16377 #endif
16378 }
16379 return pyobj;
16380 }
16381
16382
16383 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16384 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16385 return 1;
16386 }
16387
16388
16389 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16390 PyObject *pyobj = 0;
16391
16392 {
16393 #if wxUSE_UNICODE
16394 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16395 #else
16396 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16397 #endif
16398 }
16399 return pyobj;
16400 }
16401
16402
16403 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16404 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16405 return 1;
16406 }
16407
16408
16409 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16410 PyObject *pyobj = 0;
16411
16412 {
16413 #if wxUSE_UNICODE
16414 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16415 #else
16416 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16417 #endif
16418 }
16419 return pyobj;
16420 }
16421
16422
16423 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16424 PyObject *resultobj = 0;
16425 wxColourData *result = 0 ;
16426
16427 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 result = (wxColourData *)new wxColourData();
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16442 PyObject *resultobj = 0;
16443 wxColourData *arg1 = (wxColourData *) 0 ;
16444 void *argp1 = 0 ;
16445 int res1 = 0 ;
16446 PyObject *swig_obj[1] ;
16447
16448 if (!args) SWIG_fail;
16449 swig_obj[0] = args;
16450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16451 if (!SWIG_IsOK(res1)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16453 }
16454 arg1 = reinterpret_cast< wxColourData * >(argp1);
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 delete arg1;
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 resultobj = SWIG_Py_Void();
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16470 PyObject *resultobj = 0;
16471 wxColourData *arg1 = (wxColourData *) 0 ;
16472 bool result;
16473 void *argp1 = 0 ;
16474 int res1 = 0 ;
16475 PyObject *swig_obj[1] ;
16476
16477 if (!args) SWIG_fail;
16478 swig_obj[0] = args;
16479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16480 if (!SWIG_IsOK(res1)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16482 }
16483 arg1 = reinterpret_cast< wxColourData * >(argp1);
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (bool)(arg1)->GetChooseFull();
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 {
16491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16500 PyObject *resultobj = 0;
16501 wxColourData *arg1 = (wxColourData *) 0 ;
16502 wxColour result;
16503 void *argp1 = 0 ;
16504 int res1 = 0 ;
16505 PyObject *swig_obj[1] ;
16506
16507 if (!args) SWIG_fail;
16508 swig_obj[0] = args;
16509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16510 if (!SWIG_IsOK(res1)) {
16511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16512 }
16513 arg1 = reinterpret_cast< wxColourData * >(argp1);
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (arg1)->GetColour();
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj = 0;
16529 wxColourData *arg1 = (wxColourData *) 0 ;
16530 int arg2 ;
16531 wxColour result;
16532 void *argp1 = 0 ;
16533 int res1 = 0 ;
16534 int val2 ;
16535 int ecode2 = 0 ;
16536 PyObject * obj0 = 0 ;
16537 PyObject * obj1 = 0 ;
16538 char * kwnames[] = {
16539 (char *) "self",(char *) "i", NULL
16540 };
16541
16542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16544 if (!SWIG_IsOK(res1)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16546 }
16547 arg1 = reinterpret_cast< wxColourData * >(argp1);
16548 ecode2 = SWIG_AsVal_int(obj1, &val2);
16549 if (!SWIG_IsOK(ecode2)) {
16550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16551 }
16552 arg2 = static_cast< int >(val2);
16553 {
16554 PyThreadState* __tstate = wxPyBeginAllowThreads();
16555 result = (arg1)->GetCustomColour(arg2);
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj = 0;
16568 wxColourData *arg1 = (wxColourData *) 0 ;
16569 int arg2 ;
16570 void *argp1 = 0 ;
16571 int res1 = 0 ;
16572 int val2 ;
16573 int ecode2 = 0 ;
16574 PyObject * obj0 = 0 ;
16575 PyObject * obj1 = 0 ;
16576 char * kwnames[] = {
16577 (char *) "self",(char *) "flag", NULL
16578 };
16579
16580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16582 if (!SWIG_IsOK(res1)) {
16583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16584 }
16585 arg1 = reinterpret_cast< wxColourData * >(argp1);
16586 ecode2 = SWIG_AsVal_int(obj1, &val2);
16587 if (!SWIG_IsOK(ecode2)) {
16588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16589 }
16590 arg2 = static_cast< int >(val2);
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 (arg1)->SetChooseFull(arg2);
16594 wxPyEndAllowThreads(__tstate);
16595 if (PyErr_Occurred()) SWIG_fail;
16596 }
16597 resultobj = SWIG_Py_Void();
16598 return resultobj;
16599 fail:
16600 return NULL;
16601 }
16602
16603
16604 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16605 PyObject *resultobj = 0;
16606 wxColourData *arg1 = (wxColourData *) 0 ;
16607 wxColour *arg2 = 0 ;
16608 void *argp1 = 0 ;
16609 int res1 = 0 ;
16610 wxColour temp2 ;
16611 PyObject * obj0 = 0 ;
16612 PyObject * obj1 = 0 ;
16613 char * kwnames[] = {
16614 (char *) "self",(char *) "colour", NULL
16615 };
16616
16617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16619 if (!SWIG_IsOK(res1)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16621 }
16622 arg1 = reinterpret_cast< wxColourData * >(argp1);
16623 {
16624 arg2 = &temp2;
16625 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16626 }
16627 {
16628 PyThreadState* __tstate = wxPyBeginAllowThreads();
16629 (arg1)->SetColour((wxColour const &)*arg2);
16630 wxPyEndAllowThreads(__tstate);
16631 if (PyErr_Occurred()) SWIG_fail;
16632 }
16633 resultobj = SWIG_Py_Void();
16634 return resultobj;
16635 fail:
16636 return NULL;
16637 }
16638
16639
16640 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj = 0;
16642 wxColourData *arg1 = (wxColourData *) 0 ;
16643 int arg2 ;
16644 wxColour *arg3 = 0 ;
16645 void *argp1 = 0 ;
16646 int res1 = 0 ;
16647 int val2 ;
16648 int ecode2 = 0 ;
16649 wxColour temp3 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 PyObject * obj2 = 0 ;
16653 char * kwnames[] = {
16654 (char *) "self",(char *) "i",(char *) "colour", NULL
16655 };
16656
16657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16659 if (!SWIG_IsOK(res1)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16661 }
16662 arg1 = reinterpret_cast< wxColourData * >(argp1);
16663 ecode2 = SWIG_AsVal_int(obj1, &val2);
16664 if (!SWIG_IsOK(ecode2)) {
16665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16666 }
16667 arg2 = static_cast< int >(val2);
16668 {
16669 arg3 = &temp3;
16670 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16671 }
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = SWIG_Py_Void();
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16686 PyObject *obj;
16687 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16688 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16689 return SWIG_Py_Void();
16690 }
16691
16692 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16693 return SWIG_Python_InitShadowInstance(args);
16694 }
16695
16696 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj = 0;
16698 wxWindow *arg1 = (wxWindow *) 0 ;
16699 wxColourData *arg2 = (wxColourData *) NULL ;
16700 wxColourDialog *result = 0 ;
16701 void *argp1 = 0 ;
16702 int res1 = 0 ;
16703 void *argp2 = 0 ;
16704 int res2 = 0 ;
16705 PyObject * obj0 = 0 ;
16706 PyObject * obj1 = 0 ;
16707 char * kwnames[] = {
16708 (char *) "parent",(char *) "data", NULL
16709 };
16710
16711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16713 if (!SWIG_IsOK(res1)) {
16714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16715 }
16716 arg1 = reinterpret_cast< wxWindow * >(argp1);
16717 if (obj1) {
16718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16719 if (!SWIG_IsOK(res2)) {
16720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16721 }
16722 arg2 = reinterpret_cast< wxColourData * >(argp2);
16723 }
16724 {
16725 if (!wxPyCheckForApp()) SWIG_fail;
16726 PyThreadState* __tstate = wxPyBeginAllowThreads();
16727 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16739 PyObject *resultobj = 0;
16740 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16741 wxColourData *result = 0 ;
16742 void *argp1 = 0 ;
16743 int res1 = 0 ;
16744 PyObject *swig_obj[1] ;
16745
16746 if (!args) SWIG_fail;
16747 swig_obj[0] = args;
16748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16749 if (!SWIG_IsOK(res1)) {
16750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16751 }
16752 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 {
16756 wxColourData &_result_ref = (arg1)->GetColourData();
16757 result = (wxColourData *) &_result_ref;
16758 }
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16770 PyObject *obj;
16771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16772 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16773 return SWIG_Py_Void();
16774 }
16775
16776 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16777 return SWIG_Python_InitShadowInstance(args);
16778 }
16779
16780 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj = 0;
16782 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16783 wxColour const &arg2_defvalue = wxNullColour ;
16784 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16785 wxString const &arg3_defvalue = wxPyEmptyString ;
16786 wxString *arg3 = (wxString *) &arg3_defvalue ;
16787 wxColour result;
16788 void *argp1 = 0 ;
16789 int res1 = 0 ;
16790 wxColour temp2 ;
16791 bool temp3 = false ;
16792 PyObject * obj0 = 0 ;
16793 PyObject * obj1 = 0 ;
16794 PyObject * obj2 = 0 ;
16795 char * kwnames[] = {
16796 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16797 };
16798
16799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16800 if (obj0) {
16801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16802 if (!SWIG_IsOK(res1)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16804 }
16805 arg1 = reinterpret_cast< wxWindow * >(argp1);
16806 }
16807 if (obj1) {
16808 {
16809 arg2 = &temp2;
16810 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16811 }
16812 }
16813 if (obj2) {
16814 {
16815 arg3 = wxString_in_helper(obj2);
16816 if (arg3 == NULL) SWIG_fail;
16817 temp3 = true;
16818 }
16819 }
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16827 {
16828 if (temp3)
16829 delete arg3;
16830 }
16831 return resultobj;
16832 fail:
16833 {
16834 if (temp3)
16835 delete arg3;
16836 }
16837 return NULL;
16838 }
16839
16840
16841 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj = 0;
16843 wxWindow *arg1 = (wxWindow *) 0 ;
16844 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16845 wxString *arg2 = (wxString *) &arg2_defvalue ;
16846 wxString const &arg3_defvalue = wxPyEmptyString ;
16847 wxString *arg3 = (wxString *) &arg3_defvalue ;
16848 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16849 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16850 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16851 wxSize const &arg6_defvalue = wxDefaultSize ;
16852 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16853 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16854 wxString *arg7 = (wxString *) &arg7_defvalue ;
16855 wxDirDialog *result = 0 ;
16856 void *argp1 = 0 ;
16857 int res1 = 0 ;
16858 bool temp2 = false ;
16859 bool temp3 = false ;
16860 long val4 ;
16861 int ecode4 = 0 ;
16862 wxPoint temp5 ;
16863 wxSize temp6 ;
16864 bool temp7 = false ;
16865 PyObject * obj0 = 0 ;
16866 PyObject * obj1 = 0 ;
16867 PyObject * obj2 = 0 ;
16868 PyObject * obj3 = 0 ;
16869 PyObject * obj4 = 0 ;
16870 PyObject * obj5 = 0 ;
16871 PyObject * obj6 = 0 ;
16872 char * kwnames[] = {
16873 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16874 };
16875
16876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16878 if (!SWIG_IsOK(res1)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16880 }
16881 arg1 = reinterpret_cast< wxWindow * >(argp1);
16882 if (obj1) {
16883 {
16884 arg2 = wxString_in_helper(obj1);
16885 if (arg2 == NULL) SWIG_fail;
16886 temp2 = true;
16887 }
16888 }
16889 if (obj2) {
16890 {
16891 arg3 = wxString_in_helper(obj2);
16892 if (arg3 == NULL) SWIG_fail;
16893 temp3 = true;
16894 }
16895 }
16896 if (obj3) {
16897 ecode4 = SWIG_AsVal_long(obj3, &val4);
16898 if (!SWIG_IsOK(ecode4)) {
16899 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16900 }
16901 arg4 = static_cast< long >(val4);
16902 }
16903 if (obj4) {
16904 {
16905 arg5 = &temp5;
16906 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16907 }
16908 }
16909 if (obj5) {
16910 {
16911 arg6 = &temp6;
16912 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16913 }
16914 }
16915 if (obj6) {
16916 {
16917 arg7 = wxString_in_helper(obj6);
16918 if (arg7 == NULL) SWIG_fail;
16919 temp7 = true;
16920 }
16921 }
16922 {
16923 if (!wxPyCheckForApp()) SWIG_fail;
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16930 {
16931 if (temp2)
16932 delete arg2;
16933 }
16934 {
16935 if (temp3)
16936 delete arg3;
16937 }
16938 {
16939 if (temp7)
16940 delete arg7;
16941 }
16942 return resultobj;
16943 fail:
16944 {
16945 if (temp2)
16946 delete arg2;
16947 }
16948 {
16949 if (temp3)
16950 delete arg3;
16951 }
16952 {
16953 if (temp7)
16954 delete arg7;
16955 }
16956 return NULL;
16957 }
16958
16959
16960 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16961 PyObject *resultobj = 0;
16962 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16963 wxString result;
16964 void *argp1 = 0 ;
16965 int res1 = 0 ;
16966 PyObject *swig_obj[1] ;
16967
16968 if (!args) SWIG_fail;
16969 swig_obj[0] = args;
16970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16971 if (!SWIG_IsOK(res1)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16973 }
16974 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 result = (arg1)->GetPath();
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 {
16982 #if wxUSE_UNICODE
16983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16984 #else
16985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16986 #endif
16987 }
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16995 PyObject *resultobj = 0;
16996 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16997 wxString result;
16998 void *argp1 = 0 ;
16999 int res1 = 0 ;
17000 PyObject *swig_obj[1] ;
17001
17002 if (!args) SWIG_fail;
17003 swig_obj[0] = args;
17004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17005 if (!SWIG_IsOK(res1)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17007 }
17008 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (arg1)->GetMessage();
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016 #if wxUSE_UNICODE
17017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17018 #else
17019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17020 #endif
17021 }
17022 return resultobj;
17023 fail:
17024 return NULL;
17025 }
17026
17027
17028 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj = 0;
17030 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17031 wxString *arg2 = 0 ;
17032 void *argp1 = 0 ;
17033 int res1 = 0 ;
17034 bool temp2 = false ;
17035 PyObject * obj0 = 0 ;
17036 PyObject * obj1 = 0 ;
17037 char * kwnames[] = {
17038 (char *) "self",(char *) "message", NULL
17039 };
17040
17041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17043 if (!SWIG_IsOK(res1)) {
17044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17045 }
17046 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17047 {
17048 arg2 = wxString_in_helper(obj1);
17049 if (arg2 == NULL) SWIG_fail;
17050 temp2 = true;
17051 }
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->SetMessage((wxString const &)*arg2);
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 resultobj = SWIG_Py_Void();
17059 {
17060 if (temp2)
17061 delete arg2;
17062 }
17063 return resultobj;
17064 fail:
17065 {
17066 if (temp2)
17067 delete arg2;
17068 }
17069 return NULL;
17070 }
17071
17072
17073 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj = 0;
17075 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17076 wxString *arg2 = 0 ;
17077 void *argp1 = 0 ;
17078 int res1 = 0 ;
17079 bool temp2 = false ;
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 char * kwnames[] = {
17083 (char *) "self",(char *) "path", NULL
17084 };
17085
17086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17088 if (!SWIG_IsOK(res1)) {
17089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17090 }
17091 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17092 {
17093 arg2 = wxString_in_helper(obj1);
17094 if (arg2 == NULL) SWIG_fail;
17095 temp2 = true;
17096 }
17097 {
17098 PyThreadState* __tstate = wxPyBeginAllowThreads();
17099 (arg1)->SetPath((wxString const &)*arg2);
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = SWIG_Py_Void();
17104 {
17105 if (temp2)
17106 delete arg2;
17107 }
17108 return resultobj;
17109 fail:
17110 {
17111 if (temp2)
17112 delete arg2;
17113 }
17114 return NULL;
17115 }
17116
17117
17118 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17119 PyObject *obj;
17120 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17121 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17122 return SWIG_Py_Void();
17123 }
17124
17125 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17126 return SWIG_Python_InitShadowInstance(args);
17127 }
17128
17129 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj = 0;
17131 wxWindow *arg1 = (wxWindow *) 0 ;
17132 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17133 wxString *arg2 = (wxString *) &arg2_defvalue ;
17134 wxString const &arg3_defvalue = wxPyEmptyString ;
17135 wxString *arg3 = (wxString *) &arg3_defvalue ;
17136 wxString const &arg4_defvalue = wxPyEmptyString ;
17137 wxString *arg4 = (wxString *) &arg4_defvalue ;
17138 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17139 wxString *arg5 = (wxString *) &arg5_defvalue ;
17140 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17141 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17142 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17143 wxFileDialog *result = 0 ;
17144 void *argp1 = 0 ;
17145 int res1 = 0 ;
17146 bool temp2 = false ;
17147 bool temp3 = false ;
17148 bool temp4 = false ;
17149 bool temp5 = false ;
17150 long val6 ;
17151 int ecode6 = 0 ;
17152 wxPoint temp7 ;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 PyObject * obj2 = 0 ;
17156 PyObject * obj3 = 0 ;
17157 PyObject * obj4 = 0 ;
17158 PyObject * obj5 = 0 ;
17159 PyObject * obj6 = 0 ;
17160 char * kwnames[] = {
17161 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17162 };
17163
17164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17166 if (!SWIG_IsOK(res1)) {
17167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17168 }
17169 arg1 = reinterpret_cast< wxWindow * >(argp1);
17170 if (obj1) {
17171 {
17172 arg2 = wxString_in_helper(obj1);
17173 if (arg2 == NULL) SWIG_fail;
17174 temp2 = true;
17175 }
17176 }
17177 if (obj2) {
17178 {
17179 arg3 = wxString_in_helper(obj2);
17180 if (arg3 == NULL) SWIG_fail;
17181 temp3 = true;
17182 }
17183 }
17184 if (obj3) {
17185 {
17186 arg4 = wxString_in_helper(obj3);
17187 if (arg4 == NULL) SWIG_fail;
17188 temp4 = true;
17189 }
17190 }
17191 if (obj4) {
17192 {
17193 arg5 = wxString_in_helper(obj4);
17194 if (arg5 == NULL) SWIG_fail;
17195 temp5 = true;
17196 }
17197 }
17198 if (obj5) {
17199 ecode6 = SWIG_AsVal_long(obj5, &val6);
17200 if (!SWIG_IsOK(ecode6)) {
17201 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17202 }
17203 arg6 = static_cast< long >(val6);
17204 }
17205 if (obj6) {
17206 {
17207 arg7 = &temp7;
17208 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17209 }
17210 }
17211 {
17212 if (!wxPyCheckForApp()) SWIG_fail;
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17219 {
17220 if (temp2)
17221 delete arg2;
17222 }
17223 {
17224 if (temp3)
17225 delete arg3;
17226 }
17227 {
17228 if (temp4)
17229 delete arg4;
17230 }
17231 {
17232 if (temp5)
17233 delete arg5;
17234 }
17235 return resultobj;
17236 fail:
17237 {
17238 if (temp2)
17239 delete arg2;
17240 }
17241 {
17242 if (temp3)
17243 delete arg3;
17244 }
17245 {
17246 if (temp4)
17247 delete arg4;
17248 }
17249 {
17250 if (temp5)
17251 delete arg5;
17252 }
17253 return NULL;
17254 }
17255
17256
17257 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj = 0;
17259 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17260 wxString *arg2 = 0 ;
17261 void *argp1 = 0 ;
17262 int res1 = 0 ;
17263 bool temp2 = false ;
17264 PyObject * obj0 = 0 ;
17265 PyObject * obj1 = 0 ;
17266 char * kwnames[] = {
17267 (char *) "self",(char *) "message", NULL
17268 };
17269
17270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17272 if (!SWIG_IsOK(res1)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17274 }
17275 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17276 {
17277 arg2 = wxString_in_helper(obj1);
17278 if (arg2 == NULL) SWIG_fail;
17279 temp2 = true;
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 (arg1)->SetMessage((wxString const &)*arg2);
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 resultobj = SWIG_Py_Void();
17288 {
17289 if (temp2)
17290 delete arg2;
17291 }
17292 return resultobj;
17293 fail:
17294 {
17295 if (temp2)
17296 delete arg2;
17297 }
17298 return NULL;
17299 }
17300
17301
17302 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj = 0;
17304 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17305 wxString *arg2 = 0 ;
17306 void *argp1 = 0 ;
17307 int res1 = 0 ;
17308 bool temp2 = false ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char * kwnames[] = {
17312 (char *) "self",(char *) "path", NULL
17313 };
17314
17315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17317 if (!SWIG_IsOK(res1)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17319 }
17320 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17321 {
17322 arg2 = wxString_in_helper(obj1);
17323 if (arg2 == NULL) SWIG_fail;
17324 temp2 = true;
17325 }
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 (arg1)->SetPath((wxString const &)*arg2);
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = SWIG_Py_Void();
17333 {
17334 if (temp2)
17335 delete arg2;
17336 }
17337 return resultobj;
17338 fail:
17339 {
17340 if (temp2)
17341 delete arg2;
17342 }
17343 return NULL;
17344 }
17345
17346
17347 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj = 0;
17349 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17350 wxString *arg2 = 0 ;
17351 void *argp1 = 0 ;
17352 int res1 = 0 ;
17353 bool temp2 = false ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char * kwnames[] = {
17357 (char *) "self",(char *) "dir", NULL
17358 };
17359
17360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17362 if (!SWIG_IsOK(res1)) {
17363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17364 }
17365 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17366 {
17367 arg2 = wxString_in_helper(obj1);
17368 if (arg2 == NULL) SWIG_fail;
17369 temp2 = true;
17370 }
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 (arg1)->SetDirectory((wxString const &)*arg2);
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 resultobj = SWIG_Py_Void();
17378 {
17379 if (temp2)
17380 delete arg2;
17381 }
17382 return resultobj;
17383 fail:
17384 {
17385 if (temp2)
17386 delete arg2;
17387 }
17388 return NULL;
17389 }
17390
17391
17392 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj = 0;
17394 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17395 wxString *arg2 = 0 ;
17396 void *argp1 = 0 ;
17397 int res1 = 0 ;
17398 bool temp2 = false ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char * kwnames[] = {
17402 (char *) "self",(char *) "name", NULL
17403 };
17404
17405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17407 if (!SWIG_IsOK(res1)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17409 }
17410 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17411 {
17412 arg2 = wxString_in_helper(obj1);
17413 if (arg2 == NULL) SWIG_fail;
17414 temp2 = true;
17415 }
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 (arg1)->SetFilename((wxString const &)*arg2);
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = SWIG_Py_Void();
17423 {
17424 if (temp2)
17425 delete arg2;
17426 }
17427 return resultobj;
17428 fail:
17429 {
17430 if (temp2)
17431 delete arg2;
17432 }
17433 return NULL;
17434 }
17435
17436
17437 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj = 0;
17439 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17440 wxString *arg2 = 0 ;
17441 void *argp1 = 0 ;
17442 int res1 = 0 ;
17443 bool temp2 = false ;
17444 PyObject * obj0 = 0 ;
17445 PyObject * obj1 = 0 ;
17446 char * kwnames[] = {
17447 (char *) "self",(char *) "wildCard", NULL
17448 };
17449
17450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17452 if (!SWIG_IsOK(res1)) {
17453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17454 }
17455 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17456 {
17457 arg2 = wxString_in_helper(obj1);
17458 if (arg2 == NULL) SWIG_fail;
17459 temp2 = true;
17460 }
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 (arg1)->SetWildcard((wxString const &)*arg2);
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 resultobj = SWIG_Py_Void();
17468 {
17469 if (temp2)
17470 delete arg2;
17471 }
17472 return resultobj;
17473 fail:
17474 {
17475 if (temp2)
17476 delete arg2;
17477 }
17478 return NULL;
17479 }
17480
17481
17482 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17483 PyObject *resultobj = 0;
17484 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17485 int arg2 ;
17486 void *argp1 = 0 ;
17487 int res1 = 0 ;
17488 int val2 ;
17489 int ecode2 = 0 ;
17490 PyObject * obj0 = 0 ;
17491 PyObject * obj1 = 0 ;
17492 char * kwnames[] = {
17493 (char *) "self",(char *) "filterIndex", NULL
17494 };
17495
17496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17498 if (!SWIG_IsOK(res1)) {
17499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17500 }
17501 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17502 ecode2 = SWIG_AsVal_int(obj1, &val2);
17503 if (!SWIG_IsOK(ecode2)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17505 }
17506 arg2 = static_cast< int >(val2);
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 (arg1)->SetFilterIndex(arg2);
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 resultobj = SWIG_Py_Void();
17514 return resultobj;
17515 fail:
17516 return NULL;
17517 }
17518
17519
17520 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17521 PyObject *resultobj = 0;
17522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17523 wxString result;
17524 void *argp1 = 0 ;
17525 int res1 = 0 ;
17526 PyObject *swig_obj[1] ;
17527
17528 if (!args) SWIG_fail;
17529 swig_obj[0] = args;
17530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17531 if (!SWIG_IsOK(res1)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17533 }
17534 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = ((wxFileDialog const *)arg1)->GetMessage();
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 {
17542 #if wxUSE_UNICODE
17543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17544 #else
17545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17546 #endif
17547 }
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17555 PyObject *resultobj = 0;
17556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17557 wxString result;
17558 void *argp1 = 0 ;
17559 int res1 = 0 ;
17560 PyObject *swig_obj[1] ;
17561
17562 if (!args) SWIG_fail;
17563 swig_obj[0] = args;
17564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17565 if (!SWIG_IsOK(res1)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17567 }
17568 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 result = ((wxFileDialog const *)arg1)->GetPath();
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 {
17576 #if wxUSE_UNICODE
17577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17578 #else
17579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17580 #endif
17581 }
17582 return resultobj;
17583 fail:
17584 return NULL;
17585 }
17586
17587
17588 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17589 PyObject *resultobj = 0;
17590 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17591 wxString result;
17592 void *argp1 = 0 ;
17593 int res1 = 0 ;
17594 PyObject *swig_obj[1] ;
17595
17596 if (!args) SWIG_fail;
17597 swig_obj[0] = args;
17598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17599 if (!SWIG_IsOK(res1)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17601 }
17602 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = ((wxFileDialog const *)arg1)->GetDirectory();
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 {
17610 #if wxUSE_UNICODE
17611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17612 #else
17613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17614 #endif
17615 }
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 PyObject *resultobj = 0;
17624 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17625 wxString result;
17626 void *argp1 = 0 ;
17627 int res1 = 0 ;
17628 PyObject *swig_obj[1] ;
17629
17630 if (!args) SWIG_fail;
17631 swig_obj[0] = args;
17632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17633 if (!SWIG_IsOK(res1)) {
17634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17635 }
17636 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = ((wxFileDialog const *)arg1)->GetFilename();
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 {
17644 #if wxUSE_UNICODE
17645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17646 #else
17647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17648 #endif
17649 }
17650 return resultobj;
17651 fail:
17652 return NULL;
17653 }
17654
17655
17656 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17657 PyObject *resultobj = 0;
17658 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17659 wxString result;
17660 void *argp1 = 0 ;
17661 int res1 = 0 ;
17662 PyObject *swig_obj[1] ;
17663
17664 if (!args) SWIG_fail;
17665 swig_obj[0] = args;
17666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17667 if (!SWIG_IsOK(res1)) {
17668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17669 }
17670 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 result = ((wxFileDialog const *)arg1)->GetWildcard();
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 {
17678 #if wxUSE_UNICODE
17679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17680 #else
17681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17682 #endif
17683 }
17684 return resultobj;
17685 fail:
17686 return NULL;
17687 }
17688
17689
17690 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17691 PyObject *resultobj = 0;
17692 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17693 int result;
17694 void *argp1 = 0 ;
17695 int res1 = 0 ;
17696 PyObject *swig_obj[1] ;
17697
17698 if (!args) SWIG_fail;
17699 swig_obj[0] = args;
17700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17701 if (!SWIG_IsOK(res1)) {
17702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17703 }
17704 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17705 {
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = SWIG_From_int(static_cast< int >(result));
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17719 PyObject *resultobj = 0;
17720 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17721 PyObject *result = 0 ;
17722 void *argp1 = 0 ;
17723 int res1 = 0 ;
17724 PyObject *swig_obj[1] ;
17725
17726 if (!args) SWIG_fail;
17727 swig_obj[0] = args;
17728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17729 if (!SWIG_IsOK(res1)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17731 }
17732 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 resultobj = result;
17740 return resultobj;
17741 fail:
17742 return NULL;
17743 }
17744
17745
17746 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17747 PyObject *resultobj = 0;
17748 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17749 PyObject *result = 0 ;
17750 void *argp1 = 0 ;
17751 int res1 = 0 ;
17752 PyObject *swig_obj[1] ;
17753
17754 if (!args) SWIG_fail;
17755 swig_obj[0] = args;
17756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17757 if (!SWIG_IsOK(res1)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17759 }
17760 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 resultobj = result;
17768 return resultobj;
17769 fail:
17770 return NULL;
17771 }
17772
17773
17774 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17775 PyObject *obj;
17776 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17777 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17778 return SWIG_Py_Void();
17779 }
17780
17781 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17782 return SWIG_Python_InitShadowInstance(args);
17783 }
17784
17785 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17786 PyObject *resultobj = 0;
17787 wxWindow *arg1 = (wxWindow *) 0 ;
17788 wxString *arg2 = 0 ;
17789 wxString *arg3 = 0 ;
17790 int arg4 = (int) 0 ;
17791 wxString *arg5 = (wxString *) NULL ;
17792 long arg6 = (long) wxCHOICEDLG_STYLE ;
17793 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17794 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17795 wxMultiChoiceDialog *result = 0 ;
17796 void *argp1 = 0 ;
17797 int res1 = 0 ;
17798 bool temp2 = false ;
17799 bool temp3 = false ;
17800 long val6 ;
17801 int ecode6 = 0 ;
17802 wxPoint temp7 ;
17803 PyObject * obj0 = 0 ;
17804 PyObject * obj1 = 0 ;
17805 PyObject * obj2 = 0 ;
17806 PyObject * obj3 = 0 ;
17807 PyObject * obj4 = 0 ;
17808 PyObject * obj5 = 0 ;
17809 char * kwnames[] = {
17810 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17811 };
17812
17813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17815 if (!SWIG_IsOK(res1)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17817 }
17818 arg1 = reinterpret_cast< wxWindow * >(argp1);
17819 {
17820 arg2 = wxString_in_helper(obj1);
17821 if (arg2 == NULL) SWIG_fail;
17822 temp2 = true;
17823 }
17824 {
17825 arg3 = wxString_in_helper(obj2);
17826 if (arg3 == NULL) SWIG_fail;
17827 temp3 = true;
17828 }
17829 if (obj3) {
17830 {
17831 arg4 = PyList_Size(obj3);
17832 arg5 = wxString_LIST_helper(obj3);
17833 if (arg5 == NULL) SWIG_fail;
17834 }
17835 }
17836 if (obj4) {
17837 ecode6 = SWIG_AsVal_long(obj4, &val6);
17838 if (!SWIG_IsOK(ecode6)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17840 }
17841 arg6 = static_cast< long >(val6);
17842 }
17843 if (obj5) {
17844 {
17845 arg7 = &temp7;
17846 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17847 }
17848 }
17849 {
17850 if (!wxPyCheckForApp()) SWIG_fail;
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17857 {
17858 if (temp2)
17859 delete arg2;
17860 }
17861 {
17862 if (temp3)
17863 delete arg3;
17864 }
17865 {
17866 if (arg5) delete [] arg5;
17867 }
17868 return resultobj;
17869 fail:
17870 {
17871 if (temp2)
17872 delete arg2;
17873 }
17874 {
17875 if (temp3)
17876 delete arg3;
17877 }
17878 {
17879 if (arg5) delete [] arg5;
17880 }
17881 return NULL;
17882 }
17883
17884
17885 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj = 0;
17887 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17888 wxArrayInt *arg2 = 0 ;
17889 void *argp1 = 0 ;
17890 int res1 = 0 ;
17891 bool temp2 = false ;
17892 PyObject * obj0 = 0 ;
17893 PyObject * obj1 = 0 ;
17894 char * kwnames[] = {
17895 (char *) "self",(char *) "selections", NULL
17896 };
17897
17898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17900 if (!SWIG_IsOK(res1)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17902 }
17903 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17904 {
17905 if (! PySequence_Check(obj1)) {
17906 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17907 SWIG_fail;
17908 }
17909 arg2 = new wxArrayInt;
17910 temp2 = true;
17911 int i, len=PySequence_Length(obj1);
17912 for (i=0; i<len; i++) {
17913 PyObject* item = PySequence_GetItem(obj1, i);
17914 PyObject* number = PyNumber_Int(item);
17915 arg2->Add(PyInt_AS_LONG(number));
17916 Py_DECREF(item);
17917 Py_DECREF(number);
17918 }
17919 }
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = SWIG_Py_Void();
17927 {
17928 if (temp2) delete arg2;
17929 }
17930 return resultobj;
17931 fail:
17932 {
17933 if (temp2) delete arg2;
17934 }
17935 return NULL;
17936 }
17937
17938
17939 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17940 PyObject *resultobj = 0;
17941 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17942 PyObject *result = 0 ;
17943 void *argp1 = 0 ;
17944 int res1 = 0 ;
17945 PyObject *swig_obj[1] ;
17946
17947 if (!args) SWIG_fail;
17948 swig_obj[0] = args;
17949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17950 if (!SWIG_IsOK(res1)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17952 }
17953 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 resultobj = result;
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17968 PyObject *obj;
17969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17970 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17971 return SWIG_Py_Void();
17972 }
17973
17974 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17975 return SWIG_Python_InitShadowInstance(args);
17976 }
17977
17978 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj = 0;
17980 wxWindow *arg1 = (wxWindow *) 0 ;
17981 wxString *arg2 = 0 ;
17982 wxString *arg3 = 0 ;
17983 int arg4 ;
17984 wxString *arg5 = (wxString *) 0 ;
17985 long arg6 = (long) wxCHOICEDLG_STYLE ;
17986 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17987 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17988 wxSingleChoiceDialog *result = 0 ;
17989 void *argp1 = 0 ;
17990 int res1 = 0 ;
17991 bool temp2 = false ;
17992 bool temp3 = false ;
17993 long val6 ;
17994 int ecode6 = 0 ;
17995 wxPoint temp7 ;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj1 = 0 ;
17998 PyObject * obj2 = 0 ;
17999 PyObject * obj3 = 0 ;
18000 PyObject * obj4 = 0 ;
18001 PyObject * obj5 = 0 ;
18002 char * kwnames[] = {
18003 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18004 };
18005
18006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18008 if (!SWIG_IsOK(res1)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18010 }
18011 arg1 = reinterpret_cast< wxWindow * >(argp1);
18012 {
18013 arg2 = wxString_in_helper(obj1);
18014 if (arg2 == NULL) SWIG_fail;
18015 temp2 = true;
18016 }
18017 {
18018 arg3 = wxString_in_helper(obj2);
18019 if (arg3 == NULL) SWIG_fail;
18020 temp3 = true;
18021 }
18022 {
18023 arg4 = PyList_Size(obj3);
18024 arg5 = wxString_LIST_helper(obj3);
18025 if (arg5 == NULL) SWIG_fail;
18026 }
18027 if (obj4) {
18028 ecode6 = SWIG_AsVal_long(obj4, &val6);
18029 if (!SWIG_IsOK(ecode6)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18031 }
18032 arg6 = static_cast< long >(val6);
18033 }
18034 if (obj5) {
18035 {
18036 arg7 = &temp7;
18037 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18038 }
18039 }
18040 {
18041 if (!wxPyCheckForApp()) SWIG_fail;
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18048 {
18049 if (temp2)
18050 delete arg2;
18051 }
18052 {
18053 if (temp3)
18054 delete arg3;
18055 }
18056 {
18057 if (arg5) delete [] arg5;
18058 }
18059 return resultobj;
18060 fail:
18061 {
18062 if (temp2)
18063 delete arg2;
18064 }
18065 {
18066 if (temp3)
18067 delete arg3;
18068 }
18069 {
18070 if (arg5) delete [] arg5;
18071 }
18072 return NULL;
18073 }
18074
18075
18076 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18077 PyObject *resultobj = 0;
18078 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18079 int result;
18080 void *argp1 = 0 ;
18081 int res1 = 0 ;
18082 PyObject *swig_obj[1] ;
18083
18084 if (!args) SWIG_fail;
18085 swig_obj[0] = args;
18086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18087 if (!SWIG_IsOK(res1)) {
18088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18089 }
18090 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18091 {
18092 PyThreadState* __tstate = wxPyBeginAllowThreads();
18093 result = (int)(arg1)->GetSelection();
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 resultobj = SWIG_From_int(static_cast< int >(result));
18098 return resultobj;
18099 fail:
18100 return NULL;
18101 }
18102
18103
18104 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18105 PyObject *resultobj = 0;
18106 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18107 wxString result;
18108 void *argp1 = 0 ;
18109 int res1 = 0 ;
18110 PyObject *swig_obj[1] ;
18111
18112 if (!args) SWIG_fail;
18113 swig_obj[0] = args;
18114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18115 if (!SWIG_IsOK(res1)) {
18116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18117 }
18118 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 result = (arg1)->GetStringSelection();
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 {
18126 #if wxUSE_UNICODE
18127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18128 #else
18129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18130 #endif
18131 }
18132 return resultobj;
18133 fail:
18134 return NULL;
18135 }
18136
18137
18138 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj = 0;
18140 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18141 int arg2 ;
18142 void *argp1 = 0 ;
18143 int res1 = 0 ;
18144 int val2 ;
18145 int ecode2 = 0 ;
18146 PyObject * obj0 = 0 ;
18147 PyObject * obj1 = 0 ;
18148 char * kwnames[] = {
18149 (char *) "self",(char *) "sel", NULL
18150 };
18151
18152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18154 if (!SWIG_IsOK(res1)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18156 }
18157 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18158 ecode2 = SWIG_AsVal_int(obj1, &val2);
18159 if (!SWIG_IsOK(ecode2)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18161 }
18162 arg2 = static_cast< int >(val2);
18163 {
18164 PyThreadState* __tstate = wxPyBeginAllowThreads();
18165 (arg1)->SetSelection(arg2);
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 resultobj = SWIG_Py_Void();
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18177 PyObject *obj;
18178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18179 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18180 return SWIG_Py_Void();
18181 }
18182
18183 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18184 return SWIG_Python_InitShadowInstance(args);
18185 }
18186
18187 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj = 0;
18189 wxWindow *arg1 = (wxWindow *) 0 ;
18190 wxString *arg2 = 0 ;
18191 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18192 wxString *arg3 = (wxString *) &arg3_defvalue ;
18193 wxString const &arg4_defvalue = wxPyEmptyString ;
18194 wxString *arg4 = (wxString *) &arg4_defvalue ;
18195 long arg5 = (long) wxTextEntryDialogStyle ;
18196 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18197 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18198 wxTextEntryDialog *result = 0 ;
18199 void *argp1 = 0 ;
18200 int res1 = 0 ;
18201 bool temp2 = false ;
18202 bool temp3 = false ;
18203 bool temp4 = false ;
18204 long val5 ;
18205 int ecode5 = 0 ;
18206 wxPoint temp6 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
18210 PyObject * obj3 = 0 ;
18211 PyObject * obj4 = 0 ;
18212 PyObject * obj5 = 0 ;
18213 char * kwnames[] = {
18214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18215 };
18216
18217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18219 if (!SWIG_IsOK(res1)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18221 }
18222 arg1 = reinterpret_cast< wxWindow * >(argp1);
18223 {
18224 arg2 = wxString_in_helper(obj1);
18225 if (arg2 == NULL) SWIG_fail;
18226 temp2 = true;
18227 }
18228 if (obj2) {
18229 {
18230 arg3 = wxString_in_helper(obj2);
18231 if (arg3 == NULL) SWIG_fail;
18232 temp3 = true;
18233 }
18234 }
18235 if (obj3) {
18236 {
18237 arg4 = wxString_in_helper(obj3);
18238 if (arg4 == NULL) SWIG_fail;
18239 temp4 = true;
18240 }
18241 }
18242 if (obj4) {
18243 ecode5 = SWIG_AsVal_long(obj4, &val5);
18244 if (!SWIG_IsOK(ecode5)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18246 }
18247 arg5 = static_cast< long >(val5);
18248 }
18249 if (obj5) {
18250 {
18251 arg6 = &temp6;
18252 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18253 }
18254 }
18255 {
18256 if (!wxPyCheckForApp()) SWIG_fail;
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18263 {
18264 if (temp2)
18265 delete arg2;
18266 }
18267 {
18268 if (temp3)
18269 delete arg3;
18270 }
18271 {
18272 if (temp4)
18273 delete arg4;
18274 }
18275 return resultobj;
18276 fail:
18277 {
18278 if (temp2)
18279 delete arg2;
18280 }
18281 {
18282 if (temp3)
18283 delete arg3;
18284 }
18285 {
18286 if (temp4)
18287 delete arg4;
18288 }
18289 return NULL;
18290 }
18291
18292
18293 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18294 PyObject *resultobj = 0;
18295 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18296 wxString result;
18297 void *argp1 = 0 ;
18298 int res1 = 0 ;
18299 PyObject *swig_obj[1] ;
18300
18301 if (!args) SWIG_fail;
18302 swig_obj[0] = args;
18303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18304 if (!SWIG_IsOK(res1)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18306 }
18307 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (arg1)->GetValue();
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 {
18315 #if wxUSE_UNICODE
18316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18317 #else
18318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18319 #endif
18320 }
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj = 0;
18329 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18330 wxString *arg2 = 0 ;
18331 void *argp1 = 0 ;
18332 int res1 = 0 ;
18333 bool temp2 = false ;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 char * kwnames[] = {
18337 (char *) "self",(char *) "value", NULL
18338 };
18339
18340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18342 if (!SWIG_IsOK(res1)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18344 }
18345 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18346 {
18347 arg2 = wxString_in_helper(obj1);
18348 if (arg2 == NULL) SWIG_fail;
18349 temp2 = true;
18350 }
18351 {
18352 PyThreadState* __tstate = wxPyBeginAllowThreads();
18353 (arg1)->SetValue((wxString const &)*arg2);
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 resultobj = SWIG_Py_Void();
18358 {
18359 if (temp2)
18360 delete arg2;
18361 }
18362 return resultobj;
18363 fail:
18364 {
18365 if (temp2)
18366 delete arg2;
18367 }
18368 return NULL;
18369 }
18370
18371
18372 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18373 PyObject *obj;
18374 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18375 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18376 return SWIG_Py_Void();
18377 }
18378
18379 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18380 return SWIG_Python_InitShadowInstance(args);
18381 }
18382
18383 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18384 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18385 return 1;
18386 }
18387
18388
18389 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18390 PyObject *pyobj = 0;
18391
18392 {
18393 #if wxUSE_UNICODE
18394 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18395 #else
18396 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18397 #endif
18398 }
18399 return pyobj;
18400 }
18401
18402
18403 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj = 0;
18405 wxWindow *arg1 = (wxWindow *) 0 ;
18406 wxString *arg2 = 0 ;
18407 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18408 wxString *arg3 = (wxString *) &arg3_defvalue ;
18409 wxString const &arg4_defvalue = wxPyEmptyString ;
18410 wxString *arg4 = (wxString *) &arg4_defvalue ;
18411 long arg5 = (long) wxTextEntryDialogStyle ;
18412 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18413 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18414 wxPasswordEntryDialog *result = 0 ;
18415 void *argp1 = 0 ;
18416 int res1 = 0 ;
18417 bool temp2 = false ;
18418 bool temp3 = false ;
18419 bool temp4 = false ;
18420 long val5 ;
18421 int ecode5 = 0 ;
18422 wxPoint temp6 ;
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 PyObject * obj2 = 0 ;
18426 PyObject * obj3 = 0 ;
18427 PyObject * obj4 = 0 ;
18428 PyObject * obj5 = 0 ;
18429 char * kwnames[] = {
18430 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18431 };
18432
18433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18435 if (!SWIG_IsOK(res1)) {
18436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18437 }
18438 arg1 = reinterpret_cast< wxWindow * >(argp1);
18439 {
18440 arg2 = wxString_in_helper(obj1);
18441 if (arg2 == NULL) SWIG_fail;
18442 temp2 = true;
18443 }
18444 if (obj2) {
18445 {
18446 arg3 = wxString_in_helper(obj2);
18447 if (arg3 == NULL) SWIG_fail;
18448 temp3 = true;
18449 }
18450 }
18451 if (obj3) {
18452 {
18453 arg4 = wxString_in_helper(obj3);
18454 if (arg4 == NULL) SWIG_fail;
18455 temp4 = true;
18456 }
18457 }
18458 if (obj4) {
18459 ecode5 = SWIG_AsVal_long(obj4, &val5);
18460 if (!SWIG_IsOK(ecode5)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18462 }
18463 arg5 = static_cast< long >(val5);
18464 }
18465 if (obj5) {
18466 {
18467 arg6 = &temp6;
18468 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18469 }
18470 }
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18478 {
18479 if (temp2)
18480 delete arg2;
18481 }
18482 {
18483 if (temp3)
18484 delete arg3;
18485 }
18486 {
18487 if (temp4)
18488 delete arg4;
18489 }
18490 return resultobj;
18491 fail:
18492 {
18493 if (temp2)
18494 delete arg2;
18495 }
18496 {
18497 if (temp3)
18498 delete arg3;
18499 }
18500 {
18501 if (temp4)
18502 delete arg4;
18503 }
18504 return NULL;
18505 }
18506
18507
18508 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18509 PyObject *obj;
18510 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18511 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18512 return SWIG_Py_Void();
18513 }
18514
18515 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18516 return SWIG_Python_InitShadowInstance(args);
18517 }
18518
18519 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj = 0;
18521 wxWindow *arg1 = (wxWindow *) 0 ;
18522 wxString *arg2 = 0 ;
18523 wxString *arg3 = 0 ;
18524 wxString *arg4 = 0 ;
18525 long arg5 ;
18526 long arg6 ;
18527 long arg7 ;
18528 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18529 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18530 wxNumberEntryDialog *result = 0 ;
18531 void *argp1 = 0 ;
18532 int res1 = 0 ;
18533 bool temp2 = false ;
18534 bool temp3 = false ;
18535 bool temp4 = false ;
18536 long val5 ;
18537 int ecode5 = 0 ;
18538 long val6 ;
18539 int ecode6 = 0 ;
18540 long val7 ;
18541 int ecode7 = 0 ;
18542 wxPoint temp8 ;
18543 PyObject * obj0 = 0 ;
18544 PyObject * obj1 = 0 ;
18545 PyObject * obj2 = 0 ;
18546 PyObject * obj3 = 0 ;
18547 PyObject * obj4 = 0 ;
18548 PyObject * obj5 = 0 ;
18549 PyObject * obj6 = 0 ;
18550 PyObject * obj7 = 0 ;
18551 char * kwnames[] = {
18552 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18553 };
18554
18555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18557 if (!SWIG_IsOK(res1)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18559 }
18560 arg1 = reinterpret_cast< wxWindow * >(argp1);
18561 {
18562 arg2 = wxString_in_helper(obj1);
18563 if (arg2 == NULL) SWIG_fail;
18564 temp2 = true;
18565 }
18566 {
18567 arg3 = wxString_in_helper(obj2);
18568 if (arg3 == NULL) SWIG_fail;
18569 temp3 = true;
18570 }
18571 {
18572 arg4 = wxString_in_helper(obj3);
18573 if (arg4 == NULL) SWIG_fail;
18574 temp4 = true;
18575 }
18576 ecode5 = SWIG_AsVal_long(obj4, &val5);
18577 if (!SWIG_IsOK(ecode5)) {
18578 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18579 }
18580 arg5 = static_cast< long >(val5);
18581 ecode6 = SWIG_AsVal_long(obj5, &val6);
18582 if (!SWIG_IsOK(ecode6)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18584 }
18585 arg6 = static_cast< long >(val6);
18586 ecode7 = SWIG_AsVal_long(obj6, &val7);
18587 if (!SWIG_IsOK(ecode7)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18589 }
18590 arg7 = static_cast< long >(val7);
18591 if (obj7) {
18592 {
18593 arg8 = &temp8;
18594 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18595 }
18596 }
18597 {
18598 if (!wxPyCheckForApp()) SWIG_fail;
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18605 {
18606 if (temp2)
18607 delete arg2;
18608 }
18609 {
18610 if (temp3)
18611 delete arg3;
18612 }
18613 {
18614 if (temp4)
18615 delete arg4;
18616 }
18617 return resultobj;
18618 fail:
18619 {
18620 if (temp2)
18621 delete arg2;
18622 }
18623 {
18624 if (temp3)
18625 delete arg3;
18626 }
18627 {
18628 if (temp4)
18629 delete arg4;
18630 }
18631 return NULL;
18632 }
18633
18634
18635 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18636 PyObject *resultobj = 0;
18637 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18638 long result;
18639 void *argp1 = 0 ;
18640 int res1 = 0 ;
18641 PyObject *swig_obj[1] ;
18642
18643 if (!args) SWIG_fail;
18644 swig_obj[0] = args;
18645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18646 if (!SWIG_IsOK(res1)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18648 }
18649 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (long)(arg1)->GetValue();
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 resultobj = SWIG_From_long(static_cast< long >(result));
18657 return resultobj;
18658 fail:
18659 return NULL;
18660 }
18661
18662
18663 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18664 PyObject *obj;
18665 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18666 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18667 return SWIG_Py_Void();
18668 }
18669
18670 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18671 return SWIG_Python_InitShadowInstance(args);
18672 }
18673
18674 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18675 PyObject *resultobj = 0;
18676 wxFontData *result = 0 ;
18677
18678 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (wxFontData *)new wxFontData();
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18693 PyObject *resultobj = 0;
18694 wxFontData *arg1 = (wxFontData *) 0 ;
18695 void *argp1 = 0 ;
18696 int res1 = 0 ;
18697 PyObject *swig_obj[1] ;
18698
18699 if (!args) SWIG_fail;
18700 swig_obj[0] = args;
18701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18702 if (!SWIG_IsOK(res1)) {
18703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18704 }
18705 arg1 = reinterpret_cast< wxFontData * >(argp1);
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 delete arg1;
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = SWIG_Py_Void();
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj = 0;
18722 wxFontData *arg1 = (wxFontData *) 0 ;
18723 bool arg2 ;
18724 void *argp1 = 0 ;
18725 int res1 = 0 ;
18726 bool val2 ;
18727 int ecode2 = 0 ;
18728 PyObject * obj0 = 0 ;
18729 PyObject * obj1 = 0 ;
18730 char * kwnames[] = {
18731 (char *) "self",(char *) "enable", NULL
18732 };
18733
18734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18736 if (!SWIG_IsOK(res1)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18738 }
18739 arg1 = reinterpret_cast< wxFontData * >(argp1);
18740 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18741 if (!SWIG_IsOK(ecode2)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18743 }
18744 arg2 = static_cast< bool >(val2);
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 (arg1)->EnableEffects(arg2);
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_Py_Void();
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18759 PyObject *resultobj = 0;
18760 wxFontData *arg1 = (wxFontData *) 0 ;
18761 bool result;
18762 void *argp1 = 0 ;
18763 int res1 = 0 ;
18764 PyObject *swig_obj[1] ;
18765
18766 if (!args) SWIG_fail;
18767 swig_obj[0] = args;
18768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18769 if (!SWIG_IsOK(res1)) {
18770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18771 }
18772 arg1 = reinterpret_cast< wxFontData * >(argp1);
18773 {
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 result = (bool)(arg1)->GetAllowSymbols();
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 {
18780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18781 }
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18789 PyObject *resultobj = 0;
18790 wxFontData *arg1 = (wxFontData *) 0 ;
18791 wxColour result;
18792 void *argp1 = 0 ;
18793 int res1 = 0 ;
18794 PyObject *swig_obj[1] ;
18795
18796 if (!args) SWIG_fail;
18797 swig_obj[0] = args;
18798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18799 if (!SWIG_IsOK(res1)) {
18800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18801 }
18802 arg1 = reinterpret_cast< wxFontData * >(argp1);
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 result = (arg1)->GetColour();
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18817 PyObject *resultobj = 0;
18818 wxFontData *arg1 = (wxFontData *) 0 ;
18819 wxFont result;
18820 void *argp1 = 0 ;
18821 int res1 = 0 ;
18822 PyObject *swig_obj[1] ;
18823
18824 if (!args) SWIG_fail;
18825 swig_obj[0] = args;
18826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18827 if (!SWIG_IsOK(res1)) {
18828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18829 }
18830 arg1 = reinterpret_cast< wxFontData * >(argp1);
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (arg1)->GetChosenFont();
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18845 PyObject *resultobj = 0;
18846 wxFontData *arg1 = (wxFontData *) 0 ;
18847 bool result;
18848 void *argp1 = 0 ;
18849 int res1 = 0 ;
18850 PyObject *swig_obj[1] ;
18851
18852 if (!args) SWIG_fail;
18853 swig_obj[0] = args;
18854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18855 if (!SWIG_IsOK(res1)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18857 }
18858 arg1 = reinterpret_cast< wxFontData * >(argp1);
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (bool)(arg1)->GetEnableEffects();
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18867 }
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18875 PyObject *resultobj = 0;
18876 wxFontData *arg1 = (wxFontData *) 0 ;
18877 wxFont result;
18878 void *argp1 = 0 ;
18879 int res1 = 0 ;
18880 PyObject *swig_obj[1] ;
18881
18882 if (!args) SWIG_fail;
18883 swig_obj[0] = args;
18884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18885 if (!SWIG_IsOK(res1)) {
18886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18887 }
18888 arg1 = reinterpret_cast< wxFontData * >(argp1);
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (arg1)->GetInitialFont();
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18903 PyObject *resultobj = 0;
18904 wxFontData *arg1 = (wxFontData *) 0 ;
18905 bool result;
18906 void *argp1 = 0 ;
18907 int res1 = 0 ;
18908 PyObject *swig_obj[1] ;
18909
18910 if (!args) SWIG_fail;
18911 swig_obj[0] = args;
18912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18913 if (!SWIG_IsOK(res1)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18915 }
18916 arg1 = reinterpret_cast< wxFontData * >(argp1);
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = (bool)(arg1)->GetShowHelp();
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 {
18924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18925 }
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj = 0;
18934 wxFontData *arg1 = (wxFontData *) 0 ;
18935 bool arg2 ;
18936 void *argp1 = 0 ;
18937 int res1 = 0 ;
18938 bool val2 ;
18939 int ecode2 = 0 ;
18940 PyObject * obj0 = 0 ;
18941 PyObject * obj1 = 0 ;
18942 char * kwnames[] = {
18943 (char *) "self",(char *) "allowSymbols", NULL
18944 };
18945
18946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18948 if (!SWIG_IsOK(res1)) {
18949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18950 }
18951 arg1 = reinterpret_cast< wxFontData * >(argp1);
18952 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18953 if (!SWIG_IsOK(ecode2)) {
18954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18955 }
18956 arg2 = static_cast< bool >(val2);
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 (arg1)->SetAllowSymbols(arg2);
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 resultobj = SWIG_Py_Void();
18964 return resultobj;
18965 fail:
18966 return NULL;
18967 }
18968
18969
18970 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18971 PyObject *resultobj = 0;
18972 wxFontData *arg1 = (wxFontData *) 0 ;
18973 wxFont *arg2 = 0 ;
18974 void *argp1 = 0 ;
18975 int res1 = 0 ;
18976 void *argp2 = 0 ;
18977 int res2 = 0 ;
18978 PyObject * obj0 = 0 ;
18979 PyObject * obj1 = 0 ;
18980 char * kwnames[] = {
18981 (char *) "self",(char *) "font", NULL
18982 };
18983
18984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18986 if (!SWIG_IsOK(res1)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18988 }
18989 arg1 = reinterpret_cast< wxFontData * >(argp1);
18990 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18991 if (!SWIG_IsOK(res2)) {
18992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18993 }
18994 if (!argp2) {
18995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18996 }
18997 arg2 = reinterpret_cast< wxFont * >(argp2);
18998 {
18999 PyThreadState* __tstate = wxPyBeginAllowThreads();
19000 (arg1)->SetChosenFont((wxFont const &)*arg2);
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 resultobj = SWIG_Py_Void();
19005 return resultobj;
19006 fail:
19007 return NULL;
19008 }
19009
19010
19011 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj = 0;
19013 wxFontData *arg1 = (wxFontData *) 0 ;
19014 wxColour *arg2 = 0 ;
19015 void *argp1 = 0 ;
19016 int res1 = 0 ;
19017 wxColour temp2 ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char * kwnames[] = {
19021 (char *) "self",(char *) "colour", NULL
19022 };
19023
19024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19026 if (!SWIG_IsOK(res1)) {
19027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19028 }
19029 arg1 = reinterpret_cast< wxFontData * >(argp1);
19030 {
19031 arg2 = &temp2;
19032 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19033 }
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 (arg1)->SetColour((wxColour const &)*arg2);
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 resultobj = SWIG_Py_Void();
19041 return resultobj;
19042 fail:
19043 return NULL;
19044 }
19045
19046
19047 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj = 0;
19049 wxFontData *arg1 = (wxFontData *) 0 ;
19050 wxFont *arg2 = 0 ;
19051 void *argp1 = 0 ;
19052 int res1 = 0 ;
19053 void *argp2 = 0 ;
19054 int res2 = 0 ;
19055 PyObject * obj0 = 0 ;
19056 PyObject * obj1 = 0 ;
19057 char * kwnames[] = {
19058 (char *) "self",(char *) "font", NULL
19059 };
19060
19061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19063 if (!SWIG_IsOK(res1)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19065 }
19066 arg1 = reinterpret_cast< wxFontData * >(argp1);
19067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19068 if (!SWIG_IsOK(res2)) {
19069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19070 }
19071 if (!argp2) {
19072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19073 }
19074 arg2 = reinterpret_cast< wxFont * >(argp2);
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 (arg1)->SetInitialFont((wxFont const &)*arg2);
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 resultobj = SWIG_Py_Void();
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj = 0;
19090 wxFontData *arg1 = (wxFontData *) 0 ;
19091 int arg2 ;
19092 int arg3 ;
19093 void *argp1 = 0 ;
19094 int res1 = 0 ;
19095 int val2 ;
19096 int ecode2 = 0 ;
19097 int val3 ;
19098 int ecode3 = 0 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 PyObject * obj2 = 0 ;
19102 char * kwnames[] = {
19103 (char *) "self",(char *) "min",(char *) "max", NULL
19104 };
19105
19106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19108 if (!SWIG_IsOK(res1)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19110 }
19111 arg1 = reinterpret_cast< wxFontData * >(argp1);
19112 ecode2 = SWIG_AsVal_int(obj1, &val2);
19113 if (!SWIG_IsOK(ecode2)) {
19114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19115 }
19116 arg2 = static_cast< int >(val2);
19117 ecode3 = SWIG_AsVal_int(obj2, &val3);
19118 if (!SWIG_IsOK(ecode3)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19120 }
19121 arg3 = static_cast< int >(val3);
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 (arg1)->SetRange(arg2,arg3);
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = SWIG_Py_Void();
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj = 0;
19137 wxFontData *arg1 = (wxFontData *) 0 ;
19138 bool arg2 ;
19139 void *argp1 = 0 ;
19140 int res1 = 0 ;
19141 bool val2 ;
19142 int ecode2 = 0 ;
19143 PyObject * obj0 = 0 ;
19144 PyObject * obj1 = 0 ;
19145 char * kwnames[] = {
19146 (char *) "self",(char *) "showHelp", NULL
19147 };
19148
19149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19151 if (!SWIG_IsOK(res1)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19153 }
19154 arg1 = reinterpret_cast< wxFontData * >(argp1);
19155 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19156 if (!SWIG_IsOK(ecode2)) {
19157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19158 }
19159 arg2 = static_cast< bool >(val2);
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 (arg1)->SetShowHelp(arg2);
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 resultobj = SWIG_Py_Void();
19167 return resultobj;
19168 fail:
19169 return NULL;
19170 }
19171
19172
19173 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19174 PyObject *obj;
19175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19176 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19177 return SWIG_Py_Void();
19178 }
19179
19180 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19181 return SWIG_Python_InitShadowInstance(args);
19182 }
19183
19184 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj = 0;
19186 wxWindow *arg1 = (wxWindow *) 0 ;
19187 wxFontData *arg2 = 0 ;
19188 wxFontDialog *result = 0 ;
19189 void *argp1 = 0 ;
19190 int res1 = 0 ;
19191 void *argp2 = 0 ;
19192 int res2 = 0 ;
19193 PyObject * obj0 = 0 ;
19194 PyObject * obj1 = 0 ;
19195 char * kwnames[] = {
19196 (char *) "parent",(char *) "data", NULL
19197 };
19198
19199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19201 if (!SWIG_IsOK(res1)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19203 }
19204 arg1 = reinterpret_cast< wxWindow * >(argp1);
19205 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19206 if (!SWIG_IsOK(res2)) {
19207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19208 }
19209 if (!argp2) {
19210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19211 }
19212 arg2 = reinterpret_cast< wxFontData * >(argp2);
19213 {
19214 if (!wxPyCheckForApp()) SWIG_fail;
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19221 return resultobj;
19222 fail:
19223 return NULL;
19224 }
19225
19226
19227 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19228 PyObject *resultobj = 0;
19229 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19230 wxFontData *result = 0 ;
19231 void *argp1 = 0 ;
19232 int res1 = 0 ;
19233 PyObject *swig_obj[1] ;
19234
19235 if (!args) SWIG_fail;
19236 swig_obj[0] = args;
19237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19238 if (!SWIG_IsOK(res1)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19240 }
19241 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 {
19245 wxFontData &_result_ref = (arg1)->GetFontData();
19246 result = (wxFontData *) &_result_ref;
19247 }
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19252 return resultobj;
19253 fail:
19254 return NULL;
19255 }
19256
19257
19258 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19259 PyObject *obj;
19260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19261 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19262 return SWIG_Py_Void();
19263 }
19264
19265 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19266 return SWIG_Python_InitShadowInstance(args);
19267 }
19268
19269 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj = 0;
19271 wxWindow *arg1 = (wxWindow *) NULL ;
19272 wxFont const &arg2_defvalue = wxNullFont ;
19273 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19274 wxString const &arg3_defvalue = wxPyEmptyString ;
19275 wxString *arg3 = (wxString *) &arg3_defvalue ;
19276 wxFont result;
19277 void *argp1 = 0 ;
19278 int res1 = 0 ;
19279 void *argp2 = 0 ;
19280 int res2 = 0 ;
19281 bool temp3 = false ;
19282 PyObject * obj0 = 0 ;
19283 PyObject * obj1 = 0 ;
19284 PyObject * obj2 = 0 ;
19285 char * kwnames[] = {
19286 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19287 };
19288
19289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19290 if (obj0) {
19291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19292 if (!SWIG_IsOK(res1)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19294 }
19295 arg1 = reinterpret_cast< wxWindow * >(argp1);
19296 }
19297 if (obj1) {
19298 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19299 if (!SWIG_IsOK(res2)) {
19300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19301 }
19302 if (!argp2) {
19303 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19304 }
19305 arg2 = reinterpret_cast< wxFont * >(argp2);
19306 }
19307 if (obj2) {
19308 {
19309 arg3 = wxString_in_helper(obj2);
19310 if (arg3 == NULL) SWIG_fail;
19311 temp3 = true;
19312 }
19313 }
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19321 {
19322 if (temp3)
19323 delete arg3;
19324 }
19325 return resultobj;
19326 fail:
19327 {
19328 if (temp3)
19329 delete arg3;
19330 }
19331 return NULL;
19332 }
19333
19334
19335 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj = 0;
19337 wxWindow *arg1 = (wxWindow *) 0 ;
19338 wxString *arg2 = 0 ;
19339 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19340 wxString *arg3 = (wxString *) &arg3_defvalue ;
19341 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19342 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19343 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19344 wxMessageDialog *result = 0 ;
19345 void *argp1 = 0 ;
19346 int res1 = 0 ;
19347 bool temp2 = false ;
19348 bool temp3 = false ;
19349 long val4 ;
19350 int ecode4 = 0 ;
19351 wxPoint temp5 ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 PyObject * obj2 = 0 ;
19355 PyObject * obj3 = 0 ;
19356 PyObject * obj4 = 0 ;
19357 char * kwnames[] = {
19358 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19359 };
19360
19361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19363 if (!SWIG_IsOK(res1)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19365 }
19366 arg1 = reinterpret_cast< wxWindow * >(argp1);
19367 {
19368 arg2 = wxString_in_helper(obj1);
19369 if (arg2 == NULL) SWIG_fail;
19370 temp2 = true;
19371 }
19372 if (obj2) {
19373 {
19374 arg3 = wxString_in_helper(obj2);
19375 if (arg3 == NULL) SWIG_fail;
19376 temp3 = true;
19377 }
19378 }
19379 if (obj3) {
19380 ecode4 = SWIG_AsVal_long(obj3, &val4);
19381 if (!SWIG_IsOK(ecode4)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19383 }
19384 arg4 = static_cast< long >(val4);
19385 }
19386 if (obj4) {
19387 {
19388 arg5 = &temp5;
19389 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19390 }
19391 }
19392 {
19393 if (!wxPyCheckForApp()) SWIG_fail;
19394 PyThreadState* __tstate = wxPyBeginAllowThreads();
19395 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19400 {
19401 if (temp2)
19402 delete arg2;
19403 }
19404 {
19405 if (temp3)
19406 delete arg3;
19407 }
19408 return resultobj;
19409 fail:
19410 {
19411 if (temp2)
19412 delete arg2;
19413 }
19414 {
19415 if (temp3)
19416 delete arg3;
19417 }
19418 return NULL;
19419 }
19420
19421
19422 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19423 PyObject *obj;
19424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19425 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19426 return SWIG_Py_Void();
19427 }
19428
19429 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19430 return SWIG_Python_InitShadowInstance(args);
19431 }
19432
19433 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj = 0;
19435 wxString *arg1 = 0 ;
19436 wxString *arg2 = 0 ;
19437 int arg3 = (int) 100 ;
19438 wxWindow *arg4 = (wxWindow *) NULL ;
19439 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19440 wxProgressDialog *result = 0 ;
19441 bool temp1 = false ;
19442 bool temp2 = false ;
19443 int val3 ;
19444 int ecode3 = 0 ;
19445 void *argp4 = 0 ;
19446 int res4 = 0 ;
19447 int val5 ;
19448 int ecode5 = 0 ;
19449 PyObject * obj0 = 0 ;
19450 PyObject * obj1 = 0 ;
19451 PyObject * obj2 = 0 ;
19452 PyObject * obj3 = 0 ;
19453 PyObject * obj4 = 0 ;
19454 char * kwnames[] = {
19455 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19456 };
19457
19458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19459 {
19460 arg1 = wxString_in_helper(obj0);
19461 if (arg1 == NULL) SWIG_fail;
19462 temp1 = true;
19463 }
19464 {
19465 arg2 = wxString_in_helper(obj1);
19466 if (arg2 == NULL) SWIG_fail;
19467 temp2 = true;
19468 }
19469 if (obj2) {
19470 ecode3 = SWIG_AsVal_int(obj2, &val3);
19471 if (!SWIG_IsOK(ecode3)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19473 }
19474 arg3 = static_cast< int >(val3);
19475 }
19476 if (obj3) {
19477 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19478 if (!SWIG_IsOK(res4)) {
19479 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19480 }
19481 arg4 = reinterpret_cast< wxWindow * >(argp4);
19482 }
19483 if (obj4) {
19484 ecode5 = SWIG_AsVal_int(obj4, &val5);
19485 if (!SWIG_IsOK(ecode5)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19487 }
19488 arg5 = static_cast< int >(val5);
19489 }
19490 {
19491 if (!wxPyCheckForApp()) SWIG_fail;
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
19497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19498 {
19499 if (temp1)
19500 delete arg1;
19501 }
19502 {
19503 if (temp2)
19504 delete arg2;
19505 }
19506 return resultobj;
19507 fail:
19508 {
19509 if (temp1)
19510 delete arg1;
19511 }
19512 {
19513 if (temp2)
19514 delete arg2;
19515 }
19516 return NULL;
19517 }
19518
19519
19520 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj = 0;
19522 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19523 int arg2 ;
19524 wxString const &arg3_defvalue = wxPyEmptyString ;
19525 wxString *arg3 = (wxString *) &arg3_defvalue ;
19526 bool *arg4 = (bool *) 0 ;
19527 bool result;
19528 void *argp1 = 0 ;
19529 int res1 = 0 ;
19530 int val2 ;
19531 int ecode2 = 0 ;
19532 bool temp3 = false ;
19533 bool temp4 ;
19534 int res4 = SWIG_TMPOBJ ;
19535 PyObject * obj0 = 0 ;
19536 PyObject * obj1 = 0 ;
19537 PyObject * obj2 = 0 ;
19538 char * kwnames[] = {
19539 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19540 };
19541
19542 arg4 = &temp4;
19543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19545 if (!SWIG_IsOK(res1)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19547 }
19548 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19549 ecode2 = SWIG_AsVal_int(obj1, &val2);
19550 if (!SWIG_IsOK(ecode2)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19552 }
19553 arg2 = static_cast< int >(val2);
19554 if (obj2) {
19555 {
19556 arg3 = wxString_in_helper(obj2);
19557 if (arg3 == NULL) SWIG_fail;
19558 temp3 = true;
19559 }
19560 }
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 {
19568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19569 }
19570 if (SWIG_IsTmpObj(res4)) {
19571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19572 } else {
19573 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19575 }
19576 {
19577 if (temp3)
19578 delete arg3;
19579 }
19580 return resultobj;
19581 fail:
19582 {
19583 if (temp3)
19584 delete arg3;
19585 }
19586 return NULL;
19587 }
19588
19589
19590 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj = 0;
19592 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19593 wxString const &arg2_defvalue = wxPyEmptyString ;
19594 wxString *arg2 = (wxString *) &arg2_defvalue ;
19595 bool *arg3 = (bool *) 0 ;
19596 bool result;
19597 void *argp1 = 0 ;
19598 int res1 = 0 ;
19599 bool temp2 = false ;
19600 bool temp3 ;
19601 int res3 = SWIG_TMPOBJ ;
19602 PyObject * obj0 = 0 ;
19603 PyObject * obj1 = 0 ;
19604 char * kwnames[] = {
19605 (char *) "self",(char *) "newmsg", NULL
19606 };
19607
19608 arg3 = &temp3;
19609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19611 if (!SWIG_IsOK(res1)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19613 }
19614 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19615 if (obj1) {
19616 {
19617 arg2 = wxString_in_helper(obj1);
19618 if (arg2 == NULL) SWIG_fail;
19619 temp2 = true;
19620 }
19621 }
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 {
19629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19630 }
19631 if (SWIG_IsTmpObj(res3)) {
19632 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19633 } else {
19634 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19635 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19636 }
19637 {
19638 if (temp2)
19639 delete arg2;
19640 }
19641 return resultobj;
19642 fail:
19643 {
19644 if (temp2)
19645 delete arg2;
19646 }
19647 return NULL;
19648 }
19649
19650
19651 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19652 PyObject *resultobj = 0;
19653 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19654 void *argp1 = 0 ;
19655 int res1 = 0 ;
19656 PyObject *swig_obj[1] ;
19657
19658 if (!args) SWIG_fail;
19659 swig_obj[0] = args;
19660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19661 if (!SWIG_IsOK(res1)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19663 }
19664 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 (arg1)->Resume();
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 resultobj = SWIG_Py_Void();
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19679 PyObject *obj;
19680 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19681 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19682 return SWIG_Py_Void();
19683 }
19684
19685 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19686 return SWIG_Python_InitShadowInstance(args);
19687 }
19688
19689 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj = 0;
19691 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19692 int arg2 = (int) 0 ;
19693 wxFindDialogEvent *result = 0 ;
19694 int val1 ;
19695 int ecode1 = 0 ;
19696 int val2 ;
19697 int ecode2 = 0 ;
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700 char * kwnames[] = {
19701 (char *) "commandType",(char *) "id", NULL
19702 };
19703
19704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19705 if (obj0) {
19706 ecode1 = SWIG_AsVal_int(obj0, &val1);
19707 if (!SWIG_IsOK(ecode1)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19709 }
19710 arg1 = static_cast< wxEventType >(val1);
19711 }
19712 if (obj1) {
19713 ecode2 = SWIG_AsVal_int(obj1, &val2);
19714 if (!SWIG_IsOK(ecode2)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19716 }
19717 arg2 = static_cast< int >(val2);
19718 }
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19726 return resultobj;
19727 fail:
19728 return NULL;
19729 }
19730
19731
19732 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19733 PyObject *resultobj = 0;
19734 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19735 int result;
19736 void *argp1 = 0 ;
19737 int res1 = 0 ;
19738 PyObject *swig_obj[1] ;
19739
19740 if (!args) SWIG_fail;
19741 swig_obj[0] = args;
19742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19743 if (!SWIG_IsOK(res1)) {
19744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19745 }
19746 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = (int)(arg1)->GetFlags();
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 resultobj = SWIG_From_int(static_cast< int >(result));
19754 return resultobj;
19755 fail:
19756 return NULL;
19757 }
19758
19759
19760 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19761 PyObject *resultobj = 0;
19762 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19763 wxString *result = 0 ;
19764 void *argp1 = 0 ;
19765 int res1 = 0 ;
19766 PyObject *swig_obj[1] ;
19767
19768 if (!args) SWIG_fail;
19769 swig_obj[0] = args;
19770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19771 if (!SWIG_IsOK(res1)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19773 }
19774 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 {
19778 wxString const &_result_ref = (arg1)->GetFindString();
19779 result = (wxString *) &_result_ref;
19780 }
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 {
19785 #if wxUSE_UNICODE
19786 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19787 #else
19788 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19789 #endif
19790 }
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19798 PyObject *resultobj = 0;
19799 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19800 wxString *result = 0 ;
19801 void *argp1 = 0 ;
19802 int res1 = 0 ;
19803 PyObject *swig_obj[1] ;
19804
19805 if (!args) SWIG_fail;
19806 swig_obj[0] = args;
19807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19808 if (!SWIG_IsOK(res1)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19810 }
19811 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 {
19815 wxString const &_result_ref = (arg1)->GetReplaceString();
19816 result = (wxString *) &_result_ref;
19817 }
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 #if wxUSE_UNICODE
19823 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19824 #else
19825 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19826 #endif
19827 }
19828 return resultobj;
19829 fail:
19830 return NULL;
19831 }
19832
19833
19834 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19835 PyObject *resultobj = 0;
19836 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19837 wxFindReplaceDialog *result = 0 ;
19838 void *argp1 = 0 ;
19839 int res1 = 0 ;
19840 PyObject *swig_obj[1] ;
19841
19842 if (!args) SWIG_fail;
19843 swig_obj[0] = args;
19844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19845 if (!SWIG_IsOK(res1)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19847 }
19848 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19849 {
19850 PyThreadState* __tstate = wxPyBeginAllowThreads();
19851 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19856 return resultobj;
19857 fail:
19858 return NULL;
19859 }
19860
19861
19862 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj = 0;
19864 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19865 int arg2 ;
19866 void *argp1 = 0 ;
19867 int res1 = 0 ;
19868 int val2 ;
19869 int ecode2 = 0 ;
19870 PyObject * obj0 = 0 ;
19871 PyObject * obj1 = 0 ;
19872 char * kwnames[] = {
19873 (char *) "self",(char *) "flags", NULL
19874 };
19875
19876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19878 if (!SWIG_IsOK(res1)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19880 }
19881 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19882 ecode2 = SWIG_AsVal_int(obj1, &val2);
19883 if (!SWIG_IsOK(ecode2)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19885 }
19886 arg2 = static_cast< int >(val2);
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 (arg1)->SetFlags(arg2);
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 resultobj = SWIG_Py_Void();
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj = 0;
19902 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19903 wxString *arg2 = 0 ;
19904 void *argp1 = 0 ;
19905 int res1 = 0 ;
19906 bool temp2 = false ;
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 char * kwnames[] = {
19910 (char *) "self",(char *) "str", NULL
19911 };
19912
19913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19915 if (!SWIG_IsOK(res1)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19917 }
19918 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19919 {
19920 arg2 = wxString_in_helper(obj1);
19921 if (arg2 == NULL) SWIG_fail;
19922 temp2 = true;
19923 }
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 (arg1)->SetFindString((wxString const &)*arg2);
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 resultobj = SWIG_Py_Void();
19931 {
19932 if (temp2)
19933 delete arg2;
19934 }
19935 return resultobj;
19936 fail:
19937 {
19938 if (temp2)
19939 delete arg2;
19940 }
19941 return NULL;
19942 }
19943
19944
19945 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj = 0;
19947 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19948 wxString *arg2 = 0 ;
19949 void *argp1 = 0 ;
19950 int res1 = 0 ;
19951 bool temp2 = false ;
19952 PyObject * obj0 = 0 ;
19953 PyObject * obj1 = 0 ;
19954 char * kwnames[] = {
19955 (char *) "self",(char *) "str", NULL
19956 };
19957
19958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19960 if (!SWIG_IsOK(res1)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19962 }
19963 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19964 {
19965 arg2 = wxString_in_helper(obj1);
19966 if (arg2 == NULL) SWIG_fail;
19967 temp2 = true;
19968 }
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 (arg1)->SetReplaceString((wxString const &)*arg2);
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 resultobj = SWIG_Py_Void();
19976 {
19977 if (temp2)
19978 delete arg2;
19979 }
19980 return resultobj;
19981 fail:
19982 {
19983 if (temp2)
19984 delete arg2;
19985 }
19986 return NULL;
19987 }
19988
19989
19990 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19991 PyObject *obj;
19992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19993 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19994 return SWIG_Py_Void();
19995 }
19996
19997 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19998 return SWIG_Python_InitShadowInstance(args);
19999 }
20000
20001 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj = 0;
20003 int arg1 = (int) 0 ;
20004 wxFindReplaceData *result = 0 ;
20005 int val1 ;
20006 int ecode1 = 0 ;
20007 PyObject * obj0 = 0 ;
20008 char * kwnames[] = {
20009 (char *) "flags", NULL
20010 };
20011
20012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20013 if (obj0) {
20014 ecode1 = SWIG_AsVal_int(obj0, &val1);
20015 if (!SWIG_IsOK(ecode1)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20017 }
20018 arg1 = static_cast< int >(val1);
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20034 PyObject *resultobj = 0;
20035 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20036 void *argp1 = 0 ;
20037 int res1 = 0 ;
20038 PyObject *swig_obj[1] ;
20039
20040 if (!args) SWIG_fail;
20041 swig_obj[0] = args;
20042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20043 if (!SWIG_IsOK(res1)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20045 }
20046 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 delete arg1;
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 resultobj = SWIG_Py_Void();
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20062 PyObject *resultobj = 0;
20063 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20064 wxString *result = 0 ;
20065 void *argp1 = 0 ;
20066 int res1 = 0 ;
20067 PyObject *swig_obj[1] ;
20068
20069 if (!args) SWIG_fail;
20070 swig_obj[0] = args;
20071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20072 if (!SWIG_IsOK(res1)) {
20073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20074 }
20075 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 {
20079 wxString const &_result_ref = (arg1)->GetFindString();
20080 result = (wxString *) &_result_ref;
20081 }
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 {
20086 #if wxUSE_UNICODE
20087 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20088 #else
20089 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20090 #endif
20091 }
20092 return resultobj;
20093 fail:
20094 return NULL;
20095 }
20096
20097
20098 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20099 PyObject *resultobj = 0;
20100 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20101 wxString *result = 0 ;
20102 void *argp1 = 0 ;
20103 int res1 = 0 ;
20104 PyObject *swig_obj[1] ;
20105
20106 if (!args) SWIG_fail;
20107 swig_obj[0] = args;
20108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20109 if (!SWIG_IsOK(res1)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20111 }
20112 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 {
20116 wxString const &_result_ref = (arg1)->GetReplaceString();
20117 result = (wxString *) &_result_ref;
20118 }
20119 wxPyEndAllowThreads(__tstate);
20120 if (PyErr_Occurred()) SWIG_fail;
20121 }
20122 {
20123 #if wxUSE_UNICODE
20124 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20125 #else
20126 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20127 #endif
20128 }
20129 return resultobj;
20130 fail:
20131 return NULL;
20132 }
20133
20134
20135 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20136 PyObject *resultobj = 0;
20137 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20138 int result;
20139 void *argp1 = 0 ;
20140 int res1 = 0 ;
20141 PyObject *swig_obj[1] ;
20142
20143 if (!args) SWIG_fail;
20144 swig_obj[0] = args;
20145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20146 if (!SWIG_IsOK(res1)) {
20147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20148 }
20149 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 result = (int)(arg1)->GetFlags();
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 resultobj = SWIG_From_int(static_cast< int >(result));
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj = 0;
20165 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20166 int arg2 ;
20167 void *argp1 = 0 ;
20168 int res1 = 0 ;
20169 int val2 ;
20170 int ecode2 = 0 ;
20171 PyObject * obj0 = 0 ;
20172 PyObject * obj1 = 0 ;
20173 char * kwnames[] = {
20174 (char *) "self",(char *) "flags", NULL
20175 };
20176
20177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20179 if (!SWIG_IsOK(res1)) {
20180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20181 }
20182 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20183 ecode2 = SWIG_AsVal_int(obj1, &val2);
20184 if (!SWIG_IsOK(ecode2)) {
20185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20186 }
20187 arg2 = static_cast< int >(val2);
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 (arg1)->SetFlags(arg2);
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 resultobj = SWIG_Py_Void();
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj = 0;
20203 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20204 wxString *arg2 = 0 ;
20205 void *argp1 = 0 ;
20206 int res1 = 0 ;
20207 bool temp2 = false ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 char * kwnames[] = {
20211 (char *) "self",(char *) "str", NULL
20212 };
20213
20214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20216 if (!SWIG_IsOK(res1)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20218 }
20219 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20220 {
20221 arg2 = wxString_in_helper(obj1);
20222 if (arg2 == NULL) SWIG_fail;
20223 temp2 = true;
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 (arg1)->SetFindString((wxString const &)*arg2);
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 resultobj = SWIG_Py_Void();
20232 {
20233 if (temp2)
20234 delete arg2;
20235 }
20236 return resultobj;
20237 fail:
20238 {
20239 if (temp2)
20240 delete arg2;
20241 }
20242 return NULL;
20243 }
20244
20245
20246 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj = 0;
20248 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20249 wxString *arg2 = 0 ;
20250 void *argp1 = 0 ;
20251 int res1 = 0 ;
20252 bool temp2 = false ;
20253 PyObject * obj0 = 0 ;
20254 PyObject * obj1 = 0 ;
20255 char * kwnames[] = {
20256 (char *) "self",(char *) "str", NULL
20257 };
20258
20259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20261 if (!SWIG_IsOK(res1)) {
20262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20263 }
20264 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20265 {
20266 arg2 = wxString_in_helper(obj1);
20267 if (arg2 == NULL) SWIG_fail;
20268 temp2 = true;
20269 }
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 (arg1)->SetReplaceString((wxString const &)*arg2);
20273 wxPyEndAllowThreads(__tstate);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 resultobj = SWIG_Py_Void();
20277 {
20278 if (temp2)
20279 delete arg2;
20280 }
20281 return resultobj;
20282 fail:
20283 {
20284 if (temp2)
20285 delete arg2;
20286 }
20287 return NULL;
20288 }
20289
20290
20291 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20292 PyObject *obj;
20293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20294 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20295 return SWIG_Py_Void();
20296 }
20297
20298 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20299 return SWIG_Python_InitShadowInstance(args);
20300 }
20301
20302 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20303 PyObject *resultobj = 0;
20304 wxWindow *arg1 = (wxWindow *) 0 ;
20305 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20306 wxString *arg3 = 0 ;
20307 int arg4 = (int) 0 ;
20308 wxFindReplaceDialog *result = 0 ;
20309 void *argp1 = 0 ;
20310 int res1 = 0 ;
20311 void *argp2 = 0 ;
20312 int res2 = 0 ;
20313 bool temp3 = false ;
20314 int val4 ;
20315 int ecode4 = 0 ;
20316 PyObject * obj0 = 0 ;
20317 PyObject * obj1 = 0 ;
20318 PyObject * obj2 = 0 ;
20319 PyObject * obj3 = 0 ;
20320 char * kwnames[] = {
20321 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20322 };
20323
20324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20326 if (!SWIG_IsOK(res1)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20328 }
20329 arg1 = reinterpret_cast< wxWindow * >(argp1);
20330 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20331 if (!SWIG_IsOK(res2)) {
20332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20333 }
20334 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20335 {
20336 arg3 = wxString_in_helper(obj2);
20337 if (arg3 == NULL) SWIG_fail;
20338 temp3 = true;
20339 }
20340 if (obj3) {
20341 ecode4 = SWIG_AsVal_int(obj3, &val4);
20342 if (!SWIG_IsOK(ecode4)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20344 }
20345 arg4 = static_cast< int >(val4);
20346 }
20347 {
20348 if (!wxPyCheckForApp()) SWIG_fail;
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20355 {
20356 if (temp3)
20357 delete arg3;
20358 }
20359 return resultobj;
20360 fail:
20361 {
20362 if (temp3)
20363 delete arg3;
20364 }
20365 return NULL;
20366 }
20367
20368
20369 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20370 PyObject *resultobj = 0;
20371 wxFindReplaceDialog *result = 0 ;
20372
20373 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20374 {
20375 if (!wxPyCheckForApp()) SWIG_fail;
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj = 0;
20390 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20391 wxWindow *arg2 = (wxWindow *) 0 ;
20392 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20393 wxString *arg4 = 0 ;
20394 int arg5 = (int) 0 ;
20395 bool result;
20396 void *argp1 = 0 ;
20397 int res1 = 0 ;
20398 void *argp2 = 0 ;
20399 int res2 = 0 ;
20400 void *argp3 = 0 ;
20401 int res3 = 0 ;
20402 bool temp4 = false ;
20403 int val5 ;
20404 int ecode5 = 0 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 PyObject * obj2 = 0 ;
20408 PyObject * obj3 = 0 ;
20409 PyObject * obj4 = 0 ;
20410 char * kwnames[] = {
20411 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20412 };
20413
20414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20416 if (!SWIG_IsOK(res1)) {
20417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20418 }
20419 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20421 if (!SWIG_IsOK(res2)) {
20422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20423 }
20424 arg2 = reinterpret_cast< wxWindow * >(argp2);
20425 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20426 if (!SWIG_IsOK(res3)) {
20427 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20428 }
20429 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20430 {
20431 arg4 = wxString_in_helper(obj3);
20432 if (arg4 == NULL) SWIG_fail;
20433 temp4 = true;
20434 }
20435 if (obj4) {
20436 ecode5 = SWIG_AsVal_int(obj4, &val5);
20437 if (!SWIG_IsOK(ecode5)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20439 }
20440 arg5 = static_cast< int >(val5);
20441 }
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20450 }
20451 {
20452 if (temp4)
20453 delete arg4;
20454 }
20455 return resultobj;
20456 fail:
20457 {
20458 if (temp4)
20459 delete arg4;
20460 }
20461 return NULL;
20462 }
20463
20464
20465 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20466 PyObject *resultobj = 0;
20467 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20468 wxFindReplaceData *result = 0 ;
20469 void *argp1 = 0 ;
20470 int res1 = 0 ;
20471 PyObject *swig_obj[1] ;
20472
20473 if (!args) SWIG_fail;
20474 swig_obj[0] = args;
20475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20476 if (!SWIG_IsOK(res1)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20478 }
20479 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 result = (wxFindReplaceData *)(arg1)->GetData();
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20487 return resultobj;
20488 fail:
20489 return NULL;
20490 }
20491
20492
20493 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj = 0;
20495 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20496 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20497 void *argp1 = 0 ;
20498 int res1 = 0 ;
20499 void *argp2 = 0 ;
20500 int res2 = 0 ;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char * kwnames[] = {
20504 (char *) "self",(char *) "data", NULL
20505 };
20506
20507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20509 if (!SWIG_IsOK(res1)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20511 }
20512 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20514 if (!SWIG_IsOK(res2)) {
20515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20516 }
20517 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 (arg1)->SetData(arg2);
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = SWIG_Py_Void();
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20532 PyObject *obj;
20533 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20534 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20535 return SWIG_Py_Void();
20536 }
20537
20538 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20539 return SWIG_Python_InitShadowInstance(args);
20540 }
20541
20542 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj = 0;
20544 wxWindow *arg1 = (wxWindow *) 0 ;
20545 int arg2 = (int) (int)-1 ;
20546 wxString const &arg3_defvalue = wxPyEmptyString ;
20547 wxString *arg3 = (wxString *) &arg3_defvalue ;
20548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20550 wxSize const &arg5_defvalue = wxDefaultSize ;
20551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20552 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20553 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20554 wxString *arg7 = (wxString *) &arg7_defvalue ;
20555 wxMDIParentFrame *result = 0 ;
20556 void *argp1 = 0 ;
20557 int res1 = 0 ;
20558 int val2 ;
20559 int ecode2 = 0 ;
20560 bool temp3 = false ;
20561 wxPoint temp4 ;
20562 wxSize temp5 ;
20563 long val6 ;
20564 int ecode6 = 0 ;
20565 bool temp7 = false ;
20566 PyObject * obj0 = 0 ;
20567 PyObject * obj1 = 0 ;
20568 PyObject * obj2 = 0 ;
20569 PyObject * obj3 = 0 ;
20570 PyObject * obj4 = 0 ;
20571 PyObject * obj5 = 0 ;
20572 PyObject * obj6 = 0 ;
20573 char * kwnames[] = {
20574 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20575 };
20576
20577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20579 if (!SWIG_IsOK(res1)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20581 }
20582 arg1 = reinterpret_cast< wxWindow * >(argp1);
20583 if (obj1) {
20584 ecode2 = SWIG_AsVal_int(obj1, &val2);
20585 if (!SWIG_IsOK(ecode2)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20587 }
20588 arg2 = static_cast< int >(val2);
20589 }
20590 if (obj2) {
20591 {
20592 arg3 = wxString_in_helper(obj2);
20593 if (arg3 == NULL) SWIG_fail;
20594 temp3 = true;
20595 }
20596 }
20597 if (obj3) {
20598 {
20599 arg4 = &temp4;
20600 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20601 }
20602 }
20603 if (obj4) {
20604 {
20605 arg5 = &temp5;
20606 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20607 }
20608 }
20609 if (obj5) {
20610 ecode6 = SWIG_AsVal_long(obj5, &val6);
20611 if (!SWIG_IsOK(ecode6)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20613 }
20614 arg6 = static_cast< long >(val6);
20615 }
20616 if (obj6) {
20617 {
20618 arg7 = wxString_in_helper(obj6);
20619 if (arg7 == NULL) SWIG_fail;
20620 temp7 = true;
20621 }
20622 }
20623 {
20624 if (!wxPyCheckForApp()) SWIG_fail;
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20631 {
20632 if (temp3)
20633 delete arg3;
20634 }
20635 {
20636 if (temp7)
20637 delete arg7;
20638 }
20639 return resultobj;
20640 fail:
20641 {
20642 if (temp3)
20643 delete arg3;
20644 }
20645 {
20646 if (temp7)
20647 delete arg7;
20648 }
20649 return NULL;
20650 }
20651
20652
20653 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20654 PyObject *resultobj = 0;
20655 wxMDIParentFrame *result = 0 ;
20656
20657 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20658 {
20659 if (!wxPyCheckForApp()) SWIG_fail;
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20666 return resultobj;
20667 fail:
20668 return NULL;
20669 }
20670
20671
20672 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20673 PyObject *resultobj = 0;
20674 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20675 wxWindow *arg2 = (wxWindow *) 0 ;
20676 int arg3 = (int) (int)-1 ;
20677 wxString const &arg4_defvalue = wxPyEmptyString ;
20678 wxString *arg4 = (wxString *) &arg4_defvalue ;
20679 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20680 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20681 wxSize const &arg6_defvalue = wxDefaultSize ;
20682 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20683 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20684 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20685 wxString *arg8 = (wxString *) &arg8_defvalue ;
20686 bool result;
20687 void *argp1 = 0 ;
20688 int res1 = 0 ;
20689 void *argp2 = 0 ;
20690 int res2 = 0 ;
20691 int val3 ;
20692 int ecode3 = 0 ;
20693 bool temp4 = false ;
20694 wxPoint temp5 ;
20695 wxSize temp6 ;
20696 long val7 ;
20697 int ecode7 = 0 ;
20698 bool temp8 = false ;
20699 PyObject * obj0 = 0 ;
20700 PyObject * obj1 = 0 ;
20701 PyObject * obj2 = 0 ;
20702 PyObject * obj3 = 0 ;
20703 PyObject * obj4 = 0 ;
20704 PyObject * obj5 = 0 ;
20705 PyObject * obj6 = 0 ;
20706 PyObject * obj7 = 0 ;
20707 char * kwnames[] = {
20708 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20709 };
20710
20711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20713 if (!SWIG_IsOK(res1)) {
20714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20715 }
20716 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20718 if (!SWIG_IsOK(res2)) {
20719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20720 }
20721 arg2 = reinterpret_cast< wxWindow * >(argp2);
20722 if (obj2) {
20723 ecode3 = SWIG_AsVal_int(obj2, &val3);
20724 if (!SWIG_IsOK(ecode3)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20726 }
20727 arg3 = static_cast< int >(val3);
20728 }
20729 if (obj3) {
20730 {
20731 arg4 = wxString_in_helper(obj3);
20732 if (arg4 == NULL) SWIG_fail;
20733 temp4 = true;
20734 }
20735 }
20736 if (obj4) {
20737 {
20738 arg5 = &temp5;
20739 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20740 }
20741 }
20742 if (obj5) {
20743 {
20744 arg6 = &temp6;
20745 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20746 }
20747 }
20748 if (obj6) {
20749 ecode7 = SWIG_AsVal_long(obj6, &val7);
20750 if (!SWIG_IsOK(ecode7)) {
20751 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20752 }
20753 arg7 = static_cast< long >(val7);
20754 }
20755 if (obj7) {
20756 {
20757 arg8 = wxString_in_helper(obj7);
20758 if (arg8 == NULL) SWIG_fail;
20759 temp8 = true;
20760 }
20761 }
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 {
20769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20770 }
20771 {
20772 if (temp4)
20773 delete arg4;
20774 }
20775 {
20776 if (temp8)
20777 delete arg8;
20778 }
20779 return resultobj;
20780 fail:
20781 {
20782 if (temp4)
20783 delete arg4;
20784 }
20785 {
20786 if (temp8)
20787 delete arg8;
20788 }
20789 return NULL;
20790 }
20791
20792
20793 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20794 PyObject *resultobj = 0;
20795 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20796 void *argp1 = 0 ;
20797 int res1 = 0 ;
20798 PyObject *swig_obj[1] ;
20799
20800 if (!args) SWIG_fail;
20801 swig_obj[0] = args;
20802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20803 if (!SWIG_IsOK(res1)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20805 }
20806 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 (arg1)->ActivateNext();
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 resultobj = SWIG_Py_Void();
20814 return resultobj;
20815 fail:
20816 return NULL;
20817 }
20818
20819
20820 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20821 PyObject *resultobj = 0;
20822 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20823 void *argp1 = 0 ;
20824 int res1 = 0 ;
20825 PyObject *swig_obj[1] ;
20826
20827 if (!args) SWIG_fail;
20828 swig_obj[0] = args;
20829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20830 if (!SWIG_IsOK(res1)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20832 }
20833 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20834 {
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 (arg1)->ActivatePrevious();
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_Py_Void();
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20848 PyObject *resultobj = 0;
20849 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20850 void *argp1 = 0 ;
20851 int res1 = 0 ;
20852 PyObject *swig_obj[1] ;
20853
20854 if (!args) SWIG_fail;
20855 swig_obj[0] = args;
20856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20857 if (!SWIG_IsOK(res1)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20859 }
20860 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 (arg1)->ArrangeIcons();
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
20867 resultobj = SWIG_Py_Void();
20868 return resultobj;
20869 fail:
20870 return NULL;
20871 }
20872
20873
20874 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20875 PyObject *resultobj = 0;
20876 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20877 void *argp1 = 0 ;
20878 int res1 = 0 ;
20879 PyObject *swig_obj[1] ;
20880
20881 if (!args) SWIG_fail;
20882 swig_obj[0] = args;
20883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20884 if (!SWIG_IsOK(res1)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20886 }
20887 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 (arg1)->Cascade();
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 resultobj = SWIG_Py_Void();
20895 return resultobj;
20896 fail:
20897 return NULL;
20898 }
20899
20900
20901 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20902 PyObject *resultobj = 0;
20903 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20904 wxMDIChildFrame *result = 0 ;
20905 void *argp1 = 0 ;
20906 int res1 = 0 ;
20907 PyObject *swig_obj[1] ;
20908
20909 if (!args) SWIG_fail;
20910 swig_obj[0] = args;
20911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20912 if (!SWIG_IsOK(res1)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20914 }
20915 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 {
20923 resultobj = wxPyMake_wxObject(result, (bool)0);
20924 }
20925 return resultobj;
20926 fail:
20927 return NULL;
20928 }
20929
20930
20931 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20932 PyObject *resultobj = 0;
20933 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20934 wxMDIClientWindow *result = 0 ;
20935 void *argp1 = 0 ;
20936 int res1 = 0 ;
20937 PyObject *swig_obj[1] ;
20938
20939 if (!args) SWIG_fail;
20940 swig_obj[0] = args;
20941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20942 if (!SWIG_IsOK(res1)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20944 }
20945 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20946 {
20947 PyThreadState* __tstate = wxPyBeginAllowThreads();
20948 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 {
20953 resultobj = wxPyMake_wxObject(result, (bool)0);
20954 }
20955 return resultobj;
20956 fail:
20957 return NULL;
20958 }
20959
20960
20961 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20962 PyObject *resultobj = 0;
20963 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20964 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20965 void *argp1 = 0 ;
20966 int res1 = 0 ;
20967 int val2 ;
20968 int ecode2 = 0 ;
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
20971 char * kwnames[] = {
20972 (char *) "self",(char *) "orient", NULL
20973 };
20974
20975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20977 if (!SWIG_IsOK(res1)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20979 }
20980 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20981 if (obj1) {
20982 ecode2 = SWIG_AsVal_int(obj1, &val2);
20983 if (!SWIG_IsOK(ecode2)) {
20984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20985 }
20986 arg2 = static_cast< wxOrientation >(val2);
20987 }
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 (arg1)->Tile(arg2);
20991 wxPyEndAllowThreads(__tstate);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 resultobj = SWIG_Py_Void();
20995 return resultobj;
20996 fail:
20997 return NULL;
20998 }
20999
21000
21001 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21002 PyObject *obj;
21003 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21004 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21005 return SWIG_Py_Void();
21006 }
21007
21008 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21009 return SWIG_Python_InitShadowInstance(args);
21010 }
21011
21012 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj = 0;
21014 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21015 int arg2 = (int) (int)-1 ;
21016 wxString const &arg3_defvalue = wxPyEmptyString ;
21017 wxString *arg3 = (wxString *) &arg3_defvalue ;
21018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21020 wxSize const &arg5_defvalue = wxDefaultSize ;
21021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21022 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21023 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21024 wxString *arg7 = (wxString *) &arg7_defvalue ;
21025 wxMDIChildFrame *result = 0 ;
21026 void *argp1 = 0 ;
21027 int res1 = 0 ;
21028 int val2 ;
21029 int ecode2 = 0 ;
21030 bool temp3 = false ;
21031 wxPoint temp4 ;
21032 wxSize temp5 ;
21033 long val6 ;
21034 int ecode6 = 0 ;
21035 bool temp7 = false ;
21036 PyObject * obj0 = 0 ;
21037 PyObject * obj1 = 0 ;
21038 PyObject * obj2 = 0 ;
21039 PyObject * obj3 = 0 ;
21040 PyObject * obj4 = 0 ;
21041 PyObject * obj5 = 0 ;
21042 PyObject * obj6 = 0 ;
21043 char * kwnames[] = {
21044 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21045 };
21046
21047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21049 if (!SWIG_IsOK(res1)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21051 }
21052 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21053 if (obj1) {
21054 ecode2 = SWIG_AsVal_int(obj1, &val2);
21055 if (!SWIG_IsOK(ecode2)) {
21056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21057 }
21058 arg2 = static_cast< int >(val2);
21059 }
21060 if (obj2) {
21061 {
21062 arg3 = wxString_in_helper(obj2);
21063 if (arg3 == NULL) SWIG_fail;
21064 temp3 = true;
21065 }
21066 }
21067 if (obj3) {
21068 {
21069 arg4 = &temp4;
21070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21071 }
21072 }
21073 if (obj4) {
21074 {
21075 arg5 = &temp5;
21076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21077 }
21078 }
21079 if (obj5) {
21080 ecode6 = SWIG_AsVal_long(obj5, &val6);
21081 if (!SWIG_IsOK(ecode6)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21083 }
21084 arg6 = static_cast< long >(val6);
21085 }
21086 if (obj6) {
21087 {
21088 arg7 = wxString_in_helper(obj6);
21089 if (arg7 == NULL) SWIG_fail;
21090 temp7 = true;
21091 }
21092 }
21093 {
21094 if (!wxPyCheckForApp()) SWIG_fail;
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21101 {
21102 if (temp3)
21103 delete arg3;
21104 }
21105 {
21106 if (temp7)
21107 delete arg7;
21108 }
21109 return resultobj;
21110 fail:
21111 {
21112 if (temp3)
21113 delete arg3;
21114 }
21115 {
21116 if (temp7)
21117 delete arg7;
21118 }
21119 return NULL;
21120 }
21121
21122
21123 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21124 PyObject *resultobj = 0;
21125 wxMDIChildFrame *result = 0 ;
21126
21127 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21128 {
21129 if (!wxPyCheckForApp()) SWIG_fail;
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21136 return resultobj;
21137 fail:
21138 return NULL;
21139 }
21140
21141
21142 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj = 0;
21144 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21145 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21146 int arg3 = (int) (int)-1 ;
21147 wxString const &arg4_defvalue = wxPyEmptyString ;
21148 wxString *arg4 = (wxString *) &arg4_defvalue ;
21149 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21150 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21151 wxSize const &arg6_defvalue = wxDefaultSize ;
21152 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21153 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21154 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21155 wxString *arg8 = (wxString *) &arg8_defvalue ;
21156 bool result;
21157 void *argp1 = 0 ;
21158 int res1 = 0 ;
21159 void *argp2 = 0 ;
21160 int res2 = 0 ;
21161 int val3 ;
21162 int ecode3 = 0 ;
21163 bool temp4 = false ;
21164 wxPoint temp5 ;
21165 wxSize temp6 ;
21166 long val7 ;
21167 int ecode7 = 0 ;
21168 bool temp8 = false ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 PyObject * obj2 = 0 ;
21172 PyObject * obj3 = 0 ;
21173 PyObject * obj4 = 0 ;
21174 PyObject * obj5 = 0 ;
21175 PyObject * obj6 = 0 ;
21176 PyObject * obj7 = 0 ;
21177 char * kwnames[] = {
21178 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21179 };
21180
21181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21183 if (!SWIG_IsOK(res1)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21185 }
21186 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21188 if (!SWIG_IsOK(res2)) {
21189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21190 }
21191 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21192 if (obj2) {
21193 ecode3 = SWIG_AsVal_int(obj2, &val3);
21194 if (!SWIG_IsOK(ecode3)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21196 }
21197 arg3 = static_cast< int >(val3);
21198 }
21199 if (obj3) {
21200 {
21201 arg4 = wxString_in_helper(obj3);
21202 if (arg4 == NULL) SWIG_fail;
21203 temp4 = true;
21204 }
21205 }
21206 if (obj4) {
21207 {
21208 arg5 = &temp5;
21209 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21210 }
21211 }
21212 if (obj5) {
21213 {
21214 arg6 = &temp6;
21215 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21216 }
21217 }
21218 if (obj6) {
21219 ecode7 = SWIG_AsVal_long(obj6, &val7);
21220 if (!SWIG_IsOK(ecode7)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21222 }
21223 arg7 = static_cast< long >(val7);
21224 }
21225 if (obj7) {
21226 {
21227 arg8 = wxString_in_helper(obj7);
21228 if (arg8 == NULL) SWIG_fail;
21229 temp8 = true;
21230 }
21231 }
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 {
21239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21240 }
21241 {
21242 if (temp4)
21243 delete arg4;
21244 }
21245 {
21246 if (temp8)
21247 delete arg8;
21248 }
21249 return resultobj;
21250 fail:
21251 {
21252 if (temp4)
21253 delete arg4;
21254 }
21255 {
21256 if (temp8)
21257 delete arg8;
21258 }
21259 return NULL;
21260 }
21261
21262
21263 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21264 PyObject *resultobj = 0;
21265 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21266 void *argp1 = 0 ;
21267 int res1 = 0 ;
21268 PyObject *swig_obj[1] ;
21269
21270 if (!args) SWIG_fail;
21271 swig_obj[0] = args;
21272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21273 if (!SWIG_IsOK(res1)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21275 }
21276 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 (arg1)->Activate();
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 resultobj = SWIG_Py_Void();
21284 return resultobj;
21285 fail:
21286 return NULL;
21287 }
21288
21289
21290 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21291 PyObject *obj;
21292 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21293 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21294 return SWIG_Py_Void();
21295 }
21296
21297 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21298 return SWIG_Python_InitShadowInstance(args);
21299 }
21300
21301 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj = 0;
21303 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21304 long arg2 = (long) 0 ;
21305 wxMDIClientWindow *result = 0 ;
21306 void *argp1 = 0 ;
21307 int res1 = 0 ;
21308 long val2 ;
21309 int ecode2 = 0 ;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 char * kwnames[] = {
21313 (char *) "parent",(char *) "style", NULL
21314 };
21315
21316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21318 if (!SWIG_IsOK(res1)) {
21319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21320 }
21321 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21322 if (obj1) {
21323 ecode2 = SWIG_AsVal_long(obj1, &val2);
21324 if (!SWIG_IsOK(ecode2)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21326 }
21327 arg2 = static_cast< long >(val2);
21328 }
21329 {
21330 if (!wxPyCheckForApp()) SWIG_fail;
21331 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21344 PyObject *resultobj = 0;
21345 wxMDIClientWindow *result = 0 ;
21346
21347 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21348 {
21349 if (!wxPyCheckForApp()) SWIG_fail;
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj = 0;
21364 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21365 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21366 long arg3 = (long) 0 ;
21367 bool result;
21368 void *argp1 = 0 ;
21369 int res1 = 0 ;
21370 void *argp2 = 0 ;
21371 int res2 = 0 ;
21372 long val3 ;
21373 int ecode3 = 0 ;
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 PyObject * obj2 = 0 ;
21377 char * kwnames[] = {
21378 (char *) "self",(char *) "parent",(char *) "style", NULL
21379 };
21380
21381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21383 if (!SWIG_IsOK(res1)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21385 }
21386 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21387 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21388 if (!SWIG_IsOK(res2)) {
21389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21390 }
21391 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21392 if (obj2) {
21393 ecode3 = SWIG_AsVal_long(obj2, &val3);
21394 if (!SWIG_IsOK(ecode3)) {
21395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21396 }
21397 arg3 = static_cast< long >(val3);
21398 }
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 result = (bool)(arg1)->Create(arg2,arg3);
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 {
21406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21407 }
21408 return resultobj;
21409 fail:
21410 return NULL;
21411 }
21412
21413
21414 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21415 PyObject *obj;
21416 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21417 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21418 return SWIG_Py_Void();
21419 }
21420
21421 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21422 return SWIG_Python_InitShadowInstance(args);
21423 }
21424
21425 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj = 0;
21427 wxWindow *arg1 = (wxWindow *) 0 ;
21428 int arg2 = (int) (int)-1 ;
21429 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21430 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21431 wxSize const &arg4_defvalue = wxDefaultSize ;
21432 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21433 long arg5 = (long) 0 ;
21434 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21435 wxString *arg6 = (wxString *) &arg6_defvalue ;
21436 wxPyWindow *result = 0 ;
21437 void *argp1 = 0 ;
21438 int res1 = 0 ;
21439 int val2 ;
21440 int ecode2 = 0 ;
21441 wxPoint temp3 ;
21442 wxSize temp4 ;
21443 long val5 ;
21444 int ecode5 = 0 ;
21445 bool temp6 = false ;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 PyObject * obj2 = 0 ;
21449 PyObject * obj3 = 0 ;
21450 PyObject * obj4 = 0 ;
21451 PyObject * obj5 = 0 ;
21452 char * kwnames[] = {
21453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21454 };
21455
21456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21458 if (!SWIG_IsOK(res1)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21460 }
21461 arg1 = reinterpret_cast< wxWindow * >(argp1);
21462 if (obj1) {
21463 ecode2 = SWIG_AsVal_int(obj1, &val2);
21464 if (!SWIG_IsOK(ecode2)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21466 }
21467 arg2 = static_cast< int >(val2);
21468 }
21469 if (obj2) {
21470 {
21471 arg3 = &temp3;
21472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21473 }
21474 }
21475 if (obj3) {
21476 {
21477 arg4 = &temp4;
21478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21479 }
21480 }
21481 if (obj4) {
21482 ecode5 = SWIG_AsVal_long(obj4, &val5);
21483 if (!SWIG_IsOK(ecode5)) {
21484 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21485 }
21486 arg5 = static_cast< long >(val5);
21487 }
21488 if (obj5) {
21489 {
21490 arg6 = wxString_in_helper(obj5);
21491 if (arg6 == NULL) SWIG_fail;
21492 temp6 = true;
21493 }
21494 }
21495 {
21496 if (!wxPyCheckForApp()) SWIG_fail;
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21503 {
21504 if (temp6)
21505 delete arg6;
21506 }
21507 return resultobj;
21508 fail:
21509 {
21510 if (temp6)
21511 delete arg6;
21512 }
21513 return NULL;
21514 }
21515
21516
21517 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21518 PyObject *resultobj = 0;
21519 wxPyWindow *result = 0 ;
21520
21521 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21522 {
21523 if (!wxPyCheckForApp()) SWIG_fail;
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (wxPyWindow *)new wxPyWindow();
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
21529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21530 return resultobj;
21531 fail:
21532 return NULL;
21533 }
21534
21535
21536 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21537 PyObject *resultobj = 0;
21538 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21539 PyObject *arg2 = (PyObject *) 0 ;
21540 PyObject *arg3 = (PyObject *) 0 ;
21541 void *argp1 = 0 ;
21542 int res1 = 0 ;
21543 PyObject * obj0 = 0 ;
21544 PyObject * obj1 = 0 ;
21545 PyObject * obj2 = 0 ;
21546 char * kwnames[] = {
21547 (char *) "self",(char *) "self",(char *) "_class", NULL
21548 };
21549
21550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21552 if (!SWIG_IsOK(res1)) {
21553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21554 }
21555 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21556 arg2 = obj1;
21557 arg3 = obj2;
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 (arg1)->_setCallbackInfo(arg2,arg3);
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 resultobj = SWIG_Py_Void();
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj = 0;
21573 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21574 wxSize *arg2 = 0 ;
21575 void *argp1 = 0 ;
21576 int res1 = 0 ;
21577 wxSize temp2 ;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 char * kwnames[] = {
21581 (char *) "self",(char *) "size", NULL
21582 };
21583
21584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21586 if (!SWIG_IsOK(res1)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21588 }
21589 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21590 {
21591 arg2 = &temp2;
21592 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21593 }
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 (arg1)->SetBestSize((wxSize const &)*arg2);
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = SWIG_Py_Void();
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj = 0;
21609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21610 wxDC *arg2 = (wxDC *) 0 ;
21611 bool result;
21612 void *argp1 = 0 ;
21613 int res1 = 0 ;
21614 void *argp2 = 0 ;
21615 int res2 = 0 ;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 char * kwnames[] = {
21619 (char *) "self",(char *) "dc", NULL
21620 };
21621
21622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21624 if (!SWIG_IsOK(res1)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21626 }
21627 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21629 if (!SWIG_IsOK(res2)) {
21630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21631 }
21632 arg2 = reinterpret_cast< wxDC * >(argp2);
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 result = (bool)(arg1)->DoEraseBackground(arg2);
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 {
21640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21641 }
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj = 0;
21650 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21651 int arg2 ;
21652 int arg3 ;
21653 int arg4 ;
21654 int arg5 ;
21655 void *argp1 = 0 ;
21656 int res1 = 0 ;
21657 int val2 ;
21658 int ecode2 = 0 ;
21659 int val3 ;
21660 int ecode3 = 0 ;
21661 int val4 ;
21662 int ecode4 = 0 ;
21663 int val5 ;
21664 int ecode5 = 0 ;
21665 PyObject * obj0 = 0 ;
21666 PyObject * obj1 = 0 ;
21667 PyObject * obj2 = 0 ;
21668 PyObject * obj3 = 0 ;
21669 PyObject * obj4 = 0 ;
21670 char * kwnames[] = {
21671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21672 };
21673
21674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21676 if (!SWIG_IsOK(res1)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21678 }
21679 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21680 ecode2 = SWIG_AsVal_int(obj1, &val2);
21681 if (!SWIG_IsOK(ecode2)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21683 }
21684 arg2 = static_cast< int >(val2);
21685 ecode3 = SWIG_AsVal_int(obj2, &val3);
21686 if (!SWIG_IsOK(ecode3)) {
21687 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21688 }
21689 arg3 = static_cast< int >(val3);
21690 ecode4 = SWIG_AsVal_int(obj3, &val4);
21691 if (!SWIG_IsOK(ecode4)) {
21692 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21693 }
21694 arg4 = static_cast< int >(val4);
21695 ecode5 = SWIG_AsVal_int(obj4, &val5);
21696 if (!SWIG_IsOK(ecode5)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21698 }
21699 arg5 = static_cast< int >(val5);
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_Py_Void();
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj = 0;
21715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21716 int arg2 ;
21717 int arg3 ;
21718 int arg4 ;
21719 int arg5 ;
21720 int arg6 = (int) wxSIZE_AUTO ;
21721 void *argp1 = 0 ;
21722 int res1 = 0 ;
21723 int val2 ;
21724 int ecode2 = 0 ;
21725 int val3 ;
21726 int ecode3 = 0 ;
21727 int val4 ;
21728 int ecode4 = 0 ;
21729 int val5 ;
21730 int ecode5 = 0 ;
21731 int val6 ;
21732 int ecode6 = 0 ;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 PyObject * obj2 = 0 ;
21736 PyObject * obj3 = 0 ;
21737 PyObject * obj4 = 0 ;
21738 PyObject * obj5 = 0 ;
21739 char * kwnames[] = {
21740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21741 };
21742
21743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21745 if (!SWIG_IsOK(res1)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21747 }
21748 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21749 ecode2 = SWIG_AsVal_int(obj1, &val2);
21750 if (!SWIG_IsOK(ecode2)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21752 }
21753 arg2 = static_cast< int >(val2);
21754 ecode3 = SWIG_AsVal_int(obj2, &val3);
21755 if (!SWIG_IsOK(ecode3)) {
21756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21757 }
21758 arg3 = static_cast< int >(val3);
21759 ecode4 = SWIG_AsVal_int(obj3, &val4);
21760 if (!SWIG_IsOK(ecode4)) {
21761 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21762 }
21763 arg4 = static_cast< int >(val4);
21764 ecode5 = SWIG_AsVal_int(obj4, &val5);
21765 if (!SWIG_IsOK(ecode5)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21767 }
21768 arg5 = static_cast< int >(val5);
21769 if (obj5) {
21770 ecode6 = SWIG_AsVal_int(obj5, &val6);
21771 if (!SWIG_IsOK(ecode6)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21773 }
21774 arg6 = static_cast< int >(val6);
21775 }
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 resultobj = SWIG_Py_Void();
21783 return resultobj;
21784 fail:
21785 return NULL;
21786 }
21787
21788
21789 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21790 PyObject *resultobj = 0;
21791 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21792 int arg2 ;
21793 int arg3 ;
21794 void *argp1 = 0 ;
21795 int res1 = 0 ;
21796 int val2 ;
21797 int ecode2 = 0 ;
21798 int val3 ;
21799 int ecode3 = 0 ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 PyObject * obj2 = 0 ;
21803 char * kwnames[] = {
21804 (char *) "self",(char *) "width",(char *) "height", NULL
21805 };
21806
21807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21809 if (!SWIG_IsOK(res1)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21811 }
21812 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21813 ecode2 = SWIG_AsVal_int(obj1, &val2);
21814 if (!SWIG_IsOK(ecode2)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21816 }
21817 arg2 = static_cast< int >(val2);
21818 ecode3 = SWIG_AsVal_int(obj2, &val3);
21819 if (!SWIG_IsOK(ecode3)) {
21820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21821 }
21822 arg3 = static_cast< int >(val3);
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 (arg1)->DoSetClientSize(arg2,arg3);
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 resultobj = SWIG_Py_Void();
21830 return resultobj;
21831 fail:
21832 return NULL;
21833 }
21834
21835
21836 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21837 PyObject *resultobj = 0;
21838 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21839 int arg2 ;
21840 int arg3 ;
21841 void *argp1 = 0 ;
21842 int res1 = 0 ;
21843 int val2 ;
21844 int ecode2 = 0 ;
21845 int val3 ;
21846 int ecode3 = 0 ;
21847 PyObject * obj0 = 0 ;
21848 PyObject * obj1 = 0 ;
21849 PyObject * obj2 = 0 ;
21850 char * kwnames[] = {
21851 (char *) "self",(char *) "x",(char *) "y", NULL
21852 };
21853
21854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21856 if (!SWIG_IsOK(res1)) {
21857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21858 }
21859 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21860 ecode2 = SWIG_AsVal_int(obj1, &val2);
21861 if (!SWIG_IsOK(ecode2)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21863 }
21864 arg2 = static_cast< int >(val2);
21865 ecode3 = SWIG_AsVal_int(obj2, &val3);
21866 if (!SWIG_IsOK(ecode3)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21868 }
21869 arg3 = static_cast< int >(val3);
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 (arg1)->DoSetVirtualSize(arg2,arg3);
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_Py_Void();
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21884 PyObject *resultobj = 0;
21885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21886 int *arg2 = (int *) 0 ;
21887 int *arg3 = (int *) 0 ;
21888 void *argp1 = 0 ;
21889 int res1 = 0 ;
21890 int temp2 ;
21891 int res2 = SWIG_TMPOBJ ;
21892 int temp3 ;
21893 int res3 = SWIG_TMPOBJ ;
21894 PyObject *swig_obj[1] ;
21895
21896 arg2 = &temp2;
21897 arg3 = &temp3;
21898 if (!args) SWIG_fail;
21899 swig_obj[0] = args;
21900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21901 if (!SWIG_IsOK(res1)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21903 }
21904 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 resultobj = SWIG_Py_Void();
21912 if (SWIG_IsTmpObj(res2)) {
21913 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21914 } else {
21915 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21917 }
21918 if (SWIG_IsTmpObj(res3)) {
21919 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21920 } else {
21921 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21922 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21923 }
21924 return resultobj;
21925 fail:
21926 return NULL;
21927 }
21928
21929
21930 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21931 PyObject *resultobj = 0;
21932 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21933 int *arg2 = (int *) 0 ;
21934 int *arg3 = (int *) 0 ;
21935 void *argp1 = 0 ;
21936 int res1 = 0 ;
21937 int temp2 ;
21938 int res2 = SWIG_TMPOBJ ;
21939 int temp3 ;
21940 int res3 = SWIG_TMPOBJ ;
21941 PyObject *swig_obj[1] ;
21942
21943 arg2 = &temp2;
21944 arg3 = &temp3;
21945 if (!args) SWIG_fail;
21946 swig_obj[0] = args;
21947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21948 if (!SWIG_IsOK(res1)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21950 }
21951 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21952 {
21953 PyThreadState* __tstate = wxPyBeginAllowThreads();
21954 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21955 wxPyEndAllowThreads(__tstate);
21956 if (PyErr_Occurred()) SWIG_fail;
21957 }
21958 resultobj = SWIG_Py_Void();
21959 if (SWIG_IsTmpObj(res2)) {
21960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21961 } else {
21962 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21964 }
21965 if (SWIG_IsTmpObj(res3)) {
21966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21967 } else {
21968 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21970 }
21971 return resultobj;
21972 fail:
21973 return NULL;
21974 }
21975
21976
21977 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21978 PyObject *resultobj = 0;
21979 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21980 int *arg2 = (int *) 0 ;
21981 int *arg3 = (int *) 0 ;
21982 void *argp1 = 0 ;
21983 int res1 = 0 ;
21984 int temp2 ;
21985 int res2 = SWIG_TMPOBJ ;
21986 int temp3 ;
21987 int res3 = SWIG_TMPOBJ ;
21988 PyObject *swig_obj[1] ;
21989
21990 arg2 = &temp2;
21991 arg3 = &temp3;
21992 if (!args) SWIG_fail;
21993 swig_obj[0] = args;
21994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21995 if (!SWIG_IsOK(res1)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21997 }
21998 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 resultobj = SWIG_Py_Void();
22006 if (SWIG_IsTmpObj(res2)) {
22007 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22008 } else {
22009 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22010 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22011 }
22012 if (SWIG_IsTmpObj(res3)) {
22013 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22014 } else {
22015 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22016 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22017 }
22018 return resultobj;
22019 fail:
22020 return NULL;
22021 }
22022
22023
22024 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22025 PyObject *resultobj = 0;
22026 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22027 wxSize result;
22028 void *argp1 = 0 ;
22029 int res1 = 0 ;
22030 PyObject *swig_obj[1] ;
22031
22032 if (!args) SWIG_fail;
22033 swig_obj[0] = args;
22034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22035 if (!SWIG_IsOK(res1)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22037 }
22038 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22046 return resultobj;
22047 fail:
22048 return NULL;
22049 }
22050
22051
22052 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22053 PyObject *resultobj = 0;
22054 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22055 wxSize result;
22056 void *argp1 = 0 ;
22057 int res1 = 0 ;
22058 PyObject *swig_obj[1] ;
22059
22060 if (!args) SWIG_fail;
22061 swig_obj[0] = args;
22062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22063 if (!SWIG_IsOK(res1)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22065 }
22066 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22070 wxPyEndAllowThreads(__tstate);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 }
22073 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22074 return resultobj;
22075 fail:
22076 return NULL;
22077 }
22078
22079
22080 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22081 PyObject *resultobj = 0;
22082 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22083 SwigValueWrapper<wxVisualAttributes > result;
22084 void *argp1 = 0 ;
22085 int res1 = 0 ;
22086 PyObject *swig_obj[1] ;
22087
22088 if (!args) SWIG_fail;
22089 swig_obj[0] = args;
22090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22091 if (!SWIG_IsOK(res1)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22093 }
22094 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = (arg1)->GetDefaultAttributes();
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22102 return resultobj;
22103 fail:
22104 return NULL;
22105 }
22106
22107
22108 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22109 PyObject *resultobj = 0;
22110 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22111 void *argp1 = 0 ;
22112 int res1 = 0 ;
22113 PyObject *swig_obj[1] ;
22114
22115 if (!args) SWIG_fail;
22116 swig_obj[0] = args;
22117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22118 if (!SWIG_IsOK(res1)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22120 }
22121 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 (arg1)->OnInternalIdle();
22125 wxPyEndAllowThreads(__tstate);
22126 if (PyErr_Occurred()) SWIG_fail;
22127 }
22128 resultobj = SWIG_Py_Void();
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22136 PyObject *obj;
22137 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22138 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22139 return SWIG_Py_Void();
22140 }
22141
22142 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22143 return SWIG_Python_InitShadowInstance(args);
22144 }
22145
22146 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj = 0;
22148 wxWindow *arg1 = (wxWindow *) 0 ;
22149 int arg2 = (int) (int)-1 ;
22150 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22151 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22152 wxSize const &arg4_defvalue = wxDefaultSize ;
22153 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22154 long arg5 = (long) 0 ;
22155 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22156 wxString *arg6 = (wxString *) &arg6_defvalue ;
22157 wxPyPanel *result = 0 ;
22158 void *argp1 = 0 ;
22159 int res1 = 0 ;
22160 int val2 ;
22161 int ecode2 = 0 ;
22162 wxPoint temp3 ;
22163 wxSize temp4 ;
22164 long val5 ;
22165 int ecode5 = 0 ;
22166 bool temp6 = false ;
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 PyObject * obj2 = 0 ;
22170 PyObject * obj3 = 0 ;
22171 PyObject * obj4 = 0 ;
22172 PyObject * obj5 = 0 ;
22173 char * kwnames[] = {
22174 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22175 };
22176
22177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22179 if (!SWIG_IsOK(res1)) {
22180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22181 }
22182 arg1 = reinterpret_cast< wxWindow * >(argp1);
22183 if (obj1) {
22184 ecode2 = SWIG_AsVal_int(obj1, &val2);
22185 if (!SWIG_IsOK(ecode2)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22187 }
22188 arg2 = static_cast< int >(val2);
22189 }
22190 if (obj2) {
22191 {
22192 arg3 = &temp3;
22193 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22194 }
22195 }
22196 if (obj3) {
22197 {
22198 arg4 = &temp4;
22199 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22200 }
22201 }
22202 if (obj4) {
22203 ecode5 = SWIG_AsVal_long(obj4, &val5);
22204 if (!SWIG_IsOK(ecode5)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22206 }
22207 arg5 = static_cast< long >(val5);
22208 }
22209 if (obj5) {
22210 {
22211 arg6 = wxString_in_helper(obj5);
22212 if (arg6 == NULL) SWIG_fail;
22213 temp6 = true;
22214 }
22215 }
22216 {
22217 if (!wxPyCheckForApp()) SWIG_fail;
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22224 {
22225 if (temp6)
22226 delete arg6;
22227 }
22228 return resultobj;
22229 fail:
22230 {
22231 if (temp6)
22232 delete arg6;
22233 }
22234 return NULL;
22235 }
22236
22237
22238 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22239 PyObject *resultobj = 0;
22240 wxPyPanel *result = 0 ;
22241
22242 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22243 {
22244 if (!wxPyCheckForApp()) SWIG_fail;
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (wxPyPanel *)new wxPyPanel();
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj = 0;
22259 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22260 PyObject *arg2 = (PyObject *) 0 ;
22261 PyObject *arg3 = (PyObject *) 0 ;
22262 void *argp1 = 0 ;
22263 int res1 = 0 ;
22264 PyObject * obj0 = 0 ;
22265 PyObject * obj1 = 0 ;
22266 PyObject * obj2 = 0 ;
22267 char * kwnames[] = {
22268 (char *) "self",(char *) "self",(char *) "_class", NULL
22269 };
22270
22271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22273 if (!SWIG_IsOK(res1)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22275 }
22276 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22277 arg2 = obj1;
22278 arg3 = obj2;
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 (arg1)->_setCallbackInfo(arg2,arg3);
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 resultobj = SWIG_Py_Void();
22286 return resultobj;
22287 fail:
22288 return NULL;
22289 }
22290
22291
22292 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22293 PyObject *resultobj = 0;
22294 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22295 wxSize *arg2 = 0 ;
22296 void *argp1 = 0 ;
22297 int res1 = 0 ;
22298 wxSize temp2 ;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 char * kwnames[] = {
22302 (char *) "self",(char *) "size", NULL
22303 };
22304
22305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22307 if (!SWIG_IsOK(res1)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22309 }
22310 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22311 {
22312 arg2 = &temp2;
22313 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22314 }
22315 {
22316 PyThreadState* __tstate = wxPyBeginAllowThreads();
22317 (arg1)->SetBestSize((wxSize const &)*arg2);
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 resultobj = SWIG_Py_Void();
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj = 0;
22330 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22331 wxDC *arg2 = (wxDC *) 0 ;
22332 bool result;
22333 void *argp1 = 0 ;
22334 int res1 = 0 ;
22335 void *argp2 = 0 ;
22336 int res2 = 0 ;
22337 PyObject * obj0 = 0 ;
22338 PyObject * obj1 = 0 ;
22339 char * kwnames[] = {
22340 (char *) "self",(char *) "dc", NULL
22341 };
22342
22343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22345 if (!SWIG_IsOK(res1)) {
22346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22347 }
22348 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22349 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22350 if (!SWIG_IsOK(res2)) {
22351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22352 }
22353 arg2 = reinterpret_cast< wxDC * >(argp2);
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (bool)(arg1)->DoEraseBackground(arg2);
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 {
22361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22362 }
22363 return resultobj;
22364 fail:
22365 return NULL;
22366 }
22367
22368
22369 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj = 0;
22371 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22372 int arg2 ;
22373 int arg3 ;
22374 int arg4 ;
22375 int arg5 ;
22376 void *argp1 = 0 ;
22377 int res1 = 0 ;
22378 int val2 ;
22379 int ecode2 = 0 ;
22380 int val3 ;
22381 int ecode3 = 0 ;
22382 int val4 ;
22383 int ecode4 = 0 ;
22384 int val5 ;
22385 int ecode5 = 0 ;
22386 PyObject * obj0 = 0 ;
22387 PyObject * obj1 = 0 ;
22388 PyObject * obj2 = 0 ;
22389 PyObject * obj3 = 0 ;
22390 PyObject * obj4 = 0 ;
22391 char * kwnames[] = {
22392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22393 };
22394
22395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22397 if (!SWIG_IsOK(res1)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22399 }
22400 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22401 ecode2 = SWIG_AsVal_int(obj1, &val2);
22402 if (!SWIG_IsOK(ecode2)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22404 }
22405 arg2 = static_cast< int >(val2);
22406 ecode3 = SWIG_AsVal_int(obj2, &val3);
22407 if (!SWIG_IsOK(ecode3)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22409 }
22410 arg3 = static_cast< int >(val3);
22411 ecode4 = SWIG_AsVal_int(obj3, &val4);
22412 if (!SWIG_IsOK(ecode4)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22414 }
22415 arg4 = static_cast< int >(val4);
22416 ecode5 = SWIG_AsVal_int(obj4, &val5);
22417 if (!SWIG_IsOK(ecode5)) {
22418 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22419 }
22420 arg5 = static_cast< int >(val5);
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 resultobj = SWIG_Py_Void();
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22435 PyObject *resultobj = 0;
22436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22437 int arg2 ;
22438 int arg3 ;
22439 int arg4 ;
22440 int arg5 ;
22441 int arg6 = (int) wxSIZE_AUTO ;
22442 void *argp1 = 0 ;
22443 int res1 = 0 ;
22444 int val2 ;
22445 int ecode2 = 0 ;
22446 int val3 ;
22447 int ecode3 = 0 ;
22448 int val4 ;
22449 int ecode4 = 0 ;
22450 int val5 ;
22451 int ecode5 = 0 ;
22452 int val6 ;
22453 int ecode6 = 0 ;
22454 PyObject * obj0 = 0 ;
22455 PyObject * obj1 = 0 ;
22456 PyObject * obj2 = 0 ;
22457 PyObject * obj3 = 0 ;
22458 PyObject * obj4 = 0 ;
22459 PyObject * obj5 = 0 ;
22460 char * kwnames[] = {
22461 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22462 };
22463
22464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22466 if (!SWIG_IsOK(res1)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22468 }
22469 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22470 ecode2 = SWIG_AsVal_int(obj1, &val2);
22471 if (!SWIG_IsOK(ecode2)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22473 }
22474 arg2 = static_cast< int >(val2);
22475 ecode3 = SWIG_AsVal_int(obj2, &val3);
22476 if (!SWIG_IsOK(ecode3)) {
22477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22478 }
22479 arg3 = static_cast< int >(val3);
22480 ecode4 = SWIG_AsVal_int(obj3, &val4);
22481 if (!SWIG_IsOK(ecode4)) {
22482 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22483 }
22484 arg4 = static_cast< int >(val4);
22485 ecode5 = SWIG_AsVal_int(obj4, &val5);
22486 if (!SWIG_IsOK(ecode5)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22488 }
22489 arg5 = static_cast< int >(val5);
22490 if (obj5) {
22491 ecode6 = SWIG_AsVal_int(obj5, &val6);
22492 if (!SWIG_IsOK(ecode6)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22494 }
22495 arg6 = static_cast< int >(val6);
22496 }
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 resultobj = SWIG_Py_Void();
22504 return resultobj;
22505 fail:
22506 return NULL;
22507 }
22508
22509
22510 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj = 0;
22512 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22513 int arg2 ;
22514 int arg3 ;
22515 void *argp1 = 0 ;
22516 int res1 = 0 ;
22517 int val2 ;
22518 int ecode2 = 0 ;
22519 int val3 ;
22520 int ecode3 = 0 ;
22521 PyObject * obj0 = 0 ;
22522 PyObject * obj1 = 0 ;
22523 PyObject * obj2 = 0 ;
22524 char * kwnames[] = {
22525 (char *) "self",(char *) "width",(char *) "height", NULL
22526 };
22527
22528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22530 if (!SWIG_IsOK(res1)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22532 }
22533 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22534 ecode2 = SWIG_AsVal_int(obj1, &val2);
22535 if (!SWIG_IsOK(ecode2)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22537 }
22538 arg2 = static_cast< int >(val2);
22539 ecode3 = SWIG_AsVal_int(obj2, &val3);
22540 if (!SWIG_IsOK(ecode3)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22542 }
22543 arg3 = static_cast< int >(val3);
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 (arg1)->DoSetClientSize(arg2,arg3);
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 resultobj = SWIG_Py_Void();
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj = 0;
22559 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22560 int arg2 ;
22561 int arg3 ;
22562 void *argp1 = 0 ;
22563 int res1 = 0 ;
22564 int val2 ;
22565 int ecode2 = 0 ;
22566 int val3 ;
22567 int ecode3 = 0 ;
22568 PyObject * obj0 = 0 ;
22569 PyObject * obj1 = 0 ;
22570 PyObject * obj2 = 0 ;
22571 char * kwnames[] = {
22572 (char *) "self",(char *) "x",(char *) "y", NULL
22573 };
22574
22575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22577 if (!SWIG_IsOK(res1)) {
22578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22579 }
22580 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22581 ecode2 = SWIG_AsVal_int(obj1, &val2);
22582 if (!SWIG_IsOK(ecode2)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22584 }
22585 arg2 = static_cast< int >(val2);
22586 ecode3 = SWIG_AsVal_int(obj2, &val3);
22587 if (!SWIG_IsOK(ecode3)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22589 }
22590 arg3 = static_cast< int >(val3);
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->DoSetVirtualSize(arg2,arg3);
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 resultobj = SWIG_Py_Void();
22598 return resultobj;
22599 fail:
22600 return NULL;
22601 }
22602
22603
22604 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22605 PyObject *resultobj = 0;
22606 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22607 int *arg2 = (int *) 0 ;
22608 int *arg3 = (int *) 0 ;
22609 void *argp1 = 0 ;
22610 int res1 = 0 ;
22611 int temp2 ;
22612 int res2 = SWIG_TMPOBJ ;
22613 int temp3 ;
22614 int res3 = SWIG_TMPOBJ ;
22615 PyObject *swig_obj[1] ;
22616
22617 arg2 = &temp2;
22618 arg3 = &temp3;
22619 if (!args) SWIG_fail;
22620 swig_obj[0] = args;
22621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22622 if (!SWIG_IsOK(res1)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22624 }
22625 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 resultobj = SWIG_Py_Void();
22633 if (SWIG_IsTmpObj(res2)) {
22634 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22635 } else {
22636 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22638 }
22639 if (SWIG_IsTmpObj(res3)) {
22640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22641 } else {
22642 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22644 }
22645 return resultobj;
22646 fail:
22647 return NULL;
22648 }
22649
22650
22651 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22652 PyObject *resultobj = 0;
22653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22654 int *arg2 = (int *) 0 ;
22655 int *arg3 = (int *) 0 ;
22656 void *argp1 = 0 ;
22657 int res1 = 0 ;
22658 int temp2 ;
22659 int res2 = SWIG_TMPOBJ ;
22660 int temp3 ;
22661 int res3 = SWIG_TMPOBJ ;
22662 PyObject *swig_obj[1] ;
22663
22664 arg2 = &temp2;
22665 arg3 = &temp3;
22666 if (!args) SWIG_fail;
22667 swig_obj[0] = args;
22668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22669 if (!SWIG_IsOK(res1)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22671 }
22672 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 resultobj = SWIG_Py_Void();
22680 if (SWIG_IsTmpObj(res2)) {
22681 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22682 } else {
22683 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22685 }
22686 if (SWIG_IsTmpObj(res3)) {
22687 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22688 } else {
22689 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22690 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22691 }
22692 return resultobj;
22693 fail:
22694 return NULL;
22695 }
22696
22697
22698 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22699 PyObject *resultobj = 0;
22700 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22701 int *arg2 = (int *) 0 ;
22702 int *arg3 = (int *) 0 ;
22703 void *argp1 = 0 ;
22704 int res1 = 0 ;
22705 int temp2 ;
22706 int res2 = SWIG_TMPOBJ ;
22707 int temp3 ;
22708 int res3 = SWIG_TMPOBJ ;
22709 PyObject *swig_obj[1] ;
22710
22711 arg2 = &temp2;
22712 arg3 = &temp3;
22713 if (!args) SWIG_fail;
22714 swig_obj[0] = args;
22715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22716 if (!SWIG_IsOK(res1)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22718 }
22719 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 resultobj = SWIG_Py_Void();
22727 if (SWIG_IsTmpObj(res2)) {
22728 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22729 } else {
22730 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22731 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22732 }
22733 if (SWIG_IsTmpObj(res3)) {
22734 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22735 } else {
22736 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22737 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22738 }
22739 return resultobj;
22740 fail:
22741 return NULL;
22742 }
22743
22744
22745 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22746 PyObject *resultobj = 0;
22747 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22748 wxSize result;
22749 void *argp1 = 0 ;
22750 int res1 = 0 ;
22751 PyObject *swig_obj[1] ;
22752
22753 if (!args) SWIG_fail;
22754 swig_obj[0] = args;
22755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22756 if (!SWIG_IsOK(res1)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22758 }
22759 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22767 return resultobj;
22768 fail:
22769 return NULL;
22770 }
22771
22772
22773 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22774 PyObject *resultobj = 0;
22775 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22776 wxSize result;
22777 void *argp1 = 0 ;
22778 int res1 = 0 ;
22779 PyObject *swig_obj[1] ;
22780
22781 if (!args) SWIG_fail;
22782 swig_obj[0] = args;
22783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22784 if (!SWIG_IsOK(res1)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22786 }
22787 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22788 {
22789 PyThreadState* __tstate = wxPyBeginAllowThreads();
22790 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22795 return resultobj;
22796 fail:
22797 return NULL;
22798 }
22799
22800
22801 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22802 PyObject *resultobj = 0;
22803 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22804 SwigValueWrapper<wxVisualAttributes > result;
22805 void *argp1 = 0 ;
22806 int res1 = 0 ;
22807 PyObject *swig_obj[1] ;
22808
22809 if (!args) SWIG_fail;
22810 swig_obj[0] = args;
22811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22812 if (!SWIG_IsOK(res1)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22814 }
22815 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 result = (arg1)->GetDefaultAttributes();
22819 wxPyEndAllowThreads(__tstate);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 }
22822 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22823 return resultobj;
22824 fail:
22825 return NULL;
22826 }
22827
22828
22829 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22830 PyObject *resultobj = 0;
22831 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22832 void *argp1 = 0 ;
22833 int res1 = 0 ;
22834 PyObject *swig_obj[1] ;
22835
22836 if (!args) SWIG_fail;
22837 swig_obj[0] = args;
22838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22839 if (!SWIG_IsOK(res1)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22841 }
22842 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 (arg1)->OnInternalIdle();
22846 wxPyEndAllowThreads(__tstate);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 resultobj = SWIG_Py_Void();
22850 return resultobj;
22851 fail:
22852 return NULL;
22853 }
22854
22855
22856 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22857 PyObject *obj;
22858 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22860 return SWIG_Py_Void();
22861 }
22862
22863 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22864 return SWIG_Python_InitShadowInstance(args);
22865 }
22866
22867 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj = 0;
22869 wxWindow *arg1 = (wxWindow *) 0 ;
22870 int arg2 = (int) (int)-1 ;
22871 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22872 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22873 wxSize const &arg4_defvalue = wxDefaultSize ;
22874 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22875 long arg5 = (long) 0 ;
22876 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22877 wxString *arg6 = (wxString *) &arg6_defvalue ;
22878 wxPyScrolledWindow *result = 0 ;
22879 void *argp1 = 0 ;
22880 int res1 = 0 ;
22881 int val2 ;
22882 int ecode2 = 0 ;
22883 wxPoint temp3 ;
22884 wxSize temp4 ;
22885 long val5 ;
22886 int ecode5 = 0 ;
22887 bool temp6 = false ;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 PyObject * obj2 = 0 ;
22891 PyObject * obj3 = 0 ;
22892 PyObject * obj4 = 0 ;
22893 PyObject * obj5 = 0 ;
22894 char * kwnames[] = {
22895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22896 };
22897
22898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22900 if (!SWIG_IsOK(res1)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22902 }
22903 arg1 = reinterpret_cast< wxWindow * >(argp1);
22904 if (obj1) {
22905 ecode2 = SWIG_AsVal_int(obj1, &val2);
22906 if (!SWIG_IsOK(ecode2)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22908 }
22909 arg2 = static_cast< int >(val2);
22910 }
22911 if (obj2) {
22912 {
22913 arg3 = &temp3;
22914 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22915 }
22916 }
22917 if (obj3) {
22918 {
22919 arg4 = &temp4;
22920 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22921 }
22922 }
22923 if (obj4) {
22924 ecode5 = SWIG_AsVal_long(obj4, &val5);
22925 if (!SWIG_IsOK(ecode5)) {
22926 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22927 }
22928 arg5 = static_cast< long >(val5);
22929 }
22930 if (obj5) {
22931 {
22932 arg6 = wxString_in_helper(obj5);
22933 if (arg6 == NULL) SWIG_fail;
22934 temp6 = true;
22935 }
22936 }
22937 {
22938 if (!wxPyCheckForApp()) SWIG_fail;
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22945 {
22946 if (temp6)
22947 delete arg6;
22948 }
22949 return resultobj;
22950 fail:
22951 {
22952 if (temp6)
22953 delete arg6;
22954 }
22955 return NULL;
22956 }
22957
22958
22959 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22960 PyObject *resultobj = 0;
22961 wxPyScrolledWindow *result = 0 ;
22962
22963 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22964 {
22965 if (!wxPyCheckForApp()) SWIG_fail;
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22972 return resultobj;
22973 fail:
22974 return NULL;
22975 }
22976
22977
22978 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj = 0;
22980 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22981 PyObject *arg2 = (PyObject *) 0 ;
22982 PyObject *arg3 = (PyObject *) 0 ;
22983 void *argp1 = 0 ;
22984 int res1 = 0 ;
22985 PyObject * obj0 = 0 ;
22986 PyObject * obj1 = 0 ;
22987 PyObject * obj2 = 0 ;
22988 char * kwnames[] = {
22989 (char *) "self",(char *) "self",(char *) "_class", NULL
22990 };
22991
22992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22994 if (!SWIG_IsOK(res1)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22996 }
22997 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22998 arg2 = obj1;
22999 arg3 = obj2;
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 (arg1)->_setCallbackInfo(arg2,arg3);
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 resultobj = SWIG_Py_Void();
23007 return resultobj;
23008 fail:
23009 return NULL;
23010 }
23011
23012
23013 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj = 0;
23015 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23016 wxSize *arg2 = 0 ;
23017 void *argp1 = 0 ;
23018 int res1 = 0 ;
23019 wxSize temp2 ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 char * kwnames[] = {
23023 (char *) "self",(char *) "size", NULL
23024 };
23025
23026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23028 if (!SWIG_IsOK(res1)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23030 }
23031 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23032 {
23033 arg2 = &temp2;
23034 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23035 }
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 (arg1)->SetBestSize((wxSize const &)*arg2);
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_Py_Void();
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj = 0;
23051 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23052 wxDC *arg2 = (wxDC *) 0 ;
23053 bool result;
23054 void *argp1 = 0 ;
23055 int res1 = 0 ;
23056 void *argp2 = 0 ;
23057 int res2 = 0 ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 char * kwnames[] = {
23061 (char *) "self",(char *) "dc", NULL
23062 };
23063
23064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23066 if (!SWIG_IsOK(res1)) {
23067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23068 }
23069 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23071 if (!SWIG_IsOK(res2)) {
23072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23073 }
23074 arg2 = reinterpret_cast< wxDC * >(argp2);
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 result = (bool)(arg1)->DoEraseBackground(arg2);
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 {
23082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23083 }
23084 return resultobj;
23085 fail:
23086 return NULL;
23087 }
23088
23089
23090 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23091 PyObject *resultobj = 0;
23092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23093 int arg2 ;
23094 int arg3 ;
23095 int arg4 ;
23096 int arg5 ;
23097 void *argp1 = 0 ;
23098 int res1 = 0 ;
23099 int val2 ;
23100 int ecode2 = 0 ;
23101 int val3 ;
23102 int ecode3 = 0 ;
23103 int val4 ;
23104 int ecode4 = 0 ;
23105 int val5 ;
23106 int ecode5 = 0 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 PyObject * obj2 = 0 ;
23110 PyObject * obj3 = 0 ;
23111 PyObject * obj4 = 0 ;
23112 char * kwnames[] = {
23113 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23114 };
23115
23116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23118 if (!SWIG_IsOK(res1)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23120 }
23121 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23122 ecode2 = SWIG_AsVal_int(obj1, &val2);
23123 if (!SWIG_IsOK(ecode2)) {
23124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23125 }
23126 arg2 = static_cast< int >(val2);
23127 ecode3 = SWIG_AsVal_int(obj2, &val3);
23128 if (!SWIG_IsOK(ecode3)) {
23129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23130 }
23131 arg3 = static_cast< int >(val3);
23132 ecode4 = SWIG_AsVal_int(obj3, &val4);
23133 if (!SWIG_IsOK(ecode4)) {
23134 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23135 }
23136 arg4 = static_cast< int >(val4);
23137 ecode5 = SWIG_AsVal_int(obj4, &val5);
23138 if (!SWIG_IsOK(ecode5)) {
23139 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23140 }
23141 arg5 = static_cast< int >(val5);
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 resultobj = SWIG_Py_Void();
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj = 0;
23157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23158 int arg2 ;
23159 int arg3 ;
23160 int arg4 ;
23161 int arg5 ;
23162 int arg6 = (int) wxSIZE_AUTO ;
23163 void *argp1 = 0 ;
23164 int res1 = 0 ;
23165 int val2 ;
23166 int ecode2 = 0 ;
23167 int val3 ;
23168 int ecode3 = 0 ;
23169 int val4 ;
23170 int ecode4 = 0 ;
23171 int val5 ;
23172 int ecode5 = 0 ;
23173 int val6 ;
23174 int ecode6 = 0 ;
23175 PyObject * obj0 = 0 ;
23176 PyObject * obj1 = 0 ;
23177 PyObject * obj2 = 0 ;
23178 PyObject * obj3 = 0 ;
23179 PyObject * obj4 = 0 ;
23180 PyObject * obj5 = 0 ;
23181 char * kwnames[] = {
23182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23183 };
23184
23185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23187 if (!SWIG_IsOK(res1)) {
23188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23189 }
23190 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23191 ecode2 = SWIG_AsVal_int(obj1, &val2);
23192 if (!SWIG_IsOK(ecode2)) {
23193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23194 }
23195 arg2 = static_cast< int >(val2);
23196 ecode3 = SWIG_AsVal_int(obj2, &val3);
23197 if (!SWIG_IsOK(ecode3)) {
23198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23199 }
23200 arg3 = static_cast< int >(val3);
23201 ecode4 = SWIG_AsVal_int(obj3, &val4);
23202 if (!SWIG_IsOK(ecode4)) {
23203 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23204 }
23205 arg4 = static_cast< int >(val4);
23206 ecode5 = SWIG_AsVal_int(obj4, &val5);
23207 if (!SWIG_IsOK(ecode5)) {
23208 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23209 }
23210 arg5 = static_cast< int >(val5);
23211 if (obj5) {
23212 ecode6 = SWIG_AsVal_int(obj5, &val6);
23213 if (!SWIG_IsOK(ecode6)) {
23214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23215 }
23216 arg6 = static_cast< int >(val6);
23217 }
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 resultobj = SWIG_Py_Void();
23225 return resultobj;
23226 fail:
23227 return NULL;
23228 }
23229
23230
23231 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23232 PyObject *resultobj = 0;
23233 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23234 int arg2 ;
23235 int arg3 ;
23236 void *argp1 = 0 ;
23237 int res1 = 0 ;
23238 int val2 ;
23239 int ecode2 = 0 ;
23240 int val3 ;
23241 int ecode3 = 0 ;
23242 PyObject * obj0 = 0 ;
23243 PyObject * obj1 = 0 ;
23244 PyObject * obj2 = 0 ;
23245 char * kwnames[] = {
23246 (char *) "self",(char *) "width",(char *) "height", NULL
23247 };
23248
23249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23251 if (!SWIG_IsOK(res1)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23253 }
23254 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23255 ecode2 = SWIG_AsVal_int(obj1, &val2);
23256 if (!SWIG_IsOK(ecode2)) {
23257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23258 }
23259 arg2 = static_cast< int >(val2);
23260 ecode3 = SWIG_AsVal_int(obj2, &val3);
23261 if (!SWIG_IsOK(ecode3)) {
23262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23263 }
23264 arg3 = static_cast< int >(val3);
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->DoSetClientSize(arg2,arg3);
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 resultobj = SWIG_Py_Void();
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj = 0;
23280 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23281 int arg2 ;
23282 int arg3 ;
23283 void *argp1 = 0 ;
23284 int res1 = 0 ;
23285 int val2 ;
23286 int ecode2 = 0 ;
23287 int val3 ;
23288 int ecode3 = 0 ;
23289 PyObject * obj0 = 0 ;
23290 PyObject * obj1 = 0 ;
23291 PyObject * obj2 = 0 ;
23292 char * kwnames[] = {
23293 (char *) "self",(char *) "x",(char *) "y", NULL
23294 };
23295
23296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23298 if (!SWIG_IsOK(res1)) {
23299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23300 }
23301 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23302 ecode2 = SWIG_AsVal_int(obj1, &val2);
23303 if (!SWIG_IsOK(ecode2)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23305 }
23306 arg2 = static_cast< int >(val2);
23307 ecode3 = SWIG_AsVal_int(obj2, &val3);
23308 if (!SWIG_IsOK(ecode3)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23310 }
23311 arg3 = static_cast< int >(val3);
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 (arg1)->DoSetVirtualSize(arg2,arg3);
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 resultobj = SWIG_Py_Void();
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23326 PyObject *resultobj = 0;
23327 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23328 int *arg2 = (int *) 0 ;
23329 int *arg3 = (int *) 0 ;
23330 void *argp1 = 0 ;
23331 int res1 = 0 ;
23332 int temp2 ;
23333 int res2 = SWIG_TMPOBJ ;
23334 int temp3 ;
23335 int res3 = SWIG_TMPOBJ ;
23336 PyObject *swig_obj[1] ;
23337
23338 arg2 = &temp2;
23339 arg3 = &temp3;
23340 if (!args) SWIG_fail;
23341 swig_obj[0] = args;
23342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23343 if (!SWIG_IsOK(res1)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23345 }
23346 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 resultobj = SWIG_Py_Void();
23354 if (SWIG_IsTmpObj(res2)) {
23355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23356 } else {
23357 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23359 }
23360 if (SWIG_IsTmpObj(res3)) {
23361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23362 } else {
23363 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23365 }
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23373 PyObject *resultobj = 0;
23374 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23375 int *arg2 = (int *) 0 ;
23376 int *arg3 = (int *) 0 ;
23377 void *argp1 = 0 ;
23378 int res1 = 0 ;
23379 int temp2 ;
23380 int res2 = SWIG_TMPOBJ ;
23381 int temp3 ;
23382 int res3 = SWIG_TMPOBJ ;
23383 PyObject *swig_obj[1] ;
23384
23385 arg2 = &temp2;
23386 arg3 = &temp3;
23387 if (!args) SWIG_fail;
23388 swig_obj[0] = args;
23389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23390 if (!SWIG_IsOK(res1)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23392 }
23393 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 resultobj = SWIG_Py_Void();
23401 if (SWIG_IsTmpObj(res2)) {
23402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23403 } else {
23404 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23406 }
23407 if (SWIG_IsTmpObj(res3)) {
23408 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23409 } else {
23410 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23411 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23412 }
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23420 PyObject *resultobj = 0;
23421 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23422 int *arg2 = (int *) 0 ;
23423 int *arg3 = (int *) 0 ;
23424 void *argp1 = 0 ;
23425 int res1 = 0 ;
23426 int temp2 ;
23427 int res2 = SWIG_TMPOBJ ;
23428 int temp3 ;
23429 int res3 = SWIG_TMPOBJ ;
23430 PyObject *swig_obj[1] ;
23431
23432 arg2 = &temp2;
23433 arg3 = &temp3;
23434 if (!args) SWIG_fail;
23435 swig_obj[0] = args;
23436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23437 if (!SWIG_IsOK(res1)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23439 }
23440 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_Py_Void();
23448 if (SWIG_IsTmpObj(res2)) {
23449 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23450 } else {
23451 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23452 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23453 }
23454 if (SWIG_IsTmpObj(res3)) {
23455 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23456 } else {
23457 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23458 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23459 }
23460 return resultobj;
23461 fail:
23462 return NULL;
23463 }
23464
23465
23466 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23467 PyObject *resultobj = 0;
23468 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23469 wxSize result;
23470 void *argp1 = 0 ;
23471 int res1 = 0 ;
23472 PyObject *swig_obj[1] ;
23473
23474 if (!args) SWIG_fail;
23475 swig_obj[0] = args;
23476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23477 if (!SWIG_IsOK(res1)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23479 }
23480 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23495 PyObject *resultobj = 0;
23496 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23497 wxSize result;
23498 void *argp1 = 0 ;
23499 int res1 = 0 ;
23500 PyObject *swig_obj[1] ;
23501
23502 if (!args) SWIG_fail;
23503 swig_obj[0] = args;
23504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23505 if (!SWIG_IsOK(res1)) {
23506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23507 }
23508 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
23515 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23516 return resultobj;
23517 fail:
23518 return NULL;
23519 }
23520
23521
23522 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23523 PyObject *resultobj = 0;
23524 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23525 SwigValueWrapper<wxVisualAttributes > result;
23526 void *argp1 = 0 ;
23527 int res1 = 0 ;
23528 PyObject *swig_obj[1] ;
23529
23530 if (!args) SWIG_fail;
23531 swig_obj[0] = args;
23532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23533 if (!SWIG_IsOK(res1)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23535 }
23536 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 result = (arg1)->GetDefaultAttributes();
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23544 return resultobj;
23545 fail:
23546 return NULL;
23547 }
23548
23549
23550 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23551 PyObject *resultobj = 0;
23552 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23553 void *argp1 = 0 ;
23554 int res1 = 0 ;
23555 PyObject *swig_obj[1] ;
23556
23557 if (!args) SWIG_fail;
23558 swig_obj[0] = args;
23559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23560 if (!SWIG_IsOK(res1)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23562 }
23563 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->OnInternalIdle();
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 resultobj = SWIG_Py_Void();
23571 return resultobj;
23572 fail:
23573 return NULL;
23574 }
23575
23576
23577 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23578 PyObject *obj;
23579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23581 return SWIG_Py_Void();
23582 }
23583
23584 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23585 return SWIG_Python_InitShadowInstance(args);
23586 }
23587
23588 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23589 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23590 return 1;
23591 }
23592
23593
23594 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23595 PyObject *pyobj = 0;
23596
23597 {
23598 #if wxUSE_UNICODE
23599 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23600 #else
23601 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23602 #endif
23603 }
23604 return pyobj;
23605 }
23606
23607
23608 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23609 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23610 return 1;
23611 }
23612
23613
23614 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23615 PyObject *pyobj = 0;
23616
23617 {
23618 #if wxUSE_UNICODE
23619 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23620 #else
23621 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23622 #endif
23623 }
23624 return pyobj;
23625 }
23626
23627
23628 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23629 PyObject *resultobj = 0;
23630 wxPrintData *result = 0 ;
23631
23632 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (wxPrintData *)new wxPrintData();
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23640 return resultobj;
23641 fail:
23642 return NULL;
23643 }
23644
23645
23646 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23647 PyObject *resultobj = 0;
23648 wxPrintData *arg1 = 0 ;
23649 wxPrintData *result = 0 ;
23650 void *argp1 = 0 ;
23651 int res1 = 0 ;
23652
23653 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23655 if (!SWIG_IsOK(res1)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23657 }
23658 if (!argp1) {
23659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23660 }
23661 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23669 return resultobj;
23670 fail:
23671 return NULL;
23672 }
23673
23674
23675 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23676 int argc;
23677 PyObject *argv[2];
23678
23679 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23680 --argc;
23681 if (argc == 0) {
23682 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23683 }
23684 if (argc == 1) {
23685 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23686 }
23687
23688 fail:
23689 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23690 return NULL;
23691 }
23692
23693
23694 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23695 PyObject *resultobj = 0;
23696 wxPrintData *arg1 = (wxPrintData *) 0 ;
23697 void *argp1 = 0 ;
23698 int res1 = 0 ;
23699 PyObject *swig_obj[1] ;
23700
23701 if (!args) SWIG_fail;
23702 swig_obj[0] = args;
23703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23704 if (!SWIG_IsOK(res1)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23706 }
23707 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 delete arg1;
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 resultobj = SWIG_Py_Void();
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23723 PyObject *resultobj = 0;
23724 wxPrintData *arg1 = (wxPrintData *) 0 ;
23725 int result;
23726 void *argp1 = 0 ;
23727 int res1 = 0 ;
23728 PyObject *swig_obj[1] ;
23729
23730 if (!args) SWIG_fail;
23731 swig_obj[0] = args;
23732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23733 if (!SWIG_IsOK(res1)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23735 }
23736 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 result = (int)(arg1)->GetNoCopies();
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 resultobj = SWIG_From_int(static_cast< int >(result));
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23751 PyObject *resultobj = 0;
23752 wxPrintData *arg1 = (wxPrintData *) 0 ;
23753 bool result;
23754 void *argp1 = 0 ;
23755 int res1 = 0 ;
23756 PyObject *swig_obj[1] ;
23757
23758 if (!args) SWIG_fail;
23759 swig_obj[0] = args;
23760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23761 if (!SWIG_IsOK(res1)) {
23762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23763 }
23764 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (bool)(arg1)->GetCollate();
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 {
23772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23773 }
23774 return resultobj;
23775 fail:
23776 return NULL;
23777 }
23778
23779
23780 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23781 PyObject *resultobj = 0;
23782 wxPrintData *arg1 = (wxPrintData *) 0 ;
23783 int result;
23784 void *argp1 = 0 ;
23785 int res1 = 0 ;
23786 PyObject *swig_obj[1] ;
23787
23788 if (!args) SWIG_fail;
23789 swig_obj[0] = args;
23790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23791 if (!SWIG_IsOK(res1)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23793 }
23794 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = (int)(arg1)->GetOrientation();
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 resultobj = SWIG_From_int(static_cast< int >(result));
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23809 PyObject *resultobj = 0;
23810 wxPrintData *arg1 = (wxPrintData *) 0 ;
23811 bool result;
23812 void *argp1 = 0 ;
23813 int res1 = 0 ;
23814 PyObject *swig_obj[1] ;
23815
23816 if (!args) SWIG_fail;
23817 swig_obj[0] = args;
23818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23819 if (!SWIG_IsOK(res1)) {
23820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23821 }
23822 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 result = (bool)(arg1)->IsOk();
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 {
23830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23831 }
23832 return resultobj;
23833 fail:
23834 return NULL;
23835 }
23836
23837
23838 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23839 PyObject *resultobj = 0;
23840 wxPrintData *arg1 = (wxPrintData *) 0 ;
23841 wxString *result = 0 ;
23842 void *argp1 = 0 ;
23843 int res1 = 0 ;
23844 PyObject *swig_obj[1] ;
23845
23846 if (!args) SWIG_fail;
23847 swig_obj[0] = args;
23848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23849 if (!SWIG_IsOK(res1)) {
23850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23851 }
23852 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 {
23856 wxString const &_result_ref = (arg1)->GetPrinterName();
23857 result = (wxString *) &_result_ref;
23858 }
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 {
23863 #if wxUSE_UNICODE
23864 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23865 #else
23866 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23867 #endif
23868 }
23869 return resultobj;
23870 fail:
23871 return NULL;
23872 }
23873
23874
23875 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23876 PyObject *resultobj = 0;
23877 wxPrintData *arg1 = (wxPrintData *) 0 ;
23878 bool result;
23879 void *argp1 = 0 ;
23880 int res1 = 0 ;
23881 PyObject *swig_obj[1] ;
23882
23883 if (!args) SWIG_fail;
23884 swig_obj[0] = args;
23885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23886 if (!SWIG_IsOK(res1)) {
23887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23888 }
23889 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23890 {
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 result = (bool)(arg1)->GetColour();
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 {
23897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23898 }
23899 return resultobj;
23900 fail:
23901 return NULL;
23902 }
23903
23904
23905 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23906 PyObject *resultobj = 0;
23907 wxPrintData *arg1 = (wxPrintData *) 0 ;
23908 wxDuplexMode result;
23909 void *argp1 = 0 ;
23910 int res1 = 0 ;
23911 PyObject *swig_obj[1] ;
23912
23913 if (!args) SWIG_fail;
23914 swig_obj[0] = args;
23915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23916 if (!SWIG_IsOK(res1)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23918 }
23919 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 result = (wxDuplexMode)(arg1)->GetDuplex();
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
23926 resultobj = SWIG_From_int(static_cast< int >(result));
23927 return resultobj;
23928 fail:
23929 return NULL;
23930 }
23931
23932
23933 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23934 PyObject *resultobj = 0;
23935 wxPrintData *arg1 = (wxPrintData *) 0 ;
23936 wxPaperSize result;
23937 void *argp1 = 0 ;
23938 int res1 = 0 ;
23939 PyObject *swig_obj[1] ;
23940
23941 if (!args) SWIG_fail;
23942 swig_obj[0] = args;
23943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23944 if (!SWIG_IsOK(res1)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23946 }
23947 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 result = (wxPaperSize)(arg1)->GetPaperId();
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 resultobj = SWIG_From_int(static_cast< int >(result));
23955 return resultobj;
23956 fail:
23957 return NULL;
23958 }
23959
23960
23961 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23962 PyObject *resultobj = 0;
23963 wxPrintData *arg1 = (wxPrintData *) 0 ;
23964 wxSize *result = 0 ;
23965 void *argp1 = 0 ;
23966 int res1 = 0 ;
23967 PyObject *swig_obj[1] ;
23968
23969 if (!args) SWIG_fail;
23970 swig_obj[0] = args;
23971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23972 if (!SWIG_IsOK(res1)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23974 }
23975 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 {
23979 wxSize const &_result_ref = (arg1)->GetPaperSize();
23980 result = (wxSize *) &_result_ref;
23981 }
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23993 PyObject *resultobj = 0;
23994 wxPrintData *arg1 = (wxPrintData *) 0 ;
23995 int result;
23996 void *argp1 = 0 ;
23997 int res1 = 0 ;
23998 PyObject *swig_obj[1] ;
23999
24000 if (!args) SWIG_fail;
24001 swig_obj[0] = args;
24002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24003 if (!SWIG_IsOK(res1)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24005 }
24006 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 result = (int)(arg1)->GetQuality();
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 resultobj = SWIG_From_int(static_cast< int >(result));
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24021 PyObject *resultobj = 0;
24022 wxPrintData *arg1 = (wxPrintData *) 0 ;
24023 wxPrintBin result;
24024 void *argp1 = 0 ;
24025 int res1 = 0 ;
24026 PyObject *swig_obj[1] ;
24027
24028 if (!args) SWIG_fail;
24029 swig_obj[0] = args;
24030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24031 if (!SWIG_IsOK(res1)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24033 }
24034 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 result = (wxPrintBin)(arg1)->GetBin();
24038 wxPyEndAllowThreads(__tstate);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 resultobj = SWIG_From_int(static_cast< int >(result));
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24049 PyObject *resultobj = 0;
24050 wxPrintData *arg1 = (wxPrintData *) 0 ;
24051 wxPrintMode result;
24052 void *argp1 = 0 ;
24053 int res1 = 0 ;
24054 PyObject *swig_obj[1] ;
24055
24056 if (!args) SWIG_fail;
24057 swig_obj[0] = args;
24058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24059 if (!SWIG_IsOK(res1)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24061 }
24062 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 resultobj = SWIG_From_int(static_cast< int >(result));
24070 return resultobj;
24071 fail:
24072 return NULL;
24073 }
24074
24075
24076 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj = 0;
24078 wxPrintData *arg1 = (wxPrintData *) 0 ;
24079 int arg2 ;
24080 void *argp1 = 0 ;
24081 int res1 = 0 ;
24082 int val2 ;
24083 int ecode2 = 0 ;
24084 PyObject * obj0 = 0 ;
24085 PyObject * obj1 = 0 ;
24086 char * kwnames[] = {
24087 (char *) "self",(char *) "v", NULL
24088 };
24089
24090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24092 if (!SWIG_IsOK(res1)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24094 }
24095 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24096 ecode2 = SWIG_AsVal_int(obj1, &val2);
24097 if (!SWIG_IsOK(ecode2)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24099 }
24100 arg2 = static_cast< int >(val2);
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 (arg1)->SetNoCopies(arg2);
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 resultobj = SWIG_Py_Void();
24108 return resultobj;
24109 fail:
24110 return NULL;
24111 }
24112
24113
24114 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24115 PyObject *resultobj = 0;
24116 wxPrintData *arg1 = (wxPrintData *) 0 ;
24117 bool arg2 ;
24118 void *argp1 = 0 ;
24119 int res1 = 0 ;
24120 bool val2 ;
24121 int ecode2 = 0 ;
24122 PyObject * obj0 = 0 ;
24123 PyObject * obj1 = 0 ;
24124 char * kwnames[] = {
24125 (char *) "self",(char *) "flag", NULL
24126 };
24127
24128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24130 if (!SWIG_IsOK(res1)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24132 }
24133 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24134 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24135 if (!SWIG_IsOK(ecode2)) {
24136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24137 }
24138 arg2 = static_cast< bool >(val2);
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 (arg1)->SetCollate(arg2);
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_Py_Void();
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj = 0;
24154 wxPrintData *arg1 = (wxPrintData *) 0 ;
24155 int arg2 ;
24156 void *argp1 = 0 ;
24157 int res1 = 0 ;
24158 int val2 ;
24159 int ecode2 = 0 ;
24160 PyObject * obj0 = 0 ;
24161 PyObject * obj1 = 0 ;
24162 char * kwnames[] = {
24163 (char *) "self",(char *) "orient", NULL
24164 };
24165
24166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24168 if (!SWIG_IsOK(res1)) {
24169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24170 }
24171 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24172 ecode2 = SWIG_AsVal_int(obj1, &val2);
24173 if (!SWIG_IsOK(ecode2)) {
24174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24175 }
24176 arg2 = static_cast< int >(val2);
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 (arg1)->SetOrientation(arg2);
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 resultobj = SWIG_Py_Void();
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj = 0;
24192 wxPrintData *arg1 = (wxPrintData *) 0 ;
24193 wxString *arg2 = 0 ;
24194 void *argp1 = 0 ;
24195 int res1 = 0 ;
24196 bool temp2 = false ;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 char * kwnames[] = {
24200 (char *) "self",(char *) "name", NULL
24201 };
24202
24203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24205 if (!SWIG_IsOK(res1)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24207 }
24208 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24209 {
24210 arg2 = wxString_in_helper(obj1);
24211 if (arg2 == NULL) SWIG_fail;
24212 temp2 = true;
24213 }
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 (arg1)->SetPrinterName((wxString const &)*arg2);
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 resultobj = SWIG_Py_Void();
24221 {
24222 if (temp2)
24223 delete arg2;
24224 }
24225 return resultobj;
24226 fail:
24227 {
24228 if (temp2)
24229 delete arg2;
24230 }
24231 return NULL;
24232 }
24233
24234
24235 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj = 0;
24237 wxPrintData *arg1 = (wxPrintData *) 0 ;
24238 bool arg2 ;
24239 void *argp1 = 0 ;
24240 int res1 = 0 ;
24241 bool val2 ;
24242 int ecode2 = 0 ;
24243 PyObject * obj0 = 0 ;
24244 PyObject * obj1 = 0 ;
24245 char * kwnames[] = {
24246 (char *) "self",(char *) "colour", NULL
24247 };
24248
24249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24251 if (!SWIG_IsOK(res1)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24253 }
24254 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24255 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24256 if (!SWIG_IsOK(ecode2)) {
24257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24258 }
24259 arg2 = static_cast< bool >(val2);
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 (arg1)->SetColour(arg2);
24263 wxPyEndAllowThreads(__tstate);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 }
24266 resultobj = SWIG_Py_Void();
24267 return resultobj;
24268 fail:
24269 return NULL;
24270 }
24271
24272
24273 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj = 0;
24275 wxPrintData *arg1 = (wxPrintData *) 0 ;
24276 wxDuplexMode arg2 ;
24277 void *argp1 = 0 ;
24278 int res1 = 0 ;
24279 int val2 ;
24280 int ecode2 = 0 ;
24281 PyObject * obj0 = 0 ;
24282 PyObject * obj1 = 0 ;
24283 char * kwnames[] = {
24284 (char *) "self",(char *) "duplex", NULL
24285 };
24286
24287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24289 if (!SWIG_IsOK(res1)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24291 }
24292 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24293 ecode2 = SWIG_AsVal_int(obj1, &val2);
24294 if (!SWIG_IsOK(ecode2)) {
24295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24296 }
24297 arg2 = static_cast< wxDuplexMode >(val2);
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 (arg1)->SetDuplex(arg2);
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = SWIG_Py_Void();
24305 return resultobj;
24306 fail:
24307 return NULL;
24308 }
24309
24310
24311 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24312 PyObject *resultobj = 0;
24313 wxPrintData *arg1 = (wxPrintData *) 0 ;
24314 wxPaperSize arg2 ;
24315 void *argp1 = 0 ;
24316 int res1 = 0 ;
24317 int val2 ;
24318 int ecode2 = 0 ;
24319 PyObject * obj0 = 0 ;
24320 PyObject * obj1 = 0 ;
24321 char * kwnames[] = {
24322 (char *) "self",(char *) "sizeId", NULL
24323 };
24324
24325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24327 if (!SWIG_IsOK(res1)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24329 }
24330 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24331 ecode2 = SWIG_AsVal_int(obj1, &val2);
24332 if (!SWIG_IsOK(ecode2)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24334 }
24335 arg2 = static_cast< wxPaperSize >(val2);
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 (arg1)->SetPaperId(arg2);
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 resultobj = SWIG_Py_Void();
24343 return resultobj;
24344 fail:
24345 return NULL;
24346 }
24347
24348
24349 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24350 PyObject *resultobj = 0;
24351 wxPrintData *arg1 = (wxPrintData *) 0 ;
24352 wxSize *arg2 = 0 ;
24353 void *argp1 = 0 ;
24354 int res1 = 0 ;
24355 wxSize temp2 ;
24356 PyObject * obj0 = 0 ;
24357 PyObject * obj1 = 0 ;
24358 char * kwnames[] = {
24359 (char *) "self",(char *) "sz", NULL
24360 };
24361
24362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24364 if (!SWIG_IsOK(res1)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24366 }
24367 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24368 {
24369 arg2 = &temp2;
24370 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24371 }
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 (arg1)->SetPaperSize((wxSize const &)*arg2);
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 resultobj = SWIG_Py_Void();
24379 return resultobj;
24380 fail:
24381 return NULL;
24382 }
24383
24384
24385 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj = 0;
24387 wxPrintData *arg1 = (wxPrintData *) 0 ;
24388 int arg2 ;
24389 void *argp1 = 0 ;
24390 int res1 = 0 ;
24391 int val2 ;
24392 int ecode2 = 0 ;
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395 char * kwnames[] = {
24396 (char *) "self",(char *) "quality", NULL
24397 };
24398
24399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24401 if (!SWIG_IsOK(res1)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24403 }
24404 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24405 ecode2 = SWIG_AsVal_int(obj1, &val2);
24406 if (!SWIG_IsOK(ecode2)) {
24407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24408 }
24409 arg2 = static_cast< int >(val2);
24410 {
24411 PyThreadState* __tstate = wxPyBeginAllowThreads();
24412 (arg1)->SetQuality(arg2);
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 resultobj = SWIG_Py_Void();
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj = 0;
24425 wxPrintData *arg1 = (wxPrintData *) 0 ;
24426 wxPrintBin arg2 ;
24427 void *argp1 = 0 ;
24428 int res1 = 0 ;
24429 int val2 ;
24430 int ecode2 = 0 ;
24431 PyObject * obj0 = 0 ;
24432 PyObject * obj1 = 0 ;
24433 char * kwnames[] = {
24434 (char *) "self",(char *) "bin", NULL
24435 };
24436
24437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24439 if (!SWIG_IsOK(res1)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24441 }
24442 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24443 ecode2 = SWIG_AsVal_int(obj1, &val2);
24444 if (!SWIG_IsOK(ecode2)) {
24445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24446 }
24447 arg2 = static_cast< wxPrintBin >(val2);
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 (arg1)->SetBin(arg2);
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 resultobj = SWIG_Py_Void();
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj = 0;
24463 wxPrintData *arg1 = (wxPrintData *) 0 ;
24464 wxPrintMode arg2 ;
24465 void *argp1 = 0 ;
24466 int res1 = 0 ;
24467 int val2 ;
24468 int ecode2 = 0 ;
24469 PyObject * obj0 = 0 ;
24470 PyObject * obj1 = 0 ;
24471 char * kwnames[] = {
24472 (char *) "self",(char *) "printMode", NULL
24473 };
24474
24475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24477 if (!SWIG_IsOK(res1)) {
24478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24479 }
24480 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24481 ecode2 = SWIG_AsVal_int(obj1, &val2);
24482 if (!SWIG_IsOK(ecode2)) {
24483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24484 }
24485 arg2 = static_cast< wxPrintMode >(val2);
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 (arg1)->SetPrintMode(arg2);
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 resultobj = SWIG_Py_Void();
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24500 PyObject *resultobj = 0;
24501 wxPrintData *arg1 = (wxPrintData *) 0 ;
24502 wxString result;
24503 void *argp1 = 0 ;
24504 int res1 = 0 ;
24505 PyObject *swig_obj[1] ;
24506
24507 if (!args) SWIG_fail;
24508 swig_obj[0] = args;
24509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24510 if (!SWIG_IsOK(res1)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24512 }
24513 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 result = ((wxPrintData const *)arg1)->GetFilename();
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 {
24521 #if wxUSE_UNICODE
24522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24523 #else
24524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24525 #endif
24526 }
24527 return resultobj;
24528 fail:
24529 return NULL;
24530 }
24531
24532
24533 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24534 PyObject *resultobj = 0;
24535 wxPrintData *arg1 = (wxPrintData *) 0 ;
24536 wxString *arg2 = 0 ;
24537 void *argp1 = 0 ;
24538 int res1 = 0 ;
24539 bool temp2 = false ;
24540 PyObject * obj0 = 0 ;
24541 PyObject * obj1 = 0 ;
24542 char * kwnames[] = {
24543 (char *) "self",(char *) "filename", NULL
24544 };
24545
24546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24548 if (!SWIG_IsOK(res1)) {
24549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24550 }
24551 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24552 {
24553 arg2 = wxString_in_helper(obj1);
24554 if (arg2 == NULL) SWIG_fail;
24555 temp2 = true;
24556 }
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 (arg1)->SetFilename((wxString const &)*arg2);
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 resultobj = SWIG_Py_Void();
24564 {
24565 if (temp2)
24566 delete arg2;
24567 }
24568 return resultobj;
24569 fail:
24570 {
24571 if (temp2)
24572 delete arg2;
24573 }
24574 return NULL;
24575 }
24576
24577
24578 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24579 PyObject *resultobj = 0;
24580 wxPrintData *arg1 = (wxPrintData *) 0 ;
24581 PyObject *result = 0 ;
24582 void *argp1 = 0 ;
24583 int res1 = 0 ;
24584 PyObject *swig_obj[1] ;
24585
24586 if (!args) SWIG_fail;
24587 swig_obj[0] = args;
24588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24589 if (!SWIG_IsOK(res1)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24591 }
24592 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = result;
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj = 0;
24608 wxPrintData *arg1 = (wxPrintData *) 0 ;
24609 PyObject *arg2 = (PyObject *) 0 ;
24610 void *argp1 = 0 ;
24611 int res1 = 0 ;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 char * kwnames[] = {
24615 (char *) "self",(char *) "data", NULL
24616 };
24617
24618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24620 if (!SWIG_IsOK(res1)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24622 }
24623 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24624 arg2 = obj1;
24625 {
24626 PyThreadState* __tstate = wxPyBeginAllowThreads();
24627 wxPrintData_SetPrivData(arg1,arg2);
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 resultobj = SWIG_Py_Void();
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24639 PyObject *obj;
24640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24642 return SWIG_Py_Void();
24643 }
24644
24645 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24646 return SWIG_Python_InitShadowInstance(args);
24647 }
24648
24649 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24650 PyObject *resultobj = 0;
24651 wxPageSetupDialogData *result = 0 ;
24652
24653 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24654 {
24655 PyThreadState* __tstate = wxPyBeginAllowThreads();
24656 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24668 PyObject *resultobj = 0;
24669 wxPageSetupDialogData *arg1 = 0 ;
24670 wxPageSetupDialogData *result = 0 ;
24671 void *argp1 = 0 ;
24672 int res1 = 0 ;
24673
24674 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24676 if (!SWIG_IsOK(res1)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24678 }
24679 if (!argp1) {
24680 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24681 }
24682 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24690 return resultobj;
24691 fail:
24692 return NULL;
24693 }
24694
24695
24696 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24697 PyObject *resultobj = 0;
24698 wxPrintData *arg1 = 0 ;
24699 wxPageSetupDialogData *result = 0 ;
24700 void *argp1 = 0 ;
24701 int res1 = 0 ;
24702
24703 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24705 if (!SWIG_IsOK(res1)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24707 }
24708 if (!argp1) {
24709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24710 }
24711 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24715 wxPyEndAllowThreads(__tstate);
24716 if (PyErr_Occurred()) SWIG_fail;
24717 }
24718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24719 return resultobj;
24720 fail:
24721 return NULL;
24722 }
24723
24724
24725 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24726 int argc;
24727 PyObject *argv[2];
24728
24729 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24730 --argc;
24731 if (argc == 0) {
24732 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24733 }
24734 if (argc == 1) {
24735 int _v = 0;
24736 {
24737 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24738 _v = SWIG_CheckState(res);
24739 }
24740 if (!_v) goto check_2;
24741 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24742 }
24743 check_2:
24744
24745 if (argc == 1) {
24746 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24747 }
24748
24749 fail:
24750 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24751 return NULL;
24752 }
24753
24754
24755 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24756 PyObject *resultobj = 0;
24757 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24758 void *argp1 = 0 ;
24759 int res1 = 0 ;
24760 PyObject *swig_obj[1] ;
24761
24762 if (!args) SWIG_fail;
24763 swig_obj[0] = args;
24764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24765 if (!SWIG_IsOK(res1)) {
24766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24767 }
24768 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 delete arg1;
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 resultobj = SWIG_Py_Void();
24777 return resultobj;
24778 fail:
24779 return NULL;
24780 }
24781
24782
24783 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj = 0;
24785 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24786 bool arg2 ;
24787 void *argp1 = 0 ;
24788 int res1 = 0 ;
24789 bool val2 ;
24790 int ecode2 = 0 ;
24791 PyObject * obj0 = 0 ;
24792 PyObject * obj1 = 0 ;
24793 char * kwnames[] = {
24794 (char *) "self",(char *) "flag", NULL
24795 };
24796
24797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24799 if (!SWIG_IsOK(res1)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24801 }
24802 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24803 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24804 if (!SWIG_IsOK(ecode2)) {
24805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24806 }
24807 arg2 = static_cast< bool >(val2);
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 (arg1)->EnableHelp(arg2);
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 resultobj = SWIG_Py_Void();
24815 return resultobj;
24816 fail:
24817 return NULL;
24818 }
24819
24820
24821 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24822 PyObject *resultobj = 0;
24823 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24824 bool arg2 ;
24825 void *argp1 = 0 ;
24826 int res1 = 0 ;
24827 bool val2 ;
24828 int ecode2 = 0 ;
24829 PyObject * obj0 = 0 ;
24830 PyObject * obj1 = 0 ;
24831 char * kwnames[] = {
24832 (char *) "self",(char *) "flag", NULL
24833 };
24834
24835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24837 if (!SWIG_IsOK(res1)) {
24838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24839 }
24840 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24841 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24842 if (!SWIG_IsOK(ecode2)) {
24843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24844 }
24845 arg2 = static_cast< bool >(val2);
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 (arg1)->EnableMargins(arg2);
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 resultobj = SWIG_Py_Void();
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24860 PyObject *resultobj = 0;
24861 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24862 bool arg2 ;
24863 void *argp1 = 0 ;
24864 int res1 = 0 ;
24865 bool val2 ;
24866 int ecode2 = 0 ;
24867 PyObject * obj0 = 0 ;
24868 PyObject * obj1 = 0 ;
24869 char * kwnames[] = {
24870 (char *) "self",(char *) "flag", NULL
24871 };
24872
24873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24875 if (!SWIG_IsOK(res1)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24877 }
24878 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24879 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24880 if (!SWIG_IsOK(ecode2)) {
24881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24882 }
24883 arg2 = static_cast< bool >(val2);
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 (arg1)->EnableOrientation(arg2);
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 resultobj = SWIG_Py_Void();
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj = 0;
24899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24900 bool arg2 ;
24901 void *argp1 = 0 ;
24902 int res1 = 0 ;
24903 bool val2 ;
24904 int ecode2 = 0 ;
24905 PyObject * obj0 = 0 ;
24906 PyObject * obj1 = 0 ;
24907 char * kwnames[] = {
24908 (char *) "self",(char *) "flag", NULL
24909 };
24910
24911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24913 if (!SWIG_IsOK(res1)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24915 }
24916 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24917 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24918 if (!SWIG_IsOK(ecode2)) {
24919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24920 }
24921 arg2 = static_cast< bool >(val2);
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 (arg1)->EnablePaper(arg2);
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 resultobj = SWIG_Py_Void();
24929 return resultobj;
24930 fail:
24931 return NULL;
24932 }
24933
24934
24935 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj = 0;
24937 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24938 bool arg2 ;
24939 void *argp1 = 0 ;
24940 int res1 = 0 ;
24941 bool val2 ;
24942 int ecode2 = 0 ;
24943 PyObject * obj0 = 0 ;
24944 PyObject * obj1 = 0 ;
24945 char * kwnames[] = {
24946 (char *) "self",(char *) "flag", NULL
24947 };
24948
24949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24951 if (!SWIG_IsOK(res1)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24953 }
24954 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24955 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24956 if (!SWIG_IsOK(ecode2)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24958 }
24959 arg2 = static_cast< bool >(val2);
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 (arg1)->EnablePrinter(arg2);
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 resultobj = SWIG_Py_Void();
24967 return resultobj;
24968 fail:
24969 return NULL;
24970 }
24971
24972
24973 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24974 PyObject *resultobj = 0;
24975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24976 bool result;
24977 void *argp1 = 0 ;
24978 int res1 = 0 ;
24979 PyObject *swig_obj[1] ;
24980
24981 if (!args) SWIG_fail;
24982 swig_obj[0] = args;
24983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24984 if (!SWIG_IsOK(res1)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24986 }
24987 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = (bool)(arg1)->GetDefaultMinMargins();
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 {
24995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24996 }
24997 return resultobj;
24998 fail:
24999 return NULL;
25000 }
25001
25002
25003 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25004 PyObject *resultobj = 0;
25005 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25006 bool result;
25007 void *argp1 = 0 ;
25008 int res1 = 0 ;
25009 PyObject *swig_obj[1] ;
25010
25011 if (!args) SWIG_fail;
25012 swig_obj[0] = args;
25013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25014 if (!SWIG_IsOK(res1)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25016 }
25017 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 result = (bool)(arg1)->GetEnableMargins();
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 {
25025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25026 }
25027 return resultobj;
25028 fail:
25029 return NULL;
25030 }
25031
25032
25033 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25034 PyObject *resultobj = 0;
25035 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25036 bool result;
25037 void *argp1 = 0 ;
25038 int res1 = 0 ;
25039 PyObject *swig_obj[1] ;
25040
25041 if (!args) SWIG_fail;
25042 swig_obj[0] = args;
25043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25044 if (!SWIG_IsOK(res1)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25046 }
25047 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 result = (bool)(arg1)->GetEnableOrientation();
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 {
25055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25056 }
25057 return resultobj;
25058 fail:
25059 return NULL;
25060 }
25061
25062
25063 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25064 PyObject *resultobj = 0;
25065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25066 bool result;
25067 void *argp1 = 0 ;
25068 int res1 = 0 ;
25069 PyObject *swig_obj[1] ;
25070
25071 if (!args) SWIG_fail;
25072 swig_obj[0] = args;
25073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25074 if (!SWIG_IsOK(res1)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25076 }
25077 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25078 {
25079 PyThreadState* __tstate = wxPyBeginAllowThreads();
25080 result = (bool)(arg1)->GetEnablePaper();
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
25084 {
25085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25086 }
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25094 PyObject *resultobj = 0;
25095 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25096 bool result;
25097 void *argp1 = 0 ;
25098 int res1 = 0 ;
25099 PyObject *swig_obj[1] ;
25100
25101 if (!args) SWIG_fail;
25102 swig_obj[0] = args;
25103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25104 if (!SWIG_IsOK(res1)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25106 }
25107 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 result = (bool)(arg1)->GetEnablePrinter();
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 {
25115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25116 }
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25124 PyObject *resultobj = 0;
25125 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25126 bool result;
25127 void *argp1 = 0 ;
25128 int res1 = 0 ;
25129 PyObject *swig_obj[1] ;
25130
25131 if (!args) SWIG_fail;
25132 swig_obj[0] = args;
25133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25134 if (!SWIG_IsOK(res1)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25136 }
25137 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 result = (bool)(arg1)->GetEnableHelp();
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 {
25145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25146 }
25147 return resultobj;
25148 fail:
25149 return NULL;
25150 }
25151
25152
25153 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25154 PyObject *resultobj = 0;
25155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25156 bool result;
25157 void *argp1 = 0 ;
25158 int res1 = 0 ;
25159 PyObject *swig_obj[1] ;
25160
25161 if (!args) SWIG_fail;
25162 swig_obj[0] = args;
25163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25164 if (!SWIG_IsOK(res1)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25166 }
25167 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 result = (bool)(arg1)->GetDefaultInfo();
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 {
25175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25176 }
25177 return resultobj;
25178 fail:
25179 return NULL;
25180 }
25181
25182
25183 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25184 PyObject *resultobj = 0;
25185 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25186 wxPoint result;
25187 void *argp1 = 0 ;
25188 int res1 = 0 ;
25189 PyObject *swig_obj[1] ;
25190
25191 if (!args) SWIG_fail;
25192 swig_obj[0] = args;
25193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25194 if (!SWIG_IsOK(res1)) {
25195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25196 }
25197 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25198 {
25199 PyThreadState* __tstate = wxPyBeginAllowThreads();
25200 result = (arg1)->GetMarginTopLeft();
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25205 return resultobj;
25206 fail:
25207 return NULL;
25208 }
25209
25210
25211 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25212 PyObject *resultobj = 0;
25213 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25214 wxPoint result;
25215 void *argp1 = 0 ;
25216 int res1 = 0 ;
25217 PyObject *swig_obj[1] ;
25218
25219 if (!args) SWIG_fail;
25220 swig_obj[0] = args;
25221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25222 if (!SWIG_IsOK(res1)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25224 }
25225 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = (arg1)->GetMarginBottomRight();
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25233 return resultobj;
25234 fail:
25235 return NULL;
25236 }
25237
25238
25239 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25240 PyObject *resultobj = 0;
25241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25242 wxPoint result;
25243 void *argp1 = 0 ;
25244 int res1 = 0 ;
25245 PyObject *swig_obj[1] ;
25246
25247 if (!args) SWIG_fail;
25248 swig_obj[0] = args;
25249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25250 if (!SWIG_IsOK(res1)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25252 }
25253 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (arg1)->GetMinMarginTopLeft();
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25261 return resultobj;
25262 fail:
25263 return NULL;
25264 }
25265
25266
25267 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25268 PyObject *resultobj = 0;
25269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25270 wxPoint result;
25271 void *argp1 = 0 ;
25272 int res1 = 0 ;
25273 PyObject *swig_obj[1] ;
25274
25275 if (!args) SWIG_fail;
25276 swig_obj[0] = args;
25277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25278 if (!SWIG_IsOK(res1)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25280 }
25281 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25282 {
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 result = (arg1)->GetMinMarginBottomRight();
25285 wxPyEndAllowThreads(__tstate);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25289 return resultobj;
25290 fail:
25291 return NULL;
25292 }
25293
25294
25295 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25296 PyObject *resultobj = 0;
25297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25298 wxPaperSize result;
25299 void *argp1 = 0 ;
25300 int res1 = 0 ;
25301 PyObject *swig_obj[1] ;
25302
25303 if (!args) SWIG_fail;
25304 swig_obj[0] = args;
25305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25306 if (!SWIG_IsOK(res1)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25308 }
25309 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = (wxPaperSize)(arg1)->GetPaperId();
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 resultobj = SWIG_From_int(static_cast< int >(result));
25317 return resultobj;
25318 fail:
25319 return NULL;
25320 }
25321
25322
25323 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25324 PyObject *resultobj = 0;
25325 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25326 wxSize result;
25327 void *argp1 = 0 ;
25328 int res1 = 0 ;
25329 PyObject *swig_obj[1] ;
25330
25331 if (!args) SWIG_fail;
25332 swig_obj[0] = args;
25333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25334 if (!SWIG_IsOK(res1)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25336 }
25337 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 result = (arg1)->GetPaperSize();
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25345 return resultobj;
25346 fail:
25347 return NULL;
25348 }
25349
25350
25351 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25352 PyObject *resultobj = 0;
25353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25354 wxPrintData *result = 0 ;
25355 void *argp1 = 0 ;
25356 int res1 = 0 ;
25357 PyObject *swig_obj[1] ;
25358
25359 if (!args) SWIG_fail;
25360 swig_obj[0] = args;
25361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25362 if (!SWIG_IsOK(res1)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25364 }
25365 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 {
25369 wxPrintData &_result_ref = (arg1)->GetPrintData();
25370 result = (wxPrintData *) &_result_ref;
25371 }
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 PyObject *resultobj = 0;
25384 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25385 bool result;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 PyObject *swig_obj[1] ;
25389
25390 if (!args) SWIG_fail;
25391 swig_obj[0] = args;
25392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (bool)(arg1)->IsOk();
25400 wxPyEndAllowThreads(__tstate);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 }
25403 {
25404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25405 }
25406 return resultobj;
25407 fail:
25408 return NULL;
25409 }
25410
25411
25412 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj = 0;
25414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25415 bool arg2 ;
25416 void *argp1 = 0 ;
25417 int res1 = 0 ;
25418 bool val2 ;
25419 int ecode2 = 0 ;
25420 PyObject * obj0 = 0 ;
25421 PyObject * obj1 = 0 ;
25422 char * kwnames[] = {
25423 (char *) "self",(char *) "flag", NULL
25424 };
25425
25426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25428 if (!SWIG_IsOK(res1)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25430 }
25431 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25432 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25433 if (!SWIG_IsOK(ecode2)) {
25434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25435 }
25436 arg2 = static_cast< bool >(val2);
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 (arg1)->SetDefaultInfo(arg2);
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 resultobj = SWIG_Py_Void();
25444 return resultobj;
25445 fail:
25446 return NULL;
25447 }
25448
25449
25450 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25451 PyObject *resultobj = 0;
25452 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25453 bool arg2 ;
25454 void *argp1 = 0 ;
25455 int res1 = 0 ;
25456 bool val2 ;
25457 int ecode2 = 0 ;
25458 PyObject * obj0 = 0 ;
25459 PyObject * obj1 = 0 ;
25460 char * kwnames[] = {
25461 (char *) "self",(char *) "flag", NULL
25462 };
25463
25464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25466 if (!SWIG_IsOK(res1)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25468 }
25469 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25470 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25471 if (!SWIG_IsOK(ecode2)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25473 }
25474 arg2 = static_cast< bool >(val2);
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 (arg1)->SetDefaultMinMargins(arg2);
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 resultobj = SWIG_Py_Void();
25482 return resultobj;
25483 fail:
25484 return NULL;
25485 }
25486
25487
25488 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj = 0;
25490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25491 wxPoint *arg2 = 0 ;
25492 void *argp1 = 0 ;
25493 int res1 = 0 ;
25494 wxPoint temp2 ;
25495 PyObject * obj0 = 0 ;
25496 PyObject * obj1 = 0 ;
25497 char * kwnames[] = {
25498 (char *) "self",(char *) "pt", NULL
25499 };
25500
25501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25503 if (!SWIG_IsOK(res1)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25505 }
25506 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25507 {
25508 arg2 = &temp2;
25509 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25510 }
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 resultobj = SWIG_Py_Void();
25518 return resultobj;
25519 fail:
25520 return NULL;
25521 }
25522
25523
25524 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj = 0;
25526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25527 wxPoint *arg2 = 0 ;
25528 void *argp1 = 0 ;
25529 int res1 = 0 ;
25530 wxPoint temp2 ;
25531 PyObject * obj0 = 0 ;
25532 PyObject * obj1 = 0 ;
25533 char * kwnames[] = {
25534 (char *) "self",(char *) "pt", NULL
25535 };
25536
25537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25539 if (!SWIG_IsOK(res1)) {
25540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25541 }
25542 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25543 {
25544 arg2 = &temp2;
25545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25546 }
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 resultobj = SWIG_Py_Void();
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25561 PyObject *resultobj = 0;
25562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25563 wxPoint *arg2 = 0 ;
25564 void *argp1 = 0 ;
25565 int res1 = 0 ;
25566 wxPoint temp2 ;
25567 PyObject * obj0 = 0 ;
25568 PyObject * obj1 = 0 ;
25569 char * kwnames[] = {
25570 (char *) "self",(char *) "pt", NULL
25571 };
25572
25573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25575 if (!SWIG_IsOK(res1)) {
25576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25577 }
25578 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25579 {
25580 arg2 = &temp2;
25581 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25582 }
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 resultobj = SWIG_Py_Void();
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj = 0;
25598 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25599 wxPoint *arg2 = 0 ;
25600 void *argp1 = 0 ;
25601 int res1 = 0 ;
25602 wxPoint temp2 ;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 char * kwnames[] = {
25606 (char *) "self",(char *) "pt", NULL
25607 };
25608
25609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25611 if (!SWIG_IsOK(res1)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25613 }
25614 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25615 {
25616 arg2 = &temp2;
25617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25618 }
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 resultobj = SWIG_Py_Void();
25626 return resultobj;
25627 fail:
25628 return NULL;
25629 }
25630
25631
25632 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25633 PyObject *resultobj = 0;
25634 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25635 wxPaperSize arg2 ;
25636 void *argp1 = 0 ;
25637 int res1 = 0 ;
25638 int val2 ;
25639 int ecode2 = 0 ;
25640 PyObject * obj0 = 0 ;
25641 PyObject * obj1 = 0 ;
25642 char * kwnames[] = {
25643 (char *) "self",(char *) "id", NULL
25644 };
25645
25646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25648 if (!SWIG_IsOK(res1)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25650 }
25651 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25652 ecode2 = SWIG_AsVal_int(obj1, &val2);
25653 if (!SWIG_IsOK(ecode2)) {
25654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25655 }
25656 arg2 = static_cast< wxPaperSize >(val2);
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 (arg1)->SetPaperId(arg2);
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 resultobj = SWIG_Py_Void();
25664 return resultobj;
25665 fail:
25666 return NULL;
25667 }
25668
25669
25670 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25671 PyObject *resultobj = 0;
25672 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25673 wxSize *arg2 = 0 ;
25674 void *argp1 = 0 ;
25675 int res1 = 0 ;
25676 wxSize temp2 ;
25677 PyObject * obj0 = 0 ;
25678 PyObject * obj1 = 0 ;
25679 char * kwnames[] = {
25680 (char *) "self",(char *) "size", NULL
25681 };
25682
25683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25685 if (!SWIG_IsOK(res1)) {
25686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25687 }
25688 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25689 {
25690 arg2 = &temp2;
25691 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25692 }
25693 {
25694 PyThreadState* __tstate = wxPyBeginAllowThreads();
25695 (arg1)->SetPaperSize((wxSize const &)*arg2);
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 resultobj = SWIG_Py_Void();
25700 return resultobj;
25701 fail:
25702 return NULL;
25703 }
25704
25705
25706 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj = 0;
25708 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25709 wxPrintData *arg2 = 0 ;
25710 void *argp1 = 0 ;
25711 int res1 = 0 ;
25712 void *argp2 = 0 ;
25713 int res2 = 0 ;
25714 PyObject * obj0 = 0 ;
25715 PyObject * obj1 = 0 ;
25716 char * kwnames[] = {
25717 (char *) "self",(char *) "printData", NULL
25718 };
25719
25720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25722 if (!SWIG_IsOK(res1)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25724 }
25725 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25726 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25727 if (!SWIG_IsOK(res2)) {
25728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25729 }
25730 if (!argp2) {
25731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25732 }
25733 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 resultobj = SWIG_Py_Void();
25741 return resultobj;
25742 fail:
25743 return NULL;
25744 }
25745
25746
25747 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25748 PyObject *resultobj = 0;
25749 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25750 void *argp1 = 0 ;
25751 int res1 = 0 ;
25752 PyObject *swig_obj[1] ;
25753
25754 if (!args) SWIG_fail;
25755 swig_obj[0] = args;
25756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25757 if (!SWIG_IsOK(res1)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25759 }
25760 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25761 {
25762 PyThreadState* __tstate = wxPyBeginAllowThreads();
25763 (arg1)->CalculateIdFromPaperSize();
25764 wxPyEndAllowThreads(__tstate);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 resultobj = SWIG_Py_Void();
25768 return resultobj;
25769 fail:
25770 return NULL;
25771 }
25772
25773
25774 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25775 PyObject *resultobj = 0;
25776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25777 void *argp1 = 0 ;
25778 int res1 = 0 ;
25779 PyObject *swig_obj[1] ;
25780
25781 if (!args) SWIG_fail;
25782 swig_obj[0] = args;
25783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25784 if (!SWIG_IsOK(res1)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25786 }
25787 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 (arg1)->CalculatePaperSizeFromId();
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 resultobj = SWIG_Py_Void();
25795 return resultobj;
25796 fail:
25797 return NULL;
25798 }
25799
25800
25801 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25802 PyObject *obj;
25803 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25804 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25805 return SWIG_Py_Void();
25806 }
25807
25808 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25809 return SWIG_Python_InitShadowInstance(args);
25810 }
25811
25812 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25813 PyObject *resultobj = 0;
25814 wxWindow *arg1 = (wxWindow *) 0 ;
25815 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25816 wxPageSetupDialog *result = 0 ;
25817 void *argp1 = 0 ;
25818 int res1 = 0 ;
25819 void *argp2 = 0 ;
25820 int res2 = 0 ;
25821 PyObject * obj0 = 0 ;
25822 PyObject * obj1 = 0 ;
25823 char * kwnames[] = {
25824 (char *) "parent",(char *) "data", NULL
25825 };
25826
25827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25829 if (!SWIG_IsOK(res1)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25831 }
25832 arg1 = reinterpret_cast< wxWindow * >(argp1);
25833 if (obj1) {
25834 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25835 if (!SWIG_IsOK(res2)) {
25836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25837 }
25838 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25839 }
25840 {
25841 if (!wxPyCheckForApp()) SWIG_fail;
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25848 return resultobj;
25849 fail:
25850 return NULL;
25851 }
25852
25853
25854 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25855 PyObject *resultobj = 0;
25856 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25857 void *argp1 = 0 ;
25858 int res1 = 0 ;
25859 PyObject *swig_obj[1] ;
25860
25861 if (!args) SWIG_fail;
25862 swig_obj[0] = args;
25863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25864 if (!SWIG_IsOK(res1)) {
25865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25866 }
25867 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25868 {
25869 PyThreadState* __tstate = wxPyBeginAllowThreads();
25870 delete arg1;
25871
25872 wxPyEndAllowThreads(__tstate);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 resultobj = SWIG_Py_Void();
25876 return resultobj;
25877 fail:
25878 return NULL;
25879 }
25880
25881
25882 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25883 PyObject *resultobj = 0;
25884 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25885 wxPageSetupDialogData *result = 0 ;
25886 void *argp1 = 0 ;
25887 int res1 = 0 ;
25888 PyObject *swig_obj[1] ;
25889
25890 if (!args) SWIG_fail;
25891 swig_obj[0] = args;
25892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25895 }
25896 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25897 {
25898 PyThreadState* __tstate = wxPyBeginAllowThreads();
25899 {
25900 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25901 result = (wxPageSetupDialogData *) &_result_ref;
25902 }
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25914 PyObject *resultobj = 0;
25915 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25916 wxPageSetupDialogData *result = 0 ;
25917 void *argp1 = 0 ;
25918 int res1 = 0 ;
25919 PyObject *swig_obj[1] ;
25920
25921 if (!args) SWIG_fail;
25922 swig_obj[0] = args;
25923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25924 if (!SWIG_IsOK(res1)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25926 }
25927 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 {
25931 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25932 result = (wxPageSetupDialogData *) &_result_ref;
25933 }
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25938 return resultobj;
25939 fail:
25940 return NULL;
25941 }
25942
25943
25944 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25945 PyObject *resultobj = 0;
25946 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25947 int result;
25948 void *argp1 = 0 ;
25949 int res1 = 0 ;
25950 PyObject *swig_obj[1] ;
25951
25952 if (!args) SWIG_fail;
25953 swig_obj[0] = args;
25954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 result = (int)(arg1)->ShowModal();
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 resultobj = SWIG_From_int(static_cast< int >(result));
25966 return resultobj;
25967 fail:
25968 return NULL;
25969 }
25970
25971
25972 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25973 PyObject *obj;
25974 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25976 return SWIG_Py_Void();
25977 }
25978
25979 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25980 return SWIG_Python_InitShadowInstance(args);
25981 }
25982
25983 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25984 PyObject *resultobj = 0;
25985 wxPrintDialogData *result = 0 ;
25986
25987 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25988 {
25989 PyThreadState* __tstate = wxPyBeginAllowThreads();
25990 result = (wxPrintDialogData *)new wxPrintDialogData();
25991 wxPyEndAllowThreads(__tstate);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 }
25994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25995 return resultobj;
25996 fail:
25997 return NULL;
25998 }
25999
26000
26001 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26002 PyObject *resultobj = 0;
26003 wxPrintData *arg1 = 0 ;
26004 wxPrintDialogData *result = 0 ;
26005 void *argp1 = 0 ;
26006 int res1 = 0 ;
26007
26008 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26010 if (!SWIG_IsOK(res1)) {
26011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26012 }
26013 if (!argp1) {
26014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26015 }
26016 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26024 return resultobj;
26025 fail:
26026 return NULL;
26027 }
26028
26029
26030 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26031 PyObject *resultobj = 0;
26032 wxPrintDialogData *arg1 = 0 ;
26033 wxPrintDialogData *result = 0 ;
26034 void *argp1 = 0 ;
26035 int res1 = 0 ;
26036
26037 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26039 if (!SWIG_IsOK(res1)) {
26040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26041 }
26042 if (!argp1) {
26043 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26044 }
26045 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26060 int argc;
26061 PyObject *argv[2];
26062
26063 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26064 --argc;
26065 if (argc == 0) {
26066 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26067 }
26068 if (argc == 1) {
26069 int _v = 0;
26070 {
26071 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26072 _v = SWIG_CheckState(res);
26073 }
26074 if (!_v) goto check_2;
26075 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26076 }
26077 check_2:
26078
26079 if (argc == 1) {
26080 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26081 }
26082
26083 fail:
26084 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26085 return NULL;
26086 }
26087
26088
26089 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26090 PyObject *resultobj = 0;
26091 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26092 void *argp1 = 0 ;
26093 int res1 = 0 ;
26094 PyObject *swig_obj[1] ;
26095
26096 if (!args) SWIG_fail;
26097 swig_obj[0] = args;
26098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26099 if (!SWIG_IsOK(res1)) {
26100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26101 }
26102 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 delete arg1;
26106
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 resultobj = SWIG_Py_Void();
26111 return resultobj;
26112 fail:
26113 return NULL;
26114 }
26115
26116
26117 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26118 PyObject *resultobj = 0;
26119 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26120 int result;
26121 void *argp1 = 0 ;
26122 int res1 = 0 ;
26123 PyObject *swig_obj[1] ;
26124
26125 if (!args) SWIG_fail;
26126 swig_obj[0] = args;
26127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26128 if (!SWIG_IsOK(res1)) {
26129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26130 }
26131 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26132 {
26133 PyThreadState* __tstate = wxPyBeginAllowThreads();
26134 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26135 wxPyEndAllowThreads(__tstate);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 }
26138 resultobj = SWIG_From_int(static_cast< int >(result));
26139 return resultobj;
26140 fail:
26141 return NULL;
26142 }
26143
26144
26145 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26146 PyObject *resultobj = 0;
26147 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26148 int result;
26149 void *argp1 = 0 ;
26150 int res1 = 0 ;
26151 PyObject *swig_obj[1] ;
26152
26153 if (!args) SWIG_fail;
26154 swig_obj[0] = args;
26155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26156 if (!SWIG_IsOK(res1)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26158 }
26159 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26160 {
26161 PyThreadState* __tstate = wxPyBeginAllowThreads();
26162 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26163 wxPyEndAllowThreads(__tstate);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
26166 resultobj = SWIG_From_int(static_cast< int >(result));
26167 return resultobj;
26168 fail:
26169 return NULL;
26170 }
26171
26172
26173 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26174 PyObject *resultobj = 0;
26175 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26176 int result;
26177 void *argp1 = 0 ;
26178 int res1 = 0 ;
26179 PyObject *swig_obj[1] ;
26180
26181 if (!args) SWIG_fail;
26182 swig_obj[0] = args;
26183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26184 if (!SWIG_IsOK(res1)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26186 }
26187 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 resultobj = SWIG_From_int(static_cast< int >(result));
26195 return resultobj;
26196 fail:
26197 return NULL;
26198 }
26199
26200
26201 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26202 PyObject *resultobj = 0;
26203 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26204 int result;
26205 void *argp1 = 0 ;
26206 int res1 = 0 ;
26207 PyObject *swig_obj[1] ;
26208
26209 if (!args) SWIG_fail;
26210 swig_obj[0] = args;
26211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26212 if (!SWIG_IsOK(res1)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26214 }
26215 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26216 {
26217 PyThreadState* __tstate = wxPyBeginAllowThreads();
26218 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
26222 resultobj = SWIG_From_int(static_cast< int >(result));
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26230 PyObject *resultobj = 0;
26231 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26232 int result;
26233 void *argp1 = 0 ;
26234 int res1 = 0 ;
26235 PyObject *swig_obj[1] ;
26236
26237 if (!args) SWIG_fail;
26238 swig_obj[0] = args;
26239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26240 if (!SWIG_IsOK(res1)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26242 }
26243 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26247 wxPyEndAllowThreads(__tstate);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 resultobj = SWIG_From_int(static_cast< int >(result));
26251 return resultobj;
26252 fail:
26253 return NULL;
26254 }
26255
26256
26257 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26258 PyObject *resultobj = 0;
26259 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26260 bool result;
26261 void *argp1 = 0 ;
26262 int res1 = 0 ;
26263 PyObject *swig_obj[1] ;
26264
26265 if (!args) SWIG_fail;
26266 swig_obj[0] = args;
26267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26268 if (!SWIG_IsOK(res1)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26270 }
26271 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26272 {
26273 PyThreadState* __tstate = wxPyBeginAllowThreads();
26274 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26275 wxPyEndAllowThreads(__tstate);
26276 if (PyErr_Occurred()) SWIG_fail;
26277 }
26278 {
26279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26280 }
26281 return resultobj;
26282 fail:
26283 return NULL;
26284 }
26285
26286
26287 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26288 PyObject *resultobj = 0;
26289 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26290 bool result;
26291 void *argp1 = 0 ;
26292 int res1 = 0 ;
26293 PyObject *swig_obj[1] ;
26294
26295 if (!args) SWIG_fail;
26296 swig_obj[0] = args;
26297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26298 if (!SWIG_IsOK(res1)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26300 }
26301 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 {
26309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26310 }
26311 return resultobj;
26312 fail:
26313 return NULL;
26314 }
26315
26316
26317 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26318 PyObject *resultobj = 0;
26319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26320 bool result;
26321 void *argp1 = 0 ;
26322 int res1 = 0 ;
26323 PyObject *swig_obj[1] ;
26324
26325 if (!args) SWIG_fail;
26326 swig_obj[0] = args;
26327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26328 if (!SWIG_IsOK(res1)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26330 }
26331 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26335 wxPyEndAllowThreads(__tstate);
26336 if (PyErr_Occurred()) SWIG_fail;
26337 }
26338 {
26339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26340 }
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26348 PyObject *resultobj = 0;
26349 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26350 bool result;
26351 void *argp1 = 0 ;
26352 int res1 = 0 ;
26353 PyObject *swig_obj[1] ;
26354
26355 if (!args) SWIG_fail;
26356 swig_obj[0] = args;
26357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26358 if (!SWIG_IsOK(res1)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26360 }
26361 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26365 wxPyEndAllowThreads(__tstate);
26366 if (PyErr_Occurred()) SWIG_fail;
26367 }
26368 {
26369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26370 }
26371 return resultobj;
26372 fail:
26373 return NULL;
26374 }
26375
26376
26377 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26378 PyObject *resultobj = 0;
26379 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26380 int arg2 ;
26381 void *argp1 = 0 ;
26382 int res1 = 0 ;
26383 int val2 ;
26384 int ecode2 = 0 ;
26385 PyObject * obj0 = 0 ;
26386 PyObject * obj1 = 0 ;
26387 char * kwnames[] = {
26388 (char *) "self",(char *) "v", NULL
26389 };
26390
26391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26393 if (!SWIG_IsOK(res1)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26395 }
26396 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26397 ecode2 = SWIG_AsVal_int(obj1, &val2);
26398 if (!SWIG_IsOK(ecode2)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26400 }
26401 arg2 = static_cast< int >(val2);
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 (arg1)->SetFromPage(arg2);
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 resultobj = SWIG_Py_Void();
26409 return resultobj;
26410 fail:
26411 return NULL;
26412 }
26413
26414
26415 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj = 0;
26417 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26418 int arg2 ;
26419 void *argp1 = 0 ;
26420 int res1 = 0 ;
26421 int val2 ;
26422 int ecode2 = 0 ;
26423 PyObject * obj0 = 0 ;
26424 PyObject * obj1 = 0 ;
26425 char * kwnames[] = {
26426 (char *) "self",(char *) "v", NULL
26427 };
26428
26429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26431 if (!SWIG_IsOK(res1)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26433 }
26434 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26435 ecode2 = SWIG_AsVal_int(obj1, &val2);
26436 if (!SWIG_IsOK(ecode2)) {
26437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26438 }
26439 arg2 = static_cast< int >(val2);
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 (arg1)->SetToPage(arg2);
26443 wxPyEndAllowThreads(__tstate);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
26446 resultobj = SWIG_Py_Void();
26447 return resultobj;
26448 fail:
26449 return NULL;
26450 }
26451
26452
26453 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26454 PyObject *resultobj = 0;
26455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26456 int arg2 ;
26457 void *argp1 = 0 ;
26458 int res1 = 0 ;
26459 int val2 ;
26460 int ecode2 = 0 ;
26461 PyObject * obj0 = 0 ;
26462 PyObject * obj1 = 0 ;
26463 char * kwnames[] = {
26464 (char *) "self",(char *) "v", NULL
26465 };
26466
26467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26469 if (!SWIG_IsOK(res1)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26471 }
26472 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26473 ecode2 = SWIG_AsVal_int(obj1, &val2);
26474 if (!SWIG_IsOK(ecode2)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26476 }
26477 arg2 = static_cast< int >(val2);
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 (arg1)->SetMinPage(arg2);
26481 wxPyEndAllowThreads(__tstate);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 resultobj = SWIG_Py_Void();
26485 return resultobj;
26486 fail:
26487 return NULL;
26488 }
26489
26490
26491 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26492 PyObject *resultobj = 0;
26493 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26494 int arg2 ;
26495 void *argp1 = 0 ;
26496 int res1 = 0 ;
26497 int val2 ;
26498 int ecode2 = 0 ;
26499 PyObject * obj0 = 0 ;
26500 PyObject * obj1 = 0 ;
26501 char * kwnames[] = {
26502 (char *) "self",(char *) "v", NULL
26503 };
26504
26505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26507 if (!SWIG_IsOK(res1)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26509 }
26510 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26511 ecode2 = SWIG_AsVal_int(obj1, &val2);
26512 if (!SWIG_IsOK(ecode2)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26514 }
26515 arg2 = static_cast< int >(val2);
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 (arg1)->SetMaxPage(arg2);
26519 wxPyEndAllowThreads(__tstate);
26520 if (PyErr_Occurred()) SWIG_fail;
26521 }
26522 resultobj = SWIG_Py_Void();
26523 return resultobj;
26524 fail:
26525 return NULL;
26526 }
26527
26528
26529 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26530 PyObject *resultobj = 0;
26531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26532 int arg2 ;
26533 void *argp1 = 0 ;
26534 int res1 = 0 ;
26535 int val2 ;
26536 int ecode2 = 0 ;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 char * kwnames[] = {
26540 (char *) "self",(char *) "v", NULL
26541 };
26542
26543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26545 if (!SWIG_IsOK(res1)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26547 }
26548 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26549 ecode2 = SWIG_AsVal_int(obj1, &val2);
26550 if (!SWIG_IsOK(ecode2)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26552 }
26553 arg2 = static_cast< int >(val2);
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 (arg1)->SetNoCopies(arg2);
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 resultobj = SWIG_Py_Void();
26561 return resultobj;
26562 fail:
26563 return NULL;
26564 }
26565
26566
26567 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26568 PyObject *resultobj = 0;
26569 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26570 bool arg2 ;
26571 void *argp1 = 0 ;
26572 int res1 = 0 ;
26573 bool val2 ;
26574 int ecode2 = 0 ;
26575 PyObject * obj0 = 0 ;
26576 PyObject * obj1 = 0 ;
26577 char * kwnames[] = {
26578 (char *) "self",(char *) "flag", NULL
26579 };
26580
26581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26583 if (!SWIG_IsOK(res1)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26585 }
26586 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26587 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26588 if (!SWIG_IsOK(ecode2)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26590 }
26591 arg2 = static_cast< bool >(val2);
26592 {
26593 PyThreadState* __tstate = wxPyBeginAllowThreads();
26594 (arg1)->SetAllPages(arg2);
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 resultobj = SWIG_Py_Void();
26599 return resultobj;
26600 fail:
26601 return NULL;
26602 }
26603
26604
26605 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26606 PyObject *resultobj = 0;
26607 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26608 bool arg2 ;
26609 void *argp1 = 0 ;
26610 int res1 = 0 ;
26611 bool val2 ;
26612 int ecode2 = 0 ;
26613 PyObject * obj0 = 0 ;
26614 PyObject * obj1 = 0 ;
26615 char * kwnames[] = {
26616 (char *) "self",(char *) "flag", NULL
26617 };
26618
26619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26621 if (!SWIG_IsOK(res1)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26623 }
26624 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26625 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26626 if (!SWIG_IsOK(ecode2)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26628 }
26629 arg2 = static_cast< bool >(val2);
26630 {
26631 PyThreadState* __tstate = wxPyBeginAllowThreads();
26632 (arg1)->SetSelection(arg2);
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 resultobj = SWIG_Py_Void();
26637 return resultobj;
26638 fail:
26639 return NULL;
26640 }
26641
26642
26643 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj = 0;
26645 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26646 bool arg2 ;
26647 void *argp1 = 0 ;
26648 int res1 = 0 ;
26649 bool val2 ;
26650 int ecode2 = 0 ;
26651 PyObject * obj0 = 0 ;
26652 PyObject * obj1 = 0 ;
26653 char * kwnames[] = {
26654 (char *) "self",(char *) "flag", NULL
26655 };
26656
26657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26659 if (!SWIG_IsOK(res1)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26661 }
26662 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26663 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26664 if (!SWIG_IsOK(ecode2)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26666 }
26667 arg2 = static_cast< bool >(val2);
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 (arg1)->SetCollate(arg2);
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 resultobj = SWIG_Py_Void();
26675 return resultobj;
26676 fail:
26677 return NULL;
26678 }
26679
26680
26681 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj = 0;
26683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26684 bool arg2 ;
26685 void *argp1 = 0 ;
26686 int res1 = 0 ;
26687 bool val2 ;
26688 int ecode2 = 0 ;
26689 PyObject * obj0 = 0 ;
26690 PyObject * obj1 = 0 ;
26691 char * kwnames[] = {
26692 (char *) "self",(char *) "flag", NULL
26693 };
26694
26695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26697 if (!SWIG_IsOK(res1)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26699 }
26700 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26701 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26702 if (!SWIG_IsOK(ecode2)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26704 }
26705 arg2 = static_cast< bool >(val2);
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 (arg1)->SetPrintToFile(arg2);
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 resultobj = SWIG_Py_Void();
26713 return resultobj;
26714 fail:
26715 return NULL;
26716 }
26717
26718
26719 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26720 PyObject *resultobj = 0;
26721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26722 bool arg2 ;
26723 void *argp1 = 0 ;
26724 int res1 = 0 ;
26725 bool val2 ;
26726 int ecode2 = 0 ;
26727 PyObject * obj0 = 0 ;
26728 PyObject * obj1 = 0 ;
26729 char * kwnames[] = {
26730 (char *) "self",(char *) "flag", NULL
26731 };
26732
26733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26735 if (!SWIG_IsOK(res1)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26737 }
26738 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26739 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26740 if (!SWIG_IsOK(ecode2)) {
26741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26742 }
26743 arg2 = static_cast< bool >(val2);
26744 {
26745 PyThreadState* __tstate = wxPyBeginAllowThreads();
26746 (arg1)->EnablePrintToFile(arg2);
26747 wxPyEndAllowThreads(__tstate);
26748 if (PyErr_Occurred()) SWIG_fail;
26749 }
26750 resultobj = SWIG_Py_Void();
26751 return resultobj;
26752 fail:
26753 return NULL;
26754 }
26755
26756
26757 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26758 PyObject *resultobj = 0;
26759 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26760 bool arg2 ;
26761 void *argp1 = 0 ;
26762 int res1 = 0 ;
26763 bool val2 ;
26764 int ecode2 = 0 ;
26765 PyObject * obj0 = 0 ;
26766 PyObject * obj1 = 0 ;
26767 char * kwnames[] = {
26768 (char *) "self",(char *) "flag", NULL
26769 };
26770
26771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26773 if (!SWIG_IsOK(res1)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26775 }
26776 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26777 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26778 if (!SWIG_IsOK(ecode2)) {
26779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26780 }
26781 arg2 = static_cast< bool >(val2);
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 (arg1)->EnableSelection(arg2);
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 resultobj = SWIG_Py_Void();
26789 return resultobj;
26790 fail:
26791 return NULL;
26792 }
26793
26794
26795 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26796 PyObject *resultobj = 0;
26797 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26798 bool arg2 ;
26799 void *argp1 = 0 ;
26800 int res1 = 0 ;
26801 bool val2 ;
26802 int ecode2 = 0 ;
26803 PyObject * obj0 = 0 ;
26804 PyObject * obj1 = 0 ;
26805 char * kwnames[] = {
26806 (char *) "self",(char *) "flag", NULL
26807 };
26808
26809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26811 if (!SWIG_IsOK(res1)) {
26812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26813 }
26814 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26815 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26816 if (!SWIG_IsOK(ecode2)) {
26817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26818 }
26819 arg2 = static_cast< bool >(val2);
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 (arg1)->EnablePageNumbers(arg2);
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 resultobj = SWIG_Py_Void();
26827 return resultobj;
26828 fail:
26829 return NULL;
26830 }
26831
26832
26833 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26834 PyObject *resultobj = 0;
26835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26836 bool arg2 ;
26837 void *argp1 = 0 ;
26838 int res1 = 0 ;
26839 bool val2 ;
26840 int ecode2 = 0 ;
26841 PyObject * obj0 = 0 ;
26842 PyObject * obj1 = 0 ;
26843 char * kwnames[] = {
26844 (char *) "self",(char *) "flag", NULL
26845 };
26846
26847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
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 '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26851 }
26852 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26853 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26854 if (!SWIG_IsOK(ecode2)) {
26855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26856 }
26857 arg2 = static_cast< bool >(val2);
26858 {
26859 PyThreadState* __tstate = wxPyBeginAllowThreads();
26860 (arg1)->EnableHelp(arg2);
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
26864 resultobj = SWIG_Py_Void();
26865 return resultobj;
26866 fail:
26867 return NULL;
26868 }
26869
26870
26871 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26872 PyObject *resultobj = 0;
26873 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26874 bool result;
26875 void *argp1 = 0 ;
26876 int res1 = 0 ;
26877 PyObject *swig_obj[1] ;
26878
26879 if (!args) SWIG_fail;
26880 swig_obj[0] = args;
26881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26882 if (!SWIG_IsOK(res1)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26884 }
26885 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26889 wxPyEndAllowThreads(__tstate);
26890 if (PyErr_Occurred()) SWIG_fail;
26891 }
26892 {
26893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26894 }
26895 return resultobj;
26896 fail:
26897 return NULL;
26898 }
26899
26900
26901 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26902 PyObject *resultobj = 0;
26903 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26904 bool result;
26905 void *argp1 = 0 ;
26906 int res1 = 0 ;
26907 PyObject *swig_obj[1] ;
26908
26909 if (!args) SWIG_fail;
26910 swig_obj[0] = args;
26911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26912 if (!SWIG_IsOK(res1)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26914 }
26915 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26916 {
26917 PyThreadState* __tstate = wxPyBeginAllowThreads();
26918 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26919 wxPyEndAllowThreads(__tstate);
26920 if (PyErr_Occurred()) SWIG_fail;
26921 }
26922 {
26923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26924 }
26925 return resultobj;
26926 fail:
26927 return NULL;
26928 }
26929
26930
26931 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26932 PyObject *resultobj = 0;
26933 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26934 bool result;
26935 void *argp1 = 0 ;
26936 int res1 = 0 ;
26937 PyObject *swig_obj[1] ;
26938
26939 if (!args) SWIG_fail;
26940 swig_obj[0] = args;
26941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26942 if (!SWIG_IsOK(res1)) {
26943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26944 }
26945 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26946 {
26947 PyThreadState* __tstate = wxPyBeginAllowThreads();
26948 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26949 wxPyEndAllowThreads(__tstate);
26950 if (PyErr_Occurred()) SWIG_fail;
26951 }
26952 {
26953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26954 }
26955 return resultobj;
26956 fail:
26957 return NULL;
26958 }
26959
26960
26961 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26962 PyObject *resultobj = 0;
26963 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26964 bool result;
26965 void *argp1 = 0 ;
26966 int res1 = 0 ;
26967 PyObject *swig_obj[1] ;
26968
26969 if (!args) SWIG_fail;
26970 swig_obj[0] = args;
26971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26972 if (!SWIG_IsOK(res1)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26974 }
26975 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26976 {
26977 PyThreadState* __tstate = wxPyBeginAllowThreads();
26978 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26979 wxPyEndAllowThreads(__tstate);
26980 if (PyErr_Occurred()) SWIG_fail;
26981 }
26982 {
26983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26984 }
26985 return resultobj;
26986 fail:
26987 return NULL;
26988 }
26989
26990
26991 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26992 PyObject *resultobj = 0;
26993 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26994 bool result;
26995 void *argp1 = 0 ;
26996 int res1 = 0 ;
26997 PyObject *swig_obj[1] ;
26998
26999 if (!args) SWIG_fail;
27000 swig_obj[0] = args;
27001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27002 if (!SWIG_IsOK(res1)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27004 }
27005 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27006 {
27007 PyThreadState* __tstate = wxPyBeginAllowThreads();
27008 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27009 wxPyEndAllowThreads(__tstate);
27010 if (PyErr_Occurred()) SWIG_fail;
27011 }
27012 {
27013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27014 }
27015 return resultobj;
27016 fail:
27017 return NULL;
27018 }
27019
27020
27021 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27022 PyObject *resultobj = 0;
27023 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27024 wxPrintData *result = 0 ;
27025 void *argp1 = 0 ;
27026 int res1 = 0 ;
27027 PyObject *swig_obj[1] ;
27028
27029 if (!args) SWIG_fail;
27030 swig_obj[0] = args;
27031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27032 if (!SWIG_IsOK(res1)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27034 }
27035 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 {
27039 wxPrintData &_result_ref = (arg1)->GetPrintData();
27040 result = (wxPrintData *) &_result_ref;
27041 }
27042 wxPyEndAllowThreads(__tstate);
27043 if (PyErr_Occurred()) SWIG_fail;
27044 }
27045 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27046 return resultobj;
27047 fail:
27048 return NULL;
27049 }
27050
27051
27052 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27053 PyObject *resultobj = 0;
27054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27055 wxPrintData *arg2 = 0 ;
27056 void *argp1 = 0 ;
27057 int res1 = 0 ;
27058 void *argp2 = 0 ;
27059 int res2 = 0 ;
27060 PyObject * obj0 = 0 ;
27061 PyObject * obj1 = 0 ;
27062 char * kwnames[] = {
27063 (char *) "self",(char *) "printData", NULL
27064 };
27065
27066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27068 if (!SWIG_IsOK(res1)) {
27069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27070 }
27071 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27072 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27073 if (!SWIG_IsOK(res2)) {
27074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27075 }
27076 if (!argp2) {
27077 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27078 }
27079 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 resultobj = SWIG_Py_Void();
27087 return resultobj;
27088 fail:
27089 return NULL;
27090 }
27091
27092
27093 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27094 PyObject *obj;
27095 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27096 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27097 return SWIG_Py_Void();
27098 }
27099
27100 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27101 return SWIG_Python_InitShadowInstance(args);
27102 }
27103
27104 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27105 PyObject *resultobj = 0;
27106 wxWindow *arg1 = (wxWindow *) 0 ;
27107 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27108 wxPrintDialog *result = 0 ;
27109 void *argp1 = 0 ;
27110 int res1 = 0 ;
27111 void *argp2 = 0 ;
27112 int res2 = 0 ;
27113 PyObject * obj0 = 0 ;
27114 PyObject * obj1 = 0 ;
27115 char * kwnames[] = {
27116 (char *) "parent",(char *) "data", NULL
27117 };
27118
27119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27121 if (!SWIG_IsOK(res1)) {
27122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27123 }
27124 arg1 = reinterpret_cast< wxWindow * >(argp1);
27125 if (obj1) {
27126 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27127 if (!SWIG_IsOK(res2)) {
27128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27129 }
27130 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27131 }
27132 {
27133 if (!wxPyCheckForApp()) SWIG_fail;
27134 PyThreadState* __tstate = wxPyBeginAllowThreads();
27135 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27140 return resultobj;
27141 fail:
27142 return NULL;
27143 }
27144
27145
27146 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27147 PyObject *resultobj = 0;
27148 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27149 void *argp1 = 0 ;
27150 int res1 = 0 ;
27151 PyObject *swig_obj[1] ;
27152
27153 if (!args) SWIG_fail;
27154 swig_obj[0] = args;
27155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27156 if (!SWIG_IsOK(res1)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27158 }
27159 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27160 {
27161 PyThreadState* __tstate = wxPyBeginAllowThreads();
27162 delete arg1;
27163
27164 wxPyEndAllowThreads(__tstate);
27165 if (PyErr_Occurred()) SWIG_fail;
27166 }
27167 resultobj = SWIG_Py_Void();
27168 return resultobj;
27169 fail:
27170 return NULL;
27171 }
27172
27173
27174 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27175 PyObject *resultobj = 0;
27176 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27177 int result;
27178 void *argp1 = 0 ;
27179 int res1 = 0 ;
27180 PyObject *swig_obj[1] ;
27181
27182 if (!args) SWIG_fail;
27183 swig_obj[0] = args;
27184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27185 if (!SWIG_IsOK(res1)) {
27186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27187 }
27188 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27189 {
27190 PyThreadState* __tstate = wxPyBeginAllowThreads();
27191 result = (int)(arg1)->ShowModal();
27192 wxPyEndAllowThreads(__tstate);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 }
27195 resultobj = SWIG_From_int(static_cast< int >(result));
27196 return resultobj;
27197 fail:
27198 return NULL;
27199 }
27200
27201
27202 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27203 PyObject *resultobj = 0;
27204 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27205 wxPrintDialogData *result = 0 ;
27206 void *argp1 = 0 ;
27207 int res1 = 0 ;
27208 PyObject *swig_obj[1] ;
27209
27210 if (!args) SWIG_fail;
27211 swig_obj[0] = args;
27212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27213 if (!SWIG_IsOK(res1)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27215 }
27216 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 {
27220 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27221 result = (wxPrintDialogData *) &_result_ref;
27222 }
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27227 return resultobj;
27228 fail:
27229 return NULL;
27230 }
27231
27232
27233 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27234 PyObject *resultobj = 0;
27235 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27236 wxPrintData *result = 0 ;
27237 void *argp1 = 0 ;
27238 int res1 = 0 ;
27239 PyObject *swig_obj[1] ;
27240
27241 if (!args) SWIG_fail;
27242 swig_obj[0] = args;
27243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27244 if (!SWIG_IsOK(res1)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27246 }
27247 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 {
27251 wxPrintData &_result_ref = (arg1)->GetPrintData();
27252 result = (wxPrintData *) &_result_ref;
27253 }
27254 wxPyEndAllowThreads(__tstate);
27255 if (PyErr_Occurred()) SWIG_fail;
27256 }
27257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27265 PyObject *resultobj = 0;
27266 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27267 wxDC *result = 0 ;
27268 void *argp1 = 0 ;
27269 int res1 = 0 ;
27270 PyObject *swig_obj[1] ;
27271
27272 if (!args) SWIG_fail;
27273 swig_obj[0] = args;
27274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27275 if (!SWIG_IsOK(res1)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27277 }
27278 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27279 {
27280 PyThreadState* __tstate = wxPyBeginAllowThreads();
27281 result = (wxDC *)(arg1)->GetPrintDC();
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 {
27286 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27287 }
27288 return resultobj;
27289 fail:
27290 return NULL;
27291 }
27292
27293
27294 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27295 PyObject *obj;
27296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27298 return SWIG_Py_Void();
27299 }
27300
27301 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27302 return SWIG_Python_InitShadowInstance(args);
27303 }
27304
27305 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj = 0;
27307 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27308 wxPrinter *result = 0 ;
27309 void *argp1 = 0 ;
27310 int res1 = 0 ;
27311 PyObject * obj0 = 0 ;
27312 char * kwnames[] = {
27313 (char *) "data", NULL
27314 };
27315
27316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27317 if (obj0) {
27318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27319 if (!SWIG_IsOK(res1)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27321 }
27322 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27323 }
27324 {
27325 if (!wxPyCheckForApp()) SWIG_fail;
27326 PyThreadState* __tstate = wxPyBeginAllowThreads();
27327 result = (wxPrinter *)new wxPrinter(arg1);
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27332 return resultobj;
27333 fail:
27334 return NULL;
27335 }
27336
27337
27338 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27339 PyObject *resultobj = 0;
27340 wxPrinter *arg1 = (wxPrinter *) 0 ;
27341 void *argp1 = 0 ;
27342 int res1 = 0 ;
27343 PyObject *swig_obj[1] ;
27344
27345 if (!args) SWIG_fail;
27346 swig_obj[0] = args;
27347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27348 if (!SWIG_IsOK(res1)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27350 }
27351 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27352 {
27353 PyThreadState* __tstate = wxPyBeginAllowThreads();
27354 delete arg1;
27355
27356 wxPyEndAllowThreads(__tstate);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 }
27359 resultobj = SWIG_Py_Void();
27360 return resultobj;
27361 fail:
27362 return NULL;
27363 }
27364
27365
27366 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27367 PyObject *resultobj = 0;
27368 wxPrinter *arg1 = (wxPrinter *) 0 ;
27369 wxWindow *arg2 = (wxWindow *) 0 ;
27370 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27371 wxWindow *result = 0 ;
27372 void *argp1 = 0 ;
27373 int res1 = 0 ;
27374 void *argp2 = 0 ;
27375 int res2 = 0 ;
27376 void *argp3 = 0 ;
27377 int res3 = 0 ;
27378 PyObject * obj0 = 0 ;
27379 PyObject * obj1 = 0 ;
27380 PyObject * obj2 = 0 ;
27381 char * kwnames[] = {
27382 (char *) "self",(char *) "parent",(char *) "printout", NULL
27383 };
27384
27385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27387 if (!SWIG_IsOK(res1)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27389 }
27390 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27391 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27392 if (!SWIG_IsOK(res2)) {
27393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27394 }
27395 arg2 = reinterpret_cast< wxWindow * >(argp2);
27396 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27397 if (!SWIG_IsOK(res3)) {
27398 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27399 }
27400 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 {
27408 resultobj = wxPyMake_wxObject(result, 0);
27409 }
27410 return resultobj;
27411 fail:
27412 return NULL;
27413 }
27414
27415
27416 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27417 PyObject *resultobj = 0;
27418 wxPrinter *arg1 = (wxPrinter *) 0 ;
27419 wxWindow *arg2 = (wxWindow *) 0 ;
27420 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27421 wxString *arg4 = 0 ;
27422 void *argp1 = 0 ;
27423 int res1 = 0 ;
27424 void *argp2 = 0 ;
27425 int res2 = 0 ;
27426 void *argp3 = 0 ;
27427 int res3 = 0 ;
27428 bool temp4 = false ;
27429 PyObject * obj0 = 0 ;
27430 PyObject * obj1 = 0 ;
27431 PyObject * obj2 = 0 ;
27432 PyObject * obj3 = 0 ;
27433 char * kwnames[] = {
27434 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27435 };
27436
27437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27439 if (!SWIG_IsOK(res1)) {
27440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27441 }
27442 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27444 if (!SWIG_IsOK(res2)) {
27445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27446 }
27447 arg2 = reinterpret_cast< wxWindow * >(argp2);
27448 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27449 if (!SWIG_IsOK(res3)) {
27450 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27451 }
27452 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27453 {
27454 arg4 = wxString_in_helper(obj3);
27455 if (arg4 == NULL) SWIG_fail;
27456 temp4 = true;
27457 }
27458 {
27459 PyThreadState* __tstate = wxPyBeginAllowThreads();
27460 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27461 wxPyEndAllowThreads(__tstate);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 }
27464 resultobj = SWIG_Py_Void();
27465 {
27466 if (temp4)
27467 delete arg4;
27468 }
27469 return resultobj;
27470 fail:
27471 {
27472 if (temp4)
27473 delete arg4;
27474 }
27475 return NULL;
27476 }
27477
27478
27479 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27480 PyObject *resultobj = 0;
27481 wxPrinter *arg1 = (wxPrinter *) 0 ;
27482 wxWindow *arg2 = (wxWindow *) 0 ;
27483 bool result;
27484 void *argp1 = 0 ;
27485 int res1 = 0 ;
27486 void *argp2 = 0 ;
27487 int res2 = 0 ;
27488 PyObject * obj0 = 0 ;
27489 PyObject * obj1 = 0 ;
27490 char * kwnames[] = {
27491 (char *) "self",(char *) "parent", NULL
27492 };
27493
27494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27496 if (!SWIG_IsOK(res1)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27498 }
27499 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27501 if (!SWIG_IsOK(res2)) {
27502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27503 }
27504 arg2 = reinterpret_cast< wxWindow * >(argp2);
27505 {
27506 PyThreadState* __tstate = wxPyBeginAllowThreads();
27507 result = (bool)(arg1)->Setup(arg2);
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 {
27512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27513 }
27514 return resultobj;
27515 fail:
27516 return NULL;
27517 }
27518
27519
27520 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27521 PyObject *resultobj = 0;
27522 wxPrinter *arg1 = (wxPrinter *) 0 ;
27523 wxWindow *arg2 = (wxWindow *) 0 ;
27524 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27525 bool arg4 = (bool) true ;
27526 bool result;
27527 void *argp1 = 0 ;
27528 int res1 = 0 ;
27529 void *argp2 = 0 ;
27530 int res2 = 0 ;
27531 void *argp3 = 0 ;
27532 int res3 = 0 ;
27533 bool val4 ;
27534 int ecode4 = 0 ;
27535 PyObject * obj0 = 0 ;
27536 PyObject * obj1 = 0 ;
27537 PyObject * obj2 = 0 ;
27538 PyObject * obj3 = 0 ;
27539 char * kwnames[] = {
27540 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27541 };
27542
27543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27545 if (!SWIG_IsOK(res1)) {
27546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27547 }
27548 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27549 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27550 if (!SWIG_IsOK(res2)) {
27551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27552 }
27553 arg2 = reinterpret_cast< wxWindow * >(argp2);
27554 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27555 if (!SWIG_IsOK(res3)) {
27556 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27557 }
27558 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27559 if (obj3) {
27560 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27561 if (!SWIG_IsOK(ecode4)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27563 }
27564 arg4 = static_cast< bool >(val4);
27565 }
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 {
27573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27574 }
27575 return resultobj;
27576 fail:
27577 return NULL;
27578 }
27579
27580
27581 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27582 PyObject *resultobj = 0;
27583 wxPrinter *arg1 = (wxPrinter *) 0 ;
27584 wxWindow *arg2 = (wxWindow *) 0 ;
27585 wxDC *result = 0 ;
27586 void *argp1 = 0 ;
27587 int res1 = 0 ;
27588 void *argp2 = 0 ;
27589 int res2 = 0 ;
27590 PyObject * obj0 = 0 ;
27591 PyObject * obj1 = 0 ;
27592 char * kwnames[] = {
27593 (char *) "self",(char *) "parent", NULL
27594 };
27595
27596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27598 if (!SWIG_IsOK(res1)) {
27599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27600 }
27601 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27602 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27603 if (!SWIG_IsOK(res2)) {
27604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27605 }
27606 arg2 = reinterpret_cast< wxWindow * >(argp2);
27607 {
27608 PyThreadState* __tstate = wxPyBeginAllowThreads();
27609 result = (wxDC *)(arg1)->PrintDialog(arg2);
27610 wxPyEndAllowThreads(__tstate);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 }
27613 {
27614 resultobj = wxPyMake_wxObject(result, (bool)0);
27615 }
27616 return resultobj;
27617 fail:
27618 return NULL;
27619 }
27620
27621
27622 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27623 PyObject *resultobj = 0;
27624 wxPrinter *arg1 = (wxPrinter *) 0 ;
27625 wxPrintDialogData *result = 0 ;
27626 void *argp1 = 0 ;
27627 int res1 = 0 ;
27628 PyObject *swig_obj[1] ;
27629
27630 if (!args) SWIG_fail;
27631 swig_obj[0] = args;
27632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27633 if (!SWIG_IsOK(res1)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27635 }
27636 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 {
27640 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27641 result = (wxPrintDialogData *) &_result_ref;
27642 }
27643 wxPyEndAllowThreads(__tstate);
27644 if (PyErr_Occurred()) SWIG_fail;
27645 }
27646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27647 return resultobj;
27648 fail:
27649 return NULL;
27650 }
27651
27652
27653 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27654 PyObject *resultobj = 0;
27655 wxPrinter *arg1 = (wxPrinter *) 0 ;
27656 bool result;
27657 void *argp1 = 0 ;
27658 int res1 = 0 ;
27659 PyObject *swig_obj[1] ;
27660
27661 if (!args) SWIG_fail;
27662 swig_obj[0] = args;
27663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27664 if (!SWIG_IsOK(res1)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27666 }
27667 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 result = (bool)(arg1)->GetAbort();
27671 wxPyEndAllowThreads(__tstate);
27672 if (PyErr_Occurred()) SWIG_fail;
27673 }
27674 {
27675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27676 }
27677 return resultobj;
27678 fail:
27679 return NULL;
27680 }
27681
27682
27683 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27684 PyObject *resultobj = 0;
27685 wxPrinterError result;
27686
27687 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27688 {
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 result = (wxPrinterError)wxPrinter::GetLastError();
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 resultobj = SWIG_From_int(static_cast< int >(result));
27695 return resultobj;
27696 fail:
27697 return NULL;
27698 }
27699
27700
27701 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27702 PyObject *obj;
27703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27705 return SWIG_Py_Void();
27706 }
27707
27708 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27709 return SWIG_Python_InitShadowInstance(args);
27710 }
27711
27712 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27713 PyObject *resultobj = 0;
27714 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27715 wxString *arg1 = (wxString *) &arg1_defvalue ;
27716 wxPyPrintout *result = 0 ;
27717 bool temp1 = false ;
27718 PyObject * obj0 = 0 ;
27719 char * kwnames[] = {
27720 (char *) "title", NULL
27721 };
27722
27723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27724 if (obj0) {
27725 {
27726 arg1 = wxString_in_helper(obj0);
27727 if (arg1 == NULL) SWIG_fail;
27728 temp1 = true;
27729 }
27730 }
27731 {
27732 if (!wxPyCheckForApp()) SWIG_fail;
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27739 {
27740 if (temp1)
27741 delete arg1;
27742 }
27743 return resultobj;
27744 fail:
27745 {
27746 if (temp1)
27747 delete arg1;
27748 }
27749 return NULL;
27750 }
27751
27752
27753 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27754 PyObject *resultobj = 0;
27755 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27756 void *argp1 = 0 ;
27757 int res1 = 0 ;
27758 PyObject *swig_obj[1] ;
27759
27760 if (!args) SWIG_fail;
27761 swig_obj[0] = args;
27762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27763 if (!SWIG_IsOK(res1)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27765 }
27766 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27767 {
27768 PyThreadState* __tstate = wxPyBeginAllowThreads();
27769 delete arg1;
27770
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 resultobj = SWIG_Py_Void();
27775 return resultobj;
27776 fail:
27777 return NULL;
27778 }
27779
27780
27781 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj = 0;
27783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27784 PyObject *arg2 = (PyObject *) 0 ;
27785 PyObject *arg3 = (PyObject *) 0 ;
27786 void *argp1 = 0 ;
27787 int res1 = 0 ;
27788 PyObject * obj0 = 0 ;
27789 PyObject * obj1 = 0 ;
27790 PyObject * obj2 = 0 ;
27791 char * kwnames[] = {
27792 (char *) "self",(char *) "self",(char *) "_class", NULL
27793 };
27794
27795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27797 if (!SWIG_IsOK(res1)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27799 }
27800 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27801 arg2 = obj1;
27802 arg3 = obj2;
27803 {
27804 PyThreadState* __tstate = wxPyBeginAllowThreads();
27805 (arg1)->_setCallbackInfo(arg2,arg3);
27806 wxPyEndAllowThreads(__tstate);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 resultobj = SWIG_Py_Void();
27810 return resultobj;
27811 fail:
27812 return NULL;
27813 }
27814
27815
27816 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27817 PyObject *resultobj = 0;
27818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27819 wxString result;
27820 void *argp1 = 0 ;
27821 int res1 = 0 ;
27822 PyObject *swig_obj[1] ;
27823
27824 if (!args) SWIG_fail;
27825 swig_obj[0] = args;
27826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27827 if (!SWIG_IsOK(res1)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27829 }
27830 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27831 {
27832 PyThreadState* __tstate = wxPyBeginAllowThreads();
27833 result = ((wxPyPrintout const *)arg1)->GetTitle();
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
27837 {
27838 #if wxUSE_UNICODE
27839 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27840 #else
27841 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27842 #endif
27843 }
27844 return resultobj;
27845 fail:
27846 return NULL;
27847 }
27848
27849
27850 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27851 PyObject *resultobj = 0;
27852 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27853 wxDC *result = 0 ;
27854 void *argp1 = 0 ;
27855 int res1 = 0 ;
27856 PyObject *swig_obj[1] ;
27857
27858 if (!args) SWIG_fail;
27859 swig_obj[0] = args;
27860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27861 if (!SWIG_IsOK(res1)) {
27862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27863 }
27864 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27865 {
27866 PyThreadState* __tstate = wxPyBeginAllowThreads();
27867 result = (wxDC *)(arg1)->GetDC();
27868 wxPyEndAllowThreads(__tstate);
27869 if (PyErr_Occurred()) SWIG_fail;
27870 }
27871 {
27872 resultobj = wxPyMake_wxObject(result, (bool)0);
27873 }
27874 return resultobj;
27875 fail:
27876 return NULL;
27877 }
27878
27879
27880 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj = 0;
27882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27883 wxDC *arg2 = (wxDC *) 0 ;
27884 void *argp1 = 0 ;
27885 int res1 = 0 ;
27886 void *argp2 = 0 ;
27887 int res2 = 0 ;
27888 PyObject * obj0 = 0 ;
27889 PyObject * obj1 = 0 ;
27890 char * kwnames[] = {
27891 (char *) "self",(char *) "dc", NULL
27892 };
27893
27894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27896 if (!SWIG_IsOK(res1)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27898 }
27899 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27901 if (!SWIG_IsOK(res2)) {
27902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27903 }
27904 arg2 = reinterpret_cast< wxDC * >(argp2);
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 (arg1)->SetDC(arg2);
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 resultobj = SWIG_Py_Void();
27912 return resultobj;
27913 fail:
27914 return NULL;
27915 }
27916
27917
27918 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27919 PyObject *resultobj = 0;
27920 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27921 wxSize *arg2 = 0 ;
27922 void *argp1 = 0 ;
27923 int res1 = 0 ;
27924 wxSize temp2 ;
27925 PyObject * obj0 = 0 ;
27926 PyObject * obj1 = 0 ;
27927 char * kwnames[] = {
27928 (char *) "self",(char *) "imageSize", NULL
27929 };
27930
27931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
27932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27933 if (!SWIG_IsOK(res1)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27935 }
27936 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27937 {
27938 arg2 = &temp2;
27939 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27940 }
27941 {
27942 PyThreadState* __tstate = wxPyBeginAllowThreads();
27943 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27944 wxPyEndAllowThreads(__tstate);
27945 if (PyErr_Occurred()) SWIG_fail;
27946 }
27947 resultobj = SWIG_Py_Void();
27948 return resultobj;
27949 fail:
27950 return NULL;
27951 }
27952
27953
27954 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27955 PyObject *resultobj = 0;
27956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27957 wxSize *arg2 = 0 ;
27958 void *argp1 = 0 ;
27959 int res1 = 0 ;
27960 wxSize temp2 ;
27961 PyObject * obj0 = 0 ;
27962 PyObject * obj1 = 0 ;
27963 char * kwnames[] = {
27964 (char *) "self",(char *) "imageSize", NULL
27965 };
27966
27967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27969 if (!SWIG_IsOK(res1)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27971 }
27972 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27973 {
27974 arg2 = &temp2;
27975 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27976 }
27977 {
27978 PyThreadState* __tstate = wxPyBeginAllowThreads();
27979 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 resultobj = SWIG_Py_Void();
27984 return resultobj;
27985 fail:
27986 return NULL;
27987 }
27988
27989
27990 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27991 PyObject *resultobj = 0;
27992 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27993 wxSize *arg2 = 0 ;
27994 wxPageSetupDialogData *arg3 = 0 ;
27995 void *argp1 = 0 ;
27996 int res1 = 0 ;
27997 wxSize temp2 ;
27998 void *argp3 = 0 ;
27999 int res3 = 0 ;
28000 PyObject * obj0 = 0 ;
28001 PyObject * obj1 = 0 ;
28002 PyObject * obj2 = 0 ;
28003 char * kwnames[] = {
28004 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28005 };
28006
28007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28009 if (!SWIG_IsOK(res1)) {
28010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28011 }
28012 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28013 {
28014 arg2 = &temp2;
28015 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28016 }
28017 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28018 if (!SWIG_IsOK(res3)) {
28019 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28020 }
28021 if (!argp3) {
28022 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28023 }
28024 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 resultobj = SWIG_Py_Void();
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28039 PyObject *resultobj = 0;
28040 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28041 void *argp1 = 0 ;
28042 int res1 = 0 ;
28043 PyObject *swig_obj[1] ;
28044
28045 if (!args) SWIG_fail;
28046 swig_obj[0] = args;
28047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28048 if (!SWIG_IsOK(res1)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28050 }
28051 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28052 {
28053 PyThreadState* __tstate = wxPyBeginAllowThreads();
28054 (arg1)->MapScreenSizeToPaper();
28055 wxPyEndAllowThreads(__tstate);
28056 if (PyErr_Occurred()) SWIG_fail;
28057 }
28058 resultobj = SWIG_Py_Void();
28059 return resultobj;
28060 fail:
28061 return NULL;
28062 }
28063
28064
28065 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28066 PyObject *resultobj = 0;
28067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28068 void *argp1 = 0 ;
28069 int res1 = 0 ;
28070 PyObject *swig_obj[1] ;
28071
28072 if (!args) SWIG_fail;
28073 swig_obj[0] = args;
28074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28075 if (!SWIG_IsOK(res1)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28077 }
28078 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28079 {
28080 PyThreadState* __tstate = wxPyBeginAllowThreads();
28081 (arg1)->MapScreenSizeToPage();
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 resultobj = SWIG_Py_Void();
28086 return resultobj;
28087 fail:
28088 return NULL;
28089 }
28090
28091
28092 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28093 PyObject *resultobj = 0;
28094 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28095 wxPageSetupDialogData *arg2 = 0 ;
28096 void *argp1 = 0 ;
28097 int res1 = 0 ;
28098 void *argp2 = 0 ;
28099 int res2 = 0 ;
28100 PyObject * obj0 = 0 ;
28101 PyObject * obj1 = 0 ;
28102 char * kwnames[] = {
28103 (char *) "self",(char *) "pageSetupData", NULL
28104 };
28105
28106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28108 if (!SWIG_IsOK(res1)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28110 }
28111 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28112 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28113 if (!SWIG_IsOK(res2)) {
28114 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28115 }
28116 if (!argp2) {
28117 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28118 }
28119 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28120 {
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 resultobj = SWIG_Py_Void();
28127 return resultobj;
28128 fail:
28129 return NULL;
28130 }
28131
28132
28133 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28134 PyObject *resultobj = 0;
28135 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28136 void *argp1 = 0 ;
28137 int res1 = 0 ;
28138 PyObject *swig_obj[1] ;
28139
28140 if (!args) SWIG_fail;
28141 swig_obj[0] = args;
28142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28143 if (!SWIG_IsOK(res1)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28145 }
28146 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 (arg1)->MapScreenSizeToDevice();
28150 wxPyEndAllowThreads(__tstate);
28151 if (PyErr_Occurred()) SWIG_fail;
28152 }
28153 resultobj = SWIG_Py_Void();
28154 return resultobj;
28155 fail:
28156 return NULL;
28157 }
28158
28159
28160 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28161 PyObject *resultobj = 0;
28162 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28163 wxRect result;
28164 void *argp1 = 0 ;
28165 int res1 = 0 ;
28166 PyObject *swig_obj[1] ;
28167
28168 if (!args) SWIG_fail;
28169 swig_obj[0] = args;
28170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28171 if (!SWIG_IsOK(res1)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28173 }
28174 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28175 {
28176 PyThreadState* __tstate = wxPyBeginAllowThreads();
28177 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28178 wxPyEndAllowThreads(__tstate);
28179 if (PyErr_Occurred()) SWIG_fail;
28180 }
28181 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28182 return resultobj;
28183 fail:
28184 return NULL;
28185 }
28186
28187
28188 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28189 PyObject *resultobj = 0;
28190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28191 wxRect result;
28192 void *argp1 = 0 ;
28193 int res1 = 0 ;
28194 PyObject *swig_obj[1] ;
28195
28196 if (!args) SWIG_fail;
28197 swig_obj[0] = args;
28198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28199 if (!SWIG_IsOK(res1)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28201 }
28202 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28203 {
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
28205 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28206 wxPyEndAllowThreads(__tstate);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28210 return resultobj;
28211 fail:
28212 return NULL;
28213 }
28214
28215
28216 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28217 PyObject *resultobj = 0;
28218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28219 wxPageSetupDialogData *arg2 = 0 ;
28220 wxRect result;
28221 void *argp1 = 0 ;
28222 int res1 = 0 ;
28223 void *argp2 = 0 ;
28224 int res2 = 0 ;
28225 PyObject * obj0 = 0 ;
28226 PyObject * obj1 = 0 ;
28227 char * kwnames[] = {
28228 (char *) "self",(char *) "pageSetupData", NULL
28229 };
28230
28231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28233 if (!SWIG_IsOK(res1)) {
28234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28235 }
28236 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28237 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28238 if (!SWIG_IsOK(res2)) {
28239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28240 }
28241 if (!argp2) {
28242 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28243 }
28244 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28252 return resultobj;
28253 fail:
28254 return NULL;
28255 }
28256
28257
28258 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj = 0;
28260 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28261 int arg2 ;
28262 int arg3 ;
28263 void *argp1 = 0 ;
28264 int res1 = 0 ;
28265 int val2 ;
28266 int ecode2 = 0 ;
28267 int val3 ;
28268 int ecode3 = 0 ;
28269 PyObject * obj0 = 0 ;
28270 PyObject * obj1 = 0 ;
28271 PyObject * obj2 = 0 ;
28272 char * kwnames[] = {
28273 (char *) "self",(char *) "x",(char *) "y", NULL
28274 };
28275
28276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28278 if (!SWIG_IsOK(res1)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28280 }
28281 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28282 ecode2 = SWIG_AsVal_int(obj1, &val2);
28283 if (!SWIG_IsOK(ecode2)) {
28284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28285 }
28286 arg2 = static_cast< int >(val2);
28287 ecode3 = SWIG_AsVal_int(obj2, &val3);
28288 if (!SWIG_IsOK(ecode3)) {
28289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28290 }
28291 arg3 = static_cast< int >(val3);
28292 {
28293 PyThreadState* __tstate = wxPyBeginAllowThreads();
28294 (arg1)->SetLogicalOrigin(arg2,arg3);
28295 wxPyEndAllowThreads(__tstate);
28296 if (PyErr_Occurred()) SWIG_fail;
28297 }
28298 resultobj = SWIG_Py_Void();
28299 return resultobj;
28300 fail:
28301 return NULL;
28302 }
28303
28304
28305 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28306 PyObject *resultobj = 0;
28307 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28308 int arg2 ;
28309 int arg3 ;
28310 void *argp1 = 0 ;
28311 int res1 = 0 ;
28312 int val2 ;
28313 int ecode2 = 0 ;
28314 int val3 ;
28315 int ecode3 = 0 ;
28316 PyObject * obj0 = 0 ;
28317 PyObject * obj1 = 0 ;
28318 PyObject * obj2 = 0 ;
28319 char * kwnames[] = {
28320 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28321 };
28322
28323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28325 if (!SWIG_IsOK(res1)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28327 }
28328 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28329 ecode2 = SWIG_AsVal_int(obj1, &val2);
28330 if (!SWIG_IsOK(ecode2)) {
28331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28332 }
28333 arg2 = static_cast< int >(val2);
28334 ecode3 = SWIG_AsVal_int(obj2, &val3);
28335 if (!SWIG_IsOK(ecode3)) {
28336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28337 }
28338 arg3 = static_cast< int >(val3);
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28342 wxPyEndAllowThreads(__tstate);
28343 if (PyErr_Occurred()) SWIG_fail;
28344 }
28345 resultobj = SWIG_Py_Void();
28346 return resultobj;
28347 fail:
28348 return NULL;
28349 }
28350
28351
28352 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28353 PyObject *resultobj = 0;
28354 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28355 int arg2 ;
28356 int arg3 ;
28357 void *argp1 = 0 ;
28358 int res1 = 0 ;
28359 int val2 ;
28360 int ecode2 = 0 ;
28361 int val3 ;
28362 int ecode3 = 0 ;
28363 PyObject * obj0 = 0 ;
28364 PyObject * obj1 = 0 ;
28365 PyObject * obj2 = 0 ;
28366 char * kwnames[] = {
28367 (char *) "self",(char *) "w",(char *) "h", NULL
28368 };
28369
28370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28372 if (!SWIG_IsOK(res1)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28374 }
28375 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28376 ecode2 = SWIG_AsVal_int(obj1, &val2);
28377 if (!SWIG_IsOK(ecode2)) {
28378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28379 }
28380 arg2 = static_cast< int >(val2);
28381 ecode3 = SWIG_AsVal_int(obj2, &val3);
28382 if (!SWIG_IsOK(ecode3)) {
28383 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28384 }
28385 arg3 = static_cast< int >(val3);
28386 {
28387 PyThreadState* __tstate = wxPyBeginAllowThreads();
28388 (arg1)->SetPageSizePixels(arg2,arg3);
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 resultobj = SWIG_Py_Void();
28393 return resultobj;
28394 fail:
28395 return NULL;
28396 }
28397
28398
28399 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28400 PyObject *resultobj = 0;
28401 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28402 int *arg2 = (int *) 0 ;
28403 int *arg3 = (int *) 0 ;
28404 void *argp1 = 0 ;
28405 int res1 = 0 ;
28406 int temp2 ;
28407 int res2 = SWIG_TMPOBJ ;
28408 int temp3 ;
28409 int res3 = SWIG_TMPOBJ ;
28410 PyObject *swig_obj[1] ;
28411
28412 arg2 = &temp2;
28413 arg3 = &temp3;
28414 if (!args) SWIG_fail;
28415 swig_obj[0] = args;
28416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28417 if (!SWIG_IsOK(res1)) {
28418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28419 }
28420 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28421 {
28422 PyThreadState* __tstate = wxPyBeginAllowThreads();
28423 (arg1)->GetPageSizePixels(arg2,arg3);
28424 wxPyEndAllowThreads(__tstate);
28425 if (PyErr_Occurred()) SWIG_fail;
28426 }
28427 resultobj = SWIG_Py_Void();
28428 if (SWIG_IsTmpObj(res2)) {
28429 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28430 } else {
28431 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28432 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28433 }
28434 if (SWIG_IsTmpObj(res3)) {
28435 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28436 } else {
28437 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28438 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28439 }
28440 return resultobj;
28441 fail:
28442 return NULL;
28443 }
28444
28445
28446 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28447 PyObject *resultobj = 0;
28448 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28449 int arg2 ;
28450 int arg3 ;
28451 void *argp1 = 0 ;
28452 int res1 = 0 ;
28453 int val2 ;
28454 int ecode2 = 0 ;
28455 int val3 ;
28456 int ecode3 = 0 ;
28457 PyObject * obj0 = 0 ;
28458 PyObject * obj1 = 0 ;
28459 PyObject * obj2 = 0 ;
28460 char * kwnames[] = {
28461 (char *) "self",(char *) "w",(char *) "h", NULL
28462 };
28463
28464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28466 if (!SWIG_IsOK(res1)) {
28467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28468 }
28469 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28470 ecode2 = SWIG_AsVal_int(obj1, &val2);
28471 if (!SWIG_IsOK(ecode2)) {
28472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28473 }
28474 arg2 = static_cast< int >(val2);
28475 ecode3 = SWIG_AsVal_int(obj2, &val3);
28476 if (!SWIG_IsOK(ecode3)) {
28477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28478 }
28479 arg3 = static_cast< int >(val3);
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 (arg1)->SetPageSizeMM(arg2,arg3);
28483 wxPyEndAllowThreads(__tstate);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 }
28486 resultobj = SWIG_Py_Void();
28487 return resultobj;
28488 fail:
28489 return NULL;
28490 }
28491
28492
28493 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28494 PyObject *resultobj = 0;
28495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28496 int *arg2 = (int *) 0 ;
28497 int *arg3 = (int *) 0 ;
28498 void *argp1 = 0 ;
28499 int res1 = 0 ;
28500 int temp2 ;
28501 int res2 = SWIG_TMPOBJ ;
28502 int temp3 ;
28503 int res3 = SWIG_TMPOBJ ;
28504 PyObject *swig_obj[1] ;
28505
28506 arg2 = &temp2;
28507 arg3 = &temp3;
28508 if (!args) SWIG_fail;
28509 swig_obj[0] = args;
28510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28511 if (!SWIG_IsOK(res1)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28513 }
28514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28515 {
28516 PyThreadState* __tstate = wxPyBeginAllowThreads();
28517 (arg1)->GetPageSizeMM(arg2,arg3);
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 resultobj = SWIG_Py_Void();
28522 if (SWIG_IsTmpObj(res2)) {
28523 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28524 } else {
28525 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28526 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28527 }
28528 if (SWIG_IsTmpObj(res3)) {
28529 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28530 } else {
28531 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28532 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28533 }
28534 return resultobj;
28535 fail:
28536 return NULL;
28537 }
28538
28539
28540 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28541 PyObject *resultobj = 0;
28542 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28543 int arg2 ;
28544 int arg3 ;
28545 void *argp1 = 0 ;
28546 int res1 = 0 ;
28547 int val2 ;
28548 int ecode2 = 0 ;
28549 int val3 ;
28550 int ecode3 = 0 ;
28551 PyObject * obj0 = 0 ;
28552 PyObject * obj1 = 0 ;
28553 PyObject * obj2 = 0 ;
28554 char * kwnames[] = {
28555 (char *) "self",(char *) "x",(char *) "y", NULL
28556 };
28557
28558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28560 if (!SWIG_IsOK(res1)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28562 }
28563 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28564 ecode2 = SWIG_AsVal_int(obj1, &val2);
28565 if (!SWIG_IsOK(ecode2)) {
28566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28567 }
28568 arg2 = static_cast< int >(val2);
28569 ecode3 = SWIG_AsVal_int(obj2, &val3);
28570 if (!SWIG_IsOK(ecode3)) {
28571 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28572 }
28573 arg3 = static_cast< int >(val3);
28574 {
28575 PyThreadState* __tstate = wxPyBeginAllowThreads();
28576 (arg1)->SetPPIScreen(arg2,arg3);
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 resultobj = SWIG_Py_Void();
28581 return resultobj;
28582 fail:
28583 return NULL;
28584 }
28585
28586
28587 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28588 PyObject *resultobj = 0;
28589 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28590 int *arg2 = (int *) 0 ;
28591 int *arg3 = (int *) 0 ;
28592 void *argp1 = 0 ;
28593 int res1 = 0 ;
28594 int temp2 ;
28595 int res2 = SWIG_TMPOBJ ;
28596 int temp3 ;
28597 int res3 = SWIG_TMPOBJ ;
28598 PyObject *swig_obj[1] ;
28599
28600 arg2 = &temp2;
28601 arg3 = &temp3;
28602 if (!args) SWIG_fail;
28603 swig_obj[0] = args;
28604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28605 if (!SWIG_IsOK(res1)) {
28606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28607 }
28608 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 (arg1)->GetPPIScreen(arg2,arg3);
28612 wxPyEndAllowThreads(__tstate);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 }
28615 resultobj = SWIG_Py_Void();
28616 if (SWIG_IsTmpObj(res2)) {
28617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28618 } else {
28619 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28621 }
28622 if (SWIG_IsTmpObj(res3)) {
28623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28624 } else {
28625 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28626 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28627 }
28628 return resultobj;
28629 fail:
28630 return NULL;
28631 }
28632
28633
28634 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28635 PyObject *resultobj = 0;
28636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28637 int arg2 ;
28638 int arg3 ;
28639 void *argp1 = 0 ;
28640 int res1 = 0 ;
28641 int val2 ;
28642 int ecode2 = 0 ;
28643 int val3 ;
28644 int ecode3 = 0 ;
28645 PyObject * obj0 = 0 ;
28646 PyObject * obj1 = 0 ;
28647 PyObject * obj2 = 0 ;
28648 char * kwnames[] = {
28649 (char *) "self",(char *) "x",(char *) "y", NULL
28650 };
28651
28652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28654 if (!SWIG_IsOK(res1)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28656 }
28657 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28658 ecode2 = SWIG_AsVal_int(obj1, &val2);
28659 if (!SWIG_IsOK(ecode2)) {
28660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28661 }
28662 arg2 = static_cast< int >(val2);
28663 ecode3 = SWIG_AsVal_int(obj2, &val3);
28664 if (!SWIG_IsOK(ecode3)) {
28665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28666 }
28667 arg3 = static_cast< int >(val3);
28668 {
28669 PyThreadState* __tstate = wxPyBeginAllowThreads();
28670 (arg1)->SetPPIPrinter(arg2,arg3);
28671 wxPyEndAllowThreads(__tstate);
28672 if (PyErr_Occurred()) SWIG_fail;
28673 }
28674 resultobj = SWIG_Py_Void();
28675 return resultobj;
28676 fail:
28677 return NULL;
28678 }
28679
28680
28681 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28682 PyObject *resultobj = 0;
28683 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28684 int *arg2 = (int *) 0 ;
28685 int *arg3 = (int *) 0 ;
28686 void *argp1 = 0 ;
28687 int res1 = 0 ;
28688 int temp2 ;
28689 int res2 = SWIG_TMPOBJ ;
28690 int temp3 ;
28691 int res3 = SWIG_TMPOBJ ;
28692 PyObject *swig_obj[1] ;
28693
28694 arg2 = &temp2;
28695 arg3 = &temp3;
28696 if (!args) SWIG_fail;
28697 swig_obj[0] = args;
28698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28699 if (!SWIG_IsOK(res1)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28701 }
28702 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 (arg1)->GetPPIPrinter(arg2,arg3);
28706 wxPyEndAllowThreads(__tstate);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 resultobj = SWIG_Py_Void();
28710 if (SWIG_IsTmpObj(res2)) {
28711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28712 } else {
28713 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28714 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28715 }
28716 if (SWIG_IsTmpObj(res3)) {
28717 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28718 } else {
28719 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28720 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28721 }
28722 return resultobj;
28723 fail:
28724 return NULL;
28725 }
28726
28727
28728 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28729 PyObject *resultobj = 0;
28730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28731 wxRect *arg2 = 0 ;
28732 void *argp1 = 0 ;
28733 int res1 = 0 ;
28734 wxRect temp2 ;
28735 PyObject * obj0 = 0 ;
28736 PyObject * obj1 = 0 ;
28737 char * kwnames[] = {
28738 (char *) "self",(char *) "paperRectPixels", NULL
28739 };
28740
28741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28743 if (!SWIG_IsOK(res1)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28745 }
28746 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28747 {
28748 arg2 = &temp2;
28749 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28750 }
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28754 wxPyEndAllowThreads(__tstate);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 resultobj = SWIG_Py_Void();
28758 return resultobj;
28759 fail:
28760 return NULL;
28761 }
28762
28763
28764 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28765 PyObject *resultobj = 0;
28766 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28767 wxRect result;
28768 void *argp1 = 0 ;
28769 int res1 = 0 ;
28770 PyObject *swig_obj[1] ;
28771
28772 if (!args) SWIG_fail;
28773 swig_obj[0] = args;
28774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28775 if (!SWIG_IsOK(res1)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28777 }
28778 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28779 {
28780 PyThreadState* __tstate = wxPyBeginAllowThreads();
28781 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28782 wxPyEndAllowThreads(__tstate);
28783 if (PyErr_Occurred()) SWIG_fail;
28784 }
28785 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28786 return resultobj;
28787 fail:
28788 return NULL;
28789 }
28790
28791
28792 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28793 PyObject *resultobj = 0;
28794 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28795 bool result;
28796 void *argp1 = 0 ;
28797 int res1 = 0 ;
28798 PyObject *swig_obj[1] ;
28799
28800 if (!args) SWIG_fail;
28801 swig_obj[0] = args;
28802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28803 if (!SWIG_IsOK(res1)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28805 }
28806 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 result = (bool)(arg1)->IsPreview();
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 {
28814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28815 }
28816 return resultobj;
28817 fail:
28818 return NULL;
28819 }
28820
28821
28822 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28823 PyObject *resultobj = 0;
28824 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28825 bool arg2 ;
28826 void *argp1 = 0 ;
28827 int res1 = 0 ;
28828 bool val2 ;
28829 int ecode2 = 0 ;
28830 PyObject * obj0 = 0 ;
28831 PyObject * obj1 = 0 ;
28832 char * kwnames[] = {
28833 (char *) "self",(char *) "p", NULL
28834 };
28835
28836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28838 if (!SWIG_IsOK(res1)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28840 }
28841 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28842 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28843 if (!SWIG_IsOK(ecode2)) {
28844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28845 }
28846 arg2 = static_cast< bool >(val2);
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 (arg1)->SetIsPreview(arg2);
28850 wxPyEndAllowThreads(__tstate);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 }
28853 resultobj = SWIG_Py_Void();
28854 return resultobj;
28855 fail:
28856 return NULL;
28857 }
28858
28859
28860 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28861 PyObject *resultobj = 0;
28862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28863 int arg2 ;
28864 int arg3 ;
28865 bool result;
28866 void *argp1 = 0 ;
28867 int res1 = 0 ;
28868 int val2 ;
28869 int ecode2 = 0 ;
28870 int val3 ;
28871 int ecode3 = 0 ;
28872 PyObject * obj0 = 0 ;
28873 PyObject * obj1 = 0 ;
28874 PyObject * obj2 = 0 ;
28875 char * kwnames[] = {
28876 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28877 };
28878
28879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28881 if (!SWIG_IsOK(res1)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28883 }
28884 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28885 ecode2 = SWIG_AsVal_int(obj1, &val2);
28886 if (!SWIG_IsOK(ecode2)) {
28887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28888 }
28889 arg2 = static_cast< int >(val2);
28890 ecode3 = SWIG_AsVal_int(obj2, &val3);
28891 if (!SWIG_IsOK(ecode3)) {
28892 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28893 }
28894 arg3 = static_cast< int >(val3);
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28898 wxPyEndAllowThreads(__tstate);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 }
28901 {
28902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28903 }
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28911 PyObject *resultobj = 0;
28912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28913 void *argp1 = 0 ;
28914 int res1 = 0 ;
28915 PyObject *swig_obj[1] ;
28916
28917 if (!args) SWIG_fail;
28918 swig_obj[0] = args;
28919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28920 if (!SWIG_IsOK(res1)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28922 }
28923 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28924 {
28925 PyThreadState* __tstate = wxPyBeginAllowThreads();
28926 (arg1)->OnEndDocument();
28927 wxPyEndAllowThreads(__tstate);
28928 if (PyErr_Occurred()) SWIG_fail;
28929 }
28930 resultobj = SWIG_Py_Void();
28931 return resultobj;
28932 fail:
28933 return NULL;
28934 }
28935
28936
28937 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28938 PyObject *resultobj = 0;
28939 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28940 void *argp1 = 0 ;
28941 int res1 = 0 ;
28942 PyObject *swig_obj[1] ;
28943
28944 if (!args) SWIG_fail;
28945 swig_obj[0] = args;
28946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28947 if (!SWIG_IsOK(res1)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28949 }
28950 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 (arg1)->OnBeginPrinting();
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 resultobj = SWIG_Py_Void();
28958 return resultobj;
28959 fail:
28960 return NULL;
28961 }
28962
28963
28964 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28965 PyObject *resultobj = 0;
28966 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28967 void *argp1 = 0 ;
28968 int res1 = 0 ;
28969 PyObject *swig_obj[1] ;
28970
28971 if (!args) SWIG_fail;
28972 swig_obj[0] = args;
28973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28974 if (!SWIG_IsOK(res1)) {
28975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28976 }
28977 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28978 {
28979 PyThreadState* __tstate = wxPyBeginAllowThreads();
28980 (arg1)->OnEndPrinting();
28981 wxPyEndAllowThreads(__tstate);
28982 if (PyErr_Occurred()) SWIG_fail;
28983 }
28984 resultobj = SWIG_Py_Void();
28985 return resultobj;
28986 fail:
28987 return NULL;
28988 }
28989
28990
28991 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28992 PyObject *resultobj = 0;
28993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28994 void *argp1 = 0 ;
28995 int res1 = 0 ;
28996 PyObject *swig_obj[1] ;
28997
28998 if (!args) SWIG_fail;
28999 swig_obj[0] = args;
29000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29001 if (!SWIG_IsOK(res1)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29003 }
29004 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29005 {
29006 PyThreadState* __tstate = wxPyBeginAllowThreads();
29007 (arg1)->OnPreparePrinting();
29008 wxPyEndAllowThreads(__tstate);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 }
29011 resultobj = SWIG_Py_Void();
29012 return resultobj;
29013 fail:
29014 return NULL;
29015 }
29016
29017
29018 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29019 PyObject *resultobj = 0;
29020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29021 int arg2 ;
29022 bool result;
29023 void *argp1 = 0 ;
29024 int res1 = 0 ;
29025 int val2 ;
29026 int ecode2 = 0 ;
29027 PyObject * obj0 = 0 ;
29028 PyObject * obj1 = 0 ;
29029 char * kwnames[] = {
29030 (char *) "self",(char *) "page", NULL
29031 };
29032
29033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29035 if (!SWIG_IsOK(res1)) {
29036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29037 }
29038 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29039 ecode2 = SWIG_AsVal_int(obj1, &val2);
29040 if (!SWIG_IsOK(ecode2)) {
29041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29042 }
29043 arg2 = static_cast< int >(val2);
29044 {
29045 PyThreadState* __tstate = wxPyBeginAllowThreads();
29046 result = (bool)(arg1)->HasPage(arg2);
29047 wxPyEndAllowThreads(__tstate);
29048 if (PyErr_Occurred()) SWIG_fail;
29049 }
29050 {
29051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29052 }
29053 return resultobj;
29054 fail:
29055 return NULL;
29056 }
29057
29058
29059 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29060 PyObject *resultobj = 0;
29061 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29062 int *arg2 = (int *) 0 ;
29063 int *arg3 = (int *) 0 ;
29064 int *arg4 = (int *) 0 ;
29065 int *arg5 = (int *) 0 ;
29066 void *argp1 = 0 ;
29067 int res1 = 0 ;
29068 int temp2 ;
29069 int res2 = SWIG_TMPOBJ ;
29070 int temp3 ;
29071 int res3 = SWIG_TMPOBJ ;
29072 int temp4 ;
29073 int res4 = SWIG_TMPOBJ ;
29074 int temp5 ;
29075 int res5 = SWIG_TMPOBJ ;
29076 PyObject *swig_obj[1] ;
29077
29078 arg2 = &temp2;
29079 arg3 = &temp3;
29080 arg4 = &temp4;
29081 arg5 = &temp5;
29082 if (!args) SWIG_fail;
29083 swig_obj[0] = args;
29084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29085 if (!SWIG_IsOK(res1)) {
29086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29087 }
29088 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29092 wxPyEndAllowThreads(__tstate);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 }
29095 resultobj = SWIG_Py_Void();
29096 if (SWIG_IsTmpObj(res2)) {
29097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29098 } else {
29099 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29101 }
29102 if (SWIG_IsTmpObj(res3)) {
29103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29104 } else {
29105 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29106 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29107 }
29108 if (SWIG_IsTmpObj(res4)) {
29109 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29110 } else {
29111 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29112 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29113 }
29114 if (SWIG_IsTmpObj(res5)) {
29115 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29116 } else {
29117 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29118 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29119 }
29120 return resultobj;
29121 fail:
29122 return NULL;
29123 }
29124
29125
29126 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29127 PyObject *obj;
29128 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29129 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29130 return SWIG_Py_Void();
29131 }
29132
29133 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29134 return SWIG_Python_InitShadowInstance(args);
29135 }
29136
29137 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29138 PyObject *resultobj = 0;
29139 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29140 wxWindow *arg2 = (wxWindow *) 0 ;
29141 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29142 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29143 wxSize const &arg4_defvalue = wxDefaultSize ;
29144 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29145 long arg5 = (long) 0 ;
29146 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29147 wxString *arg6 = (wxString *) &arg6_defvalue ;
29148 wxPreviewCanvas *result = 0 ;
29149 void *argp1 = 0 ;
29150 int res1 = 0 ;
29151 void *argp2 = 0 ;
29152 int res2 = 0 ;
29153 wxPoint temp3 ;
29154 wxSize temp4 ;
29155 long val5 ;
29156 int ecode5 = 0 ;
29157 bool temp6 = false ;
29158 PyObject * obj0 = 0 ;
29159 PyObject * obj1 = 0 ;
29160 PyObject * obj2 = 0 ;
29161 PyObject * obj3 = 0 ;
29162 PyObject * obj4 = 0 ;
29163 PyObject * obj5 = 0 ;
29164 char * kwnames[] = {
29165 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29166 };
29167
29168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29170 if (!SWIG_IsOK(res1)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29172 }
29173 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29174 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29175 if (!SWIG_IsOK(res2)) {
29176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29177 }
29178 arg2 = reinterpret_cast< wxWindow * >(argp2);
29179 if (obj2) {
29180 {
29181 arg3 = &temp3;
29182 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29183 }
29184 }
29185 if (obj3) {
29186 {
29187 arg4 = &temp4;
29188 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29189 }
29190 }
29191 if (obj4) {
29192 ecode5 = SWIG_AsVal_long(obj4, &val5);
29193 if (!SWIG_IsOK(ecode5)) {
29194 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29195 }
29196 arg5 = static_cast< long >(val5);
29197 }
29198 if (obj5) {
29199 {
29200 arg6 = wxString_in_helper(obj5);
29201 if (arg6 == NULL) SWIG_fail;
29202 temp6 = true;
29203 }
29204 }
29205 {
29206 if (!wxPyCheckForApp()) SWIG_fail;
29207 PyThreadState* __tstate = wxPyBeginAllowThreads();
29208 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29209 wxPyEndAllowThreads(__tstate);
29210 if (PyErr_Occurred()) SWIG_fail;
29211 }
29212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29213 {
29214 if (temp6)
29215 delete arg6;
29216 }
29217 return resultobj;
29218 fail:
29219 {
29220 if (temp6)
29221 delete arg6;
29222 }
29223 return NULL;
29224 }
29225
29226
29227 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29228 PyObject *obj;
29229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29230 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29231 return SWIG_Py_Void();
29232 }
29233
29234 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29235 return SWIG_Python_InitShadowInstance(args);
29236 }
29237
29238 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29239 PyObject *resultobj = 0;
29240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29241 wxFrame *arg2 = (wxFrame *) 0 ;
29242 wxString *arg3 = 0 ;
29243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29245 wxSize const &arg5_defvalue = wxDefaultSize ;
29246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29247 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29248 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29249 wxString *arg7 = (wxString *) &arg7_defvalue ;
29250 wxPreviewFrame *result = 0 ;
29251 int res1 = 0 ;
29252 void *argp2 = 0 ;
29253 int res2 = 0 ;
29254 bool temp3 = false ;
29255 wxPoint temp4 ;
29256 wxSize temp5 ;
29257 long val6 ;
29258 int ecode6 = 0 ;
29259 bool temp7 = false ;
29260 PyObject * obj0 = 0 ;
29261 PyObject * obj1 = 0 ;
29262 PyObject * obj2 = 0 ;
29263 PyObject * obj3 = 0 ;
29264 PyObject * obj4 = 0 ;
29265 PyObject * obj5 = 0 ;
29266 PyObject * obj6 = 0 ;
29267 char * kwnames[] = {
29268 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29269 };
29270
29271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29272 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29273 if (!SWIG_IsOK(res1)) {
29274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29275 }
29276 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29277 if (!SWIG_IsOK(res2)) {
29278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29279 }
29280 arg2 = reinterpret_cast< wxFrame * >(argp2);
29281 {
29282 arg3 = wxString_in_helper(obj2);
29283 if (arg3 == NULL) SWIG_fail;
29284 temp3 = true;
29285 }
29286 if (obj3) {
29287 {
29288 arg4 = &temp4;
29289 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29290 }
29291 }
29292 if (obj4) {
29293 {
29294 arg5 = &temp5;
29295 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29296 }
29297 }
29298 if (obj5) {
29299 ecode6 = SWIG_AsVal_long(obj5, &val6);
29300 if (!SWIG_IsOK(ecode6)) {
29301 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29302 }
29303 arg6 = static_cast< long >(val6);
29304 }
29305 if (obj6) {
29306 {
29307 arg7 = wxString_in_helper(obj6);
29308 if (arg7 == NULL) SWIG_fail;
29309 temp7 = true;
29310 }
29311 }
29312 {
29313 if (!wxPyCheckForApp()) SWIG_fail;
29314 PyThreadState* __tstate = wxPyBeginAllowThreads();
29315 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29316 wxPyEndAllowThreads(__tstate);
29317 if (PyErr_Occurred()) SWIG_fail;
29318 }
29319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29320 {
29321 if (temp3)
29322 delete arg3;
29323 }
29324 {
29325 if (temp7)
29326 delete arg7;
29327 }
29328 return resultobj;
29329 fail:
29330 {
29331 if (temp3)
29332 delete arg3;
29333 }
29334 {
29335 if (temp7)
29336 delete arg7;
29337 }
29338 return NULL;
29339 }
29340
29341
29342 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29343 PyObject *resultobj = 0;
29344 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29345 void *argp1 = 0 ;
29346 int res1 = 0 ;
29347 PyObject *swig_obj[1] ;
29348
29349 if (!args) SWIG_fail;
29350 swig_obj[0] = args;
29351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29352 if (!SWIG_IsOK(res1)) {
29353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29354 }
29355 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 (arg1)->Initialize();
29359 wxPyEndAllowThreads(__tstate);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 resultobj = SWIG_Py_Void();
29363 return resultobj;
29364 fail:
29365 return NULL;
29366 }
29367
29368
29369 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29370 PyObject *resultobj = 0;
29371 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29372 void *argp1 = 0 ;
29373 int res1 = 0 ;
29374 PyObject *swig_obj[1] ;
29375
29376 if (!args) SWIG_fail;
29377 swig_obj[0] = args;
29378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29379 if (!SWIG_IsOK(res1)) {
29380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29381 }
29382 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 (arg1)->CreateControlBar();
29386 wxPyEndAllowThreads(__tstate);
29387 if (PyErr_Occurred()) SWIG_fail;
29388 }
29389 resultobj = SWIG_Py_Void();
29390 return resultobj;
29391 fail:
29392 return NULL;
29393 }
29394
29395
29396 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29397 PyObject *resultobj = 0;
29398 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29399 void *argp1 = 0 ;
29400 int res1 = 0 ;
29401 PyObject *swig_obj[1] ;
29402
29403 if (!args) SWIG_fail;
29404 swig_obj[0] = args;
29405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29406 if (!SWIG_IsOK(res1)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29408 }
29409 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29410 {
29411 PyThreadState* __tstate = wxPyBeginAllowThreads();
29412 (arg1)->CreateCanvas();
29413 wxPyEndAllowThreads(__tstate);
29414 if (PyErr_Occurred()) SWIG_fail;
29415 }
29416 resultobj = SWIG_Py_Void();
29417 return resultobj;
29418 fail:
29419 return NULL;
29420 }
29421
29422
29423 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29424 PyObject *resultobj = 0;
29425 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29426 wxPreviewControlBar *result = 0 ;
29427 void *argp1 = 0 ;
29428 int res1 = 0 ;
29429 PyObject *swig_obj[1] ;
29430
29431 if (!args) SWIG_fail;
29432 swig_obj[0] = args;
29433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29434 if (!SWIG_IsOK(res1)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29436 }
29437 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29438 {
29439 PyThreadState* __tstate = wxPyBeginAllowThreads();
29440 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29441 wxPyEndAllowThreads(__tstate);
29442 if (PyErr_Occurred()) SWIG_fail;
29443 }
29444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29445 return resultobj;
29446 fail:
29447 return NULL;
29448 }
29449
29450
29451 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29452 PyObject *obj;
29453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29454 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29455 return SWIG_Py_Void();
29456 }
29457
29458 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29459 return SWIG_Python_InitShadowInstance(args);
29460 }
29461
29462 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29463 PyObject *resultobj = 0;
29464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29465 long arg2 ;
29466 wxWindow *arg3 = (wxWindow *) 0 ;
29467 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29468 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29469 wxSize const &arg5_defvalue = wxDefaultSize ;
29470 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29471 long arg6 = (long) wxTAB_TRAVERSAL ;
29472 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29473 wxString *arg7 = (wxString *) &arg7_defvalue ;
29474 wxPreviewControlBar *result = 0 ;
29475 void *argp1 = 0 ;
29476 int res1 = 0 ;
29477 long val2 ;
29478 int ecode2 = 0 ;
29479 void *argp3 = 0 ;
29480 int res3 = 0 ;
29481 wxPoint temp4 ;
29482 wxSize temp5 ;
29483 long val6 ;
29484 int ecode6 = 0 ;
29485 bool temp7 = false ;
29486 PyObject * obj0 = 0 ;
29487 PyObject * obj1 = 0 ;
29488 PyObject * obj2 = 0 ;
29489 PyObject * obj3 = 0 ;
29490 PyObject * obj4 = 0 ;
29491 PyObject * obj5 = 0 ;
29492 PyObject * obj6 = 0 ;
29493 char * kwnames[] = {
29494 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29495 };
29496
29497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29499 if (!SWIG_IsOK(res1)) {
29500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29501 }
29502 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29503 ecode2 = SWIG_AsVal_long(obj1, &val2);
29504 if (!SWIG_IsOK(ecode2)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29506 }
29507 arg2 = static_cast< long >(val2);
29508 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29509 if (!SWIG_IsOK(res3)) {
29510 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29511 }
29512 arg3 = reinterpret_cast< wxWindow * >(argp3);
29513 if (obj3) {
29514 {
29515 arg4 = &temp4;
29516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29517 }
29518 }
29519 if (obj4) {
29520 {
29521 arg5 = &temp5;
29522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29523 }
29524 }
29525 if (obj5) {
29526 ecode6 = SWIG_AsVal_long(obj5, &val6);
29527 if (!SWIG_IsOK(ecode6)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29529 }
29530 arg6 = static_cast< long >(val6);
29531 }
29532 if (obj6) {
29533 {
29534 arg7 = wxString_in_helper(obj6);
29535 if (arg7 == NULL) SWIG_fail;
29536 temp7 = true;
29537 }
29538 }
29539 {
29540 if (!wxPyCheckForApp()) SWIG_fail;
29541 PyThreadState* __tstate = wxPyBeginAllowThreads();
29542 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29543 wxPyEndAllowThreads(__tstate);
29544 if (PyErr_Occurred()) SWIG_fail;
29545 }
29546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29547 {
29548 if (temp7)
29549 delete arg7;
29550 }
29551 return resultobj;
29552 fail:
29553 {
29554 if (temp7)
29555 delete arg7;
29556 }
29557 return NULL;
29558 }
29559
29560
29561 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29562 PyObject *resultobj = 0;
29563 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29564 int result;
29565 void *argp1 = 0 ;
29566 int res1 = 0 ;
29567 PyObject *swig_obj[1] ;
29568
29569 if (!args) SWIG_fail;
29570 swig_obj[0] = args;
29571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29572 if (!SWIG_IsOK(res1)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29574 }
29575 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29576 {
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 result = (int)(arg1)->GetZoomControl();
29579 wxPyEndAllowThreads(__tstate);
29580 if (PyErr_Occurred()) SWIG_fail;
29581 }
29582 resultobj = SWIG_From_int(static_cast< int >(result));
29583 return resultobj;
29584 fail:
29585 return NULL;
29586 }
29587
29588
29589 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29590 PyObject *resultobj = 0;
29591 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29592 int arg2 ;
29593 void *argp1 = 0 ;
29594 int res1 = 0 ;
29595 int val2 ;
29596 int ecode2 = 0 ;
29597 PyObject * obj0 = 0 ;
29598 PyObject * obj1 = 0 ;
29599 char * kwnames[] = {
29600 (char *) "self",(char *) "zoom", NULL
29601 };
29602
29603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29605 if (!SWIG_IsOK(res1)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29607 }
29608 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29609 ecode2 = SWIG_AsVal_int(obj1, &val2);
29610 if (!SWIG_IsOK(ecode2)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29612 }
29613 arg2 = static_cast< int >(val2);
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 (arg1)->SetZoomControl(arg2);
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 resultobj = SWIG_Py_Void();
29621 return resultobj;
29622 fail:
29623 return NULL;
29624 }
29625
29626
29627 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29628 PyObject *resultobj = 0;
29629 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29630 wxPrintPreview *result = 0 ;
29631 void *argp1 = 0 ;
29632 int res1 = 0 ;
29633 PyObject *swig_obj[1] ;
29634
29635 if (!args) SWIG_fail;
29636 swig_obj[0] = args;
29637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29638 if (!SWIG_IsOK(res1)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29640 }
29641 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29642 {
29643 PyThreadState* __tstate = wxPyBeginAllowThreads();
29644 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29645 wxPyEndAllowThreads(__tstate);
29646 if (PyErr_Occurred()) SWIG_fail;
29647 }
29648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29649 return resultobj;
29650 fail:
29651 return NULL;
29652 }
29653
29654
29655 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29656 PyObject *resultobj = 0;
29657 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29658 void *argp1 = 0 ;
29659 int res1 = 0 ;
29660 PyObject *swig_obj[1] ;
29661
29662 if (!args) SWIG_fail;
29663 swig_obj[0] = args;
29664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29665 if (!SWIG_IsOK(res1)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29667 }
29668 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29669 {
29670 PyThreadState* __tstate = wxPyBeginAllowThreads();
29671 (arg1)->OnNext();
29672 wxPyEndAllowThreads(__tstate);
29673 if (PyErr_Occurred()) SWIG_fail;
29674 }
29675 resultobj = SWIG_Py_Void();
29676 return resultobj;
29677 fail:
29678 return NULL;
29679 }
29680
29681
29682 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29683 PyObject *resultobj = 0;
29684 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29685 void *argp1 = 0 ;
29686 int res1 = 0 ;
29687 PyObject *swig_obj[1] ;
29688
29689 if (!args) SWIG_fail;
29690 swig_obj[0] = args;
29691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29692 if (!SWIG_IsOK(res1)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29694 }
29695 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29696 {
29697 PyThreadState* __tstate = wxPyBeginAllowThreads();
29698 (arg1)->OnPrevious();
29699 wxPyEndAllowThreads(__tstate);
29700 if (PyErr_Occurred()) SWIG_fail;
29701 }
29702 resultobj = SWIG_Py_Void();
29703 return resultobj;
29704 fail:
29705 return NULL;
29706 }
29707
29708
29709 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29710 PyObject *resultobj = 0;
29711 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29712 void *argp1 = 0 ;
29713 int res1 = 0 ;
29714 PyObject *swig_obj[1] ;
29715
29716 if (!args) SWIG_fail;
29717 swig_obj[0] = args;
29718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29719 if (!SWIG_IsOK(res1)) {
29720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29721 }
29722 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29723 {
29724 PyThreadState* __tstate = wxPyBeginAllowThreads();
29725 (arg1)->OnFirst();
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 resultobj = SWIG_Py_Void();
29730 return resultobj;
29731 fail:
29732 return NULL;
29733 }
29734
29735
29736 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29737 PyObject *resultobj = 0;
29738 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29739 void *argp1 = 0 ;
29740 int res1 = 0 ;
29741 PyObject *swig_obj[1] ;
29742
29743 if (!args) SWIG_fail;
29744 swig_obj[0] = args;
29745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29746 if (!SWIG_IsOK(res1)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29748 }
29749 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 (arg1)->OnLast();
29753 wxPyEndAllowThreads(__tstate);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 resultobj = SWIG_Py_Void();
29757 return resultobj;
29758 fail:
29759 return NULL;
29760 }
29761
29762
29763 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29764 PyObject *resultobj = 0;
29765 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29766 void *argp1 = 0 ;
29767 int res1 = 0 ;
29768 PyObject *swig_obj[1] ;
29769
29770 if (!args) SWIG_fail;
29771 swig_obj[0] = args;
29772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29773 if (!SWIG_IsOK(res1)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29775 }
29776 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29777 {
29778 PyThreadState* __tstate = wxPyBeginAllowThreads();
29779 (arg1)->OnGoto();
29780 wxPyEndAllowThreads(__tstate);
29781 if (PyErr_Occurred()) SWIG_fail;
29782 }
29783 resultobj = SWIG_Py_Void();
29784 return resultobj;
29785 fail:
29786 return NULL;
29787 }
29788
29789
29790 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29791 PyObject *obj;
29792 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29793 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29794 return SWIG_Py_Void();
29795 }
29796
29797 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29798 return SWIG_Python_InitShadowInstance(args);
29799 }
29800
29801 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29802 PyObject *resultobj = 0;
29803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29804 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29805 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29806 wxPrintPreview *result = 0 ;
29807 int res1 = 0 ;
29808 int res2 = 0 ;
29809 void *argp3 = 0 ;
29810 int res3 = 0 ;
29811
29812 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29813 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29814 if (!SWIG_IsOK(res1)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29816 }
29817 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29818 if (!SWIG_IsOK(res2)) {
29819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29820 }
29821 if (swig_obj[2]) {
29822 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29823 if (!SWIG_IsOK(res3)) {
29824 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29825 }
29826 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29827 }
29828 {
29829 if (!wxPyCheckForApp()) SWIG_fail;
29830 PyThreadState* __tstate = wxPyBeginAllowThreads();
29831 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29836 return resultobj;
29837 fail:
29838 return NULL;
29839 }
29840
29841
29842 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29843 PyObject *resultobj = 0;
29844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29845 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29846 wxPrintData *arg3 = (wxPrintData *) 0 ;
29847 wxPrintPreview *result = 0 ;
29848 int res1 = 0 ;
29849 int res2 = 0 ;
29850 void *argp3 = 0 ;
29851 int res3 = 0 ;
29852
29853 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29854 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29855 if (!SWIG_IsOK(res1)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29857 }
29858 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29859 if (!SWIG_IsOK(res2)) {
29860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29861 }
29862 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29863 if (!SWIG_IsOK(res3)) {
29864 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29865 }
29866 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29867 {
29868 if (!wxPyCheckForApp()) SWIG_fail;
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29875 return resultobj;
29876 fail:
29877 return NULL;
29878 }
29879
29880
29881 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29882 int argc;
29883 PyObject *argv[4];
29884
29885 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29886 --argc;
29887 if ((argc >= 2) && (argc <= 3)) {
29888 int _v = 0;
29889 if (argc > 2) {
29890 {
29891 void *vptr = 0;
29892 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29893 _v = SWIG_CheckState(res);
29894 }
29895 if (!_v) goto check_1;
29896 }
29897 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29898 }
29899 check_1:
29900
29901 if (argc == 3) {
29902 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29903 }
29904
29905 fail:
29906 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29907 return NULL;
29908 }
29909
29910
29911 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29912 PyObject *resultobj = 0;
29913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29914 void *argp1 = 0 ;
29915 int res1 = 0 ;
29916 PyObject *swig_obj[1] ;
29917
29918 if (!args) SWIG_fail;
29919 swig_obj[0] = args;
29920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29921 if (!SWIG_IsOK(res1)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29923 }
29924 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 delete arg1;
29928
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 resultobj = SWIG_Py_Void();
29933 return resultobj;
29934 fail:
29935 return NULL;
29936 }
29937
29938
29939 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29940 PyObject *resultobj = 0;
29941 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29942 int arg2 ;
29943 bool result;
29944 void *argp1 = 0 ;
29945 int res1 = 0 ;
29946 int val2 ;
29947 int ecode2 = 0 ;
29948 PyObject * obj0 = 0 ;
29949 PyObject * obj1 = 0 ;
29950 char * kwnames[] = {
29951 (char *) "self",(char *) "pageNum", NULL
29952 };
29953
29954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29956 if (!SWIG_IsOK(res1)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29958 }
29959 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29960 ecode2 = SWIG_AsVal_int(obj1, &val2);
29961 if (!SWIG_IsOK(ecode2)) {
29962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29963 }
29964 arg2 = static_cast< int >(val2);
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (bool)(arg1)->SetCurrentPage(arg2);
29968 wxPyEndAllowThreads(__tstate);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 }
29971 {
29972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29973 }
29974 return resultobj;
29975 fail:
29976 return NULL;
29977 }
29978
29979
29980 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29981 PyObject *resultobj = 0;
29982 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29983 int result;
29984 void *argp1 = 0 ;
29985 int res1 = 0 ;
29986 PyObject *swig_obj[1] ;
29987
29988 if (!args) SWIG_fail;
29989 swig_obj[0] = args;
29990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29991 if (!SWIG_IsOK(res1)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29993 }
29994 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29995 {
29996 PyThreadState* __tstate = wxPyBeginAllowThreads();
29997 result = (int)(arg1)->GetCurrentPage();
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
30001 resultobj = SWIG_From_int(static_cast< int >(result));
30002 return resultobj;
30003 fail:
30004 return NULL;
30005 }
30006
30007
30008 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30009 PyObject *resultobj = 0;
30010 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30011 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30012 void *argp1 = 0 ;
30013 int res1 = 0 ;
30014 int res2 = 0 ;
30015 PyObject * obj0 = 0 ;
30016 PyObject * obj1 = 0 ;
30017 char * kwnames[] = {
30018 (char *) "self",(char *) "printout", NULL
30019 };
30020
30021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30023 if (!SWIG_IsOK(res1)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30025 }
30026 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30027 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30028 if (!SWIG_IsOK(res2)) {
30029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30030 }
30031 {
30032 PyThreadState* __tstate = wxPyBeginAllowThreads();
30033 (arg1)->SetPrintout(arg2);
30034 wxPyEndAllowThreads(__tstate);
30035 if (PyErr_Occurred()) SWIG_fail;
30036 }
30037 resultobj = SWIG_Py_Void();
30038 return resultobj;
30039 fail:
30040 return NULL;
30041 }
30042
30043
30044 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30045 PyObject *resultobj = 0;
30046 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30047 wxPyPrintout *result = 0 ;
30048 void *argp1 = 0 ;
30049 int res1 = 0 ;
30050 PyObject *swig_obj[1] ;
30051
30052 if (!args) SWIG_fail;
30053 swig_obj[0] = args;
30054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30055 if (!SWIG_IsOK(res1)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30057 }
30058 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30059 {
30060 PyThreadState* __tstate = wxPyBeginAllowThreads();
30061 result = (wxPyPrintout *)(arg1)->GetPrintout();
30062 wxPyEndAllowThreads(__tstate);
30063 if (PyErr_Occurred()) SWIG_fail;
30064 }
30065 {
30066 resultobj = wxPyMake_wxObject(result, 0);
30067 }
30068 return resultobj;
30069 fail:
30070 return NULL;
30071 }
30072
30073
30074 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30075 PyObject *resultobj = 0;
30076 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30077 wxPyPrintout *result = 0 ;
30078 void *argp1 = 0 ;
30079 int res1 = 0 ;
30080 PyObject *swig_obj[1] ;
30081
30082 if (!args) SWIG_fail;
30083 swig_obj[0] = args;
30084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30085 if (!SWIG_IsOK(res1)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30087 }
30088 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30089 {
30090 PyThreadState* __tstate = wxPyBeginAllowThreads();
30091 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30092 wxPyEndAllowThreads(__tstate);
30093 if (PyErr_Occurred()) SWIG_fail;
30094 }
30095 {
30096 resultobj = wxPyMake_wxObject(result, 0);
30097 }
30098 return resultobj;
30099 fail:
30100 return NULL;
30101 }
30102
30103
30104 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30105 PyObject *resultobj = 0;
30106 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30107 wxFrame *arg2 = (wxFrame *) 0 ;
30108 void *argp1 = 0 ;
30109 int res1 = 0 ;
30110 void *argp2 = 0 ;
30111 int res2 = 0 ;
30112 PyObject * obj0 = 0 ;
30113 PyObject * obj1 = 0 ;
30114 char * kwnames[] = {
30115 (char *) "self",(char *) "frame", NULL
30116 };
30117
30118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30120 if (!SWIG_IsOK(res1)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30122 }
30123 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30125 if (!SWIG_IsOK(res2)) {
30126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30127 }
30128 arg2 = reinterpret_cast< wxFrame * >(argp2);
30129 {
30130 PyThreadState* __tstate = wxPyBeginAllowThreads();
30131 (arg1)->SetFrame(arg2);
30132 wxPyEndAllowThreads(__tstate);
30133 if (PyErr_Occurred()) SWIG_fail;
30134 }
30135 resultobj = SWIG_Py_Void();
30136 return resultobj;
30137 fail:
30138 return NULL;
30139 }
30140
30141
30142 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30143 PyObject *resultobj = 0;
30144 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30145 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30146 void *argp1 = 0 ;
30147 int res1 = 0 ;
30148 void *argp2 = 0 ;
30149 int res2 = 0 ;
30150 PyObject * obj0 = 0 ;
30151 PyObject * obj1 = 0 ;
30152 char * kwnames[] = {
30153 (char *) "self",(char *) "canvas", NULL
30154 };
30155
30156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30158 if (!SWIG_IsOK(res1)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30160 }
30161 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30163 if (!SWIG_IsOK(res2)) {
30164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30165 }
30166 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30167 {
30168 PyThreadState* __tstate = wxPyBeginAllowThreads();
30169 (arg1)->SetCanvas(arg2);
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
30173 resultobj = SWIG_Py_Void();
30174 return resultobj;
30175 fail:
30176 return NULL;
30177 }
30178
30179
30180 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30181 PyObject *resultobj = 0;
30182 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30183 wxFrame *result = 0 ;
30184 void *argp1 = 0 ;
30185 int res1 = 0 ;
30186 PyObject *swig_obj[1] ;
30187
30188 if (!args) SWIG_fail;
30189 swig_obj[0] = args;
30190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30191 if (!SWIG_IsOK(res1)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30193 }
30194 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30195 {
30196 PyThreadState* __tstate = wxPyBeginAllowThreads();
30197 result = (wxFrame *)(arg1)->GetFrame();
30198 wxPyEndAllowThreads(__tstate);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 }
30201 {
30202 resultobj = wxPyMake_wxObject(result, 0);
30203 }
30204 return resultobj;
30205 fail:
30206 return NULL;
30207 }
30208
30209
30210 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30211 PyObject *resultobj = 0;
30212 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30213 wxPreviewCanvas *result = 0 ;
30214 void *argp1 = 0 ;
30215 int res1 = 0 ;
30216 PyObject *swig_obj[1] ;
30217
30218 if (!args) SWIG_fail;
30219 swig_obj[0] = args;
30220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30221 if (!SWIG_IsOK(res1)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30223 }
30224 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30225 {
30226 PyThreadState* __tstate = wxPyBeginAllowThreads();
30227 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30228 wxPyEndAllowThreads(__tstate);
30229 if (PyErr_Occurred()) SWIG_fail;
30230 }
30231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30232 return resultobj;
30233 fail:
30234 return NULL;
30235 }
30236
30237
30238 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30239 PyObject *resultobj = 0;
30240 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30241 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30242 wxDC *arg3 = 0 ;
30243 bool result;
30244 void *argp1 = 0 ;
30245 int res1 = 0 ;
30246 void *argp2 = 0 ;
30247 int res2 = 0 ;
30248 void *argp3 = 0 ;
30249 int res3 = 0 ;
30250 PyObject * obj0 = 0 ;
30251 PyObject * obj1 = 0 ;
30252 PyObject * obj2 = 0 ;
30253 char * kwnames[] = {
30254 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30255 };
30256
30257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30259 if (!SWIG_IsOK(res1)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30261 }
30262 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30263 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30264 if (!SWIG_IsOK(res2)) {
30265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30266 }
30267 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30268 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30269 if (!SWIG_IsOK(res3)) {
30270 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30271 }
30272 if (!argp3) {
30273 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30274 }
30275 arg3 = reinterpret_cast< wxDC * >(argp3);
30276 {
30277 PyThreadState* __tstate = wxPyBeginAllowThreads();
30278 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30279 wxPyEndAllowThreads(__tstate);
30280 if (PyErr_Occurred()) SWIG_fail;
30281 }
30282 {
30283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30284 }
30285 return resultobj;
30286 fail:
30287 return NULL;
30288 }
30289
30290
30291 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30292 PyObject *resultobj = 0;
30293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30294 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30295 wxDC *arg3 = 0 ;
30296 bool result;
30297 void *argp1 = 0 ;
30298 int res1 = 0 ;
30299 void *argp2 = 0 ;
30300 int res2 = 0 ;
30301 void *argp3 = 0 ;
30302 int res3 = 0 ;
30303 PyObject * obj0 = 0 ;
30304 PyObject * obj1 = 0 ;
30305 PyObject * obj2 = 0 ;
30306 char * kwnames[] = {
30307 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30308 };
30309
30310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30312 if (!SWIG_IsOK(res1)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30314 }
30315 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30316 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30317 if (!SWIG_IsOK(res2)) {
30318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30319 }
30320 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30321 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30322 if (!SWIG_IsOK(res3)) {
30323 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30324 }
30325 if (!argp3) {
30326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30327 }
30328 arg3 = reinterpret_cast< wxDC * >(argp3);
30329 {
30330 PyThreadState* __tstate = wxPyBeginAllowThreads();
30331 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30332 wxPyEndAllowThreads(__tstate);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
30335 {
30336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30337 }
30338 return resultobj;
30339 fail:
30340 return NULL;
30341 }
30342
30343
30344 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30345 PyObject *resultobj = 0;
30346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30347 int arg2 ;
30348 bool result;
30349 void *argp1 = 0 ;
30350 int res1 = 0 ;
30351 int val2 ;
30352 int ecode2 = 0 ;
30353 PyObject * obj0 = 0 ;
30354 PyObject * obj1 = 0 ;
30355 char * kwnames[] = {
30356 (char *) "self",(char *) "pageNum", NULL
30357 };
30358
30359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30361 if (!SWIG_IsOK(res1)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30363 }
30364 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30365 ecode2 = SWIG_AsVal_int(obj1, &val2);
30366 if (!SWIG_IsOK(ecode2)) {
30367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30368 }
30369 arg2 = static_cast< int >(val2);
30370 {
30371 PyThreadState* __tstate = wxPyBeginAllowThreads();
30372 result = (bool)(arg1)->RenderPage(arg2);
30373 wxPyEndAllowThreads(__tstate);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 {
30377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30378 }
30379 return resultobj;
30380 fail:
30381 return NULL;
30382 }
30383
30384
30385 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30386 PyObject *resultobj = 0;
30387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30388 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30389 void *argp1 = 0 ;
30390 int res1 = 0 ;
30391 void *argp2 = 0 ;
30392 int res2 = 0 ;
30393 PyObject * obj0 = 0 ;
30394 PyObject * obj1 = 0 ;
30395 char * kwnames[] = {
30396 (char *) "self",(char *) "canvas", NULL
30397 };
30398
30399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30401 if (!SWIG_IsOK(res1)) {
30402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30403 }
30404 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30406 if (!SWIG_IsOK(res2)) {
30407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30408 }
30409 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30410 {
30411 PyThreadState* __tstate = wxPyBeginAllowThreads();
30412 (arg1)->AdjustScrollbars(arg2);
30413 wxPyEndAllowThreads(__tstate);
30414 if (PyErr_Occurred()) SWIG_fail;
30415 }
30416 resultobj = SWIG_Py_Void();
30417 return resultobj;
30418 fail:
30419 return NULL;
30420 }
30421
30422
30423 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30424 PyObject *resultobj = 0;
30425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30426 wxPrintDialogData *result = 0 ;
30427 void *argp1 = 0 ;
30428 int res1 = 0 ;
30429 PyObject *swig_obj[1] ;
30430
30431 if (!args) SWIG_fail;
30432 swig_obj[0] = args;
30433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30434 if (!SWIG_IsOK(res1)) {
30435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30436 }
30437 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30438 {
30439 PyThreadState* __tstate = wxPyBeginAllowThreads();
30440 {
30441 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30442 result = (wxPrintDialogData *) &_result_ref;
30443 }
30444 wxPyEndAllowThreads(__tstate);
30445 if (PyErr_Occurred()) SWIG_fail;
30446 }
30447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30448 return resultobj;
30449 fail:
30450 return NULL;
30451 }
30452
30453
30454 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30455 PyObject *resultobj = 0;
30456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30457 int arg2 ;
30458 void *argp1 = 0 ;
30459 int res1 = 0 ;
30460 int val2 ;
30461 int ecode2 = 0 ;
30462 PyObject * obj0 = 0 ;
30463 PyObject * obj1 = 0 ;
30464 char * kwnames[] = {
30465 (char *) "self",(char *) "percent", NULL
30466 };
30467
30468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30470 if (!SWIG_IsOK(res1)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30472 }
30473 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30474 ecode2 = SWIG_AsVal_int(obj1, &val2);
30475 if (!SWIG_IsOK(ecode2)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30477 }
30478 arg2 = static_cast< int >(val2);
30479 {
30480 PyThreadState* __tstate = wxPyBeginAllowThreads();
30481 (arg1)->SetZoom(arg2);
30482 wxPyEndAllowThreads(__tstate);
30483 if (PyErr_Occurred()) SWIG_fail;
30484 }
30485 resultobj = SWIG_Py_Void();
30486 return resultobj;
30487 fail:
30488 return NULL;
30489 }
30490
30491
30492 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30493 PyObject *resultobj = 0;
30494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30495 int result;
30496 void *argp1 = 0 ;
30497 int res1 = 0 ;
30498 PyObject *swig_obj[1] ;
30499
30500 if (!args) SWIG_fail;
30501 swig_obj[0] = args;
30502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30503 if (!SWIG_IsOK(res1)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30505 }
30506 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 result = (int)(arg1)->GetZoom();
30510 wxPyEndAllowThreads(__tstate);
30511 if (PyErr_Occurred()) SWIG_fail;
30512 }
30513 resultobj = SWIG_From_int(static_cast< int >(result));
30514 return resultobj;
30515 fail:
30516 return NULL;
30517 }
30518
30519
30520 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30521 PyObject *resultobj = 0;
30522 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30523 int result;
30524 void *argp1 = 0 ;
30525 int res1 = 0 ;
30526 PyObject *swig_obj[1] ;
30527
30528 if (!args) SWIG_fail;
30529 swig_obj[0] = args;
30530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30531 if (!SWIG_IsOK(res1)) {
30532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30533 }
30534 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30535 {
30536 PyThreadState* __tstate = wxPyBeginAllowThreads();
30537 result = (int)(arg1)->GetMaxPage();
30538 wxPyEndAllowThreads(__tstate);
30539 if (PyErr_Occurred()) SWIG_fail;
30540 }
30541 resultobj = SWIG_From_int(static_cast< int >(result));
30542 return resultobj;
30543 fail:
30544 return NULL;
30545 }
30546
30547
30548 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30549 PyObject *resultobj = 0;
30550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30551 int result;
30552 void *argp1 = 0 ;
30553 int res1 = 0 ;
30554 PyObject *swig_obj[1] ;
30555
30556 if (!args) SWIG_fail;
30557 swig_obj[0] = args;
30558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30559 if (!SWIG_IsOK(res1)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30561 }
30562 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 result = (int)(arg1)->GetMinPage();
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
30569 resultobj = SWIG_From_int(static_cast< int >(result));
30570 return resultobj;
30571 fail:
30572 return NULL;
30573 }
30574
30575
30576 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30577 PyObject *resultobj = 0;
30578 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30579 bool result;
30580 void *argp1 = 0 ;
30581 int res1 = 0 ;
30582 PyObject *swig_obj[1] ;
30583
30584 if (!args) SWIG_fail;
30585 swig_obj[0] = args;
30586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30587 if (!SWIG_IsOK(res1)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30589 }
30590 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30591 {
30592 PyThreadState* __tstate = wxPyBeginAllowThreads();
30593 result = (bool)(arg1)->IsOk();
30594 wxPyEndAllowThreads(__tstate);
30595 if (PyErr_Occurred()) SWIG_fail;
30596 }
30597 {
30598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30599 }
30600 return resultobj;
30601 fail:
30602 return NULL;
30603 }
30604
30605
30606 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30607 PyObject *resultobj = 0;
30608 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30609 bool arg2 ;
30610 void *argp1 = 0 ;
30611 int res1 = 0 ;
30612 bool val2 ;
30613 int ecode2 = 0 ;
30614 PyObject * obj0 = 0 ;
30615 PyObject * obj1 = 0 ;
30616 char * kwnames[] = {
30617 (char *) "self",(char *) "ok", NULL
30618 };
30619
30620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30622 if (!SWIG_IsOK(res1)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30624 }
30625 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30626 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30627 if (!SWIG_IsOK(ecode2)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30629 }
30630 arg2 = static_cast< bool >(val2);
30631 {
30632 PyThreadState* __tstate = wxPyBeginAllowThreads();
30633 (arg1)->SetOk(arg2);
30634 wxPyEndAllowThreads(__tstate);
30635 if (PyErr_Occurred()) SWIG_fail;
30636 }
30637 resultobj = SWIG_Py_Void();
30638 return resultobj;
30639 fail:
30640 return NULL;
30641 }
30642
30643
30644 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30645 PyObject *resultobj = 0;
30646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30647 bool arg2 ;
30648 bool result;
30649 void *argp1 = 0 ;
30650 int res1 = 0 ;
30651 bool val2 ;
30652 int ecode2 = 0 ;
30653 PyObject * obj0 = 0 ;
30654 PyObject * obj1 = 0 ;
30655 char * kwnames[] = {
30656 (char *) "self",(char *) "interactive", NULL
30657 };
30658
30659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30661 if (!SWIG_IsOK(res1)) {
30662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30663 }
30664 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30665 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30666 if (!SWIG_IsOK(ecode2)) {
30667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30668 }
30669 arg2 = static_cast< bool >(val2);
30670 {
30671 PyThreadState* __tstate = wxPyBeginAllowThreads();
30672 result = (bool)(arg1)->Print(arg2);
30673 wxPyEndAllowThreads(__tstate);
30674 if (PyErr_Occurred()) SWIG_fail;
30675 }
30676 {
30677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30678 }
30679 return resultobj;
30680 fail:
30681 return NULL;
30682 }
30683
30684
30685 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30686 PyObject *resultobj = 0;
30687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30688 void *argp1 = 0 ;
30689 int res1 = 0 ;
30690 PyObject *swig_obj[1] ;
30691
30692 if (!args) SWIG_fail;
30693 swig_obj[0] = args;
30694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30695 if (!SWIG_IsOK(res1)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30697 }
30698 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30699 {
30700 PyThreadState* __tstate = wxPyBeginAllowThreads();
30701 (arg1)->DetermineScaling();
30702 wxPyEndAllowThreads(__tstate);
30703 if (PyErr_Occurred()) SWIG_fail;
30704 }
30705 resultobj = SWIG_Py_Void();
30706 return resultobj;
30707 fail:
30708 return NULL;
30709 }
30710
30711
30712 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30713 PyObject *obj;
30714 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30715 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30716 return SWIG_Py_Void();
30717 }
30718
30719 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30720 return SWIG_Python_InitShadowInstance(args);
30721 }
30722
30723 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30724 PyObject *resultobj = 0;
30725 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30726 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30727 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30728 wxPyPrintPreview *result = 0 ;
30729 int res1 = 0 ;
30730 int res2 = 0 ;
30731 void *argp3 = 0 ;
30732 int res3 = 0 ;
30733
30734 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30735 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30736 if (!SWIG_IsOK(res1)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30738 }
30739 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30740 if (!SWIG_IsOK(res2)) {
30741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30742 }
30743 if (swig_obj[2]) {
30744 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30745 if (!SWIG_IsOK(res3)) {
30746 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30747 }
30748 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30749 }
30750 {
30751 if (!wxPyCheckForApp()) SWIG_fail;
30752 PyThreadState* __tstate = wxPyBeginAllowThreads();
30753 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30754 wxPyEndAllowThreads(__tstate);
30755 if (PyErr_Occurred()) SWIG_fail;
30756 }
30757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30758 return resultobj;
30759 fail:
30760 return NULL;
30761 }
30762
30763
30764 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30765 PyObject *resultobj = 0;
30766 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30767 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30768 wxPrintData *arg3 = (wxPrintData *) 0 ;
30769 wxPyPrintPreview *result = 0 ;
30770 int res1 = 0 ;
30771 int res2 = 0 ;
30772 void *argp3 = 0 ;
30773 int res3 = 0 ;
30774
30775 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30776 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30777 if (!SWIG_IsOK(res1)) {
30778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30779 }
30780 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30781 if (!SWIG_IsOK(res2)) {
30782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30783 }
30784 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30785 if (!SWIG_IsOK(res3)) {
30786 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30787 }
30788 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30789 {
30790 if (!wxPyCheckForApp()) SWIG_fail;
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30793 wxPyEndAllowThreads(__tstate);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30797 return resultobj;
30798 fail:
30799 return NULL;
30800 }
30801
30802
30803 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30804 int argc;
30805 PyObject *argv[4];
30806
30807 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30808 --argc;
30809 if ((argc >= 2) && (argc <= 3)) {
30810 int _v = 0;
30811 if (argc > 2) {
30812 {
30813 void *vptr = 0;
30814 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30815 _v = SWIG_CheckState(res);
30816 }
30817 if (!_v) goto check_1;
30818 }
30819 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30820 }
30821 check_1:
30822
30823 if (argc == 3) {
30824 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30825 }
30826
30827 fail:
30828 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30829 return NULL;
30830 }
30831
30832
30833 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30834 PyObject *resultobj = 0;
30835 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30836 PyObject *arg2 = (PyObject *) 0 ;
30837 PyObject *arg3 = (PyObject *) 0 ;
30838 void *argp1 = 0 ;
30839 int res1 = 0 ;
30840 PyObject * obj0 = 0 ;
30841 PyObject * obj1 = 0 ;
30842 PyObject * obj2 = 0 ;
30843 char * kwnames[] = {
30844 (char *) "self",(char *) "self",(char *) "_class", NULL
30845 };
30846
30847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30849 if (!SWIG_IsOK(res1)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30851 }
30852 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30853 arg2 = obj1;
30854 arg3 = obj2;
30855 {
30856 PyThreadState* __tstate = wxPyBeginAllowThreads();
30857 (arg1)->_setCallbackInfo(arg2,arg3);
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 resultobj = SWIG_Py_Void();
30862 return resultobj;
30863 fail:
30864 return NULL;
30865 }
30866
30867
30868 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30869 PyObject *obj;
30870 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30871 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30872 return SWIG_Py_Void();
30873 }
30874
30875 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30876 return SWIG_Python_InitShadowInstance(args);
30877 }
30878
30879 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30880 PyObject *resultobj = 0;
30881 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30882 wxFrame *arg2 = (wxFrame *) 0 ;
30883 wxString *arg3 = 0 ;
30884 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30885 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30886 wxSize const &arg5_defvalue = wxDefaultSize ;
30887 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30888 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30889 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30890 wxString *arg7 = (wxString *) &arg7_defvalue ;
30891 wxPyPreviewFrame *result = 0 ;
30892 void *argp1 = 0 ;
30893 int res1 = 0 ;
30894 void *argp2 = 0 ;
30895 int res2 = 0 ;
30896 bool temp3 = false ;
30897 wxPoint temp4 ;
30898 wxSize temp5 ;
30899 long val6 ;
30900 int ecode6 = 0 ;
30901 bool temp7 = false ;
30902 PyObject * obj0 = 0 ;
30903 PyObject * obj1 = 0 ;
30904 PyObject * obj2 = 0 ;
30905 PyObject * obj3 = 0 ;
30906 PyObject * obj4 = 0 ;
30907 PyObject * obj5 = 0 ;
30908 PyObject * obj6 = 0 ;
30909 char * kwnames[] = {
30910 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30911 };
30912
30913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30915 if (!SWIG_IsOK(res1)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30917 }
30918 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30920 if (!SWIG_IsOK(res2)) {
30921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30922 }
30923 arg2 = reinterpret_cast< wxFrame * >(argp2);
30924 {
30925 arg3 = wxString_in_helper(obj2);
30926 if (arg3 == NULL) SWIG_fail;
30927 temp3 = true;
30928 }
30929 if (obj3) {
30930 {
30931 arg4 = &temp4;
30932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30933 }
30934 }
30935 if (obj4) {
30936 {
30937 arg5 = &temp5;
30938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30939 }
30940 }
30941 if (obj5) {
30942 ecode6 = SWIG_AsVal_long(obj5, &val6);
30943 if (!SWIG_IsOK(ecode6)) {
30944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30945 }
30946 arg6 = static_cast< long >(val6);
30947 }
30948 if (obj6) {
30949 {
30950 arg7 = wxString_in_helper(obj6);
30951 if (arg7 == NULL) SWIG_fail;
30952 temp7 = true;
30953 }
30954 }
30955 {
30956 if (!wxPyCheckForApp()) SWIG_fail;
30957 PyThreadState* __tstate = wxPyBeginAllowThreads();
30958 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30959 wxPyEndAllowThreads(__tstate);
30960 if (PyErr_Occurred()) SWIG_fail;
30961 }
30962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30963 {
30964 if (temp3)
30965 delete arg3;
30966 }
30967 {
30968 if (temp7)
30969 delete arg7;
30970 }
30971 return resultobj;
30972 fail:
30973 {
30974 if (temp3)
30975 delete arg3;
30976 }
30977 {
30978 if (temp7)
30979 delete arg7;
30980 }
30981 return NULL;
30982 }
30983
30984
30985 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30986 PyObject *resultobj = 0;
30987 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30988 PyObject *arg2 = (PyObject *) 0 ;
30989 PyObject *arg3 = (PyObject *) 0 ;
30990 void *argp1 = 0 ;
30991 int res1 = 0 ;
30992 PyObject * obj0 = 0 ;
30993 PyObject * obj1 = 0 ;
30994 PyObject * obj2 = 0 ;
30995 char * kwnames[] = {
30996 (char *) "self",(char *) "self",(char *) "_class", NULL
30997 };
30998
30999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31001 if (!SWIG_IsOK(res1)) {
31002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31003 }
31004 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31005 arg2 = obj1;
31006 arg3 = obj2;
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 (arg1)->_setCallbackInfo(arg2,arg3);
31010 wxPyEndAllowThreads(__tstate);
31011 if (PyErr_Occurred()) SWIG_fail;
31012 }
31013 resultobj = SWIG_Py_Void();
31014 return resultobj;
31015 fail:
31016 return NULL;
31017 }
31018
31019
31020 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31021 PyObject *resultobj = 0;
31022 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31023 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31024 void *argp1 = 0 ;
31025 int res1 = 0 ;
31026 void *argp2 = 0 ;
31027 int res2 = 0 ;
31028 PyObject * obj0 = 0 ;
31029 PyObject * obj1 = 0 ;
31030 char * kwnames[] = {
31031 (char *) "self",(char *) "canvas", NULL
31032 };
31033
31034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31036 if (!SWIG_IsOK(res1)) {
31037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31038 }
31039 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31041 if (!SWIG_IsOK(res2)) {
31042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31043 }
31044 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31045 {
31046 PyThreadState* __tstate = wxPyBeginAllowThreads();
31047 (arg1)->SetPreviewCanvas(arg2);
31048 wxPyEndAllowThreads(__tstate);
31049 if (PyErr_Occurred()) SWIG_fail;
31050 }
31051 resultobj = SWIG_Py_Void();
31052 return resultobj;
31053 fail:
31054 return NULL;
31055 }
31056
31057
31058 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31059 PyObject *resultobj = 0;
31060 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31061 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31062 void *argp1 = 0 ;
31063 int res1 = 0 ;
31064 void *argp2 = 0 ;
31065 int res2 = 0 ;
31066 PyObject * obj0 = 0 ;
31067 PyObject * obj1 = 0 ;
31068 char * kwnames[] = {
31069 (char *) "self",(char *) "bar", NULL
31070 };
31071
31072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31074 if (!SWIG_IsOK(res1)) {
31075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31076 }
31077 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31079 if (!SWIG_IsOK(res2)) {
31080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31081 }
31082 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31083 {
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 (arg1)->SetControlBar(arg2);
31086 wxPyEndAllowThreads(__tstate);
31087 if (PyErr_Occurred()) SWIG_fail;
31088 }
31089 resultobj = SWIG_Py_Void();
31090 return resultobj;
31091 fail:
31092 return NULL;
31093 }
31094
31095
31096 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31097 PyObject *resultobj = 0;
31098 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31099 void *argp1 = 0 ;
31100 int res1 = 0 ;
31101 PyObject *swig_obj[1] ;
31102
31103 if (!args) SWIG_fail;
31104 swig_obj[0] = args;
31105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31106 if (!SWIG_IsOK(res1)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31108 }
31109 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31110 {
31111 PyThreadState* __tstate = wxPyBeginAllowThreads();
31112 (arg1)->Initialize();
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 resultobj = SWIG_Py_Void();
31117 return resultobj;
31118 fail:
31119 return NULL;
31120 }
31121
31122
31123 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31124 PyObject *resultobj = 0;
31125 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31126 void *argp1 = 0 ;
31127 int res1 = 0 ;
31128 PyObject *swig_obj[1] ;
31129
31130 if (!args) SWIG_fail;
31131 swig_obj[0] = args;
31132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31133 if (!SWIG_IsOK(res1)) {
31134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31135 }
31136 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31137 {
31138 PyThreadState* __tstate = wxPyBeginAllowThreads();
31139 (arg1)->CreateCanvas();
31140 wxPyEndAllowThreads(__tstate);
31141 if (PyErr_Occurred()) SWIG_fail;
31142 }
31143 resultobj = SWIG_Py_Void();
31144 return resultobj;
31145 fail:
31146 return NULL;
31147 }
31148
31149
31150 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31151 PyObject *resultobj = 0;
31152 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31153 void *argp1 = 0 ;
31154 int res1 = 0 ;
31155 PyObject *swig_obj[1] ;
31156
31157 if (!args) SWIG_fail;
31158 swig_obj[0] = args;
31159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31160 if (!SWIG_IsOK(res1)) {
31161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31162 }
31163 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31164 {
31165 PyThreadState* __tstate = wxPyBeginAllowThreads();
31166 (arg1)->CreateControlBar();
31167 wxPyEndAllowThreads(__tstate);
31168 if (PyErr_Occurred()) SWIG_fail;
31169 }
31170 resultobj = SWIG_Py_Void();
31171 return resultobj;
31172 fail:
31173 return NULL;
31174 }
31175
31176
31177 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31178 PyObject *obj;
31179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31180 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31181 return SWIG_Py_Void();
31182 }
31183
31184 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31185 return SWIG_Python_InitShadowInstance(args);
31186 }
31187
31188 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31189 PyObject *resultobj = 0;
31190 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31191 long arg2 ;
31192 wxWindow *arg3 = (wxWindow *) 0 ;
31193 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31194 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31195 wxSize const &arg5_defvalue = wxDefaultSize ;
31196 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31197 long arg6 = (long) 0 ;
31198 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31199 wxString *arg7 = (wxString *) &arg7_defvalue ;
31200 wxPyPreviewControlBar *result = 0 ;
31201 void *argp1 = 0 ;
31202 int res1 = 0 ;
31203 long val2 ;
31204 int ecode2 = 0 ;
31205 void *argp3 = 0 ;
31206 int res3 = 0 ;
31207 wxPoint temp4 ;
31208 wxSize temp5 ;
31209 long val6 ;
31210 int ecode6 = 0 ;
31211 bool temp7 = false ;
31212 PyObject * obj0 = 0 ;
31213 PyObject * obj1 = 0 ;
31214 PyObject * obj2 = 0 ;
31215 PyObject * obj3 = 0 ;
31216 PyObject * obj4 = 0 ;
31217 PyObject * obj5 = 0 ;
31218 PyObject * obj6 = 0 ;
31219 char * kwnames[] = {
31220 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31221 };
31222
31223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31225 if (!SWIG_IsOK(res1)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31227 }
31228 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31229 ecode2 = SWIG_AsVal_long(obj1, &val2);
31230 if (!SWIG_IsOK(ecode2)) {
31231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31232 }
31233 arg2 = static_cast< long >(val2);
31234 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31235 if (!SWIG_IsOK(res3)) {
31236 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31237 }
31238 arg3 = reinterpret_cast< wxWindow * >(argp3);
31239 if (obj3) {
31240 {
31241 arg4 = &temp4;
31242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31243 }
31244 }
31245 if (obj4) {
31246 {
31247 arg5 = &temp5;
31248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31249 }
31250 }
31251 if (obj5) {
31252 ecode6 = SWIG_AsVal_long(obj5, &val6);
31253 if (!SWIG_IsOK(ecode6)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31255 }
31256 arg6 = static_cast< long >(val6);
31257 }
31258 if (obj6) {
31259 {
31260 arg7 = wxString_in_helper(obj6);
31261 if (arg7 == NULL) SWIG_fail;
31262 temp7 = true;
31263 }
31264 }
31265 {
31266 if (!wxPyCheckForApp()) SWIG_fail;
31267 PyThreadState* __tstate = wxPyBeginAllowThreads();
31268 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31269 wxPyEndAllowThreads(__tstate);
31270 if (PyErr_Occurred()) SWIG_fail;
31271 }
31272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31273 {
31274 if (temp7)
31275 delete arg7;
31276 }
31277 return resultobj;
31278 fail:
31279 {
31280 if (temp7)
31281 delete arg7;
31282 }
31283 return NULL;
31284 }
31285
31286
31287 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31288 PyObject *resultobj = 0;
31289 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31290 PyObject *arg2 = (PyObject *) 0 ;
31291 PyObject *arg3 = (PyObject *) 0 ;
31292 void *argp1 = 0 ;
31293 int res1 = 0 ;
31294 PyObject * obj0 = 0 ;
31295 PyObject * obj1 = 0 ;
31296 PyObject * obj2 = 0 ;
31297 char * kwnames[] = {
31298 (char *) "self",(char *) "self",(char *) "_class", NULL
31299 };
31300
31301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31303 if (!SWIG_IsOK(res1)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31305 }
31306 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31307 arg2 = obj1;
31308 arg3 = obj2;
31309 {
31310 PyThreadState* __tstate = wxPyBeginAllowThreads();
31311 (arg1)->_setCallbackInfo(arg2,arg3);
31312 wxPyEndAllowThreads(__tstate);
31313 if (PyErr_Occurred()) SWIG_fail;
31314 }
31315 resultobj = SWIG_Py_Void();
31316 return resultobj;
31317 fail:
31318 return NULL;
31319 }
31320
31321
31322 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31323 PyObject *resultobj = 0;
31324 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31325 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31326 void *argp1 = 0 ;
31327 int res1 = 0 ;
31328 void *argp2 = 0 ;
31329 int res2 = 0 ;
31330 PyObject * obj0 = 0 ;
31331 PyObject * obj1 = 0 ;
31332 char * kwnames[] = {
31333 (char *) "self",(char *) "preview", NULL
31334 };
31335
31336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31338 if (!SWIG_IsOK(res1)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31340 }
31341 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31342 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31343 if (!SWIG_IsOK(res2)) {
31344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31345 }
31346 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31347 {
31348 PyThreadState* __tstate = wxPyBeginAllowThreads();
31349 (arg1)->SetPrintPreview(arg2);
31350 wxPyEndAllowThreads(__tstate);
31351 if (PyErr_Occurred()) SWIG_fail;
31352 }
31353 resultobj = SWIG_Py_Void();
31354 return resultobj;
31355 fail:
31356 return NULL;
31357 }
31358
31359
31360 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31361 PyObject *resultobj = 0;
31362 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31363 void *argp1 = 0 ;
31364 int res1 = 0 ;
31365 PyObject *swig_obj[1] ;
31366
31367 if (!args) SWIG_fail;
31368 swig_obj[0] = args;
31369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31370 if (!SWIG_IsOK(res1)) {
31371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31372 }
31373 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 (arg1)->CreateButtons();
31377 wxPyEndAllowThreads(__tstate);
31378 if (PyErr_Occurred()) SWIG_fail;
31379 }
31380 resultobj = SWIG_Py_Void();
31381 return resultobj;
31382 fail:
31383 return NULL;
31384 }
31385
31386
31387 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31388 PyObject *resultobj = 0;
31389 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31390 int arg2 ;
31391 void *argp1 = 0 ;
31392 int res1 = 0 ;
31393 int val2 ;
31394 int ecode2 = 0 ;
31395 PyObject * obj0 = 0 ;
31396 PyObject * obj1 = 0 ;
31397 char * kwnames[] = {
31398 (char *) "self",(char *) "zoom", NULL
31399 };
31400
31401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31403 if (!SWIG_IsOK(res1)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31405 }
31406 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31407 ecode2 = SWIG_AsVal_int(obj1, &val2);
31408 if (!SWIG_IsOK(ecode2)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31410 }
31411 arg2 = static_cast< int >(val2);
31412 {
31413 PyThreadState* __tstate = wxPyBeginAllowThreads();
31414 (arg1)->SetZoomControl(arg2);
31415 wxPyEndAllowThreads(__tstate);
31416 if (PyErr_Occurred()) SWIG_fail;
31417 }
31418 resultobj = SWIG_Py_Void();
31419 return resultobj;
31420 fail:
31421 return NULL;
31422 }
31423
31424
31425 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31426 PyObject *obj;
31427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31429 return SWIG_Py_Void();
31430 }
31431
31432 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31433 return SWIG_Python_InitShadowInstance(args);
31434 }
31435
31436 static PyMethodDef SwigMethods[] = {
31437 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31439 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31441 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31443 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31444 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31446 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31453 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31455 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31457 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31458 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31459 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31460 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31461 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31464 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31467 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31468 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31470 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31472 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31473 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31474 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31475 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31479 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31481 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31485 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31487 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31489 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31492 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31493 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31495 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31497 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31499 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31502 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31504 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31509 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31511 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31513 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31514 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31516 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31517 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31519 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31522 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31524 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31526 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31531 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31532 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31535 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31536 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31538 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31540 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31541 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31544 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31545 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31546 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31548 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31549 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31550 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31551 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31552 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31554 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31557 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31566 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31567 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31569 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31570 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31572 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31574 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31575 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31577 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31583 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31584 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31585 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31587 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31588 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31590 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31592 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31594 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31596 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31598 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31600 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31601 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31604 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31605 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31606 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31607 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31608 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31609 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31611 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31619 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31621 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31623 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31624 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31625 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31628 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31629 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31631 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31632 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31633 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31636 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31638 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31640 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31641 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31642 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31645 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31647 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31649 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31651 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31653 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31654 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31655 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31658 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31660 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31661 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31662 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31664 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31666 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31667 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31671 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31672 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31673 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31674 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31678 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31679 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31681 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31684 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31685 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31687 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31690 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31691 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31692 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31695 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31696 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31697 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31699 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31708 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31709 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31710 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31711 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31713 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31714 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31717 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31718 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31720 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31723 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31724 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31725 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31728 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31729 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31731 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31732 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31734 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31739 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31740 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31746 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31747 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31749 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31753 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31755 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31756 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31757 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31758 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31760 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31761 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31762 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31764 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31766 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31767 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31769 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31770 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31771 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31772 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31773 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31774 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31779 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31780 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31782 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31783 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31784 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31787 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31788 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31791 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31792 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31800 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31801 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31802 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31803 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31804 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31805 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31806 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31807 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31808 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31809 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31812 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31813 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31814 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31816 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31817 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31819 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31820 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31822 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31824 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31825 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31827 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31828 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31830 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31831 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31832 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31833 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31834 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31836 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31837 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31838 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31839 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31840 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31841 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31848 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31849 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31851 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31852 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31853 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31856 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31857 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31861 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31862 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31863 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31865 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31866 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31867 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31868 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31872 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31873 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31875 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31876 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31877 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31878 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31882 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31883 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31885 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31887 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31889 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31890 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31892 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31894 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31895 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31896 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31897 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31898 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31899 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31901 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31902 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31904 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31906 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31907 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31908 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31910 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31912 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31913 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31915 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31923 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31924 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31925 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31926 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31927 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31928 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31929 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31930 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31931 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31933 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31941 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31942 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31943 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31944 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31945 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31946 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31947 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31948 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31949 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31951 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31959 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31960 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31961 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31962 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31963 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31964 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31965 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31966 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31967 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31968 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31969 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31970 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31971 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31972 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31973 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31974 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31975 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31976 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31977 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31978 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31979 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31980 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31981 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31993 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31995 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31997 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31998 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31999 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32000 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32006 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32007 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32008 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32009 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32010 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32011 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32012 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32013 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32014 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32015 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32016 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32017 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32018 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32019 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32020 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32030 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32031 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32032 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32033 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32035 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32036 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32037 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32038 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32039 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32040 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32041 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32042 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32043 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32044 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32045 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32046 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32047 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32048 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32049 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32050 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32051 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32065 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32066 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32067 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32068 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32069 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32070 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32072 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32073 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32075 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32076 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32077 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32078 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32079 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32080 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32081 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32083 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32089 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32090 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32091 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32092 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32093 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32095 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32097 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32098 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32103 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32104 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32106 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32107 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32108 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32113 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32115 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32117 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32119 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32121 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32122 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32125 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32126 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32127 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32128 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32129 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32130 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32131 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32132 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32134 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32135 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32137 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32138 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32139 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32140 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32141 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32142 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32144 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32146 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32147 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32148 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32149 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32150 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32151 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32152 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32153 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32154 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32155 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32157 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32159 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32160 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32163 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32164 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32169 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32171 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32172 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32173 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32174 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32177 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32178 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32179 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32180 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32182 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32183 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32188 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32189 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32190 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32191 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32192 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32196 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32197 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32198 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32199 { NULL, NULL, 0, NULL }
32200 };
32201
32202
32203 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32204
32205 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32206 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32207 }
32208 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32209 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32210 }
32211 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32212 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32213 }
32214 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32215 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32216 }
32217 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32218 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32219 }
32220 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32221 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32222 }
32223 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32224 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32225 }
32226 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32227 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32228 }
32229 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32230 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32231 }
32232 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32233 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32234 }
32235 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32237 }
32238 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32240 }
32241 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32242 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32243 }
32244 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32245 return (void *)((wxEvent *) ((wxPyEvent *) x));
32246 }
32247 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32248 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32249 }
32250 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32251 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32252 }
32253 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32254 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32255 }
32256 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32257 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32258 }
32259 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32260 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32261 }
32262 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32263 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32264 }
32265 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32266 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32267 }
32268 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32269 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32270 }
32271 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32272 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32273 }
32274 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32276 }
32277 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32278 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32279 }
32280 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32281 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32282 }
32283 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32284 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32285 }
32286 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32288 }
32289 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32290 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32291 }
32292 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32293 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32294 }
32295 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32296 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32297 }
32298 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32299 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32300 }
32301 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32302 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32303 }
32304 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32305 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32306 }
32307 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32308 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32309 }
32310 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32311 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32312 }
32313 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32314 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32315 }
32316 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32317 return (void *)((wxEvent *) ((wxShowEvent *) x));
32318 }
32319 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32320 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32321 }
32322 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32324 }
32325 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32327 }
32328 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32329 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32330 }
32331 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32332 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32333 }
32334 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32335 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32336 }
32337 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32338 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32339 }
32340 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32341 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32342 }
32343 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32344 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32345 }
32346 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32347 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32348 }
32349 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32351 }
32352 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32353 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32354 }
32355 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32356 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32357 }
32358 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32359 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32360 }
32361 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32362 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32363 }
32364 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32365 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32366 }
32367 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32368 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32369 }
32370 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32371 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32372 }
32373 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32374 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32375 }
32376 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32377 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32378 }
32379 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32380 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32381 }
32382 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32383 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32384 }
32385 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32386 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32387 }
32388 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32390 }
32391 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32393 }
32394 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32395 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32396 }
32397 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32398 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32399 }
32400 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32401 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32402 }
32403 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32404 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32405 }
32406 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32407 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32408 }
32409 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32410 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32411 }
32412 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32413 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32414 }
32415 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32417 }
32418 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32419 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32420 }
32421 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32422 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32423 }
32424 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32425 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32426 }
32427 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32429 }
32430 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32431 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32432 }
32433 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32434 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32435 }
32436 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32437 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32438 }
32439 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32440 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32441 }
32442 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32444 }
32445 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32447 }
32448 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32450 }
32451 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32452 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32453 }
32454 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32456 }
32457 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32458 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32459 }
32460 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32461 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32462 }
32463 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32464 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32465 }
32466 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32468 }
32469 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32470 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32471 }
32472 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32473 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32474 }
32475 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32476 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32477 }
32478 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32479 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32480 }
32481 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32482 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32483 }
32484 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32485 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32486 }
32487 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32489 }
32490 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32492 }
32493 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32495 }
32496 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32497 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32498 }
32499 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32500 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32501 }
32502 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32503 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32504 }
32505 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32506 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32507 }
32508 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32509 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32510 }
32511 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32512 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32513 }
32514 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32515 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32516 }
32517 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32518 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32519 }
32520 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32522 }
32523 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32525 }
32526 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32528 }
32529 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32531 }
32532 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) ((wxSizerItem *) x));
32534 }
32535 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32537 }
32538 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32540 }
32541 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32543 }
32544 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32546 }
32547 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32549 }
32550 static void *_p_wxSizerTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) ((wxSizer *) x));
32552 }
32553 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32555 }
32556 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32558 }
32559 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32561 }
32562 static void *_p_wxEventTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) ((wxEvent *) x));
32564 }
32565 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) ((wxFontData *) x));
32567 }
32568 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) ((wxPrintData *) x));
32570 }
32571 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32573 }
32574 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32576 }
32577 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32579 }
32580 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32582 }
32583 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32585 }
32586 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32588 }
32589 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32591 }
32592 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32594 }
32595 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32597 }
32598 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32600 }
32601 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32603 }
32604 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32606 }
32607 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32609 }
32610 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32612 }
32613 static void *_p_wxControlTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32615 }
32616 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32618 }
32619 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32621 }
32622 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) ((wxFSFile *) x));
32624 }
32625 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32627 }
32628 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32630 }
32631 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32633 }
32634 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) ((wxColourData *) x));
32636 }
32637 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32639 }
32640 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32642 }
32643 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32645 }
32646 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32648 }
32649 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32651 }
32652 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32654 }
32655 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32657 }
32658 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32660 }
32661 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32663 }
32664 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32666 }
32667 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32669 }
32670 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32672 }
32673 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32675 }
32676 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32677 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32678 }
32679 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32680 return (void *)((wxObject *) ((wxPrinter *) x));
32681 }
32682 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32683 return (void *)((wxObject *) ((wxMenuItem *) x));
32684 }
32685 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32687 }
32688 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32689 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32690 }
32691 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32692 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32693 }
32694 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32695 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32696 }
32697 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32698 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32699 }
32700 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32701 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32702 }
32703 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32704 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32705 }
32706 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32707 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32708 }
32709 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32710 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32711 }
32712 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32713 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32714 }
32715 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32716 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32717 }
32718 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32719 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32720 }
32721 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32722 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32723 }
32724 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32726 }
32727 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32729 }
32730 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32732 }
32733 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32735 }
32736 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32738 }
32739 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32741 }
32742 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) ((wxImageHandler *) x));
32744 }
32745 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32747 }
32748 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32750 }
32751 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) ((wxEvtHandler *) x));
32753 }
32754 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32756 }
32757 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32759 }
32760 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32762 }
32763 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32765 }
32766 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32767 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32768 }
32769 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32770 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32771 }
32772 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32774 }
32775 static void *_p_wxImageTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) ((wxImage *) x));
32777 }
32778 static void *_p_wxFrameTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32780 }
32781 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) ((wxPyPrintout *) x));
32783 }
32784 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32786 }
32787 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32789 }
32790 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32792 }
32793 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32795 }
32796 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32798 }
32799 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32801 }
32802 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32804 }
32805 static void *_p_wxWindowTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32807 }
32808 static void *_p_wxMenuTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32810 }
32811 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32813 }
32814 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32816 }
32817 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32819 }
32820 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32822 }
32823 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32825 }
32826 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32828 }
32829 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32831 }
32832 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32834 }
32835 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32837 }
32838 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32840 }
32841 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32843 }
32844 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32846 }
32847 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32849 }
32850 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32852 }
32853 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) ((wxPrintPreview *) x));
32855 }
32856 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32858 }
32859 static void *_p_wxPanelTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32861 }
32862 static void *_p_wxDialogTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32864 }
32865 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32867 }
32868 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32870 }
32871 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32873 }
32874 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32876 }
32877 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) ((wxPrintDialog *) x));
32879 }
32880 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) ((wxFileSystem *) x));
32882 }
32883 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32885 }
32886 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32888 }
32889 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32891 }
32892 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32894 }
32895 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32896 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32897 }
32898 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32899 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32900 }
32901 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32903 }
32904 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32905 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32906 }
32907 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32909 }
32910 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32912 }
32913 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32914 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32915 }
32916 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32917 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32918 }
32919 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32921 }
32922 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32924 }
32925 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32926 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32927 }
32928 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32929 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32930 }
32931 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32932 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32933 }
32934 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32935 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32936 }
32937 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32938 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32939 }
32940 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32941 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32942 }
32943 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32944 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32945 }
32946 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32947 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32948 }
32949 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32950 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32951 }
32952 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32953 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32954 }
32955 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32956 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32957 }
32958 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32959 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32960 }
32961 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32962 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32963 }
32964 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32965 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32966 }
32967 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32968 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32969 }
32970 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32971 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32972 }
32973 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32974 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32975 }
32976 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32977 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32978 }
32979 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32980 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32981 }
32982 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32983 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32984 }
32985 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32986 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32987 }
32988 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32989 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32990 }
32991 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32992 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32993 }
32994 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32995 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32996 }
32997 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32998 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32999 }
33000 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33001 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33002 }
33003 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33004 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33005 }
33006 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33007 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33008 }
33009 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33010 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33011 }
33012 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33013 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33014 }
33015 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33016 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33017 }
33018 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33019 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33020 }
33021 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33022 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33023 }
33024 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33025 return (void *)((wxWindow *) ((wxMenuBar *) x));
33026 }
33027 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33028 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33029 }
33030 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33032 }
33033 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33035 }
33036 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33038 }
33039 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33040 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33041 }
33042 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33043 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33044 }
33045 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33046 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33047 }
33048 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33049 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33050 }
33051 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33052 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33053 }
33054 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33055 return (void *)((wxWindow *) ((wxPanel *) x));
33056 }
33057 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33058 return (void *)((wxWindow *) ((wxStatusBar *) x));
33059 }
33060 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33061 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33062 }
33063 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33064 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33065 }
33066 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33067 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33068 }
33069 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33070 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33071 }
33072 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33073 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33074 }
33075 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33076 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33077 }
33078 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33079 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33080 }
33081 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33082 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33083 }
33084 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33085 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33086 }
33087 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33088 return (void *)((wxWindow *) ((wxSashWindow *) x));
33089 }
33090 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33091 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33092 }
33093 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33094 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33095 }
33096 static void *_p_wxControlTo_p_wxWindow(void *x) {
33097 return (void *)((wxWindow *) ((wxControl *) x));
33098 }
33099 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33100 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33101 }
33102 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33103 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33104 }
33105 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33106 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33107 }
33108 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33109 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33110 }
33111 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33112 return (void *)((wxWindow *) ((wxPyWindow *) x));
33113 }
33114 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33115 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33116 }
33117 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33118 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33119 }
33120 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33121 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33122 }
33123 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33124 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33125 }
33126 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33127 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33128 }
33129 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33130 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33131 }
33132 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33133 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33134 }
33135 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33136 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33137 }
33138 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33139 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33140 }
33141 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33142 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33143 }
33144 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33145 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33146 }
33147 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33148 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33149 }
33150 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33151 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33152 }
33153 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33154 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33155 }
33156 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33157 return (void *)((wxDialog *) ((wxColourDialog *) x));
33158 }
33159 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33160 return (void *)((wxDialog *) ((wxDirDialog *) x));
33161 }
33162 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33163 return (void *)((wxDialog *) ((wxFontDialog *) x));
33164 }
33165 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33166 return (void *)((wxDialog *) ((wxFileDialog *) x));
33167 }
33168 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33169 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33170 }
33171 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33172 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33173 }
33174 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33175 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33176 }
33177 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33178 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33179 }
33180 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33181 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33182 }
33183 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33184 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33185 }
33186 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33187 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33188 }
33189 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33190 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33191 }
33192 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33193 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33194 }
33195 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33196 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33197 }
33198 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33199 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33200 }
33201 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33202 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33203 }
33204 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33205 return (void *)((wxPanel *) ((wxPyPanel *) x));
33206 }
33207 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33208 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33209 }
33210 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33211 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33212 }
33213 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33214 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33215 }
33216 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33217 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33218 }
33219 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33220 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33221 }
33222 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33223 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33224 }
33225 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33226 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33227 }
33228 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33229 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33230 }
33231 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33232 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33233 }
33234 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33235 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33236 }
33237 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33238 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33239 }
33240 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33241 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33242 }
33243 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33244 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33245 }
33246 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33247 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33248 }
33249 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33250 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33251 }
33252 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33253 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33254 }
33255 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33256 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33257 }
33258 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33259 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33260 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};
33261 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33262 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33263 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33264 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33265 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33266 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33267 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33268 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33269 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33270 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33271 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33272 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33274 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33277 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33278 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33279 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33280 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33281 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33287 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33288 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33289 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33290 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33291 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33292 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33293 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33294 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33295 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33296 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33297 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33298 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33299 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33300 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33301 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33302 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33303 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33313 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33319 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33320 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33321 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33322 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33323 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33324 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33325 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33326 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33327 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33328 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33329 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33330 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33343 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33344 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33345 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33346 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33347 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33348 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33349 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33350 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33351 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33352 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33353 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33354 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33355 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33356 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33357 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33358 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33359 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33360 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33361 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33362 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33363 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33364 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33365 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33366 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33367 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33368 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33369 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33370 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33382 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33383 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33384 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33385 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33386 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33387 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33388 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33389 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33390 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33391 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33392 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33393 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33394 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33395 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33396 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33397 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33398 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33399 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33400 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33401 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33402 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33403 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33404 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33405 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33406 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33408 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33409 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33410 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33411 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33412 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33413 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33414 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33415 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33416 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33417 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33423
33424 static swig_type_info *swig_type_initial[] = {
33425 &_swigt__p_bool,
33426 &_swigt__p_char,
33427 &_swigt__p_form_ops_t,
33428 &_swigt__p_int,
33429 &_swigt__p_unsigned_char,
33430 &_swigt__p_unsigned_int,
33431 &_swigt__p_unsigned_long,
33432 &_swigt__p_wxANIHandler,
33433 &_swigt__p_wxAcceleratorTable,
33434 &_swigt__p_wxActivateEvent,
33435 &_swigt__p_wxArrayInt,
33436 &_swigt__p_wxBMPHandler,
33437 &_swigt__p_wxBitmap,
33438 &_swigt__p_wxBoxSizer,
33439 &_swigt__p_wxCURHandler,
33440 &_swigt__p_wxCalculateLayoutEvent,
33441 &_swigt__p_wxChildFocusEvent,
33442 &_swigt__p_wxClipboardTextEvent,
33443 &_swigt__p_wxCloseEvent,
33444 &_swigt__p_wxColour,
33445 &_swigt__p_wxColourData,
33446 &_swigt__p_wxColourDialog,
33447 &_swigt__p_wxCommandEvent,
33448 &_swigt__p_wxContextMenuEvent,
33449 &_swigt__p_wxControl,
33450 &_swigt__p_wxControlWithItems,
33451 &_swigt__p_wxDC,
33452 &_swigt__p_wxDateEvent,
33453 &_swigt__p_wxDialog,
33454 &_swigt__p_wxDirDialog,
33455 &_swigt__p_wxDisplayChangedEvent,
33456 &_swigt__p_wxDropFilesEvent,
33457 &_swigt__p_wxDuplexMode,
33458 &_swigt__p_wxEraseEvent,
33459 &_swigt__p_wxEvent,
33460 &_swigt__p_wxEvtHandler,
33461 &_swigt__p_wxFSFile,
33462 &_swigt__p_wxFileDialog,
33463 &_swigt__p_wxFileSystem,
33464 &_swigt__p_wxFindDialogEvent,
33465 &_swigt__p_wxFindReplaceData,
33466 &_swigt__p_wxFindReplaceDialog,
33467 &_swigt__p_wxFlexGridSizer,
33468 &_swigt__p_wxFocusEvent,
33469 &_swigt__p_wxFont,
33470 &_swigt__p_wxFontData,
33471 &_swigt__p_wxFontDialog,
33472 &_swigt__p_wxFrame,
33473 &_swigt__p_wxGBSizerItem,
33474 &_swigt__p_wxGIFHandler,
33475 &_swigt__p_wxGridBagSizer,
33476 &_swigt__p_wxGridSizer,
33477 &_swigt__p_wxHtmlLinkInfo,
33478 &_swigt__p_wxICOHandler,
33479 &_swigt__p_wxIcon,
33480 &_swigt__p_wxIconBundle,
33481 &_swigt__p_wxIconizeEvent,
33482 &_swigt__p_wxIdleEvent,
33483 &_swigt__p_wxImage,
33484 &_swigt__p_wxImageHandler,
33485 &_swigt__p_wxIndividualLayoutConstraint,
33486 &_swigt__p_wxInitDialogEvent,
33487 &_swigt__p_wxJPEGHandler,
33488 &_swigt__p_wxKeyEvent,
33489 &_swigt__p_wxLayoutAlgorithm,
33490 &_swigt__p_wxLayoutConstraints,
33491 &_swigt__p_wxMDIChildFrame,
33492 &_swigt__p_wxMDIClientWindow,
33493 &_swigt__p_wxMDIParentFrame,
33494 &_swigt__p_wxMaximizeEvent,
33495 &_swigt__p_wxMenu,
33496 &_swigt__p_wxMenuBar,
33497 &_swigt__p_wxMenuEvent,
33498 &_swigt__p_wxMenuItem,
33499 &_swigt__p_wxMessageDialog,
33500 &_swigt__p_wxMiniFrame,
33501 &_swigt__p_wxMouseCaptureChangedEvent,
33502 &_swigt__p_wxMouseCaptureLostEvent,
33503 &_swigt__p_wxMouseEvent,
33504 &_swigt__p_wxMoveEvent,
33505 &_swigt__p_wxMultiChoiceDialog,
33506 &_swigt__p_wxNavigationKeyEvent,
33507 &_swigt__p_wxNcPaintEvent,
33508 &_swigt__p_wxNotifyEvent,
33509 &_swigt__p_wxNumberEntryDialog,
33510 &_swigt__p_wxObject,
33511 &_swigt__p_wxPCXHandler,
33512 &_swigt__p_wxPNGHandler,
33513 &_swigt__p_wxPNMHandler,
33514 &_swigt__p_wxPageSetupDialog,
33515 &_swigt__p_wxPageSetupDialogData,
33516 &_swigt__p_wxPaintEvent,
33517 &_swigt__p_wxPaletteChangedEvent,
33518 &_swigt__p_wxPanel,
33519 &_swigt__p_wxPaperSize,
33520 &_swigt__p_wxPasswordEntryDialog,
33521 &_swigt__p_wxPoint,
33522 &_swigt__p_wxPopupWindow,
33523 &_swigt__p_wxPreviewCanvas,
33524 &_swigt__p_wxPreviewControlBar,
33525 &_swigt__p_wxPreviewFrame,
33526 &_swigt__p_wxPrintData,
33527 &_swigt__p_wxPrintDialog,
33528 &_swigt__p_wxPrintDialogData,
33529 &_swigt__p_wxPrintPreview,
33530 &_swigt__p_wxPrinter,
33531 &_swigt__p_wxProgressDialog,
33532 &_swigt__p_wxPyApp,
33533 &_swigt__p_wxPyCommandEvent,
33534 &_swigt__p_wxPyEvent,
33535 &_swigt__p_wxPyHtmlListBox,
33536 &_swigt__p_wxPyImageHandler,
33537 &_swigt__p_wxPyPanel,
33538 &_swigt__p_wxPyPopupTransientWindow,
33539 &_swigt__p_wxPyPreviewControlBar,
33540 &_swigt__p_wxPyPreviewFrame,
33541 &_swigt__p_wxPyPrintPreview,
33542 &_swigt__p_wxPyPrintout,
33543 &_swigt__p_wxPyScrolledWindow,
33544 &_swigt__p_wxPySizer,
33545 &_swigt__p_wxPyTaskBarIcon,
33546 &_swigt__p_wxPyVListBox,
33547 &_swigt__p_wxPyVScrolledWindow,
33548 &_swigt__p_wxPyValidator,
33549 &_swigt__p_wxPyWindow,
33550 &_swigt__p_wxQueryLayoutInfoEvent,
33551 &_swigt__p_wxQueryNewPaletteEvent,
33552 &_swigt__p_wxRect,
33553 &_swigt__p_wxRegion,
33554 &_swigt__p_wxSashEvent,
33555 &_swigt__p_wxSashLayoutWindow,
33556 &_swigt__p_wxSashWindow,
33557 &_swigt__p_wxScrollEvent,
33558 &_swigt__p_wxScrollWinEvent,
33559 &_swigt__p_wxScrolledWindow,
33560 &_swigt__p_wxSetCursorEvent,
33561 &_swigt__p_wxShowEvent,
33562 &_swigt__p_wxSingleChoiceDialog,
33563 &_swigt__p_wxSize,
33564 &_swigt__p_wxSizeEvent,
33565 &_swigt__p_wxSizer,
33566 &_swigt__p_wxSizerItem,
33567 &_swigt__p_wxSplashScreen,
33568 &_swigt__p_wxSplashScreenWindow,
33569 &_swigt__p_wxSplitterEvent,
33570 &_swigt__p_wxSplitterWindow,
33571 &_swigt__p_wxStaticBoxSizer,
33572 &_swigt__p_wxStatusBar,
33573 &_swigt__p_wxStdDialogButtonSizer,
33574 &_swigt__p_wxString,
33575 &_swigt__p_wxSysColourChangedEvent,
33576 &_swigt__p_wxTIFFHandler,
33577 &_swigt__p_wxTaskBarIcon,
33578 &_swigt__p_wxTaskBarIconEvent,
33579 &_swigt__p_wxTextEntryDialog,
33580 &_swigt__p_wxTipWindow,
33581 &_swigt__p_wxToolBar,
33582 &_swigt__p_wxTopLevelWindow,
33583 &_swigt__p_wxUpdateUIEvent,
33584 &_swigt__p_wxValidator,
33585 &_swigt__p_wxVisualAttributes,
33586 &_swigt__p_wxWindow,
33587 &_swigt__p_wxWindowCreateEvent,
33588 &_swigt__p_wxWindowDestroyEvent,
33589 &_swigt__p_wxXPMHandler,
33590 };
33591
33592 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33605 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33606 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33607 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33608 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33611 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33612 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33621 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33622 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33633 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33634 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33660 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}};
33661 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33673 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}};
33674 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33676 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33701 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33706 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}};
33707 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33710 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}};
33711 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33712 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}};
33713 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}};
33714 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33716 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33717 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}};
33718 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33721 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33722 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}};
33723 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33724 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33725 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33726 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33727 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33728 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33729 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}};
33730 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}};
33731 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33737 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}};
33738 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33739 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}};
33740 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33742 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33750 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33751 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}};
33752 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33756 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33757
33758 static swig_cast_info *swig_cast_initial[] = {
33759 _swigc__p_bool,
33760 _swigc__p_char,
33761 _swigc__p_form_ops_t,
33762 _swigc__p_int,
33763 _swigc__p_unsigned_char,
33764 _swigc__p_unsigned_int,
33765 _swigc__p_unsigned_long,
33766 _swigc__p_wxANIHandler,
33767 _swigc__p_wxAcceleratorTable,
33768 _swigc__p_wxActivateEvent,
33769 _swigc__p_wxArrayInt,
33770 _swigc__p_wxBMPHandler,
33771 _swigc__p_wxBitmap,
33772 _swigc__p_wxBoxSizer,
33773 _swigc__p_wxCURHandler,
33774 _swigc__p_wxCalculateLayoutEvent,
33775 _swigc__p_wxChildFocusEvent,
33776 _swigc__p_wxClipboardTextEvent,
33777 _swigc__p_wxCloseEvent,
33778 _swigc__p_wxColour,
33779 _swigc__p_wxColourData,
33780 _swigc__p_wxColourDialog,
33781 _swigc__p_wxCommandEvent,
33782 _swigc__p_wxContextMenuEvent,
33783 _swigc__p_wxControl,
33784 _swigc__p_wxControlWithItems,
33785 _swigc__p_wxDC,
33786 _swigc__p_wxDateEvent,
33787 _swigc__p_wxDialog,
33788 _swigc__p_wxDirDialog,
33789 _swigc__p_wxDisplayChangedEvent,
33790 _swigc__p_wxDropFilesEvent,
33791 _swigc__p_wxDuplexMode,
33792 _swigc__p_wxEraseEvent,
33793 _swigc__p_wxEvent,
33794 _swigc__p_wxEvtHandler,
33795 _swigc__p_wxFSFile,
33796 _swigc__p_wxFileDialog,
33797 _swigc__p_wxFileSystem,
33798 _swigc__p_wxFindDialogEvent,
33799 _swigc__p_wxFindReplaceData,
33800 _swigc__p_wxFindReplaceDialog,
33801 _swigc__p_wxFlexGridSizer,
33802 _swigc__p_wxFocusEvent,
33803 _swigc__p_wxFont,
33804 _swigc__p_wxFontData,
33805 _swigc__p_wxFontDialog,
33806 _swigc__p_wxFrame,
33807 _swigc__p_wxGBSizerItem,
33808 _swigc__p_wxGIFHandler,
33809 _swigc__p_wxGridBagSizer,
33810 _swigc__p_wxGridSizer,
33811 _swigc__p_wxHtmlLinkInfo,
33812 _swigc__p_wxICOHandler,
33813 _swigc__p_wxIcon,
33814 _swigc__p_wxIconBundle,
33815 _swigc__p_wxIconizeEvent,
33816 _swigc__p_wxIdleEvent,
33817 _swigc__p_wxImage,
33818 _swigc__p_wxImageHandler,
33819 _swigc__p_wxIndividualLayoutConstraint,
33820 _swigc__p_wxInitDialogEvent,
33821 _swigc__p_wxJPEGHandler,
33822 _swigc__p_wxKeyEvent,
33823 _swigc__p_wxLayoutAlgorithm,
33824 _swigc__p_wxLayoutConstraints,
33825 _swigc__p_wxMDIChildFrame,
33826 _swigc__p_wxMDIClientWindow,
33827 _swigc__p_wxMDIParentFrame,
33828 _swigc__p_wxMaximizeEvent,
33829 _swigc__p_wxMenu,
33830 _swigc__p_wxMenuBar,
33831 _swigc__p_wxMenuEvent,
33832 _swigc__p_wxMenuItem,
33833 _swigc__p_wxMessageDialog,
33834 _swigc__p_wxMiniFrame,
33835 _swigc__p_wxMouseCaptureChangedEvent,
33836 _swigc__p_wxMouseCaptureLostEvent,
33837 _swigc__p_wxMouseEvent,
33838 _swigc__p_wxMoveEvent,
33839 _swigc__p_wxMultiChoiceDialog,
33840 _swigc__p_wxNavigationKeyEvent,
33841 _swigc__p_wxNcPaintEvent,
33842 _swigc__p_wxNotifyEvent,
33843 _swigc__p_wxNumberEntryDialog,
33844 _swigc__p_wxObject,
33845 _swigc__p_wxPCXHandler,
33846 _swigc__p_wxPNGHandler,
33847 _swigc__p_wxPNMHandler,
33848 _swigc__p_wxPageSetupDialog,
33849 _swigc__p_wxPageSetupDialogData,
33850 _swigc__p_wxPaintEvent,
33851 _swigc__p_wxPaletteChangedEvent,
33852 _swigc__p_wxPanel,
33853 _swigc__p_wxPaperSize,
33854 _swigc__p_wxPasswordEntryDialog,
33855 _swigc__p_wxPoint,
33856 _swigc__p_wxPopupWindow,
33857 _swigc__p_wxPreviewCanvas,
33858 _swigc__p_wxPreviewControlBar,
33859 _swigc__p_wxPreviewFrame,
33860 _swigc__p_wxPrintData,
33861 _swigc__p_wxPrintDialog,
33862 _swigc__p_wxPrintDialogData,
33863 _swigc__p_wxPrintPreview,
33864 _swigc__p_wxPrinter,
33865 _swigc__p_wxProgressDialog,
33866 _swigc__p_wxPyApp,
33867 _swigc__p_wxPyCommandEvent,
33868 _swigc__p_wxPyEvent,
33869 _swigc__p_wxPyHtmlListBox,
33870 _swigc__p_wxPyImageHandler,
33871 _swigc__p_wxPyPanel,
33872 _swigc__p_wxPyPopupTransientWindow,
33873 _swigc__p_wxPyPreviewControlBar,
33874 _swigc__p_wxPyPreviewFrame,
33875 _swigc__p_wxPyPrintPreview,
33876 _swigc__p_wxPyPrintout,
33877 _swigc__p_wxPyScrolledWindow,
33878 _swigc__p_wxPySizer,
33879 _swigc__p_wxPyTaskBarIcon,
33880 _swigc__p_wxPyVListBox,
33881 _swigc__p_wxPyVScrolledWindow,
33882 _swigc__p_wxPyValidator,
33883 _swigc__p_wxPyWindow,
33884 _swigc__p_wxQueryLayoutInfoEvent,
33885 _swigc__p_wxQueryNewPaletteEvent,
33886 _swigc__p_wxRect,
33887 _swigc__p_wxRegion,
33888 _swigc__p_wxSashEvent,
33889 _swigc__p_wxSashLayoutWindow,
33890 _swigc__p_wxSashWindow,
33891 _swigc__p_wxScrollEvent,
33892 _swigc__p_wxScrollWinEvent,
33893 _swigc__p_wxScrolledWindow,
33894 _swigc__p_wxSetCursorEvent,
33895 _swigc__p_wxShowEvent,
33896 _swigc__p_wxSingleChoiceDialog,
33897 _swigc__p_wxSize,
33898 _swigc__p_wxSizeEvent,
33899 _swigc__p_wxSizer,
33900 _swigc__p_wxSizerItem,
33901 _swigc__p_wxSplashScreen,
33902 _swigc__p_wxSplashScreenWindow,
33903 _swigc__p_wxSplitterEvent,
33904 _swigc__p_wxSplitterWindow,
33905 _swigc__p_wxStaticBoxSizer,
33906 _swigc__p_wxStatusBar,
33907 _swigc__p_wxStdDialogButtonSizer,
33908 _swigc__p_wxString,
33909 _swigc__p_wxSysColourChangedEvent,
33910 _swigc__p_wxTIFFHandler,
33911 _swigc__p_wxTaskBarIcon,
33912 _swigc__p_wxTaskBarIconEvent,
33913 _swigc__p_wxTextEntryDialog,
33914 _swigc__p_wxTipWindow,
33915 _swigc__p_wxToolBar,
33916 _swigc__p_wxTopLevelWindow,
33917 _swigc__p_wxUpdateUIEvent,
33918 _swigc__p_wxValidator,
33919 _swigc__p_wxVisualAttributes,
33920 _swigc__p_wxWindow,
33921 _swigc__p_wxWindowCreateEvent,
33922 _swigc__p_wxWindowDestroyEvent,
33923 _swigc__p_wxXPMHandler,
33924 };
33925
33926
33927 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33928
33929 static swig_const_info swig_const_table[] = {
33930 {0, 0, 0, 0.0, 0, 0}};
33931
33932 #ifdef __cplusplus
33933 }
33934 #endif
33935 /* -----------------------------------------------------------------------------
33936 * Type initialization:
33937 * This problem is tough by the requirement that no dynamic
33938 * memory is used. Also, since swig_type_info structures store pointers to
33939 * swig_cast_info structures and swig_cast_info structures store pointers back
33940 * to swig_type_info structures, we need some lookup code at initialization.
33941 * The idea is that swig generates all the structures that are needed.
33942 * The runtime then collects these partially filled structures.
33943 * The SWIG_InitializeModule function takes these initial arrays out of
33944 * swig_module, and does all the lookup, filling in the swig_module.types
33945 * array with the correct data and linking the correct swig_cast_info
33946 * structures together.
33947 *
33948 * The generated swig_type_info structures are assigned staticly to an initial
33949 * array. We just loop though that array, and handle each type individually.
33950 * First we lookup if this type has been already loaded, and if so, use the
33951 * loaded structure instead of the generated one. Then we have to fill in the
33952 * cast linked list. The cast data is initially stored in something like a
33953 * two-dimensional array. Each row corresponds to a type (there are the same
33954 * number of rows as there are in the swig_type_initial array). Each entry in
33955 * a column is one of the swig_cast_info structures for that type.
33956 * The cast_initial array is actually an array of arrays, because each row has
33957 * a variable number of columns. So to actually build the cast linked list,
33958 * we find the array of casts associated with the type, and loop through it
33959 * adding the casts to the list. The one last trick we need to do is making
33960 * sure the type pointer in the swig_cast_info struct is correct.
33961 *
33962 * First off, we lookup the cast->type name to see if it is already loaded.
33963 * There are three cases to handle:
33964 * 1) If the cast->type has already been loaded AND the type we are adding
33965 * casting info to has not been loaded (it is in this module), THEN we
33966 * replace the cast->type pointer with the type pointer that has already
33967 * been loaded.
33968 * 2) If BOTH types (the one we are adding casting info to, and the
33969 * cast->type) are loaded, THEN the cast info has already been loaded by
33970 * the previous module so we just ignore it.
33971 * 3) Finally, if cast->type has not already been loaded, then we add that
33972 * swig_cast_info to the linked list (because the cast->type) pointer will
33973 * be correct.
33974 * ----------------------------------------------------------------------------- */
33975
33976 #ifdef __cplusplus
33977 extern "C" {
33978 #if 0
33979 } /* c-mode */
33980 #endif
33981 #endif
33982
33983 #if 0
33984 #define SWIGRUNTIME_DEBUG
33985 #endif
33986
33987 SWIGRUNTIME void
33988 SWIG_InitializeModule(void *clientdata) {
33989 size_t i;
33990 swig_module_info *module_head;
33991 static int init_run = 0;
33992
33993 clientdata = clientdata;
33994
33995 if (init_run) return;
33996 init_run = 1;
33997
33998 /* Initialize the swig_module */
33999 swig_module.type_initial = swig_type_initial;
34000 swig_module.cast_initial = swig_cast_initial;
34001
34002 /* Try and load any already created modules */
34003 module_head = SWIG_GetModule(clientdata);
34004 if (module_head) {
34005 swig_module.next = module_head->next;
34006 module_head->next = &swig_module;
34007 } else {
34008 /* This is the first module loaded */
34009 swig_module.next = &swig_module;
34010 SWIG_SetModule(clientdata, &swig_module);
34011 }
34012
34013 /* Now work on filling in swig_module.types */
34014 #ifdef SWIGRUNTIME_DEBUG
34015 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34016 #endif
34017 for (i = 0; i < swig_module.size; ++i) {
34018 swig_type_info *type = 0;
34019 swig_type_info *ret;
34020 swig_cast_info *cast;
34021
34022 #ifdef SWIGRUNTIME_DEBUG
34023 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34024 #endif
34025
34026 /* if there is another module already loaded */
34027 if (swig_module.next != &swig_module) {
34028 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34029 }
34030 if (type) {
34031 /* Overwrite clientdata field */
34032 #ifdef SWIGRUNTIME_DEBUG
34033 printf("SWIG_InitializeModule: found type %s\n", type->name);
34034 #endif
34035 if (swig_module.type_initial[i]->clientdata) {
34036 type->clientdata = swig_module.type_initial[i]->clientdata;
34037 #ifdef SWIGRUNTIME_DEBUG
34038 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34039 #endif
34040 }
34041 } else {
34042 type = swig_module.type_initial[i];
34043 }
34044
34045 /* Insert casting types */
34046 cast = swig_module.cast_initial[i];
34047 while (cast->type) {
34048 /* Don't need to add information already in the list */
34049 ret = 0;
34050 #ifdef SWIGRUNTIME_DEBUG
34051 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34052 #endif
34053 if (swig_module.next != &swig_module) {
34054 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34055 #ifdef SWIGRUNTIME_DEBUG
34056 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34057 #endif
34058 }
34059 if (ret) {
34060 if (type == swig_module.type_initial[i]) {
34061 #ifdef SWIGRUNTIME_DEBUG
34062 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34063 #endif
34064 cast->type = ret;
34065 ret = 0;
34066 } else {
34067 /* Check for casting already in the list */
34068 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34069 #ifdef SWIGRUNTIME_DEBUG
34070 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34071 #endif
34072 if (!ocast) ret = 0;
34073 }
34074 }
34075
34076 if (!ret) {
34077 #ifdef SWIGRUNTIME_DEBUG
34078 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34079 #endif
34080 if (type->cast) {
34081 type->cast->prev = cast;
34082 cast->next = type->cast;
34083 }
34084 type->cast = cast;
34085 }
34086 cast++;
34087 }
34088 /* Set entry in modules->types array equal to the type */
34089 swig_module.types[i] = type;
34090 }
34091 swig_module.types[i] = 0;
34092
34093 #ifdef SWIGRUNTIME_DEBUG
34094 printf("**** SWIG_InitializeModule: Cast List ******\n");
34095 for (i = 0; i < swig_module.size; ++i) {
34096 int j = 0;
34097 swig_cast_info *cast = swig_module.cast_initial[i];
34098 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34099 while (cast->type) {
34100 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34101 cast++;
34102 ++j;
34103 }
34104 printf("---- Total casts: %d\n",j);
34105 }
34106 printf("**** SWIG_InitializeModule: Cast List ******\n");
34107 #endif
34108 }
34109
34110 /* This function will propagate the clientdata field of type to
34111 * any new swig_type_info structures that have been added into the list
34112 * of equivalent types. It is like calling
34113 * SWIG_TypeClientData(type, clientdata) a second time.
34114 */
34115 SWIGRUNTIME void
34116 SWIG_PropagateClientData(void) {
34117 size_t i;
34118 swig_cast_info *equiv;
34119 static int init_run = 0;
34120
34121 if (init_run) return;
34122 init_run = 1;
34123
34124 for (i = 0; i < swig_module.size; i++) {
34125 if (swig_module.types[i]->clientdata) {
34126 equiv = swig_module.types[i]->cast;
34127 while (equiv) {
34128 if (!equiv->converter) {
34129 if (equiv->type && !equiv->type->clientdata)
34130 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34131 }
34132 equiv = equiv->next;
34133 }
34134 }
34135 }
34136 }
34137
34138 #ifdef __cplusplus
34139 #if 0
34140 {
34141 /* c-mode */
34142 #endif
34143 }
34144 #endif
34145
34146
34147
34148 #ifdef __cplusplus
34149 extern "C" {
34150 #endif
34151
34152 /* Python-specific SWIG API */
34153 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34154 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34155 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34156
34157 /* -----------------------------------------------------------------------------
34158 * global variable support code.
34159 * ----------------------------------------------------------------------------- */
34160
34161 typedef struct swig_globalvar {
34162 char *name; /* Name of global variable */
34163 PyObject *(*get_attr)(void); /* Return the current value */
34164 int (*set_attr)(PyObject *); /* Set the value */
34165 struct swig_globalvar *next;
34166 } swig_globalvar;
34167
34168 typedef struct swig_varlinkobject {
34169 PyObject_HEAD
34170 swig_globalvar *vars;
34171 } swig_varlinkobject;
34172
34173 SWIGINTERN PyObject *
34174 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34175 return PyString_FromString("<Swig global variables>");
34176 }
34177
34178 SWIGINTERN PyObject *
34179 swig_varlink_str(swig_varlinkobject *v) {
34180 PyObject *str = PyString_FromString("(");
34181 swig_globalvar *var;
34182 for (var = v->vars; var; var=var->next) {
34183 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34184 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34185 }
34186 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34187 return str;
34188 }
34189
34190 SWIGINTERN int
34191 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34192 PyObject *str = swig_varlink_str(v);
34193 fprintf(fp,"Swig global variables ");
34194 fprintf(fp,"%s\n", PyString_AsString(str));
34195 Py_DECREF(str);
34196 return 0;
34197 }
34198
34199 SWIGINTERN void
34200 swig_varlink_dealloc(swig_varlinkobject *v) {
34201 swig_globalvar *var = v->vars;
34202 while (var) {
34203 swig_globalvar *n = var->next;
34204 free(var->name);
34205 free(var);
34206 var = n;
34207 }
34208 }
34209
34210 SWIGINTERN PyObject *
34211 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34212 PyObject *res = NULL;
34213 swig_globalvar *var = v->vars;
34214 while (var) {
34215 if (strcmp(var->name,n) == 0) {
34216 res = (*var->get_attr)();
34217 break;
34218 }
34219 var = var->next;
34220 }
34221 if (res == NULL && !PyErr_Occurred()) {
34222 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34223 }
34224 return res;
34225 }
34226
34227 SWIGINTERN int
34228 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34229 int res = 1;
34230 swig_globalvar *var = v->vars;
34231 while (var) {
34232 if (strcmp(var->name,n) == 0) {
34233 res = (*var->set_attr)(p);
34234 break;
34235 }
34236 var = var->next;
34237 }
34238 if (res == 1 && !PyErr_Occurred()) {
34239 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34240 }
34241 return res;
34242 }
34243
34244 SWIGINTERN PyTypeObject*
34245 swig_varlink_type(void) {
34246 static char varlink__doc__[] = "Swig var link object";
34247 static PyTypeObject varlink_type;
34248 static int type_init = 0;
34249 if (!type_init) {
34250 const PyTypeObject tmp
34251 = {
34252 PyObject_HEAD_INIT(NULL)
34253 0, /* Number of items in variable part (ob_size) */
34254 (char *)"swigvarlink", /* Type name (tp_name) */
34255 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34256 0, /* Itemsize (tp_itemsize) */
34257 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34258 (printfunc) swig_varlink_print, /* Print (tp_print) */
34259 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34260 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34261 0, /* tp_compare */
34262 (reprfunc) swig_varlink_repr, /* tp_repr */
34263 0, /* tp_as_number */
34264 0, /* tp_as_sequence */
34265 0, /* tp_as_mapping */
34266 0, /* tp_hash */
34267 0, /* tp_call */
34268 (reprfunc)swig_varlink_str, /* tp_str */
34269 0, /* tp_getattro */
34270 0, /* tp_setattro */
34271 0, /* tp_as_buffer */
34272 0, /* tp_flags */
34273 varlink__doc__, /* tp_doc */
34274 0, /* tp_traverse */
34275 0, /* tp_clear */
34276 0, /* tp_richcompare */
34277 0, /* tp_weaklistoffset */
34278 #if PY_VERSION_HEX >= 0x02020000
34279 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34280 #endif
34281 #if PY_VERSION_HEX >= 0x02030000
34282 0, /* tp_del */
34283 #endif
34284 #ifdef COUNT_ALLOCS
34285 0,0,0,0 /* tp_alloc -> tp_next */
34286 #endif
34287 };
34288 varlink_type = tmp;
34289 varlink_type.ob_type = &PyType_Type;
34290 type_init = 1;
34291 }
34292 return &varlink_type;
34293 }
34294
34295 /* Create a variable linking object for use later */
34296 SWIGINTERN PyObject *
34297 SWIG_Python_newvarlink(void) {
34298 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34299 if (result) {
34300 result->vars = 0;
34301 }
34302 return ((PyObject*) result);
34303 }
34304
34305 SWIGINTERN void
34306 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34307 swig_varlinkobject *v = (swig_varlinkobject *) p;
34308 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34309 if (gv) {
34310 size_t size = strlen(name)+1;
34311 gv->name = (char *)malloc(size);
34312 if (gv->name) {
34313 strncpy(gv->name,name,size);
34314 gv->get_attr = get_attr;
34315 gv->set_attr = set_attr;
34316 gv->next = v->vars;
34317 }
34318 }
34319 v->vars = gv;
34320 }
34321
34322 SWIGINTERN PyObject *
34323 SWIG_globals() {
34324 static PyObject *_SWIG_globals = 0;
34325 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34326 return _SWIG_globals;
34327 }
34328
34329 /* -----------------------------------------------------------------------------
34330 * constants/methods manipulation
34331 * ----------------------------------------------------------------------------- */
34332
34333 /* Install Constants */
34334 SWIGINTERN void
34335 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34336 PyObject *obj = 0;
34337 size_t i;
34338 for (i = 0; constants[i].type; ++i) {
34339 switch(constants[i].type) {
34340 case SWIG_PY_POINTER:
34341 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34342 break;
34343 case SWIG_PY_BINARY:
34344 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34345 break;
34346 default:
34347 obj = 0;
34348 break;
34349 }
34350 if (obj) {
34351 PyDict_SetItemString(d, constants[i].name, obj);
34352 Py_DECREF(obj);
34353 }
34354 }
34355 }
34356
34357 /* -----------------------------------------------------------------------------*/
34358 /* Fix SwigMethods to carry the callback ptrs when needed */
34359 /* -----------------------------------------------------------------------------*/
34360
34361 SWIGINTERN void
34362 SWIG_Python_FixMethods(PyMethodDef *methods,
34363 swig_const_info *const_table,
34364 swig_type_info **types,
34365 swig_type_info **types_initial) {
34366 size_t i;
34367 for (i = 0; methods[i].ml_name; ++i) {
34368 const char *c = methods[i].ml_doc;
34369 if (c && (c = strstr(c, "swig_ptr: "))) {
34370 int j;
34371 swig_const_info *ci = 0;
34372 const char *name = c + 10;
34373 for (j = 0; const_table[j].type; ++j) {
34374 if (strncmp(const_table[j].name, name,
34375 strlen(const_table[j].name)) == 0) {
34376 ci = &(const_table[j]);
34377 break;
34378 }
34379 }
34380 if (ci) {
34381 size_t shift = (ci->ptype) - types;
34382 swig_type_info *ty = types_initial[shift];
34383 size_t ldoc = (c - methods[i].ml_doc);
34384 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34385 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34386 if (ndoc) {
34387 char *buff = ndoc;
34388 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34389 if (ptr) {
34390 strncpy(buff, methods[i].ml_doc, ldoc);
34391 buff += ldoc;
34392 strncpy(buff, "swig_ptr: ", 10);
34393 buff += 10;
34394 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34395 methods[i].ml_doc = ndoc;
34396 }
34397 }
34398 }
34399 }
34400 }
34401 }
34402
34403 #ifdef __cplusplus
34404 }
34405 #endif
34406
34407 /* -----------------------------------------------------------------------------*
34408 * Partial Init method
34409 * -----------------------------------------------------------------------------*/
34410
34411 #ifdef __cplusplus
34412 extern "C"
34413 #endif
34414 SWIGEXPORT void SWIG_init(void) {
34415 PyObject *m, *d;
34416
34417 /* Fix SwigMethods to carry the callback ptrs when needed */
34418 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34419
34420 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34421 d = PyModule_GetDict(m);
34422
34423 SWIG_InitializeModule(0);
34424 SWIG_InstallConstants(d,swig_const_table);
34425
34426
34427 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34428 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34429 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34430 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34431 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34432 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34433 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34434 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34435 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34436 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34437 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34438 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34439 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34440 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34441 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34442 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34443 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34444 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34445 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34446 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34447 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34448 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34449 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34450 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34451 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34452 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34453 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34454 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34455 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34456 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34457 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34458 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34459 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34460 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34461 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34462 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34463 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34464 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34465 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34466 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34467 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34468 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34469 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34470 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34471 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34472 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34473 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34474 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34475 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34476 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34477 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34478 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34479 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34480 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34481 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34482 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34483 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34484 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34485 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34486 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34487 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34488 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34489 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34490 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34491 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34492 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34493 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34494 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34495 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34496 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34497 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34498 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34499 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34500 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34501 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34502 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34503 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34504 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34505 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34506 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34507 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34508 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34509 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34510 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34511 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34512 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34513 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34514 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34515 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34516 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34517 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34518 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34519 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34520 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34521 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34522 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34523 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34524 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34525 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34526 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34527 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34528 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34529 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34530 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34531 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34532
34533 // Map renamed classes back to their common name for OOR
34534 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34535 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34536 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34537
34538 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34539 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34540 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34541 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34542 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34543 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34544 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34545 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34546 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34547 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34548 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34549 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34550 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34551 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34552 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34553 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34554 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34555 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34556 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34557 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34558 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34559 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34560 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34561 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34562 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34563 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34564 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34565 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34566 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34567 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34568 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34569 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34570 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34571 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34572 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34573 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34574 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34575 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34576 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34577 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34578 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34579 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34580 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34581 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34582 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34583 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34584 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34585 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34586 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34587 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34588 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34589 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34590 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34591 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34592 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34593 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34594 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34595 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34596 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34597 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34598 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34599 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34600 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34601 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34602 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34603 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34604 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34605 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34606 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34607 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34608 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34609 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34610 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34611 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34612 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34613 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34614 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34615 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34616 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34617 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34618 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34619 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34620 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34621 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34622 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34623 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34624 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34625 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34626 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34627 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34628 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34629 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34630 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34631 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34632 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34633 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34634 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34635 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34636 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34637 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34638 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34639 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34640 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34641 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34642
34643 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34644
34645 }
34646